]> code.delx.au - gnu-emacs/commitdiff
Merge from emacs-23; up to 2010-06-16T23:27:20Z!jay.p.belanger@gmail.com.
authorGlenn Morris <rgm@gnu.org>
Wed, 6 Jul 2011 02:42:10 +0000 (19:42 -0700)
committerGlenn Morris <rgm@gnu.org>
Wed, 6 Jul 2011 02:42:10 +0000 (19:42 -0700)
1  2 
doc/lispref/ChangeLog
doc/lispref/customize.texi
doc/lispref/display.texi
doc/lispref/elisp.texi
lisp/ChangeLog
lisp/info.el
lisp/progmodes/gud.el
lisp/window.el

diff --combined doc/lispref/ChangeLog
index 807313c8632f691523ad44288bf51015b7c37203,1b89cefb271315d4aab750e138deebc5f9522294..0924bbcecc851ab5c6fc4d9cff2f6bad3c111023
@@@ -1,75 -1,19 +1,85 @@@
 -2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
++2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
+       * customize.texi (Composite Types): Move alist and plist to here
+       from Simple Types (Bug#7545).
+       * elisp.texi (Top): Update menu description.
+       * display.texi (Face Attributes): Document negative line widths
+       (Bug#6113).
 -2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
 +2011-07-03  Tobias C. Rittweiler  <tcr@freebits.de>  (tiny change)
 +
 +      * searching.texi (Match Data): Note that match data can be
 +      overwritten by most functions (bug#2499).
 +
 +2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 +
 +      * strings.texi (Formatting Strings): Clarify what the "-" and "0"
 +      flags mean (bug#6659).
 +
 +      * functions.texi (What Is a Function): Document the autoload
 +      object (bug#6496).
 +
 +2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 +
 +      * customize.texi (Variable Definitions): Clarify that SETFUNCTION
 +      is only used in the Customize user interface (bug#6089).
 +
 +      * display.texi (Showing Images): Mention the point of sliced
 +      images (bug#7836).
 +
 +2011-07-02  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * variables.texi (Defining Variables, Void Variables)
 +      (Constant Variables): Fix incorrect usage of @kindex.
 +
 +2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 +
 +      * variables.texi (Defining Variables): Add an index entry for
 +      `set-variable' (bug#7262).
 +      (Defining Variables): Use @findex for functions.
 +
 +      * frames.texi (Basic Parameters): Document the `explicit-name'
 +      parameter (bug#6951).
 +
 +      * customize.texi (Type Keywords): Clarify that :value provides a
 +      default value for all types (bug#7386).
 +
 +      * streams.texi (Output Functions): Document `pp'.
 +
 +2011-06-25  Chong Yidong  <cyd@stupidchicken.com>
  
        * keymaps.texi (Searching Keymaps):
        * display.texi (Overlay Properties): Fix errors in 2011-05-29
        change.  Suggested by Johan Bockgård.
  
 +2011-06-15  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * text.texi (Special Properties): Clarify role of font-lock-face.
 +
 +2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 +
 +      * processes.texi (Process Information): Renamed `process-alive-p'
 +      to `process-live-p' for consistency with other `-live-p' functions.
 +
 +2011-06-03  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Document wide integers better.
 +      * files.texi (File Attributes): Document ino_t values better.
 +      ino_t values no longer map to anything larger than a single cons.
 +      * numbers.texi (Integer Basics, Integer Basics, Arithmetic Operations):
 +      (Bitwise Operations):
 +      * objects.texi (Integer Type): Use a binary notation that is a bit easier
 +      to read, and that will port better if 62-bits becomes the default.
 +      Fix or remove incorrect examples.
 +      * os.texi (Time Conversion): Document time_t values better.
 +
 +2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 +
 +      * processes.texi (Process Information): Document
 +      `process-alive-p'.
 +
  2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
  
        * help.texi (Accessing Documentation):
  
        * lists.texi (Sets And Lists): Fix misplaced text.
  
 -2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * keymaps.texi (Remapping Commands): Emphasize that the keymap
 +      needs to be active (Bug#8350).
 +
 +2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * minibuf.texi (Reading File Names): Clarify (Bug#8480).
 +
 +      * tips.texi (Coding Conventions): Remove antediluvian filename
 +      limit recommendation (Bug#8538).
 +
 +2011-05-27  Glenn Morris  <rgm@gnu.org>
 +
 +      * modes.texi (Auto Major Mode): Update for set-auto-mode changes.
 +
 +2011-05-26  Glenn Morris  <rgm@gnu.org>
 +
 +      * variables.texi (File Local Variables):
 +      Update hack-local-variables `mode-only' return value.
 +      Add some more details on what this function does in the other case.
 +
 +2011-05-19  Glenn Morris  <rgm@gnu.org>
 +
 +      * lists.texi (Sets And Lists): Mention cl provides union etc.
 +
 +2011-05-19  Nix  <nix@esperi.org.uk>
 +
 +      * windows.texi (Displaying Buffers): pop-to-buffer is not a command.
 +
 +      * text.texi (Parsing HTML): Update for function name changes.
 +
 +      * syntax.texi (Syntax Flags): Small fix.
 +
 +      * keymaps.texi (Active Keymaps): Typo fix.
 +      (Changing Key Bindings): Grammar fix.
 +
 +      * frames.texi (Minibuffers and Frames): Grammar fix.
 +      (Window System Selections): x-select-enable-clipboard now defaults to t.
 +
 +      * customize.texi (Common Keywords):
 +      * display.texi (Abstract Display):
 +      * modes.texi (Auto-Indentation):
 +      * nonascii.texi (Converting Representations): Typo fixes.
 +
 +      * control.texi (Examples of Catch): Call it "goto" not "go to".
 +
 +2011-05-14  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * nonascii.texi (Character Properties): Fix inconsistencies with
 +      implementation.
 +
 +      * text.texi (Special Properties): Move @defvar's out of the
 +      @table.  (Bug#8652)
 +
 +2011-05-12  Glenn Morris  <rgm@gnu.org>
 +
 +      * display.texi (Image Descriptors): Fix typo.  (Bug#8495)
 +
 +2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * modes.texi (Region to Refontify): Rename from "Region to Fontify".
        (Multiline Font Lock):
        * vol1.texi (Top):
        * elisp.texi (Top): Update menu accordingly.
  
 -2011-05-05  Drew Adams  <drew.adams@oracle.com>
 +2011-05-12  Drew Adams  <drew.adams@oracle.com>
  
        * modes.texi (Region to Fontify): Fix typo.
  
 -2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
 +2011-05-10  Jim Meyering  <meyering@redhat.com>
 +
 +      * minibuf.texi: Fix typo "in in -> in".
 +
 +2011-05-06  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * numbers.texi (Integer Basics): Large integers are treated as floats.
 +
 +2011-04-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 +
 +      * processes.texi (Synchronous Processes): Document the (:file
 +      "/file-name") syntax for `call-process'.
 +
 +2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
  
        * windows.texi (Choosing Window): Fix typo.
  
 -2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
 +2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
  
        * frames.texi (Layout Parameters): Note the difference between
        querying and setting parameters for left-fringe and right-fringe
        * buffers.texi (Current Buffer): Copyedits.  Don't recommend using
        save-excursion.  Suggested by Uday S Reddy.
  
 -2011-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * variables.texi (Defining Variables): Mention the new meaning of `defvar'.
 +      (Lexical Binding): New sub-section.
 +
 +      * eval.texi (Eval): Discourage the use of `eval'.
 +      Document its new `lexical' argument.
 +
 +2011-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * commands.texi (Command Overview): `post-command-hook' is not reset to
 +      nil any more.
 +
 +2011-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * strings.texi (String Conversion): Don't mention
        string-make-(uni|multi)byte (bug#8262).
        * keymaps.texi (Key Binding Commands): Update code point, avoid
        "unibyte character" and remove mention of unibyte bindings.
  
 +2011-03-10  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * modes.texi (Operator Precedence Grammars): Don't use characters
 +      outside ISO-8859-1.
 +
 +2011-03-09  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * intro.texi (Acknowledgements): Convert to ISO-8859-1 encoding.
 +
 +      * makefile.w32-in (MAKEINFO_OPTS): Add --enable-encoding.
 +
 +2011-03-08  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (MAKEINFO_OPTS): Add --enable-encoding.
 +      * intro.texi (Acknowledgements): Names to UTF-8.
 +      * elisp.texi: Set documentencoding.
 +
  2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
  
        * Version 23.3 released.
  
 -2011-02-25  Glenn Morris  <rgm@gnu.org>
 +2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * package.texi: Update index keywords.
 +      (Package Archives): New node contents.  Document package-x.el.
 +
 +2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * makefile.w32-in (srcs): Add package.texi.
 +
 +2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * package.texi (Packaging, Packaging Basics, Simple Packages)
 +      (Multi-file Packages): Expand and clarify.
 +      (Package Archives): Temporary placeholder node.
 +
 +      * elisp.texi (Top): Update node listing.
 +
 +      * Makefile.in (srcs): Add package.texi.
 +
 +2011-03-05  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * processes.texi (Synchronous Processes): Minor clarification
 +      (Bug#8149).
 +
 +2011-03-03  Glenn Morris  <rgm@gnu.org>
 +
 +      * files.texi (Truenames): Minor clarification.  (Bug#2341)
 +
 +2011-03-01  Glenn Morris  <rgm@gnu.org>
 +
 +      * variables.texi (Directory Local Variables):
 +      Mention `(subdirs . nil)' alist element.
 +
 +2011-02-28  Glenn Morris  <rgm@gnu.org>
  
        * variables.texi (Directory Local Variables): Mention the optional
        mtime argument of dir-locals-set-directory-class.  (Bug#3577)
  
 -2011-02-18  Eli Zaretskii  <eliz@gnu.org>
 +2011-02-27  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * minibuf.texi (Minibuffer History): Clarify discussion of
 +      minibuffer history lists (Bug#8085).
 +
 +2011-02-19  Eli Zaretskii  <eliz@gnu.org>
  
        * elisp.texi: Sync @dircategory with ../../info/dir.
  
        * variables.texi (Creating Buffer-Local): Explain the meaning of
        permanent local variables.
  
 -2011-02-18  Glenn Morris  <rgm@gnu.org>
 +      * files.texi (Visiting Functions): Document find-file-literally,
 +      both the command and the variable.
 +
 +      * variables.texi (Creating Buffer-Local): Explain the meaning of
 +      permanent local variables.
 +
 +2011-02-19  Glenn Morris  <rgm@gnu.org>
  
        * keymaps.texi (Remapping Commands): Mention how to undo it.
  
 +2011-02-09  Reuben Thomas  <rrt@sc3d.org>
 +
 +      * loading.texi (Hooks for Loading): Remove unnecessary advice
 +      about eval-after-load (Bug#7986).
 +
  2011-02-05  Chong Yidong  <cyd@stupidchicken.com>
  
        * commands.texi (Accessing Mouse): Note that a header line is not
        included in the row of posn-col-row.
  
 +2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * modes.texi (Major Mode Conventions): Add face guidelines.
 +      (Faces for Font Lock): List faces in order of prominence.
 +
 +2011-02-01  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      format-time-string now supports subsecond time stamp resolution
 +      * os.texi (Time Parsing): Document %N.
 +
  2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
  
        * vol1.texi (Top):
        * keymaps.texi (Defining Menus): Add "menu item" and "extended
        menu item" concept index entries (Bug#7805).
  
 -2011-01-23  Chong Yidong  <cyd@stupidchicken.com>
 +2011-01-29  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * makefile.w32-in (texinfodir): New variable.
 +      (usermanualdir): Remove as redundant with $(emacsdir).
 +      (MAKEINFO): Remove options, leave only program name.
 +      (MAKEINFO_OPTS): New variable.
 +      (texinputdir, $(infodir)/elisp): Use $(MAKEINFO_OPTS).
 +
 +2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
              Richard Kim  <emacs18@gmail.com>
  
        * loading.texi (Library Search): Document list-load-path-shadows
        (Bug#7757).
  
 -2011-01-23  Chong Yidong  <cyd@stupidchicken.com>
 +2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
  
        * searching.texi (Regexp Special): Remove outdated discussion of
        character sets (Bug#7780).
  
 -2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
 -
        * frames.texi (Pop-Up Menus): Document where menu title comes
        from (Bug#7684).
  
 -2011-01-22  Glenn Morris  <rgm@gnu.org>
 +2011-01-25  Glenn Morris  <rgm@gnu.org>
  
        * display.texi (Making Buttons): Mention limitation of text buttons.
  
 -2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
 +2011-01-23  Werner Lemberg  <wl@gnu.org>
 +
 +      * Makefile.in (MAKEINFO): Now controlled by `configure'.
 +      (MAKEINFO_OPTS): New variable.  Use it where appropriate.
 +      (ENVADD): New variable to control texi2dvi and texi2pdf.
 +
 +2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
  
        * files.texi (Directory Names): Move directory-abbrev-alist doc to
        Emacs manual.
  
 -2011-01-07  Eli Zaretskii  <eliz@gnu.org>
 +2011-01-15  Eli Zaretskii  <eliz@gnu.org>
  
        * files.texi (Directory Names): Explain why FROM in
        directory-abbrev-alist should begin with \`.  (Bug#7777)
  
 -2010-12-25  Eli Zaretskii  <eliz@gnu.org>
 +2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * loading.texi (Hooks for Loading): Adjust doc of eval-after-load.
 +
 +2011-01-02  Eli Zaretskii  <eliz@gnu.org>
  
        * modes.texi (Emulating Mode Line): Fix last change.
  
 -2010-12-18  Eli Zaretskii  <eliz@gnu.org>
 +2011-01-02  Eli Zaretskii  <eliz@gnu.org>
  
        * modes.texi (Emulating Mode Line): Update documentation of
        format-mode-line according to changes that fixed bug #7587.
  
 -2010-12-11  Eli Zaretskii  <eliz@gnu.org>
 +2010-12-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * modes.texi (Derived Modes): Mention prog-mode.
 +
 +      * keymaps.texi (Simple Menu Items, Extended Menu Items): Remove mention
 +      of the key-binding-data cache since we don't use it any more.
 +
 +2010-12-13  Eli Zaretskii  <eliz@gnu.org>
  
        * processes.texi (Shell Arguments):
        * strings.texi (Creating Strings): Don't mention "shell commands";
        * processes.texi (Shell Arguments): Fix documentation of
        `split-string-and-unquote'.  Add indexing.  (Bug#7563)
  
 -2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * modes.texi (Auto-Indentation): New section to document SMIE.
        (Major Mode Conventions):
        * text.texi (Mode-Specific Indent): Refer to it.
  
 -2010-12-04  Eli Zaretskii  <eliz@gnu.org>
 +2010-12-13  Eli Zaretskii  <eliz@gnu.org>
  
        * display.texi (Other Display Specs): Document left-fringe and
        right-fringe display specs.
  
 -2010-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * backups.texi (Making Backups):
        * modes.texi (Example Major Modes): Use recommended coding style.
        (Major Mode Basics, Derived Modes): Encourge more strongly use of
        define-derived-mode.  Mention completion-at-point-functions.
  
 -2010-11-21  Chong Yidong  <cyd@stupidchicken.com>
 +2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
  
        * nonascii.texi (Converting Representations):
        Document byte-to-string.
  
 +2010-12-08  Glenn Morris  <rgm@gnu.org>
 +
 +      * buffers.texi (Modification Time):
 +      verify-visited-file-modtime now defaults to the current buffer.
 +
 +2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * nonascii.texi (Converting Representations): Document byte-to-string.
 +
        * strings.texi (Creating Strings): Don't mention semi-obsolete
        function char-to-string.
        (String Conversion): Shorten discussion of semi-obsolete function
        * functions.texi (Mapping Functions): Use string instead of
        char-to-string in examples.
  
 -2010-11-20  Chong Yidong  <cyd@stupidchicken.com>
 +2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
  
        * text.texi (Kill Functions, Kill Functions)
        (Low-Level Kill Ring, Low-Level Kill Ring): Remove obsolete
        * variables.texi (Defining Variables): Change "pi" example to
        "float-pi".
  
 -2010-11-12  Eli Zaretskii  <eliz@gnu.org>
 +2010-11-26  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * commands.texi (Click Events): Document the values of X, Y and
 +      COL, ROW in the event's position, when the click is on the header
 +      or mode line, on the fringes, or in the margins.
 +
 +2010-11-17  Eli Zaretskii  <eliz@gnu.org>
  
        * customize.texi (Composite Types): Lower-case index entry.
  
        * loading.texi (How Programs Do Loading):
        Document load-file-name.  (Bug#7346)
  
 -2010-11-10  Glenn Morris  <rgm@gnu.org>
 +2010-11-17  Glenn Morris  <rgm@gnu.org>
  
        * text.texi (Kill Functions, Low-Level Kill Ring): Small fixes.
  
 -2010-10-27  Glenn Morris  <rgm@gnu.org>
 +2010-11-13  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * display.texi (Usual Display): Characters with no fonts are not
 +      necessarily displayed as empty boxes.
 +
 +2010-10-31  Glenn Morris  <rgm@gnu.org>
  
        * maps.texi (Standard Keymaps): Update File menu description.
  
 -2010-10-22  Eli Zaretskii  <eliz@gnu.org>
 +2010-10-28  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (elisp.dvi, elisp.pdf): Also include $emacsdir.
 +
 +2010-10-24  Eli Zaretskii  <eliz@gnu.org>
  
        * display.texi (Window Systems): Deprecate use of window-system as
        a predicate.
  
 -2010-09-05  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
 +2010-10-23  Glenn Morris  <rgm@gnu.org>
 +
 +      * help.texi (Documentation Basics): Remove mentions of digest-doc and
 +      sorted-doc.
 +
 +2010-10-15  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * os.texi (Dynamic Libraries): New node, with slightly modified
 +      text deleted from "Image Formats".
 +      (System Interface): Add @menu entry for "Dynamic Libraries".
 +
 +      * display.texi (Image Formats): Remove description of
 +      image-library-alist.  (Renamed in 2010-10-13T14:50:06Z!lekktu@gmail.com.)
 +
 +2010-10-12  Glenn Morris  <rgm@gnu.org>
 +
 +      * book-spine.texinfo: Rename to book-spine.texi.
 +
 +2010-10-11  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (MAKEINFO): Add explicit -I$srcdir.
 +
 +      * Makefile.in (DVIPS): New variable.
 +      (.PHONY): Add html, ps.
 +      (html, elisp.html, ps, elisp.ps): New targets.
 +      (clean): Delete html, ps files.
 +      ($(infodir)/elisp): Remove unnecessary includes.
 +
 +2010-10-09  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * makefile.w32-in (emacsdir): New variable.
 +      (srcs): Add emacsver.texi.
 +      ($(infodir)/elisp, elisp.dvi): Add -I$(emacsdir).
 +
 +2010-10-09  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (VPATH): Remove.
 +      (infodir): Make it absolute.
 +      (mkinfodir, $(infodir)/elisp, infoclean): No need to cd $srcdir.
 +
 +      * Makefile.in (dist): Anchor regexps.
 +
 +      * Makefile.in (srcs): Put elisp.texi first.
 +      ($(infodir)/elisp, elisp.dvi, elisp.pdf): Use $<.
 +
 +      * Makefile.in (infoclean): Remove harmless, long-standing error.
 +
 +      * Makefile.in ($(infodir)): Delete rule.
 +      (mkinfodir): New.
 +      ($(infodir)/elisp): Use $mkinfodir instead of infodir.
 +
 +      * Makefile.in (dist): Remove reference to emacsver.texi.in.
 +      Also copy emacsver.texi, and edit $emacsdir.
 +
 +2010-10-09  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (emacsdir): New variable.
 +      (MAKEINFO): Add -I $emacsdir.
 +      (dist): Copy emacsver.texi.
 +      (srcs): Add emacsver.texi.
 +
 +      * book-spine.texinfo, elisp.texi, vol2.texi, vol1.texi:
 +      Set EMACSVER by including emacsver.texi.
 +
 +      * Makefile.in (.PHONY): Declare info, dvi, pdf, dist.
 +
 +2010-10-07  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (version): New, set by configure.
 +      (clean): Delete dist tar file.
 +      (dist): Use version in tar name.
 +
 +2010-10-06  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in: Rearrange to more closely resemble doc/emacs/Makefile.
 +      (INSTALL_INFO): Remove unused variable.
 +      (mostlyclean, infoclean, dist): New rules.
 +      (clean): Delete dvi and pdf files.
 +      (maintainer-clean): Remove elisp.oaux, use infoclean.
 +      ($(infodir)): Add parallel build workaround.
 +
 +2010-10-04  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (dvi, pdf, $(infodir)): New targets.
 +      ($(infodir)/elisp): Ensure target directory exists.  Use $@.
 +      Fix -I typo.
 +      (clean): No 'make.out' or 'core' files.
 +      (.PHONY): Declare clean rules.
 +      (maintainer-clean): Delete pdf file.  Guard against cd failures.
 +
 +2010-10-03  Glenn Morris  <rgm@gnu.org>
 +
 +      * files.texi (File Name Components): Remove ignored section about
 +      deleted variable directory-sep-char.
 +
 +2010-10-03  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * files.texi (Magic File Names): New defopt
 +      remote-file-name-inhibit-cache.
 +
 +2010-10-02  Glenn Morris  <rgm@gnu.org>
 +
 +      * os.texi (Killing Emacs): Hook now runs in batch mode.
 +
 +2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * text.texi (Special Properties): Clarify when modification-hooks run.
 +
 +2010-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * syntax.texi (Syntax Flags): Document new `c' flag.
 +
 +2010-09-09  Glenn Morris  <rgm@gnu.org>
 +
 +      * display.texi (ImageMagick Images): General cleanup.
 +
 +2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
  
        * files.texi (Directory Names): Use \` rather than ^.
  
 +2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * text.texi (Low-Level Kill Ring):
 +      * frames.texi (Window System Selections): Remove cut buffer
 +      documentation.
 +
 +2010-08-28  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * display.texi (Fringe Size/Pos): Add a cross-reference to "Layout
 +      Parameters", where the default fringe width is described.
 +
 +      * frames.texi (Window Frame Parameters, Basic Parameters)
 +      (Position Parameters, Layout Parameters, Management Parameters)
 +      (Cursor Parameters, Font and Color Parameters): Add indexing for
 +      frame parameters.  (Bug#6929)
 +
 +2010-08-25  Tom Tromey  <tromey@redhat.com>
 +
 +      * vol2.texi (Top): Update.
 +      * vol1.texi (Top): Update.
 +      * tips.texi (Library Headers): Mention Package-Version and
 +      Package-Requires.
 +      * package.texi: New file.
 +      * os.texi (System Interface): Update pointers.
 +      * elisp.texi (Top): Link to new nodes.  Include package.texi.
 +      * anti.texi (Antinews): Update pointers.
 +
 +2010-08-25  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * processes.texi (Filter Functions): Fix last change.
 +
 +2010-08-24  Markus Triska  <triska@gmx.at>
 +
 +      * processes.texi (Filter Functions): Use `buffer-live-p' instead
 +      of `buffer-name' in the main text as well as in the example
 +      (Bug#3098).
 +
 +2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * nonascii.texi (Text Representations):
 +      * loading.texi (Loading Non-ASCII):
 +      * compile.texi (Byte Compilation): Don't mention obsolete
 +      --unibyte command-line argument.
 +
  2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
  
        * modes.texi (Defining Minor Modes): Doc fix (Bug#6880).
  
 -2010-08-19  Chong Yidong  <cyd@stupidchicken.com>
 +2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
  
        * objects.texi (Bool-Vector Type): Minor definition tweak (Bug#6878).
  
 -2010-08-02  Christoph  <cschol2112@googlemail.com>
 +2010-08-20  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * commands.texi (Misc Events): Add cross-references to where
 +      POSITION of a mouse event is described in detail.
 +
 +2010-08-08  Christoph  <cschol2112@googlemail.com>
  
        * control.texi (Handling Errors) <error-message-string>: Fix arg name.
  
 -2010-07-29  Juanma Barranquero  <lekktu@gmail.com>
 +2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
  
        * modes.texi (Defining Minor Modes): Use C-backspace, not C-delete.
        Suggested by Štěpán Němec <stepnem@gmail.com>.
  
 -2010-07-28  Juanma Barranquero  <lekktu@gmail.com>
 +2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
  
        * minibuf.texi (High-Level Completion): Document args of
        `read-buffer-function' (bug#5625).
  
 +2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * frames.texi (Layout Parameters): Add doc for tool-bar-position.
 +
 +2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * processes.texi (Process Information): Explain process property
 +      `remote-tty'.
 +
  2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
  
        * modes.texi (Defining Minor Modes): Use C-delete in examples,
        instead of "\C-\^?" (bug#6334).
  
 -2010-07-21  Juanma Barranquero  <lekktu@gmail.com>
 -
        * text.texi (Special Properties): Fix typo.
  
 +2010-07-09  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * internals.texi (Writing Emacs Primitives): Adapt to ANSI C
 +      calling sequences, which are now the standard.
 +
  2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
  
        * text.texi (Undo): Clarify command loop behavior (Bug#2433).
  
  2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * errors.texi (Standard Errors): Remove unnecessary markup
 -      (Bug#6461).
 +      * errors.texi (Standard Errors): Remove unnecessary markup (Bug#6461).
  
  2010-06-02  Chong Yidong  <cyd@stupidchicken.com>
  
        * minibuf.texi (Basic Completion): Document completion-boundaries.
        (Programmed Completion): Document the new fourth method for boundaries.
  
 -2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
 +2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * Version 23.2 released.
 +      * display.texi (Image Cache): Update documentation about image caching.
  
 -2010-05-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
 +2010-05-08  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
  
        * windows.texi (Textual Scrolling):
        * tips.texi (Coding Conventions):
        * loading.texi (Where Defined):
        * edebug.texi (Instrumenting): Fix typos.
  
 -2010-04-25  Chong Yidong  <cyd@stupidchicken.com>
 +2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
  
        * keymaps.texi (Menu Bar): Document :advertised-binding property.
  
  
        * elisp.texi (Top): Update node description.
  
 +2010-05-08  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * nonascii.texi (Character Properties):
 +      Document unicode-category-table.  Add an index entry for Unicode
 +      general category.
 +
 +2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * Version 23.2 released.
 +
 +2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * locals.texi (Standard Buffer-Local Variables):
 +      Remove @ignore'd reference to `direction-reversed'.
 +
  2010-04-14  Juri Linkov  <juri@jurta.org>
  
        Fix @deffn without category.
  
        * frames.texi (Cursor Parameters): Fix typo.  (Bug#5760)
  
 -2010-03-21  Chong Yidong  <cyd@stupidchicken.com>
 +2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
  
        * processes.texi (Network Processes): Document seqpacket type.
  
 +2010-03-20  Dan Nicolaescu  <dann@ics.uci.edu>
 +
 +      * os.texi (System Environment): Do not mention lynxos.
 +
 +2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * Branch for 23.2.
 +
  2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
  
        * objects.texi (Integer Type): Take note of the read syntax
  2005-02-05  Eli Zaretskii  <eliz@gnu.org>
  
        * frames.texi (Color Names): Add pointer to the X docs about RGB
 -      color specifications.  Improve indexing
 +      color specifications.  Improve indexing.
        (Text Terminal Colors): Replace the description of RGB values by
        an xref to "Color Names".
  
        * minibuf.texi (Reading File Names): read-file-name has new
        arg PREDICATE.  New function read-directory-name.
  
 -      * macros.texi (Defining Macros): Give definition of `declare'
 +      * macros.texi (Defining Macros): Give definition of `declare'.
        (Indenting Macros): New node.
  
        * frames.texi (Parameter Access): Add modify-all-frames-parameters.
        * numbers.texi (Integer Basics): Add most-positive-fixnum,
        most-negative-fixnum.
  
 -      * compile.texi (Byte Compilation): Explain no-byte-compile
 +      * compile.texi (Byte Compilation): Explain no-byte-compile.
        (Compiler Errors): New node.
  
        * os.texi (User Identification): user-uid, user-real-uid
  
  ;; Local Variables:
  ;; coding: utf-8
 -;; add-log-time-zone-rule: t
  ;; End:
  
 -    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
 -      2007, 2008, 2009, 2010, 2011  Free Software Foundation, Inc.
 +  Copyright (C) 1998-2011  Free Software Foundation, Inc.
  
    This file is part of GNU Emacs.
  
index ff658eb81f844b11da105e2b381d93e471bfb2c6,52d8fa42389a5b25b3d50ed73f8e2e5f338ae1a9..868edaa5bd4a40f18c419d89c5d3077338310315
@@@ -1,6 -1,7 +1,6 @@@
  @c -*-texinfo-*-
  @c This is part of the GNU Emacs Lisp Reference Manual.
 -@c Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
 -@c   2005, 2006, 2007, 2008, 2009, 2010, 2011  Free Software Foundation, Inc.
 +@c Copyright (C) 1997-2011  Free Software Foundation, Inc.
  @c See the file elisp.texi for copying conditions.
  @setfilename ../../info/customize
  @node Customization, Loading, Macros, Top
@@@ -174,7 -175,7 +174,7 @@@ For example, the MH-E package updates t
  
  The value of @var{package} needs to be unique and it needs to match
  the @var{package} value appearing in the @code{:package-version}
 -keyword.  Since the user might see the value in a error message, a good
 +keyword.  Since the user might see the value in an error message, a good
  choice is the official name of the package, such as MH-E or Gnus.
  @end defvar
  
@@@ -326,12 -327,11 +326,12 @@@ individual types for a description of h
  @item :set @var{setfunction}
  @kindex set@r{, @code{defcustom} keyword}
  Specify @var{setfunction} as the way to change the value of this
 -option.  The function @var{setfunction} should take two arguments, a
 -symbol (the option name) and the new value, and should do whatever is
 -necessary to update the value properly for this option (which may not
 -mean simply setting the option as a Lisp variable).  The default for
 -@var{setfunction} is @code{set-default}.
 +option when using the Customize user interface.  The function
 +@var{setfunction} should take two arguments, a symbol (the option
 +name) and the new value, and should do whatever is necessary to update
 +the value properly for this option (which may not mean simply setting
 +the option as a Lisp variable).  The default for @var{setfunction} is
 +@code{set-default}.
  
  @item :get @var{getfunction}
  @kindex get@r{, @code{defcustom} keyword}
@@@ -513,8 -513,7 +513,7 @@@ equivalent to @code{(string)}
  Introduction, widget, The Emacs Widget Library}, for details.
  
  @menu
- * Simple Types::            Simple customization types: sexp, integer, number,
-                               string, file, directory, alist.
+ * Simple Types::            Simple customization types: sexp, integer, etc.
  * Composite Types::         Build new types from other types or data.
  * Splicing into Lists::     Splice elements into list with @code{:inline}.
  * Type Keywords::           Keyword-argument pairs in a customization type.
@@@ -577,22 -576,103 +576,103 @@@ You can use the @code{:options} keywor
  @code{defcustom} to specify a list of functions recommended for use in
  the hook; see @ref{Variable Definitions}.
  
- @item alist
- The value must be a list of cons-cells, the @sc{car} of each cell
- representing a key, and the @sc{cdr} of the same cell representing an
- associated value.  The user can add and delete key/value pairs, and
- edit both the key and the value of each pair.
+ @item symbol
+ The value must be a symbol.  It appears in the customization buffer as
+ the name of the symbol.
  
- You can specify the key and value types like this:
+ @item function
+ The value must be either a lambda expression or a function name.  When
+ it is a function name, you can do completion with @kbd{M-@key{TAB}}.
  
- @smallexample
- (alist :key-type @var{key-type} :value-type @var{value-type})
- @end smallexample
+ @item variable
+ The value must be a variable name, and you can do completion with
+ @kbd{M-@key{TAB}}.
+ @item face
+ The value must be a symbol which is a face name, and you can do
+ completion with @kbd{M-@key{TAB}}.
+ @item boolean
+ The value is boolean---either @code{nil} or @code{t}.  Note that by
+ using @code{choice} and @code{const} together (see the next section),
+ you can specify that the value must be @code{nil} or @code{t}, but also
+ specify the text to describe each value in a way that fits the specific
+ meaning of the alternative.
+ @item coding-system
+ The value must be a coding-system name, and you can do completion with
+ @kbd{M-@key{TAB}}.
+ @item color
+ The value must be a valid color name, and you can do completion with
+ @kbd{M-@key{TAB}}.  A sample is provided.
+ @end table
+ @node Composite Types
+ @subsection Composite Types
+ @cindex composite types (customization)
+   When none of the simple types is appropriate, you can use composite
+ types, which build new types from other types or from specified data.
+ The specified types or data are called the @dfn{arguments} of the
+ composite type.  The composite type normally looks like this:
+ @example
+ (@var{constructor} @var{arguments}@dots{})
+ @end example
  
  @noindent
- where @var{key-type} and @var{value-type} are customization type
- specifications.  The default key type is @code{sexp}, and the default
- value type is @code{sexp}.
+ but you can also add keyword-value pairs before the arguments, like
+ this:
+ @example
+ (@var{constructor} @r{@{}@var{keyword} @var{value}@r{@}}@dots{} @var{arguments}@dots{})
+ @end example
+   Here is a table of constructors and how to use them to write
+ composite types:
+ @table @code
+ @item (cons @var{car-type} @var{cdr-type})
+ The value must be a cons cell, its @sc{car} must fit @var{car-type}, and
+ its @sc{cdr} must fit @var{cdr-type}.  For example, @code{(cons string
+ symbol)} is a customization type which matches values such as
+ @code{("foo" . foo)}.
+ In the customization buffer, the @sc{car} and the @sc{cdr} are
+ displayed and edited separately, each according to the type
+ that you specify for it.
+ @item (list @var{element-types}@dots{})
+ The value must be a list with exactly as many elements as the
+ @var{element-types} given; and each element must fit the
+ corresponding @var{element-type}.
+ For example, @code{(list integer string function)} describes a list of
+ three elements; the first element must be an integer, the second a
+ string, and the third a function.
+ In the customization buffer, each element is displayed and edited
+ separately, according to the type specified for it.
+ @item (group @var{element-types}@dots{})
+ This works like @code{list} except for the formatting
+ of text in the Custom buffer.  @code{list} labels each
+ element value with its tag; @code{group} does not.
+ @item (vector @var{element-types}@dots{})
+ Like @code{list} except that the value must be a vector instead of a
+ list.  The elements work the same as in @code{list}.
+ @item (alist :key-type @var{key-type} :value-type @var{value-type})
+ The value must be a list of cons-cells, the @sc{car} of each cell
+ representing a key of customization type @var{key-type}, and the
+ @sc{cdr} of the same cell representing a value of customization type
+ @var{value-type}.  The user can add and delete key/value pairs, and
+ edit both the key and the value of each pair.
+ If omitted, @var{key-type} and @var{value-type} default to
+ @code{sexp}.
  
  The user can add any key matching the specified key type, but you can
  give some keys a preferential treatment by specifying them with the
@@@ -687,105 -767,11 +767,11 @@@ and the VALUE is a list of that person'
    :type '(alist :value-type (repeat string)))
  @end smallexample
  
- @item plist
- The @code{plist} custom type is similar to the @code{alist} (see above),
- except that the information is stored as a property list, i.e. a list of
- this form:
- @smallexample
- (@var{key} @var{value} @var{key} @var{value} @var{key} @var{value} @dots{})
- @end smallexample
- The default @code{:key-type} for @code{plist} is @code{symbol},
- rather than @code{sexp}.
- @item symbol
- The value must be a symbol.  It appears in the customization buffer as
- the name of the symbol.
- @item function
- The value must be either a lambda expression or a function name.  When
- it is a function name, you can do completion with @kbd{M-@key{TAB}}.
- @item variable
- The value must be a variable name, and you can do completion with
- @kbd{M-@key{TAB}}.
- @item face
- The value must be a symbol which is a face name, and you can do
- completion with @kbd{M-@key{TAB}}.
- @item boolean
- The value is boolean---either @code{nil} or @code{t}.  Note that by
- using @code{choice} and @code{const} together (see the next section),
- you can specify that the value must be @code{nil} or @code{t}, but also
- specify the text to describe each value in a way that fits the specific
- meaning of the alternative.
- @item coding-system
- The value must be a coding-system name, and you can do completion with
- @kbd{M-@key{TAB}}.
- @item color
- The value must be a valid color name, and you can do completion with
- @kbd{M-@key{TAB}}.  A sample is provided.
- @end table
- @node Composite Types
- @subsection Composite Types
- @cindex composite types (customization)
-   When none of the simple types is appropriate, you can use composite
- types, which build new types from other types or from specified data.
- The specified types or data are called the @dfn{arguments} of the
- composite type.  The composite type normally looks like this:
- @example
- (@var{constructor} @var{arguments}@dots{})
- @end example
- @noindent
- but you can also add keyword-value pairs before the arguments, like
- this:
- @example
- (@var{constructor} @r{@{}@var{keyword} @var{value}@r{@}}@dots{} @var{arguments}@dots{})
- @end example
-   Here is a table of constructors and how to use them to write
- composite types:
- @table @code
- @item (cons @var{car-type} @var{cdr-type})
- The value must be a cons cell, its @sc{car} must fit @var{car-type}, and
- its @sc{cdr} must fit @var{cdr-type}.  For example, @code{(cons string
- symbol)} is a customization type which matches values such as
- @code{("foo" . foo)}.
- In the customization buffer, the @sc{car} and the @sc{cdr} are
- displayed and edited separately, each according to the type
- that you specify for it.
- @item (list @var{element-types}@dots{})
- The value must be a list with exactly as many elements as the
- @var{element-types} given; and each element must fit the
- corresponding @var{element-type}.
- For example, @code{(list integer string function)} describes a list of
- three elements; the first element must be an integer, the second a
- string, and the third a function.
- In the customization buffer, each element is displayed and edited
- separately, according to the type specified for it.
- @item (group @var{element-types}@dots{})
- This works like @code{list} except for the formatting
- of text in the Custom buffer.  @code{list} labels each
- element value with its tag; @code{group} does not.
- @item (vector @var{element-types}@dots{})
- Like @code{list} except that the value must be a vector instead of a
- list.  The elements work the same as in @code{list}.
+ @item (plist :key-type @var{key-type} :value-type @var{value-type})
+ This customization type is similar to @code{alist} (see above), except
+ that (i) the information is stored as a property list,
+ (@pxref{Property Lists}), and (ii) @var{key-type}, if omitted,
+ defaults to @code{symbol} rather than @code{sexp}.
  
  @item (choice @var{alternative-types}@dots{})
  The value must fit at least one of @var{alternative-types}.
@@@ -1036,12 -1022,7 +1022,12 @@@ meanings
  
  @table @code
  @item :value @var{default}
 -This is used for a type that appears as an alternative inside of
 +Provide a default value.
 +
 +If @code{nil} is not a valid value for the alternative, then it is
 +essential to specify a valid default with @code{:value}.
 +
 +If you use this for a type that appears as an alternative inside of
  @code{choice}; it specifies the default value to use, at first, if and
  when the user selects this alternative with the menu in the
  customization buffer.
  Of course, if the actual value of the option fits this alternative, it
  will appear showing the actual value, not @var{default}.
  
 -If @code{nil} is not a valid value for the alternative, then it is
 -essential to specify a valid default with @code{:value}.
 -
  @item :format @var{format-string}
  @kindex format@r{, customization keyword}
  This string will be inserted in the buffer to represent the value
@@@ -1284,3 -1268,7 +1270,3 @@@ the inferior widgets will convert @emph
  the data structure is itself recursive, this conversion is an infinite
  recursion.  The @code{lazy} widget prevents the recursion: it convert
  its @code{:type} argument only when needed.
 -
 -@ignore
 -   arch-tag: d1b8fad3-f48c-4ce4-a402-f73b5ef19bd2
 -@end ignore
diff --combined doc/lispref/display.texi
index 6d19d73545e1118b66f0442355c5ddcc58f09992,42f685838394b41676003ed700b437d347cb61f9..bc81c59f05f399d2f9b74ffe9895fcf213e8ac6e
@@@ -1,6 -1,8 +1,6 @@@
  @c -*-texinfo-*-
  @c This is part of the GNU Emacs Lisp Reference Manual.
 -@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2000, 2001,
 -@c   2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
 -@c   Free Software Foundation, Inc.
 +@c Copyright (C) 1990-1995, 1998-2011  Free Software Foundation, Inc.
  @c See the file elisp.texi for copying conditions.
  @setfilename ../../info/display
  @node Display, System Interface, Processes, Top
@@@ -2092,7 -2094,10 +2092,10 @@@ Draw a box with lines of width 1, in co
  
  @item @code{(:line-width @var{width} :color @var{color} :style @var{style})}
  This way you can explicitly specify all aspects of the box.  The value
- @var{width} specifies the width of the lines to draw; it defaults to 1.
+ @var{width} specifies the width of the lines to draw; it defaults to
+ 1.  A negative width @var{-n} means to draw a line of width @var{n}
+ that occupies the space of the underlying text, thus avoiding any
+ increase in the character height or width.
  
  The value @var{color} specifies the color to draw with.  The default is
  the foreground color of the face for simple boxes, and the background
@@@ -3212,9 -3217,7 +3215,9 @@@ width from the window's frame
    The values of these variables take effect when you display the
  buffer in a window.  If you change them while the buffer is visible,
  you can call @code{set-window-buffer} to display it once again in the
 -same window, to make the changes take effect.
 +same window, to make the changes take effect.  A buffer that does not
 +specify values for these variables will use the default values
 +specified for the frame; see @ref{Layout Parameters}.
  
  @defun set-window-fringes window left &optional right outside-margins
  This function sets the fringe widths of window @var{window}.
@@@ -4046,7 -4049,6 +4049,7 @@@ displayed (@pxref{Display Feature Testi
  * GIF Images::          Special features for GIF format.
  * TIFF Images::         Special features for TIFF format.
  * PostScript Images::   Special features for PostScript format.
 +* ImageMagick Images::  Special features available through ImageMagick.
  * Other Image Types::   Various other formats are supported.
  * Defining Images::     Convenient ways to define an image for later use.
  * Showing Images::      Convenient ways to display an image once it is defined.
  
    Emacs can display a number of different image formats; some of them
  are supported only if particular support libraries are installed on
 -your machine.  In some environments, Emacs can load image
 -libraries on demand; if so, the variable @code{image-library-alist}
 -can be used to modify the set of known names for these dynamic
 -libraries (though it is not possible to add new image formats).
 +your machine.  In some environments, Emacs can load support libraries
 +on demand; if so, the variable @code{dynamic-library-alist}
 +(@pxref{Dynamic Libraries}) can be used to modify the set of known
 +names for these dynamic libraries (though it is not possible to add
 +new image formats).  Note that image types @code{pbm} and @code{xbm}
 +do not depend on external libraries and are always available in Emacs.
  
    The supported image formats include XBM, XPM (this requires the
  libraries @code{libXpm} version 3.4k and @code{libz}), GIF (requiring
@@@ -4089,6 -4089,24 +4092,6 @@@ To know which image types are really av
  @code{image-type-available-p}.
  @end defvar
  
 -@defvar image-library-alist
 -This in an alist of image types vs external libraries needed to
 -display them.
 -
 -Each element is a list @code{(@var{image-type} @var{library}...)},
 -where the car is a supported image format from @code{image-types}, and
 -the rest are strings giving alternate filenames for the corresponding
 -external libraries to load.
 -
 -Emacs tries to load the libraries in the order they appear on the
 -list; if none is loaded, the running session of Emacs won't support
 -the image type.  @code{pbm} and @code{xbm} don't need to be listed;
 -they're always supported.
 -
 -This variable is ignored if the image libraries are statically linked
 -into Emacs.
 -@end defvar
 -
  @defun image-type-available-p type
  This function returns non-@code{nil} if image type @var{type} is
  available, i.e., if images of this type can be loaded and displayed in
@@@ -4214,14 -4232,14 +4217,14 @@@ Laplace edge-detection currently uses 
  @tex
  $$\pmatrix{1 & 0 & 0 \cr
     0&  0 &  0 \cr
 -   9 & 9 & -1 \cr}$$
 +   0 & 0 & -1 \cr}$$
  @end tex
  @end iftex
  @ifnottex
  @display
    (1  0  0
     0  0  0
 -   9  9 -1)
 +   0  0 -1)
  @end display
  @end ifnottex
  
@@@ -4455,60 -4473,6 +4458,60 @@@ specifying the bounding box of the Post
  @end example
  @end table
  
 +@node ImageMagick Images
 +@subsection ImageMagick Images
 +@cindex ImageMagick images
 +@cindex images, support for more formats
 +
 +  If you build Emacs with ImageMagick (@url{http://www.imagemagick.org})
 +support, you can use the ImageMagick library to load many image formats.
 +
 +@findex imagemagick-types
 +The function @code{imagemagick-types} returns a list of image file
 +extensions that your installation of ImageMagick supports.  To enable
 +support, you must call the function @code{imagemagick-register-types}.
 +
 +@vindex imagemagick-types-inhibit
 +The variable @code{imagemagick-types-inhibit} specifies a list of
 +image types that you do @emph{not} want ImageMagick to handle.  There
 +may be overlap between image loaders in your Emacs installation, and
 +you may prefer to use a different one for a given image type (which
 +@c FIXME how is this priority determined?
 +loader will be used in practice depends on the priority of the loaders).
 +@c FIXME why are these uppercase when image-types is lower-case?
 +@c FIXME what are the possibe options?  Are these actually file extensions?
 +For example, if you never want to use the ImageMagick loader to use
 +JPEG files, add @code{JPG} to this list.
 +
 +@vindex imagemagick-render-type
 +You can set the variable @code{imagemagick-render-type} to choose
 +between screen render methods for the ImageMagick loader.  The options
 +are: @code{0}, a conservative method which works with older
 +@c FIXME details of this "newer method"?
 +@c Presumably it is faster but may be less "robust"?
 +ImageMagick versions (it is a bit slow, but robust); and @code{1},
 +a newer ImageMagick method.
 +
 +Images loaded with ImageMagick support a few new display specifications:
 +
 +@table @code
 +@item :width, :height
 +The @code{:width} and @code{:height} keywords are used for scaling the
 +image.  If only one of them is specified, the other one will be
 +calculated so as to preserve the aspect ratio.  If both are specified,
 +aspect ratio may not be preserved.
 +
 +@item :rotation
 +Specifies a rotation angle in degrees.
 +
 +@item :index
 +Specifies which image to view inside an image bundle file format, such
 +as TIFF or DJVM.  You can use the @code{image-metadata} function to
 +retrieve the total number of images in an image bundle (this is
 +similar to how GIF files work).
 +@end table
 +
 +
  @node Other Image Types
  @subsection Other Image Types
  @cindex PBM
@@@ -4700,17 -4664,10 +4703,17 @@@ it a @code{display} property which spec
  Property}.
  @end defun
  
 +@cindex slice, image
 +@cindex image slice
  @defun insert-sliced-image image &optional string area rows cols
  This function inserts @var{image} in the current buffer at point, like
  @code{insert-image}, but splits the image into @var{rows}x@var{cols}
  equally sized slices.
 +
 +If an image is inserted ``sliced'', then the Emacs display engine will
 +treat each slice as a separate image, and allow more intuitive
 +scrolling up/down, instead of jumping up/down the entire image when
 +paging through a buffer that displays (large) images.
  @end defun
  
  @defun put-image image pos &optional string area
@@@ -4781,35 -4738,29 +4784,35 @@@ cache, it can always be displayed, eve
  efficiently.  When Emacs displays an image, it searches the image
  cache for an existing image specification @code{equal} to the desired
  specification.  If a match is found, the image is displayed from the
 -cache; otherwise, Emacs loads the image normally.
 -
 -  Occasionally, you may need to tell Emacs to refresh the images
 -associated with a given image specification.  For example, suppose you
 -display an image using a specification that contains a @code{:file}
 -property.  The image is automatically cached, and subsequent displays
 -of that image, with the same image specification, will use the image
 -cache.  If the image file changes in the meantime, Emacs would be
 -displaying the old version of the image.  In such a situation, you can
 -``refresh'' the image by calling @code{image-refresh}.
 -
 -  In Emacs' current implementation, each graphical terminal possesses
 -an image cache, which is shared by all the frames on that terminal
 +cache.  Otherwise, Emacs loads the image normally.
 +
 +@defun image-flush spec &optional frame
 +This function removes the image with specification @var{spec} from the
 +image cache of frame @var{frame}.  Image specifications are compared
 +using @code{equal}.  If @var{frame} is @code{nil}, it defaults to the
 +selected frame.  If @var{frame} is @code{t}, the image is flushed on
 +all existing frames.
 +
 +In Emacs' current implementation, each graphical terminal possesses an
 +image cache, which is shared by all the frames on that terminal
  (@pxref{Multiple Terminals}).  Thus, refreshing an image in one frame
  also refreshes it in all other frames on the same terminal.
 -
 -@defun image-refresh spec &optional frame
 -This function refreshes any images with image specifications
 -@code{equal} to @var{spec} on frame @var{frame}.  If @var{frame} is
 -@code{nil}, it defaults to the selected frame.  If @var{frame} is
 -@code{t}, the refresh is applied to all existing frames.
  @end defun
  
 +  One use for @code{image-flush} is to tell Emacs about a change in an
 +image file.  If an image specification contains a @code{:file}
 +property, the image is cached based on the file's contents when the
 +image is first displayed.  Even if the file subsequently changes,
 +Emacs continues displaying the old version of the image.  Calling
 +@code{image-flush} flushes the image from the cache, forcing Emacs to
 +re-read the file the next time it needs to display that image.
 +
 +  Another use for @code{image-flush} is for memory conservation.  If
 +your Lisp program creates a large number of temporary images over a
 +period much shorter than @code{image-cache-eviction-delay} (see
 +below), you can opt to flush unused images yourself, instead of
 +waiting for Emacs to do it automatically.
 +
  @defun clear-image-cache &optional filter
  This function clears an image cache, removing all the images stored in
  it.  If @var{filter} is omitted or @code{nil}, it clears the cache for
@@@ -4825,12 -4776,9 +4828,12 @@@ period of time, Emacs removes it from t
  associated memory.
  
  @defvar image-cache-eviction-delay
 -This variable specifies the number of seconds an image can remain in the
 -cache without being displayed.  When an image is not displayed for this
 -length of time, Emacs removes it from the image cache.
 +This variable specifies the number of seconds an image can remain in
 +the cache without being displayed.  When an image is not displayed for
 +this length of time, Emacs removes it from the image cache.
 +
 +Under some circumstances, if the number of images in the cache grows
 +too large, the actual eviction delay may be shorter than this.
  
  If the value is @code{nil}, Emacs does not remove images from the cache
  except when you explicitly clear it.  This mode can be useful for
@@@ -5207,7 -5155,7 +5210,7 @@@ element value into the current buffer
    Typically, you define an ewoc with @code{ewoc-create}, and then pass
  the resulting ewoc structure to other functions in the Ewoc package to
  build nodes within it, and display it in the buffer.  Once it is
 -displayed in the buffer, other functions determine the correspondance
 +displayed in the buffer, other functions determine the correspondence
  between buffer positions and nodes, move point from one node's textual
  representation to another, and so forth.  @xref{Abstract Display
  Functions}.
@@@ -5592,9 -5540,9 +5595,9 @@@ digit characters representing the chara
  table can specify a glyph to use instead of @samp{\}.)
  
  @item
 -Multibyte character codes above 256 are displayed as themselves, or as a
 -question mark or empty box if the terminal cannot display that
 -character.
 +Multibyte character codes above 256 are displayed as themselves, or as
 +a question mark or a hex code or an empty box if the terminal cannot
 +display that character.
  @end itemize
  
    The usual display conventions apply even when there is a display
diff --combined doc/lispref/elisp.texi
index 264d63511bc6001b24cb8188fe86ff9e6ded9eea,d0297032f036449656c80063422f0d2339a16cc0..29b3e398f4b9255174ebb32e62f2169d8fbf2534
@@@ -8,7 -8,7 +8,7 @@@
  @c Please remember to update the edition number in README as well.
  @c And also the copies in vol1.texi and vol2.texi.
  @set VERSION  3.0
 -@set EMACSVER 23.3.50
 +@include emacsver.texi
  @set DATE July 2009
  
  @c in general, keep the following line commented out, unless doing a
@@@ -44,7 -44,8 +44,7 @@@
  This is edition @value{VERSION} of the GNU Emacs Lisp Reference Manual,@*
  corresponding to Emacs version @value{EMACSVER}.
  
 -Copyright @copyright{} 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998,
 -1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011  Free Software
 +Copyright @copyright{} 1990-1996, 1998-2011  Free Software
  Foundation, Inc.
  
  @quotation
@@@ -62,8 -63,6 +62,8 @@@ developing GNU and promoting software f
  @end quotation
  @end copying
  
 +@documentencoding ISO-8859-1
 +
  @dircategory GNU Emacs Lisp
  @direntry
  * Elisp: (elisp).       The Emacs Lisp Reference Manual.
@@@ -160,8 -159,6 +160,8 @@@ Cover art by Etienne Suvasa
  * System Interface::        Getting the user id, system type, environment
                                variables, and other such things.
  
 +* Packaging::               Preparing Lisp code for distribution.
 +
  Appendices
  
  * Antinews::                Info for users downgrading to Emacs 22.
@@@ -508,8 -505,7 +508,7 @@@ Writing Customization Definition
  
  Customization Types
  
- * Simple Types::            Simple customization types: sexp, integer, number,
-                               string, file, directory, alist.
+ * Simple Types::            Simple customization types: sexp, integer, etc.
  * Composite Types::         Build new types from other types or data.
  * Splicing into Lists::     Splice elements into list with @code{:inline}.
  * Type Keywords::           Keyword-argument pairs in a customization type.
@@@ -1396,13 -1392,6 +1395,13 @@@ Operating System Interfac
  * Session Management::      Saving and restoring state with
                                X Session Management.
  
 +Preparing Lisp code for distribution
 +
 +* Packaging Basics::        The basic concepts of Emacs Lisp packages.
 +* Simple Packages::         How to package a single .el file.
 +* Multi-file Packages::     How to package multiple files.
 +* Package Archives::        Maintaining package archives.
 +
  Starting Up Emacs
  
  * Startup Summary::         Sequence of actions Emacs performs at startup.
@@@ -1499,8 -1488,6 +1498,8 @@@ Object Internal
  @include display.texi
  @include os.texi
  
 +@include package.texi
 +
  @c MOVE to Emacs Manual:  include misc-modes.texi
  
  @c appendices
  
  \f
  These words prevent "local variables" above from confusing Emacs.
 -
 -@ignore
 -   arch-tag: f7e9a219-a0e1-4776-b631-08eaa1d49b34
 -@end ignore
diff --combined lisp/ChangeLog
index 32423da9afe193e3f1561729e26adcc484348aed,c05c769d2a9efca14af2fe0854f0273bc117046e..71efe9761aafd48502ca6dfb89556e27e0bf1973
 -2011-06-27  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
++2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
+       * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
 -2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
 -
 -      * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
 -      no-conversion (Bug#8870).
 -
 -2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * frame.el (special-display-popup-frame): Doc fix (Bug#8853).
 -
 -      * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
 -
 -2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
 -
 -2011-06-09  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
 -      buffer-file-type before setting its value, to avoid disastrous
 -      global effects on decoding files for DOS/Windows systems.
 -      (Bug#8780)
 -
 -2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * progmodes/python.el (python-after-info-look): Add autoload cookie.
 -      (python-unload-function): New function. (Bug#8730, bug#8781)
 -
 -2011-06-04  Reuben Thomas <rrt@sc3d.org>
 -
 -      * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
 -      Doc fix (Bug#8713).
 -
 -2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
 -
 -2011-06-04  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * loadhist.el (unload-feature-special-hooks):
 -      Add `comint-output-filter-functions'.
 -
 -2011-05-27  Kenichi Handa  <handa@m17n.org>
 -
 -      * mail/sendmail.el (mail-encode-header): Avoid double encoding by
 -      let-binding rfc2047-encode-encoded-words to nil.
 -
 -2011-05-23  Kenichi Handa  <handa@m17n.org>
 -
 -      * mail/sendmail.el: Require `rfc2047'.
 -      (mail-insert-from-field): Do not perform RFC2047 encoding.
 -      (mail-encode-header): New function.
 -      (sendmail-send-it): Set buffer-file-coding-system of the work
 -      buffer to the return value of select-message-coding-system.  Call
 -      mail-encode-header.
 -
 -      * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
 -
 -2011-05-22  Sean Neakums  <sneakums@zork.net>  (tiny change)
 -
 -      * mail/supercite.el (sc-default-cite-frame): Handle
 -      sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
 -
 -2011-05-16  Andreas Schwab  <schwab@linux-m68k.org>
 -
 -      * diff-mode.el (diff-fixup-modifs): Fix last change.
 -
 -2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * diff-mode.el (diff-fixup-modifs): Locate correct position for
 -      hunk-end tags (Bug#8672).
 -
 -2011-05-13  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * progmodes/python.el (python-font-lock-keywords):
 -      Add the Python 3.X keyword "nonlocal" (bug#8639).
 -
 -2011-05-09  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * smerge-mode.el (smerge-resolve): Use null-device rather than a
 -      literal "/dev/null".
 -
 -2011-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
 -      Fix typo.
 -
 -2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
 -
 -      * progmodes/which-func.el (which-function):
 -      Use add-log-current-defun instead of add-log-current-defun-function,
 -      which might not be defined (Bug#8260).
 -
 -2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-process-actions): Add POS argument.
 -      Delete region between POS and (pos).
 -      (tramp-do-copy-or-rename-file-out-of-band): Use `nil' position in
 -      `tramp-process-actions' call.
 -      (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
 -
 -      * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
 -      position in `tramp-process-actions' call.
 -
 -2011-04-24  Daniel Colascione <dan.colascione@gmail.com>
 -
 -      * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
 -      Use correct match group (bug#8438).
 -
 -2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
 -
 -2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * play/mpuz.el (mpuz-silent): Doc fix.
 -      (mpuz-mode-map): Move initialization into declaration.
 -      (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
 -      (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
 -      Fix typos in docstrings.
 -
 -      * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
 -      (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
 -
 -2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
 -
 -2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * minibuffer.el (completion--do-completion): Avoid the "Next char
 -      not unique" prompt if icomplete-mode is enabled (Bug#5849).
 -
 -2011-04-10  Stephen Berman <stephen.berman@gmx.net>
 -
 -      * textmodes/page.el (what-page): Use line-number-at-pos to
 -      calculate line number (Bug#6825).
 -
 -2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
 -      mouse-2 into unread-command-events, it is interpreted correctly.
 -
 -2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
 -      (image-toggle-display): Doc fix.
 -
 -2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      Backport revno:103823 and revno:103824 from trunk.
 -      * help-fns.el (describe-variable): Complete all variables having
 -      documentation, including keywords.
 -      http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
 -
 -2011-03-24  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * vc-annotate.el (vc-annotate-show-log-revision-at-line):
 -      Fix typo in docstring.
 -
 -2011-03-19  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * emerge.el (emerge-metachars): Separate value for ms-dos and
 -      windows-nt systems.
 -      (emerge-protect-metachars): Quote correctly for ms-dos and
 -      windows-nt systems.
 -
 -2011-03-15  Ralph Schleicher  <rs@ralph-schleicher.de>  (tiny change)
 -
 -      * info.el (info-initialize): Replace all uses of `:' with
 -      path-separator for compatibility with non-Unix systems.
 -      Cache quoting of path-separator.  (Bug#8258)
 -
 -2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
 -      (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
 -      (mouse-avoidance-mode): Fix typos in docstrings.
 -
 -2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-progress-reporter-update):
 -      Use `tramp-compat-funcall'.
 -      (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
 -      (tramp-handle-insert-file-contents): Make `file-remote-p' call
 -      compatible.
 -      (tramp-open-connection-setup-interactive-shell):
 -      Use `tramp-compat-process-put'.
 -
 -      * net/tramp-compat.el (tramp-compat-process-get)
 -      (tramp-compat-process-put): New defuns.
 -
 -      * net/trampver.el: Update release number.
 -
 -2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
 -      into declaration.  Remove redundant and harmful binding.
 -
 -2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      Backport revno:103463 from trunk.
 -      * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
 -
 -      Backport revno:103622 from trunk.
 -      * help-fns.el (describe-variable): Don't complete keywords.
 -      Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
 -
 -2011-03-11  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * files.el (file-ownership-preserved-p): Pass `integer' as an
 -      explicit 2nd argument to `file-attributes'.  If the file's owner
 -      is the Administrators group on Windows, and the current user is
 -      Administrator, consider that a match.
 -
 -      * server.el (server-ensure-safe-dir): Consider server directory
 -      safe on MS-Windows if its owner is the Administrators group while
 -      the current Emacs user is Administrator.  Use `=' to compare
 -      numerical UIDs, since they could be integers or floats.
 -
 -2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * Version 23.3 released.
 -
 -2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * progmodes/cc-cmds.el (c-beginning-of-statement): Fix 2011-01-31
 -      change; patch supplied by Alan Mackenzie was applied incorrectly.
 -
 -2011-02-26  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * international/mule-cmds.el (set-default-coding-systems): Use the
 -      -unix variant of encoding in default-keyboard-coding-system.
 -      (Bug#8122)
 -
 -2011-02-23  Kenichi Handa  <handa@m17n.org>
 -
 -      * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
 -      error when a multipart boundary in the nested multipart is found.
 -
 -2011-02-22  Kenichi Handa  <handa@m17n.org>
 -
 -      * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
 -      header components.
 -
 -2011-02-19  Kenichi Handa  <handa@m17n.org>
 -
 -      * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
 -      get the header copy into the temporary buffer.
 -      (rmail-mime-insert-decoded-text): Ignore us-ascii.
 -      (rmail-show-mime): When rmail-mime-coding-system is nil, set
 -      buffer-file-coding-system to undecided.
 -
 -2011-02-18  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * image-mode.el (image-toggle-display-image):
 -      Disable require-final-newline in buffers visiting binary image files.
 -      (Bug#8047)
 -
 -      * international/mule-cmds.el (read-char-by-name, ucs-insert):
 -      Document completion with asterisk and a substring.
 -
 -2011-02-18  Glenn Morris  <rgm@gnu.org>
 -
 -      * files.el (find-file-literally): Doc fix.
 -
 -2011-02-17  Glenn Morris  <rgm@gnu.org>
 -
 -      * simple.el (rfc822-goto-eoh): Give it a doc-string.
 -
 -      * log-edit.el (log-edit-insert-changelog):
 -      Fix `log-edit-strip-single-file-name' functionality.  (Bug#8057)
 -
 -2011-02-14  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * pgg-gpg.el (pgg-gpg-process-region):
 -      Bind delete-by-moving-to-trash to nil.
 -
 -      * pgg-pgp.el (pgg-pgp-process-region, pgg-pgp-verify-region)
 -      (pgg-pgp-snarf-keys-region):
 -      * pgg-pgp5.el (pgg-pgp5-process-region, pgg-pgp5-verify-region)
 -      (pgg-pgp5-snarf-keys-region): Likewise.
 -
 -2011-02-12  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * files.el (copy-directory): Revert to pre-2011-01-29 version.
 -
 -2011-02-12  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * epg.el (epg-delete-output-file, epg-decrypt-string)
 -      (epg-verify-string, epg-sign-string, epg-encrypt-string):
 -      Bind delete-by-moving-to-trash to nil.
 -
 -      * epa-file.el (epa-file-insert-file-contents): Likewise.
 -
 -2011-02-10  Glenn Morris  <rgm@gnu.org>
 -
 -      * emacs-lisp/cl-seq.el (union, nunion, intersection)
 -      (nintersection, set-difference, nset-difference)
 -      (set-exclusive-or, nset-exclusive-or): Doc fix.
 -
 -      * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
 -
 -2011-02-08  Glenn Morris  <rgm@gnu.org>
 -
 -      * faces.el (face-attr-match-p): Handle the obsolete :bold and
 -      :italic props, so that frame-set-background-mode works.  (Bug#7966)
 -
 -2011-02-07  Glenn Morris  <rgm@gnu.org>
 -
 -      * simple.el (next-error): Doc fix.
 -
 -2011-02-06  Chong Yidong  <cyd@stupidchicken.com>
 -            Thierry Volpiatto <thierry.volpiatto@gmail.com>
 -
 -      * files.el (copy-directory): New arg COPY-AS-SUBDIR.  If nil,
 -      don't copy as a subdirectory.
 -
 -2011-02-05  Glenn Morris  <rgm@gnu.org>
 -
 -      * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
 -
 -2011-02-04  Glenn Morris  <rgm@gnu.org>
 -
 -      * calendar/diary-lib.el (diary-font-lock-keywords):
 -      Tweak diary-time-regexp match.  (Bug#7891)
 -
 -      * progmodes/f90.el (f90-find-tag-default): New function.  (Bug#7919)
 -      (f90-mode): Use it for mode's `find-tag-default-function' property.
 -
 -2011-02-03  Glenn Morris  <rgm@gnu.org>
 -
 -      * ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)
 -
 -      * faces.el (set-face-attribute): Doc fix.  (Bug#2659)
 -
 -2011-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * pcomplete.el (pcomplete-here*): Backport fix for mistaken change
 -      (bug#7959) and (bug#5935).
 -
 -2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
 -
 -      * net/rcirc.el: Clean log filenames (Bug#7933).
 -      (rcirc-log-write): Use convert-standard-filename.
 -      (rcirc-log-filename-function): Documentation updates.
 -
 -2011-01-31  Alan Mackenzie  <acm@muc.de>
 -
 -      * progmodes/cc-cmds.el (c-forward-over-illiterals):
 -      Continue parsing if we encounter a naked # (Bug#7595).
 -      (c-beginning-of-statement): Avoid loop in locating the beginning
 -      of a macro.
 -
 -2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * files.el (copy-directory): Fix arguments to recursive call.
 -
 -2011-01-29  Daiki Ueno  <ueno@unixuser.org>
 -
 -      * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
 -      Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
 -      (Bug#7931).
 -
 -2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * files.el (copy-directory): If destination is an existing
 -      directory, copy into a subdirectory there.
 -
 -2011-01-29  Andreas Schwab  <schwab@linux-m68k.org>
 -
 -      * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
 -      files.
 -
 -2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * image-dired.el (image-dired-mouse-display-image): No-op if no
 -      file is found (Bug#7817).
 -
 -      * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
 -
 -2011-01-28  Kenichi Handa  <handa@m17n.org>
 -
 -      * international/quail.el (quail-keyboard-layout-alist):
 -      Remove superfluous SPC for "pc105-uk" (bug#7927).
 -
 -2011-01-27  Glenn Morris  <rgm@gnu.org>
 -
 -      * msb.el (msb-menu-bar-update-buffers): Update for changed
 -      argument handling of menu-bar-select-frame.  (Bug#7902)
 -
 -2011-01-27  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
 -      to the recursion depth (Bug#7722).
 -
 -2011-01-26  Roy Liu  <carsomyr@gmail.com>  (tiny change)
 -
 -      * term/ns-win.el (ns-find-file): Expand ns-input-file with
 -      command-line-default-directory (Bug#7872).
 -
 -2011-01-25  Glenn Morris  <rgm@gnu.org>
 -
 -      * comint.el (comint-mode): Doc fix.  (Bug#7897)
 -
 -2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * files.el (file-name-non-special): Only change buffer-file-name after
 -      insert-file-contents if it's `visit'ing the file (bug#7854).
 -
 -2011-01-23  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * dired.el (dired-revert): Doc fix (Bug#7758).
 -
 -2011-01-23  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 -
 -      * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
 -      here-doc which ends with an underscore.
 -      (ruby-mode-set-encoding): Skip shebang line always.
 -      (ruby-mode-map): Bind C-c C-c to comment-region.
 -      (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
 -      (ruby-forward-sexp): Stop after literal hash key labels.
 -      (ruby-font-lock-syntactic-keywords): Highlight regexp after open
 -      bracket.
 -
 -2011-01-22  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
 -
 -      * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
 -      the correct buffer (Bug#7650).
 -
 -2011-01-22  Glenn Morris  <rgm@gnu.org>
 -
 -      * simple.el (do-auto-fill): Give it a doc string.
 -
 -      * button.el (make-text-button): Doc fix.  (See bug#7881)
 -
 -2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * simple.el (line-move-visual): Doc fix (Bug#7594).
 -
 -      * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
 -      "Case sensitive" menu item.
 -
 -2011-01-21  Roland McGrath  <roland@frob.com>
 -
 -      * comint.el (comint-replace-by-expanded-history-before-point): Fix
 -      expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
 -
 -2011-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
 -
 -2011-01-21  Jari Aalto  <jari.aalto@cante.net>
 -
 -      * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
 -      Assume foo(bar) is a manpage reference rather than some unquoted
 -      symbol (bug#7705).
 -
 -2011-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
 -      Suggested by Flo <sensorflo@gmail.com>.
 -
 -2011-01-21  Glenn Morris  <rgm@gnu.org>
 -
 -      * progmodes/compile.el (compilation-error-regexp-alist):
 -      Fix custom type.  (Bug#7812)
 -
 -2011-01-17  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
 -      keymap expression.  Improve docstring.
 -
 -2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
 -
 -      * files.el (backup-buffer): Make last-resort backup file in
 -      .emacs.d (Bug#6953).
 -
 -      * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
 -      make it with permission 700.
 -
 -2011-01-14  Kenichi Handa  <handa@m17n.org>
 -
 -      * mail/rmailmm.el (rmail-mime-insert-header):
 -      Set rmail-mime-coding-system to a cons whose car is the last coding
 -      system used to decode the header.
 -      (rmail-mime-find-header-encoding): New function.
 -      (rmail-mime-insert-decoded-text):
 -      Override rmail-mime-coding-system if it is a cons.
 -      (rmail-show-mime): If only a header part was decoded, find the
 -      coding system while ignoring mm-charset-override-alist.
 -
 -2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * subr.el (event-start, event-end): Doc fix (Bug#7826).
 -
 -2011-01-12  Kenichi Handa  <handa@m17n.org>
 -
 -      * mail/rmailmm.el (rmail-mime-next-item)
 -      (rmail-mime-previous-item): Delete them.
 -      (rmail-mime-shown-mode): Recursively call for children.
 -      (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
 -      Callers changed.
 -      (rmail-mime-raw-mode): Recursively call for children.
 -      (rmail-mode-map): Change mapping of tab and backtab to
 -      forward-button and backward-button respectively.
 -      (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
 -      button.
 -      (rmail-mime-update-tagline): New function.
 -      (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
 -      body display is changed.
 -      (rmail-mime-toggle-button): Rename from rmail-mime-image.
 -      (rmail-mime-image): Delete this button type.
 -      (rmail-mime-toggle): New button type.
 -      (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
 -      body display is changed.  Change the save button label to "Save".
 -      Don't process show/hide button here.
 -      (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
 -      the body display is changed.  Unconditionally call
 -      rmail-mime-insert for children.
 -      (rmail-mime-handle): Update `display' vector of the just inserted
 -      entity.
 -      (rmail-mime-process): If mail-header-parse-content-type returns
 -      nil, use "text/plain" as the fallback type.
 -      (rmail-mime-insert): For raw-mode, recursively call
 -      rmail-mim-insert for children.
 -      (rmail-mime): Handle the case that the current buffer is not rmail
 -      buffer (e.g. in summary buffer).
 -
 -2011-01-05  Kenichi Handa  <handa@m17n.org>
 -
 -      * mail/rmailmm.el (rmail-mime-next-item)
 -      (rmail-mime-previous-item): Skip the body of a non-multipart
 -      entity if a tagline is shown.
 -
 -2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
 -      (tmm-prompt): Simplify.
 -      (tmm-add-prompt): Remove unused var `win'.
 -
 -      * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
 -      to minor mode which used nil accidentally to mean "turn off".
 -
 -2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-find-inline-compress)
 -      (tramp-get-inline-coding): Quote command after pipe symbol for
 -      local calls under W32.  (Bug#6784)
 -
 -2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-default-method): Initialize with pscp/plink
 -      only when running under W32.
 -
 -2011-01-09  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * progmodes/grep.el (grep-compute-defaults): Quote the program
 -      file name after the pipe symbol in Grep templates.  (Bug#6784)
 -      * jka-compr.el (jka-compr-partial-uncompress): Likewise.
 -
 -2011-01-08  Lennart Borgman  <lennart.borgman@gmail.com>
 -
 -      * buff-menu.el (Buffer-menu-buffer-list): New var.
 -      (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
 -      restricted buffer list is not lost on revert (Bug#7749).
 -
 -2011-01-08  Eric Hanchrow  <eric.hanchrow@gmail.com>
 -
 -      * net/ldap.el (ldap-search-internal): Discard stderr output.
 -
 -2011-01-07  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
 -
 -2011-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time):
 -      Author names can have spaces (bug#7792).
 -
 -2011-01-04  Kenichi Handa  <handa@m17n.org>
 -
 -      * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
 -      part as a plain text.
 -      (rmail-mime-process-multipart): Set the default content-type to
 -      nil for unknown multipart subtypes (bug#7651).
 -
 -2011-01-03  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
 -
 -      * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
 -      table, get the value before switching to the output buffer.  (Bug#7733)
 -
 -2011-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
 -
 -2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * files.el (file-local-variables-alist):
 -      Make permanent-local (bug#7767).
 -
 -2011-01-02  Glenn Morris  <rgm@gnu.org>
 -
 -      * version.el (emacs-copyright): Set short copyright year to 2011.
 -
 -2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
 -
 -      * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
 -      an existing temp buffer.  (Bug#7746)
 -
 -2011-01-02  Glenn Morris  <rgm@gnu.org>
 -
 -      * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
 -      multiple addresses.  (Bug#7760)
 -
 -2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-methods): Add recursive options to "scpc",
 -      "scpx", "pscp" and "psftp".
 -
 -2010-12-31  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * term/w32-win.el (image-library-alist): Set up correctly for
 -      libpng versions both before and after 1.4.0.  (Bug#7716)
 -
 -2010-12-25  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * time.el (display-time-mode): Mention display-time-interval in
 -      the doc string.  (Bug#7713)
 -
 -      * simple.el (select-active-regions): Doc fix.  (Bug#7702)
 -
 -2010-12-24  Kenichi Handa  <handa@m17n.org>
 -
 -      * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
 -      condition-case and return an error message string if something
 -      goes wrong.
 -      (rmail-show-mime): Adjust for the above change.  Insert the
 -      header by rmail-mime-insert-header.
 -
 -2010-12-24  Kenichi Handa  <handa@m17n.org>
 -
 -      * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
 -      rmail-mime-previous-item, and rmail-mime-toggle-hidden.
 -      (rmail-mime-mbox-buffer)
 -      (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
 -      (rmail-mime-entity): Argument changed.  All codes handling an
 -      entity object are changed.
 -      (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
 -      the above change.
 -      (rmail-mime-entity-children, rmail-mime-entity-handler)
 -      (rmail-mime-entity-tagline): New functions.
 -      (rmail-mime-message-p): New function.
 -      (rmail-mime-save): Bind rmail-mime-mbox-buffer.
 -      (rmail-mime-entity-segment, rmail-mime-next-item)
 -      (rmail-mime-previous-item, rmail-mime-shown-mode)
 -      (rmail-mime-hidden-mode, rmail-mime-raw-mode)
 -      (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
 -      (rmail-mime-insert-tagline, rmail-mime-insert-header):
 -      New functions.
 -      (rmail-mime-text-handler): Call rmail-mime-insert-text.
 -      (rmail-mime-insert-decoded-text): New function.
 -      (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
 -      (rmail-mime-insert-image): Argument changed.  Caller changed.
 -      (rmail-mime-image): Call rmail-mime-toggle-hidden.
 -      (rmail-mime-set-bulk-data): New function.
 -      (rmail-mime-insert-bulk): Argument changed.
 -      (rmail-mime-multipart-handler): Return t.
 -      (rmail-mime-process-multipart): Argument changed.
 -      Handle "multipart/alternative" here.
 -      (rmail-mime-process): Argument changed.
 -      (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
 -      (rmail-mime-insert): Argument changed.  Handle raw display mode.
 -      (rmail-mime): Argument changed.  Handle toggling of raw display
 -      mode.
 -      (rmail-show-mime): Bind rmail-mime-mbox-buffer and
 -      rmail-mime-view-buffer.
 -      (rmail-insert-mime-forwarded-message): Likewise.
 -      (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
 -
 -      * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
 -      non-nil, handle the header in rmail-show-mime-function.
 -
 -2010-12-20  Leo  <sdl.web@gmail.com>
 -
 -      * help-fns.el (describe-variable): Fix 2010-12-17 change.
 -
 -2010-12-20  Juri Linkov  <juri@jurta.org>
 -
 -      * isearch.el (isearch-lazy-highlight-error): New variable.
 -      (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
 -      `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
 -      to the current value of `isearch-error' (Bug#7468).
 -
 -2010-12-17  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * help-fns.el (describe-variable): Don't emit trailing whitespace
 -      (Bug#7511).
 -
 -2010-12-17  Leo  <sdl.web@gmail.com>
 -
 -      * eshell/em-hist.el (eshell-previous-matching-input): Signal error
 -      if point is not behind eshell-last-output-end (Bug#7585).
 -
 -2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * textmodes/rst.el (rst-compile-pdf-preview)
 -      (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
 -
 -2010-12-15  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
 -
 -      * emulation/edt-mapper.el: Override mapping of function keys so
 -      that the later call to read-key-sequence works.
 -
 -2010-12-13  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
 -      Unix EOLs.  (Bug#7589)
 -
 -2010-12-12  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * subr.el (posn-col-row): Evaluate header-line-format in the
 -      context of the POSITION window's buffer.
 -
 -2010-12-11  Glenn Morris  <rgm@gnu.org>
 -
 -      * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
 -      (with-silent-modifications): Doc fixes.
 -
 -2010-12-10  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-action-password, tramp-process-actions):
 -      Revert patch from 2010-12-08.  Use `save-restriction'.
 -
 -2010-12-09  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
 -      New functions.
 -      (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>: Use
 -      them instead of `nil' and `>', respectively.  (Bug#1077)
 -
 -2010-12-09  Stephen Berman  <stephen.berman@gmx.net>
 -
 -      * calendar/diary-lib.el (diary-list-sexp-entries):
 -      Handle case of no newline at end of file.  (Bug#7536)
 -
 -2010-12-09  Glenn Morris  <rgm@gnu.org>
 -
 -      * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
 -
 -2010-12-08  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-handle-start-file-process):
 -      Protect buffer-modified value.  (Bug#7557)
 -      (tramp-action-password): Delete region, do not narrow.
 -      (tramp-process-actions): Do not widen.
 -
 -2010-12-08   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
 -
 -      * log-edit.el (log-edit-changelog-entries):
 -      Regexp quote filename.  (Bug#7505)
 -
 -2010-12-08  Tom Breton  <tehom@panix.com>
 -
 -      * cus-edit.el (custom-save-all):
 -      Bind print-length and print-level to nil.  (Bug#7581)
 -
 -2010-12-08  Glenn Morris  <rgm@gnu.org>
 -
 -      * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
 -      Run hooks to update menu contents.  (Bug#7586)
 -
 -      * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
 -      file names, for the sake of MS Windows.  (Bug#7588)
 -
 -2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
 -      empty lines without a leading space.
 -
 -2010-12-06  Leo  <sdl.web@gmail.com>
 -
 -      * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
 -      while mapping over marks (Bug#6810).
 -
 -2010-12-06  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * image-dired.el (image-dired-db-file)
 -      (image-dired-temp-image-file, image-dired-gallery-dir)
 -      (image-dired-temp-rotate-image-file): Set default values relative
 -      to image-dired-dir (Bug#7518).
 -
 -2010-12-06  Lawrence Mitchell  <wence@gmx.li>
 -
 -      * format.el (format-decode-run-method): Pass args FROM and TO, not
 -      point-min and point-max, to shell-command-on-region (Bug#7488).
 -
 -2010-12-06  Jan Djärv  <jan.h.d@swipnet.se>
 -
 -      * frame.el (blink-cursor-mode): Make default t for ns.
 -
 -2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
 -
 -      * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
 -
 -2010-12-05  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * comint.el (comint-dynamic-list-input-ring)
 -      (comint-dynamic-complete-filename)
 -      (comint-replace-by-expanded-filename)
 -      (comint-dynamic-simple-complete)
 -      (comint-dynamic-list-filename-completions)
 -      (comint-dynamic-list-completions): Doc fix (Bug#7499).
 -
 -      * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
 -      Doc fix (Bug#7471).
 -
 -2010-12-04  Martin Rudalics  <rudalics@gmx.at>
 -
 -      * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
 -      (Bug#7533).
 -
 -2010-12-04  W. Martin Borgert <debacle@debian.org>  (tiny change)
 -
 -      * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
 -      (Bug#7491).
 -
 -2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * simple.el (transient-mark-mode): Doc fix (Bug#7465).
 -
 -2010-12-04  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * files.el (file-relative-name): Handle UNC file names on
 -      DOS/Windows.  (Bug#4674)
 -
 -2010-12-03  Daiki Ueno  <ueno@unixuser.org>
 -
 -      * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
 -      "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
 -      (epg-context-set-passphrase-callback): Mention that the callback
 -      is not called when used with GnuPG 2.x.
 -
 -2010-12-02  Glenn Morris  <rgm@gnu.org>
 -
 -      * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
 -      Ensure ps-footer-font-size-internal is initialized.
 -      Call ps-get-page-dimensions before trying to use ps-font-for-text.
 -
 -2010-12-01  Kenichi Handa  <handa@m17n.org>
 -
 -      * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
 -      within condition-case.
 -      (rmail-show-mime): Don't use condition-case.
 -      (rmail-search-mime-message): New function.
 -      (rmail-search-mime-message-function): Set to
 -      rmail-search-mime-message.
 -
 -2010-12-01  Leo  <sdl.web@gmail.com>
 -
 -      * ido.el (ido-common-initialization): New function.  (bug#3274)
 -      (ido-mode): Use it.
 -      (ido-completing-read): Call it.
 -
 -2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * log-edit.el (log-edit-font-lock-keywords): Don't try matching
 -      stand-alone lines, since that is handled by log-edit-match-to-eoh
 -      (Bug#6465).
 -
 -2010-11-27  Eduard Wiebe  <usenet@pusto.de>
 -
 -      * dired.el (dired-get-filename): Replace backslashes with slashes
 -      in file names on MS-Windows, needed by `locate'.  (Bug#7308)
 -      * locate.el (locate-default-make-command-line): Don't consider
 -      drive letter and root directory part of
 -      `directory-listing-before-filename-regexp'.  (Bug#7308)
 -      (locate-post-command-hook, locate-post-command-hook): New defcustoms.
 -
 -2010-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
 -      of :smie-open/close-alist.
 -      (smie-next-sexp): Make it accept a "start token" as argument.
 -      (smie-indent-keyword): Be careful not to misidentify tokens that span
 -      more than one line, as empty lines.  Add argument `token'.
 -
 -2010-11-26  Kenichi Handa  <handa@m17n.org>
 -
 -      * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
 -      multipart subtypes, insert all as usual.
 -
 -      * mail/rmail.el: Require rfc2047.
 -
 -2010-11-26  Kenichi Handa  <handa@m17n.org>
 -
 -      * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
 -      (rmail-mime-entity-disposition)
 -      (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
 -      (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
 -      (rmail-mime-save): Handle the case that the button's `data' is a
 -      MIME entity.
 -      (rmail-mime-insert-text): New function.
 -      (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
 -      (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
 -      (rmail-mime-insert-bulk): New function mostly copied from the old
 -      rmail-mime-bulk-handler.
 -      (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
 -      (rmail-mime-process-multipart): New function mostly copied from
 -      the old rmail-mime-multipart-handler.
 -      (rmail-mime-show): Just call rmail-mime-process.
 -      (rmail-mime-process): New function mostly copied from the old
 -      rmail-mime-show.
 -      (rmail-mime-insert-multipart, rmail-mime-parse)
 -      (rmail-mime-insert, rmail-show-mime)
 -      (rmail-insert-mime-forwarded-message)
 -      (rmail-insert-mime-resent-message): New functions.
 -      (rmail-insert-mime-forwarded-message-function): Set to
 -      rmail-insert-mime-forwarded-message.
 -      (rmail-insert-mime-resent-message-function): Set to
 -      rmail-insert-mime-resent-message.
 -
 -      * mail/rmailsum.el: Require rfc2047.
 -      (rmail-header-summary): Handle multiline Subject: field.
 -      (rmail-summary-line-decoder): Change the default to
 -      rfc2047-decode-string.
 -
 -      * mail/rmail.el (rmail-enable-mime): Change the default to t.
 -      (rmail-mime-feature): Change the default to `rmailmm'.
 -      (rmail-quit): Delete the specifal code for rmail-enable-mime.
 -      (rmail-display-labels): Likewise.
 -      (rmail-show-message-1): Check rmail-enable-mime, and use
 -      rmail-show-mime-function for a MIME message.  Decode the headers
 -      according to RFC2047.
 -
 -2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * progmodes/which-func.el (which-func-imenu-joiner-function):
 -      Return a string, as expected.
 -      (which-function-mode): Make sure we stop any previous timer before
 -      starting a new one.
 -
 -2010-11-23  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-default-method-alist)
 -      (tramp-default-user-alist, tramp-default-proxies-alist):
 -      Adapt custom options type.  (Bug#7445)
 -
 -2010-11-21  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * progmodes/python.el: Add Ipython support (Bug#5390).
 -      (python-shell-prompt-alist)
 -      (python-shell-continuation-prompt-alist): New options.
 -      (python--set-prompt-regexp): New function.
 -      (inferior-python-mode, run-python, python-shell):
 -      Require ansi-color.  Use python--set-prompt-regexp to set the comint
 -      prompt based on the Python interpreter.
 -      (python--prompt-regexp): New var.
 -      (python-check-comint-prompt)
 -      (python-comint-output-filter-function): Use it.
 -      (run-python): Use a pipe (Bug#5694).
 -
 -2010-11-21  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * progmodes/python.el (run-python): Doc fix.
 -      (python-keep-current-directory-in-path): New var (Bug#7454).
 -
 -2010-11-20  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
 -      Prompt user before actually printing.
 -
 -2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * simple.el (kill-new, kill-append, kill-region):
 -      * comint.el (comint-kill-region): Make the yank-handler argument
 -      obsolete.
 -
 -2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
 -      that are both openers (resp. closers) and something else.
 -      (smie-grammar): Loosen definition of valid values.
 -      (smie-next-sexp, smie-down-list, smie-blink-matching-open)
 -      (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
 -      (smie-indent-after-keyword): Adjust users.
 -      (smie-indent-keyword): Don't indent empty lines.
 -
 -      * vc-hg.el (vc-hg-program): New var.
 -      Suggested by Norman Gray <norman@astro.gla.ac.uk>.
 -      (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
 -
 -2010-11-17  Glenn Morris  <rgm@gnu.org>
 -
 -      * emacs-lisp/autoload.el (autoload-find-destination): The function
 -      coding-system-eol-type may return non-numeric values.  (Bug#7414)
 -
 -2010-11-16  Ulrich Mueller  <ulm@gentoo.org>
 -
 -      * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
 -
 -2010-11-13  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
 -
 -2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * textmodes/picture.el (picture-mouse-set-point): Don't use
 -      posn-col-row; explicitly compute the motion based on the posn at
 -      the window-start (Bug#7390).
 -
 -2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-remote-coding-commands): Add an alternative
 -      using "base64 -d -i".  This is needed for older base64 versions
 -      from GNU coreutils.  Reported by Klaus Reichl
 -      <Klaus.Reichl@thalesgroup.com>.
 -
 -2010-11-13  Glenn Morris  <rgm@gnu.org>
 -
 -      * novice.el (disabled-command-function):
 -      Fix 2009-11-15 change.  (Bug#7384)
 -
 -2010-11-12  Glenn Morris  <rgm@gnu.org>
 -
 -      * calendar/calendar.el (diary-iso-date-forms): Make elements
 -      mutually exclusive.  (Bug#7377)
 -
 -2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
 -      when filling the remaining "unconstrained" values.
 -
 -2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
 -      safety predicate.
 -
 -      * files.el (safe-local-variable-p): Gracefully handle errors.
 -
 -      * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
 -      Use smie-indent-virtual when indenting relative to an opener.
 -      (smie-rule-separator): Use smie-rule-parent.
 -      (smie-indent-keyword): Consult rules, even for openers at bol.
 -      (smie-indent-comment-close): Try to align closer's content.
 -
 -2010-11-11  Glenn Morris  <rgm@gnu.org>
 -
 -      * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
 -
 -2010-11-10  Glenn Morris  <rgm@gnu.org>
 -
 -      * printing.el (pr-menu-bind): Doc fix.
 -
 -      * speedbar.el (speedbar-toggle-images): Doc fix.
 -
 -      * progmodes/python.el (python-shell): Doc fix.
 -
 -      * wid-edit.el (widget-field-use-before-change)
 -      (widget-use-overlay-change): Doc fixes.
 -
 -2010-11-09  Glenn Morris  <rgm@gnu.org>
 -
 -      * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
 -
 -2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * minibuffer.el (minibuffer-completion-help): Specify the end of the
 -      completion field (bug#7211).
 -
 -      * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
 -      Fix handling of backslash escapes.
 -      (python-quote-syntax): Adjust accordingly.
 -
 -2010-11-08  Richard Levitte  <richard@levitte.org>  (tiny change)
 -
 -      * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
 -      (vc-mtn-workfile-branch): Adjust to new output format.
 -
 -2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * international/mule-cmds.el (princ-list): Mark as obsolete.
 -
 -2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * emacs-lisp/smie.el: New package.
 -
 -2010-11-06  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * files.el (backup-by-copying-when-mismatch):
 -      Set `permanent-local' property.
 -
 -      * net/tramp.el (tramp-handle-insert-file-contents): Do not set
 -      `permanent-local' property for `backup-by-copying-when-mismatch'.
 -
 -2010-11-06  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
 -      (ls-lisp-classify-file): New function.
 -      (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
 -      (ls-lisp-classify): Call ls-lisp-classify-file.
 -      (insert-directory): Remove blanks from switches.
 -
 -2010-11-07  Wilson Snyder  <wsnyder@wsnyder.org>
 -
 -      * progmodes/verilog-mode.el (verilog-insert-one-definition)
 -      (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
 -      AUTOINOUT for SV style multidimensional arrays, bug294.
 -      Reported by Eric Mastromarchi.
 -      (verilog-preprocess): Use with-current-buffer and
 -      font-lock-fontify-buffer to cleanup style issues.
 -
 -2010-11-05  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/trampver.el: Update release number.
 -
 -2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 -
 -      * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
 -      beginning of the string.  Use `string-match-p'.  (Bug#6765)
 -
 -2010-11-01  Glenn Morris  <rgm@gnu.org>
 -
 -      * locate.el (locate, locate-mode): Doc fixes.
 -
 -2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
 -      user for confirmation.
 -      (server-force-stop): Use it.
 -      (server-start): Use server-force-stop for kill-emacs-hook, to
 -      avoid user interaction while killing Emacs.
 -
 -2010-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * vc/log-edit.el (log-edit-rewrite-fixes): New var.
 -      (log-edit-author): New dynamic var.
 -      (log-edit-changelog-ours-p, log-edit-insert-changelog-entries):
 -      Use it to return the author if different from committer.
 -      (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
 -
 -2010-10-31  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
 -
 -2010-10-31  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
 -      (vc-root-diff, vc-print-root-log, vc-log-incoming)
 -      (vc-log-outgoing): Use it.
 -      (vc-diff-internal): Set diff-vc-backend.
 -
 -      * vc/diff-mode.el (diff-vc-backend): New var.
 -
 -2010-10-31  Juri Linkov  <juri@jurta.org>
 -
 -      * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
 -      buffer-locally to lambda that re-runs the vc diff command.
 -      (Bug#6447)
 -
 -2010-10-31  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
 -
 -      Make 'g' (AKA revert-buffer) rerun VC log, log-incoming and
 -      log-outgoing commands.
 -      * vc/vc.el (vc-log-internal-common): Add a new argument and use it
 -      to create a buffer local revert-buffer-function variable.
 -      (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
 -      revert-buffer-function lambda.
 -
 -      Improve VC create/retrieve tag/branch.
 -      * vc.el (vc-create-tag): Do not read the directory name for VCs
 -      with repository revision granularity.  Adjust the tag/branch
 -      prompt.  Reset VC properties.
 -      (vc-retrieve-tag): Do not read the directory name for VCs
 -      with repository revision granularity.  Reset VC properties.
 -
 -      Add optional support for resetting VC properties.
 -      * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
 -      call vc-file-clearprops when true.
 -      (vc-resynch-buffer): Add new optional argument, pass it down.
 -      (vc-resynch-buffers-in-directory): Likewise.
 -
 -      Improve support for special markup in the VC commit message.
 -      * vc-mtn.el (vc-mtn-checkin): Support Author: and Date: markup.
 -      * vc-hg.el (vc-hg-checkin): Add support for Date:.
 -      * vc-git.el (vc-git-checkin):
 -      * vc-bzr.el (vc-bzr-checkin): Likewise.
 -
 -      Add support for vc-log-incoming, improve vc-log-outgoing for Git.
 -      * vc-git.el (vc-git-log-view-mode): Fix font lock for
 -      incoming/outgoing logs.
 -      (vc-git-log-outgoing, vc-git-log-incoming): New functions.
 -
 -      * vc-git.el (vc-git-log-outgoing): Use the same format as the
 -      short log.
 -      (vc-git-log-incoming): Likewise.  Run "git fetch" before the log
 -      command
 -
 -      Add bindings for vc-log-incoming and vc-log-outgoing.
 -      * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
 -      and vc-log-outgoing.
 -      * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
 -      and vc-log-outgoing.
 -
 -      Improve state updating for VC tag commands.
 -      * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
 -      to update the state of all buffers in the directory.
 -
 -2010-05-19  Glenn Morris  <rgm@gnu.org>
 -
 -      * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
 -
 -2010-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * vc.el (vc-checkin, vc-modify-change-comment):
 -      Adjust to new vc-start/finish-logentry.
 -      (vc-find-conflicted-file): New command.
 -      (vc-transfer-file): Adjust to new vc-checkin.
 -      (vc-next-action): Improve scoping.
 -
 -      * vc-git.el (vc-git-checkin): Use log-edit-extract-headers.
 -      (vc-git-commits-coding-system): Rename from git-commits-coding-system.
 -
 -      * vc-dispatcher.el (vc-log-edit): Shorten names for
 -      log-edit-show-files.
 -
 -      * vc-bzr.el (vc-bzr-checkin): Use log-edit-extract-headers.
 -      (vc-bzr-conflicted-files): New function.
 -
 -      * log-edit.el (log-edit-summary, log-edit-header)
 -      (log-edit-unknown-header): New faces.
 -      (log-edit-headers-alist): New var.
 -      (log-edit-header-contents-regexp): New const.
 -      (log-edit-match-to-eoh): New function.
 -      (log-edit-font-lock-keywords): Use them.
 -      (log-edit): Insert a "Summary:" header as default.
 -      (log-edit-mode): Mark font-lock rules as case-insensitive.
 -      (log-edit-done): Cleanup headers.
 -      (log-edit-extract-headers): New function to replace it.
 -
 -      * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with
 -      the windows/frames.
 -
 -      * vc-bzr.el (vc-bzr-shelve-apply): Don't use *vc-bzr-shelve*.
 -
 -      * vc-dir.el (vc-dir-kill-line): New command.
 -      (vc-dir-mode-map): Bind it to C-k.
 -      (vc-dir-headers): Abbreviate the working dir.
 -
 -      * vc-git.el (vc-git-revision-table): Include remote branches.
 -
 -2010-10-31  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      New VC methods: vc-log-incoming and vc-log-outgoing.
 -      * vc.el (vc-print-log-setup-buttons, vc-log-internal-common)
 -      (vc-incoming-outgoing-internal, vc-log-incoming, vc-log-outgoing):
 -      New functions.
 -      (vc-print-log-internal): Just call vc-log-internal-common.
 -      (vc-log-view-type): New permanent local variable.
 -
 -      * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
 -
 -      * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
 -      of the dynamic bound vc-short-log.
 -      (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
 -
 -      * vc-git.el (vc-git-log-outgoing): New function.
 -      (vc-git-log-view-mode): Use vc-log-view-type instead
 -      of the dynamic bound vc-short-log.
 -
 -      * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead of
 -      the dynamic bound vc-short-log.  Highlight the tag.
 -      (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
 -      (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
 -      (vc-hg-incoming-mode): Remove.
 -      (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
 -
 -      Fix default-directory for vc-root-diff.
 -      * vc.el (vc-root-diff): Bind default-directory to the root
 -      directory for the diff command.
 -
 -2010-10-31  Sam Steingold  <sds@gnu.org>
 -
 -      * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
 -      `vc-hg-command' with a list of flags.
 -
 -2010-10-31  Glenn Morris  <rgm@gnu.org>
 -
 -      * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
 -      log-edit-before-checkin-process.
 -
 -      * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
 -
 -      * vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
 -
 -      * vc-dispatcher.el (vc-start-logentry): Doc fix.
 -      (log-view-process-buffer, log-edit-extra-flags): Declare.
 -
 -2010-10-31  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      Add special markup processing for commit logs.
 -      * log-edit.el (log-edit): Add new argument MODE.  Use that mode
 -      when non-nil instead of the log-view-mode.
 -
 -      * vc.el (vc-default-log-edit-mode): New function.
 -
 -      * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
 -      log-edit.
 -
 -      Support for shelving snapshots and for showing shelves.
 -      * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
 -      (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
 -      New functions.
 -      (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
 -      (vc-bzr-extra-menu-map): Map them.
 -
 -2010-10-30  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-handle-insert-file-contents): For root,
 -      preserve owner and group when editing files.  (Bug#7289)
 -
 -2010-10-29  Glenn Morris  <rgm@gnu.org>
 -
 -      * speedbar.el (speedbar-mode):
 -      * play/fortune.el (fortune-in-buffer, fortune):
 -      * play/gomoku.el (gomoku-mode):
 -      * play/landmark.el (lm-mode):
 -      * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
 -      Replace inappropriate uses of toggle-read-only.  (Bug#7292)
 -
 -2010-10-28  Glenn Morris  <rgm@gnu.org>
 -
 -      * select.el (x-selection): Mark it as an obsolete alias.
 -
 -2010-10-27  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
 -
 -      * add-log.el (find-change-log): Use derived-mode-p rather than
 -      major-mode (bug#7284).
 -
 -2010-10-27  Glenn Morris  <rgm@gnu.org>
 -
 -      * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
 -      rather than just an unused variable that inherits from the real one.
 -
 -2010-10-23  Michael McNamara  <mac@mail.brushroad.com>
 -
 -      * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
 -      auto-built for efficiency of execution and updating.
 -      (verilog-extended-complete-re): Support 'pure' fucntion & task
 -      declarations (these have no bodies).
 -      (verilog-beg-of-statement): General cleanup to enable support of
 -      'pure' fucntion & task declarations (these have no bodies).
 -      These efforts together fix Verilog bug210 from veripool; which was also
 -      noticed by Steve Pearlmutter.
 -      (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
 -      (verilog-directive-nest-re, verilog-set-auto-endcomments):
 -      Support `elsif.  Reported by Shankar Giri.
 -      (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
 -      attribute handling for lining up declarations and assignments.
 -      (verilog-beg-of-statement-1): Fix issue where continued declaration
 -      is indented differently if it is after a begin..end clock.
 -      (verilog-in-attribute-p, verilog-skip-backward-comments)
 -      (verilog-skip-forward-comment-p): Support proper treatment of
 -      attributes by indent code.  Reported by Jeff Steele.
 -      (verilog-in-directive-p): Fix comment to correctly describe function.
 -      (verilog-backward-up-list, verilog-in-struct-region-p)
 -      (verilog-backward-token, verilog-in-struct-p)
 -      (verilog-in-coverage-p, verilog-do-indent)
 -      (verilog-pretty-declarations): Use verilog-backward-up-list as
 -      wrapper around backward-up-list inorder to properly skip comments.
 -      Reported by David Rogoff.
 -      (verilog-property-re, verilog-endcomment-reason-re)
 -      (verilog-beg-of-statement, verilog-set-auto-endcomments)
 -      (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
 -      of if).  Reported by Max Bjurling and
 -      (verilog-calc-1): Fix for clocking block in modport
 -      declaration.  Reported by Brian Hunter.
 -
 -2010-10-23  Wilson Snyder  <wsnyder@wsnyder.org>
 -
 -      * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
 -      (verilog-gate-keywords, verilog-read-sub-decls)
 -      (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
 -      (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
 -      AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
 -      (verilog-read-decls): Fix spaces in V2K module parameters causing
 -      mis-identification as interfaces, bug287.
 -      (verilog-read-decls): Fix not treating "parameter string" as a
 -      parameter in AUTOINSTPARAM.
 -      (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
 -      treating `elsif similar to `endif inside AUTOSENSE.
 -      (verilog-do-indent): Implement correct automatic or static task or
 -      function end comment highlight.  Reported by Steve Pearlmutter.
 -      (verilog-font-lock-keywords-2): Fix highlighting of single
 -      character pins, bug264.  Reported by Michael Laajanen.
 -      (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
 -      (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
 -      (verilog-subdecls-get-interfaced, verilog-subdecls-new):
 -      Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
 -      (verilog-pretty-expr): Fix interactive arguments, bug272.
 -      Reported by Mark Johnson.
 -      (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
 -      Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
 -      bug269.  Suggested by Gary Delp.
 -      (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
 -      (verilog-preprocessor, verilog-set-compile-command):
 -      Create verilog-preprocess and verilog-preprocessor to show
 -      preprocessed output.
 -      (verilog-get-beg-of-line, verilog-get-end-of-line)
 -      (verilog-modi-file-or-buffer, verilog-modi-name)
 -      (verilog-modi-point, verilog-within-string): Move defmacro's
 -      before first use to avoid warning.  Reported by Steve Pearlmutter.
 -      (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
 -      (verilog-colorize-region, verilog-highlight-buffer)
 -      (verilog-highlight-includes, verilog-highlight-modules)
 -      (verilog-highlight-region, verilog-mode): Rename colorize to
 -      highlight to match other packages.  Disable module highlighting,
 -      as received speed complaints, reenable for experimentation only
 -      using new verilog-highlight-modules.
 -      (verilog-read-decls): Fix regexp stack overflow in very large
 -      AUTO_TEMPLATEs, bug250.
 -      (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
 -      (verilog-scan): Create verilog-save-buffer-state to standardize
 -      making insignificant changes that shouldn't call hooks.
 -      (verilog-save-no-change-functions, verilog-save-scan-cache)
 -      (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
 -      Create verilog-save-no-change-functions to wrap verilog-scan
 -      preservation, and fix to work with nested preserved calls.
 -      (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
 -      port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
 -      generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
 -      (verilog-submit-bug-report): Update variable list to be complete.
 -      (verilog-auto, verilog-colorize-region): Fix AUTO expansion
 -      breaking on-the-fly font-locking.
 -      (verilog-colorize-buffer, verilog-colorize-include-files)
 -      (verilog-colorize-include-files-buffer, verilog-colorize-region)
 -      (verilog-load-file-at-mouse, verilog-load-file-at-point)
 -      (verilog-mode, verilog-read-inst-module-matcher): With point on a
 -      AUTOINST cell instance name, middle mouse button now finds-file on
 -      it.  Suggested by Brad Dobbie.
 -      (verilog-alw-get-temps, verilog-auto-reset)
 -      (verilog-auto-sense-sigs, verilog-read-always-signals)
 -      (verilog-read-always-signals-recurse): Fix loop indexes being
 -      AUTORESET.  AUTORESET now assumes any variables in the
 -      initialization section of a for() should be ignored.
 -      Reported by Dan Dever.
 -      (verilog-error-font-lock-keywords)
 -      (verilog-error-regexp-emacs-alist)
 -      (verilog-error-regexp-xemacs-alist): Fix error detection of
 -      Cadence HAL, reported by David Asher.  Repair drift between the
 -      three similar error variables.
 -      (verilog-modi-lookup, verilog-modi-lookup-cache)
 -      (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
 -      (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
 -      Fix slow verilog-auto expansion on very large files.
 -      (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
 -      Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
 -      "{1*2{...".  Broke in last revision.
 -      (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
 -      submodule connections with replications "{#{a},#{b}}".
 -
 -2010-10-23  Glenn Morris  <rgm@gnu.org>
 -
 -      * comint.el (comint-password-prompt-regexp):
 -      Match "enter the password".  (Bug#7224)
 -
 -2010-10-22  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
 -      Fix typo in docstring.
 -
 -2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-get-inline-coding): Return `nil' in case of
 -      errors.
 -
 -      * net/trampver.el: Update release number.
 -
 -2010-10-20  Kenichi Handa  <handa@m17n.org>
 -
 -      * face-remap.el (text-scale-adjust): Call read-event with a proper
 -      prompt.
 -
 -2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-do-file-attributes-with-stat)
 -      (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
 -      order to make stat results a float.  Patch by Andreas Schwab
 -      <schwab@linux-m68k.org>.
 -
 -2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * repeat.el (repeat): Use read-key (bug#6256).
 -
 -2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * emacs-lisp/unsafep.el: Don't mark functions that display
 -      messages as safe.  Suggested by Johan Bockgård.
 -
 -2010-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
 -      Turn comments into docstrings.
 -
 -      * minibuffer.el (completion--replace): Move point where it belongs
 -      when there's a common suffix (bug#7215).
 -
 -2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-open-connection-setup-interactive-shell):
 -      Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
 -      <dale@codefu.org>.
 -
 -2010-10-15  Kenichi Handa  <handa@m17n.org>
 -
 -      * international/characters.el: Add category '|' (word breakable)
 -      to fullwidth characters.
 -
 -2010-10-14  Kenichi Handa  <handa@m17n.org>
 -
 -      * mail/rmail.el (rmail-show-message-1): Catch an error of
 -      base64-decode-region and just show an error message (bug#7165).
 -
 -      * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
 -      (ps-mule-begin-job): Fix for the case that only ENCODING is set in
 -      a font-spec (bug#7197).
 -
 -2010-10-13  Glenn Morris  <rgm@gnu.org>
 -
 -      * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
 -
 -2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * international/mule.el (define-coding-system):
 -      * international/titdic-cnv.el (quail-cxterm-package-ext-info):
 -      * composite.el (compose-region): Fix typo in docstring.
 -
 -2010-10-10  Jan Djärv  <jan.h.d@swipnet.se>
 -
 -      * term/ns-win.el (ns-right-alternate-modifier): New defvar.
 -      (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
 -      (mac-right-option-modifier): New alias for ns-right-option-modifier.
 -
 -      * cus-start.el (all): ns-right-alternate-modifier is new.
 -
 -2010-10-10  Andreas Schwab  <schwab@linux-m68k.org>
 -
 -      * Makefile.in (ELCFILES): Update.
 -
 -2010-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * emacs-lisp/lisp.el (lisp-completion-at-point):
 -      Use emacs-lisp-mode-syntax-table for the whole function.
 -
 -2010-10-09  Richard Sharman  <richard_sharman@mitel.com>  (tiny change)
 -
 -      * progmodes/gdb-ui.el (gdb-mouse-toggle-breakpoint-margin)
 -      (gdb-mouse-toggle-breakpoint-fringe): Correct regexp to
 -      work when breakpoint number exceeds nine.
 -
 -2010-10-05  David Koppelman  <koppel@ece.lsu.edu>
 -
 -      * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
 -      instead of font-lock-mode before adding keywords.
 -      Remove hi-lock-mode off code.  Remove inhibit hack.
 -      (hi-lock-set-pattern): Only add keywords if font-lock-fontified
 -      non-nil; removed hook inhibit hack.
 -
 -2010-10-09  Glenn Morris  <rgm@gnu.org>
 -
 -      * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
 -      (load-path-shadows-find): ... to this.
 -      (list-load-path-shadows): Update for above change.
 -
 -      * mail/mail-utils.el (mail-mbox-from): Also try return-path.
 -
 -2010-10-08  Glenn Morris  <rgm@gnu.org>
 -
 -      * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
 -
 -      * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
 -      (shadows-compare-text-p): Make it an obsolete alias for...
 -      (load-path-shadows-compare-text): ... new name.
 -      (find-emacs-lisp-shadows): Update for above name change.
 -      (load-path-shadows-same-file-or-nonexistent): New name for the old
 -      shadow-same-file-or-nonexistent.
 -
 -2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * minibuffer.el (completion--some, completion--do-completion)
 -      (minibuffer-complete-and-exit, minibuffer-completion-help)
 -      (completion-basic-try-completion)
 -      (completion-basic-all-completions)
 -      (completion-pcm--find-all-completions): Use lexical-let to
 -      avoid some false matches in variable completion (Bug#7056)
 -
 -2010-10-03  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
 -
 -      * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
 -
 -2010-10-03  Leo  <sdl.web@gmail.com>
 -
 -      * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
 -      return non-nil if the file exists (Bug#7090).
 -
 -2010-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * minibuffer.el (completion--replace):
 -      Better preserve markers (bug#7138).
 -
 -2010-09-29  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * server.el (server-process-filter): Doc fix.
 -
 -2010-09-27  Drew Adams  <drew.adams@oracle.com>
 -
 -      * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
 -
 -2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
 -
 -      * Makefile.in (ELCFILES): Update.
 -
 -      * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
 -      Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
 -
 -2010-09-27  Kenichi Handa  <handa@m17n.org>
 -
 -      * tar-mode.el (tar-header-block-tokenize): Decode filenames in
 -      "ustar" format.
 -
 -2010-09-27  Kenichi Handa  <handa@m17n.org>
 -
 -      * international/mule.el (define-coding-system): Docstring fixed.
 -
 -      * international/mule-diag.el (describe-character-set): Use princ
 -      with proper print-length and print-level instead of insert.
 -
 -2010-09-26  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * window.el (walk-windows): Doc fix (bug#7105).
 -
 -2010-09-23  Glenn Morris  <rgm@gnu.org>
 -
 -      * isearch.el (isearch-lazy-highlight-cleanup)
 -      (isearch-lazy-highlight-initial-delay)
 -      (isearch-lazy-highlight-interval)
 -      (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
 -      * net/net-utils.el (ipconfig-program-options):
 -      Move aliases to options before the associated definitions.
 -
 -2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * newcomment.el (comment-normalize-vars): Better test validity of
 -      comment-end-skip.
 -
 -2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
 -      (float-e): New name for `e'.
 -      (degrees-to-radians, radians-to-degrees):
 -      * calendar/solar.el (solar-longitude):
 -      * calculator.el (calculator-registers, calculator-funcall):
 -      * textmodes/artist.el (artist-spray-random-points):
 -      * play/bubbles.el (bubbles--initialize-images): Use new names.
 -
 -2010-09-19  Eric M. Ludlam  <zappo@gnu.org>
 -
 -      Update to CEDET 1.0's version of EIEIO.
 -
 -      * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
 -      New function.
 -      (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
 -      (eieio-default-eval-maybe): Eval val instead of unquoting only.
 -      (class-precedence-list): If class is nil, return nil.
 -      (eieio-generic-call): If class of first input arg is nil, don't
 -      look up static methods, and do check for primary methods.
 -      (initialize-instance): See if the default needs to be evaluated
 -      during the constructor.
 -      (eieio-perform-slot-validation-for-default): Don't do the check
 -      for values that will eventually be evaluated.
 -      (eieio-eval-default-p): New function.
 -      (eieio-default-eval-maybe): Use it.
 -
 -2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
 -
 -      * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
 -      method-invocation-order.
 -      (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
 -      (eieio-class-precedence-dfs): Compute class precedence list using
 -      dfs algorithm.
 -      (eieio-class-precedence-bfs): Compute class precedence list using
 -      bfs algorithm.
 -      (eieio-class-precedence-c3): Compute class precedence list using
 -      c3 algorithm.
 -      (class-precedence-list): New function.
 -      (eieiomt-method-list, eieiomt-sym-optimize): Use it.
 -      (inconsistent-class-hierarchy): New error symbol.
 -      (call-next-method): Stow the replacement argument list for future
 -      call-next-method invocations.
 -
 -2010-09-15  Glenn Morris  <rgm@gnu.org>
 -
 -      * calendar/appt.el (appt-check): If not displaying the diary,
 -      use (diary 1) to only get the entries we need.
 -      (appt-make-list): Sort diary-list-entries, if we cannot guarantee
 -      that it is in day order.  (Bug#7019)
 -
 -      * calendar/appt.el (appt-check): Rather than showing the diary,
 -      just turn off invisible display, and only if needed.
 -
 -      * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
 -
 -2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * emacs-lisp/byte-run.el (set-advertised-calling-convention):
 -      Add `when' argument.  Update callers.
 -
 -      * subr.el (unintern): Declare the obarray arg mandatory.
 -
 -2010-09-14  Glenn Morris  <rgm@gnu.org>
 -
 -      * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
 -      Doc fixes.
 -
 -      * calendar/diary-lib.el (diary-included-files): New variable.
 -      (diary-list-entries): Maybe initialize diary-included-files.
 -      (diary-include-other-diary-files): Append to diary-included-files.
 -      * calendar/appt.el (appt-update-list): Also check the members of
 -      diary-included-files.  (Bug#6999)
 -      (appt-check): Doc fix.
 -
 -2010-09-12  David Reitter  <david.reitter@gmail.com>
 -
 -      * simple.el (line-move-visual): Do not truncate goal column to
 -      integer size.  (Bug#7020)
 -
 -2010-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * repeat.el (repeat): Allow repeating when the last event is a click.
 -      Suggested by Drew Adams (bug#6256).
 -
 -2010-09-11  Sascha Wilde  <wilde@sha-bang.de>
 -
 -      * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
 -      Replace setting HGRCPATH to "" by some less invasive --config options.
 -
 -2010-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * font-lock.el (font-lock-beginning-of-syntax-function):
 -      Mark as obsolete.
 -
 -2010-09-10  Glenn Morris  <rgm@gnu.org>
 -
 -      * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
 -      and tool-bar modes.  (Bug#6211)
 -      (menu-bar-mode): Move setting of standard-value after the
 -      minor-mode definition, otherwise it seems to have no effect.
 -
 -2010-09-08  Masatake YAMATO  <yamato@redhat.com>
 -
 -      * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
 -      Fix typo.  (Bug#6976)
 -
 -2010-09-06  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 -
 -      * whitespace.el: Allow cleaning up blanks without blank
 -      visualization (Bug#6651).  Adjust help window for
 -      whitespace-toggle-options (Bug#6479).  Allow to use fill-column
 -      instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
 -      (whitespace-style): Add new value 'face.  Adjust docstring.
 -      (whitespace-space, whitespace-hspace, whitespace-tab):
 -      Adjust foreground property face.
 -      (whitespace-line-column): Adjust docstring and type declaration.
 -      (whitespace-style-value-list, whitespace-toggle-option-alist)
 -      (whitespace-help-text): Adjust const initialization.
 -      (whitespace-toggle-options, global-whitespace-toggle-options):
 -      Adjust docstring.
 -      (whitespace-display-window, whitespace-interactive-char)
 -      (whitespace-style-face-p, whitespace-color-on): Adjust code.
 -      (whitespace-help-scroll): New fun.
 -
 -2010-09-05  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
 -
 -      * files.el (directory-abbrev-alist): Use \` as default regexp.
 -
 -      * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
 -      chars like - or ] (bug#6984).
 -      (rx-any-condense-range): Explode 2-char ranges.
 -
 -2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * textmodes/bibtex.el:
 -      * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
 -
 -2010-09-02  Glenn Morris  <rgm@gnu.org>
 -
 -      * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
 -
 -2010-08-31  Kenichi Handa  <handa@m17n.org>
 -
 -      * international/mule-cmds.el (standard-display-european-internal):
 -      Setup standard-display-table for 8-bit characters by storing 8-bit
 -      characters in the element vector.
 -
 -      * disp-table.el (standard-display-8bit):
 -      Setup standard-display-table for 8-bit characters by storing 8-bit
 -      characters in the element vector.
 -      (standard-display-european): Likewise.
 -
 -2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      Sync with Tramp 2.1.19.
 -
 -      * net/tramp-cmds.el (tramp-cleanup-all-connections)
 -      (tramp-reporter-dump-variable, tramp-load-report-modules)
 -      (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
 -      (tramp-bug): Recommend setting of `tramp-verbose' to 9.
 -
 -      * net/tramp-compat.el (top): Do not autoload
 -      `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
 -      only when `start-file-process' is not bound.
 -      (byte-compile-not-obsolete-vars): Define if not bound.
 -      (tramp-compat-funcall): New defmacro.
 -      (tramp-compat-line-beginning-position)
 -      (tramp-compat-line-end-position)
 -      (tramp-compat-temporary-file-directory)
 -      (tramp-compat-make-temp-file, tramp-compat-file-attributes)
 -      (tramp-compat-copy-file, tramp-compat-copy-directory)
 -      (tramp-compat-delete-file, tramp-compat-delete-directory)
 -      (tramp-compat-number-sequence, tramp-compat-process-running-p):
 -      Use it.
 -      (tramp-advice-file-expand-wildcards): Do not use
 -      `tramp-handle-file-remote-p'.
 -      (tramp-compat-make-temp-file): Simplify fallback implementation.
 -      (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
 -      (tramp-compat-copy-tree): Remove function.
 -      (tramp-compat-delete-file): New defun.
 -      (tramp-compat-delete-directory): Provide implementation for older
 -      Emacsen.
 -      (tramp-compat-file-attributes): Handle only
 -      `wrong-number-of-arguments' error.
 -
 -      * net/tramp-fish.el (tramp-fish-handle-copy-file):
 -      Add PRESERVE_SELINUX_CONTEXT.
 -      (tramp-fish-handle-delete-file): Add TRASH arg.
 -      (tramp-fish-handle-directory-files-and-attributes):
 -      Do not use `tramp-fish-handle-file-attributes.
 -      (tramp-fish-handle-file-local-copy)
 -      (tramp-fish-handle-insert-file-contents)
 -      (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
 -
 -      * net/tramp-gvfs.el (top): Require url-util.
 -      (tramp-gvfs-mount-point): Remove.
 -      (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
 -      and `set-file-selinux-context'.
 -      (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
 -      (tramp-gvfs-handle-file-selinux-context)
 -      (tramp-gvfs-handle-set-file-selinux-context): New defuns.
 -      (with-tramp-dbus-call-method): Format trace message.
 -      (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
 -      (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
 -      Implement backup call, when operation on local files fails.
 -      Use progress reporter.  Flush properties of changed files.
 -      (tramp-gvfs-handle-delete-file): Add TRASH arg.
 -      Use `tramp-compat-delete-file'.
 -      (tramp-gvfs-handle-expand-file-name): Expand "~/".
 -      (tramp-gvfs-handle-make-directory): Make more traces.
 -      (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
 -      (tramp-gvfs-url-file-name): Hexify file name in url.
 -      (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
 -      into account for the resulting file name.
 -      (tramp-gvfs-handler-askquestion): Preserve current message, in
 -      order to let progress reporter continue afterwards.  (Bug#6257)
 -      Return dummy mountpoint, when the answer is "no".
 -      See `tramp-gvfs-maybe-open-connection'.
 -      (tramp-gvfs-handler-mounted-unmounted)
 -      (tramp-gvfs-connection-mounted-p): Test also for new mountspec
 -      attribute "default_location".  Set "prefix" property.
 -      Handle default-location.
 -      (tramp-gvfs-mount-spec): Return both prefix and mountspec.
 -      (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
 -      exists.  Raise an error, if not (due to a corresponding answer
 -      "no" in interactive questions, for example).
 -      Use `tramp-compat-funcall'.
 -
 -      * net/tramp-imap.el (top): Autoload `epg-make-context'.
 -      (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
 -      (tramp-imap-do-copy-or-rename-file)
 -      (tramp-imap-handle-insert-file-contents)
 -      (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
 -      (tramp-imap-handle-delete-file): Add TRASH arg.
 -
 -      * net/tramp-smb.el (tramp-smb-handle-copy-file):
 -      Add PRESERVE-SELINUX-CONTEXT.
 -      (tramp-smb-handle-copy-file)
 -      (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
 -      (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
 -      Use `with-progress-reporter'.
 -      (tramp-smb-handle-delete-file): Add TRASH arg.
 -
 -      * net/tramp.el (tramp-methods): Move hostname to the end in all
 -      ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
 -      appropriate.
 -      (tramp-verbose): Describe verbose level 9.
 -      (tramp-completion-function-alist)
 -      (tramp-file-name-regexp, tramp-chunksize)
 -      (tramp-local-coding-commands, tramp-remote-coding-commands)
 -      (with-connection-property, tramp-completion-mode-p)
 -      (tramp-action-process-alive, tramp-action-out-of-band)
 -      (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
 -      (tramp-exists-file-name-handler): Fix docstring.
 -      (tramp-remote-process-environment): Use `format' instead of
 -      `concat'.  Protect version string by apostroph.
 -      (tramp-shell-prompt-pattern): Do not use a shy group in case of
 -      XEmacs.
 -      (tramp-file-name-regexp-unified)
 -      (tramp-completion-file-name-regexp-unified): On W32 systems, do
 -      not regard the volume letter as remote filename.  (Bug#5447)
 -      (tramp-perl-file-attributes)
 -      (tramp-perl-directory-files-and-attributes): Don't pass "$3".
 -      (tramp-vc-registered-read-file-names): Read input as
 -      here-document, otherwise the command could exceed maximum length
 -      of command line.
 -      (tramp-file-name-handler-alist): Add `file-selinux-context' and
 -      `set-file-selinux-context'.
 -      (tramp-debug-message): Add `tramp-compat-funcall' to ignored
 -      backtrace functions.
 -      (tramp-error-with-buffer): Don't show the connection buffer when
 -      we are in completion mode.
 -      (tramp-progress-reporter-update, tramp-remote-selinux-p)
 -      (tramp-handle-file-selinux-context)
 -      (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
 -      (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
 -      New defuns.
 -      (with-progress-reporter): New defmacro.
 -      (tramp-debug-outline-regexp): New defconst.
 -      (top, tramp-rfn-eshadow-setup-minibuffer)
 -      (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
 -      (tramp-handle-dired-compress-file, tramp-handle-shell-command)
 -      (tramp-completion-mode-p, tramp-check-for-regexp)
 -      (tramp-open-connection-setup-interactive-shell)
 -      (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
 -      (tramp-time-diff, tramp-coding-system-change-eol-conversion)
 -      (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
 -      Use `tramp-compat-funcall'.
 -      (tramp-handle-make-symbolic-link): Flush file properties.
 -      (tramp-handle-load, tramp-handle-file-local-copy)
 -      (tramp-handle-insert-file-contents, tramp-handle-write-region)
 -      (tramp-handle-vc-registered, tramp-maybe-send-script)
 -      (tramp-find-shell): Use `with-progress-reporter'.
 -      (tramp-do-file-attributes-with-stat): Add space in format string,
 -      in order to work around a bug in pdksh.  Reported by Gilles Pion
 -      <gpion@lfdj.com>.
 -      (tramp-handle-verify-visited-file-modtime): Do not send a command
 -      when the connection is not established.
 -      (tramp-handle-set-file-times): Simplify the check for utc.
 -      (tramp-handle-directory-files-and-attributes)
 -      (tramp-get-remote-path): Use `copy-tree'.
 -      (tramp-completion-handle-file-name-all-completions): Ensure, that
 -      non remote files are still checked.  Oops.
 -      (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
 -      Handle PRESERVE-SELINUX-CONTEXT.
 -      (tramp-do-copy-or-rename-file): Add progress reporter.
 -      (tramp-do-copy-or-rename-file-directly): Do not use
 -      `tramp-handle-file-remote-p'.
 -      (tramp-do-copy-or-rename-file-out-of-band):
 -      Use `tramp-compat-delete-directory'.
 -      (tramp-do-copy-or-rename-file-out-of-band)
 -      (tramp-compute-multi-hops, tramp-maybe-open-connection):
 -      Use `format-spec-make'.
 -      (tramp-handle-delete-file): Add TRASH arg.
 -      (tramp-handle-dired-uncache): Flush directory cache, not only file
 -      cache.
 -      (tramp-handle-expand-file-name)
 -      (tramp-completion-handle-file-name-all-completions)
 -      (tramp-completion-handle-file-name-completion):
 -      Use `tramp-connectable-p'.
 -      (tramp-handle-start-file-process): Set connection property "vec".
 -      Use it, in order to invalidate file caches.  Check only for
 -      `remote-tty' process property.
 -      Implement tty setting.  (Bug#4604, Bug#6360)
 -      (tramp-file-name-for-operation): Add `call-process-region' and
 -      `set-file-selinux-context'.
 -      (tramp-find-foreign-file-name-handler)
 -      (tramp-advice-make-auto-save-file-name)
 -      (tramp-set-auto-save-file-modes): Remove superfluous check for
 -      `stringp'.  This is done inside `tramp-tramp-file-p'.
 -      (tramp-file-name-handler): Trace 'quit.  Catch the error for some
 -      operations when we are in completion mode.  This gives the user
 -      the chance to correct the file name in the minibuffer.
 -      (tramp-completion-mode-p): Use `non-essential'.
 -      (tramp-handle-file-name-all-completions): Backward/ XEmacs
 -      compatibility: Use `completion-ignore-case' if
 -      `read-file-name-completion-ignore-case' does not exist.
 -      (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
 -      (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
 -      `tramp-open-shell'.
 -      (tramp-action-password): Hide password prompt before next run.
 -      (tramp-process-actions): Widen connection buffer for the trace.
 -      (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
 -      process property.  Trace stty settings if `tramp-verbose' >= 9.
 -      Apply workaround for IRIX64 bug.  Move argument of last
 -      `tramp-send-command' where it belongs to.
 -      (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
 -      front of `login-args'.
 -      (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
 -      on "/dev/null" instead of "/".
 -      (tramp-get-ls-command-with-dired): Make test for "--dired"
 -      stronger.
 -      (tramp-set-auto-save-file-modes): Adapt version check.
 -      (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
 -      (tramp-handle-process-file): Call the program in a subshell, in
 -      order to preserve working directory.
 -      (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
 -      `tramp-remote-sh' from `tramp-methods'.
 -      (tramp-get-ls-command): Make test for "--color=never" stronger.
 -      (tramp-check-for-regexp): Use (forward-line 1).
 -
 -      * net/trampver.el: Update release number.
 -
 -2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
 -
 -      * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
 -      empty argument to gvfs-copy.
 -
 -2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
 -      handle new TRASH arg of `delete-file'.
 -
 -2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
 -
 -      * net/tramp.el (tramp-handle-insert-directory): Don't use
 -      `forward-word', its default syntax could be changed.
 -
 -2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
 -            Michael Albinus  <michael.albinus@gmx.de>
 -
 -      Implement compression for inline methods.
 -
 -      * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
 -      (tramp-copy-size-limit): Allow also nil.
 -      (tramp-inline-compress-commands): New defconst.
 -      (tramp-find-inline-compress, tramp-get-inline-compress)
 -      (tramp-get-inline-coding): New defuns.
 -      (tramp-get-remote-coding, tramp-get-local-coding): Remove,
 -      replaced by `tramp-get-inline-coding'.
 -      (tramp-handle-file-local-copy, tramp-handle-write-region)
 -      (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
 -
 -2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
 -
 -      Detect ssh 'ControlMaster' argument automatically in some cases.
 -
 -      * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
 -      (tramp-default-method): Use it.
 -
 -2010-08-26  Karel Klíč  <kklic@redhat.com>
 -
 -      * net/tramp.el (tramp-file-name-for-operation):
 -      Add file-selinux-context.
 -
 -2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
 -
 -      * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
 -
 -2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
 -      (Bug#6907).
 -
 -2010-08-23  Chris Foote <chris@foote.com.au>  (tiny change)
 -
 -      * progmodes/python.el (python-block-pairs): Allow use of "finally"
 -      with "else" (Bug#3991).
 -
 -2010-08-22  Leo  <sdl.web@gmail.com>
 -
 -      * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
 -      (ignore, bright, dim, keyword): Split list of nicknames before
 -      passing to rcirc-add-or-remove (Bug#6894).
 -
 -2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
 -
 -2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 -
 -      * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
 -      Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
 -      New version 13.0.
 -      (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
 -      Adjust initialization.
 -      (whitespace-bob-marker, whitespace-eob-marker)
 -      (whitespace-buffer-changed): New vars.
 -      (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
 -      (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
 -      (whitespace-post-command-hook, whitespace-display-char-on):
 -      Adjust code.
 -      (whitespace-looking-back, whitespace-buffer-changed): New funs.
 -      (whitespace-space-regexp, whitespace-tab-regexp): Eliminate funs.
 -
 -2010-08-21  Leo  <sdl.web@gmail.com>
 -
 -      Fix buffer-list rename&refresh after killing a buffer in ido.
 -      * ido.el: Revert Óscar's.
 -      (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
 -      Remember the buffers at head, rather than their name.
 -      * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
 -
 -2010-08-21  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
 -            Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
 -      extra backslash added to each line (bug#6890).
 -
 -2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * subr.el (read-key): Don't echo keystrokes (bug#6883).
 -
 -2010-08-21  Glenn Morris  <rgm@gnu.org>
 -
 -      * menu-bar.el (menu-bar-games-menu): Add landmark.
 -
 -2010-08-20  Glenn Morris  <rgm@gnu.org>
 -
 -      * align.el (align-regexp): Make group and spacing arguments
 -      use the interactive defaults when non-interactive.  (Bug#6698)
 -
 -      * mail/rmail.el (rmail-forward): Replace mail-text-start with its
 -      expansion, so as not to need sendmail.
 -      (mail-text-start): Remove declaration.
 -      (rmail-retry-failure): Require sendmail.
 -
 -2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
 -
 -2010-08-18  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * progmodes/flymake.el (flymake-start-syntax-check-process):
 -      Use `start-file-process' in order to let it run also on remote hosts.
 -
 -2010-08-18  Kenichi Handa  <handa@m17n.org>
 -
 -      * files.el: Add `word-wrap' as safe local variable.
 -
 -2010-08-18  Glenn Morris  <rgm@gnu.org>
 -
 -      * woman.el (woman-translate): Case matters.  (Bug#6849)
 -
 -2010-08-14  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * simple.el (kill-region): Doc fix (Bug#6787).
 -
 -2010-08-14  Glenn Morris  <rgm@gnu.org>
 -
 -      * calendar/diary-lib.el (diary-header-line-format):
 -      Fit it to the window, not the frame.
 -
 -2010-08-11  Andreas Schwab  <schwab@linux-m68k.org>
 -
 -      * subr.el (ignore-errors): Add debug declaration.
 -
 -2010-08-09  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
 -
 -      * whitespace.el (whitespace-color-off): Remove post-command-hook
 -      locally.
 -
 -2010-08-08  Johan Bockgård  <bojohan@gnu.org>
 -
 -      * replace.el (replace-highlight): Bind isearch-forward and
 -      isearch-error, ensuring that highlighting is updated if the user
 -      switches the search direction (Bug#6808).
 -
 -      * isearch.el (isearch-lazy-highlight-forward): New var.
 -      (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
 -      (isearch-lazy-highlight-update): Use it.
 -
 -2010-08-06  Kenichi Handa  <handa@m17n.org>
 -
 -      * international/mule.el (define-charset): Store NAME as :base property.
 -      (ctext-non-standard-encodings-table): Pay attention to charset aliases.
 -      (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
 -      current priority.  Force using the designation of the specific
 -      charset by adding `charset' text property.  Improve the whole
 -      algorithm.
 -
 -2010-08-05  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * emulation/pc-select.el (pc-selection-mode-hook)
 -      (copy-region-as-kill-nomark, beginning-of-buffer-mark)
 -      (pc-selection-mode): Fix typos in docstrings.
 -
 -2010-08-04  Kenichi Handa  <handa@m17n.org>
 -
 -      * language/cyrillic.el: Don't add "microsoft-cp1251" to
 -      ctext-non-standard-encodings-alist here.
 -
 -      * international/mule.el (ctext-non-standard-encodings-alist):
 -      Add "koi8-r" and "microsoft-cp1251".
 -      (ctext-standard-encodings): New variable.
 -      (ctext-non-standard-encodings-table): List only elements for
 -      non-standard encodings.
 -      (ctext-pre-write-conversion): Adjust for the above change.
 -      Check ctext-standard-encodings.
 -
 -      * international/mule-conf.el (compound-text): Doc fix.
 -      (ctext-no-compositions): Doc fix.
 -      (compound-text-with-extensions): Doc fix.
 -
 -2010-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
 -
 -2010-08-03  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * progmodes/which-func.el (which-func-format): Split help-echo text
 -      into lines, like other mode-line tooltips.
 -
 -      * server.el (server-start): When using TCP sockets, force IPv4
 -      and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
 -
 -2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * bindings.el (complete-symbol): Run completion-at-point as a fallback.
 -
 -2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * term.el (term-delimiter-argument-list): Reflow docstring.
 -      (term-read-input-ring, term-write-input-ring, term-send-input)
 -      (term-bol, term-erase-in-display, serial-supported-or-barf):
 -      Fix typos in docstrings.
 -
 -2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * bindings.el (function-key-map): Add a S-tab => backtab fallback.
 -
 -2010-08-01  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * dabbrev.el (dabbrev-completion): Fix typo in docstring.
 -
 -2010-08-01  MON KEY  <monkey@sandpframing.com>  (tiny change)
 -
 -      * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
 -      Fix typo in docstring (bug#6747).
 -
 -2010-07-30  Leo  <sdl.web@gmail.com>
 -
 -      * eshell/esh-io.el (eshell-get-target): Better detection of
 -      read-only file (Bug#6762).
 -
 -2010-07-30  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * align.el (align-default-spacing): Doc fix.
 -      (align-region-heuristic, align-regexp): Fix typos in docstrings.
 -
 -2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
 -
 -2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * time.el (display-time-day-and-date): Remove spurious * in docstring.
 -      (display-time-world-buffer-name, display-time-world-mode-map):
 -      Fix typos in docstrings.
 -
 -2010-07-17  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
 -
 -      * image-mode.el (image-display-size): New function.
 -      (image-forward-hscroll, image-next-line, image-eol, image-eob)
 -      (image-mode-fit-frame): Use it (Bug#6639).
 -
 -2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * dired.el (dired-buffers-for-dir): Handle list values of
 -      dired-directory (Bug#6636).
 -
 -2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
 -
 -      * vc.el (vc-coding-system-inherit-eol): New defvar.
 -      (vc-coding-system-for-diff): Use it to decide whether to inherit
 -      from the file the EOL format for reading the diffs of that file.
 -      (Bug#4451)
 -
 -2010-07-16  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
 -      unibyte, so compressed attachments are not compressed again.
 -
 -2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
 -
 -      * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
 -      now that unicode is used (Bug#6594).
 -
 -2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * simple.el (push-mark-command): Set the selection if
 -      select-active-regions is non-nil.
 -
 -2010-07-10  Glenn Morris  <rgm@gnu.org>
 -
 -      * calendar/calendar.el (calendar-week-end-day): New function.
 -      * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
 -      Respect calendar-week-start-day.  (Bug#6606)
 -      (cal-tex-insert-day-names, cal-tex-insert-blank-days)
 -      (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
 -      (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
 -      respect calendar-week-start-day.
 -
 -2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * simple.el (use-region-p): Doc fix (Bug#6607).
 -
 -2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
 -
 -      * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
 -      builtins (BufferError, BytesWarning, WindowsError; callables
 -      bin, bytearray, bytes, format, memoryview, next, print; __package__).
 -
 -2010-07-07  Glenn Morris  <rgm@gnu.org>
 -
 -      * play/zone.el (zone-fall-through-ws): Fix next-line ->
 -      forward-line fallout.
 -
 -2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * mouse.el (mouse-appearance-menu): Add docstring.
 -
 -      * help.el (describe-key): Print up-event using key-description.
 -
 -2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/zeroconf.el (zeroconf-resolve-service)
 -      (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
 -      (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
 -
 -2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
 -
 -      * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
 -
 -2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      Avoid displaying files with a nil state in vc-dir.
 -      * vc-dir.el (vc-dir-update): Obey the noinsert argument in all
 -      cases that cause insertion.
 -      (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
 -      with a nil state.
 -
 -2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
 -
 -2010-06-29  Leo  <sdl.web@gmail.com>
 -
 -      * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
 -
 -2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
 -
 -      * generic-x.el (bat-generic-mode): Fix regexp for command line
 -      switches (Bug#5719).
 -
 -2010-06-27  Masatake YAMATO  <yamato@redhat.com>
 -
 -      * htmlfontify.el (hfy-face-attr-for-class): Use append instead
 -      of nconc to avoid pure storage error (Bug#6239).
 -
 -2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
 -
 -      * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
 -      (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
 -      bindings of bookmark-automatically-show-annotations (Bug#6515).
 -
 -2010-06-25  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * arc-mode.el (archive-zip-extract): Don't quote the file name on
 -      MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
 -
 -2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
 -
 -      * comint.el (make-comint, make-comint-in-buffer): Mention return
 -      value in the docstrings.  (Bug#6498)
 -
 -2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
 -
 -      * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
 -      since it is not present when using some non-default switches.
 -
 -2010-06-23  Karl Fogel  <kfogel@red-bean.com>
 -
 -      * simple.el (compose-mail): Fix doc string to refer to
 -      `compose-mail-user-agent-warnings', instead of to the
 -      nonexistent `compose-mail-check-user-agent'.
 -
 -2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      Fix vc-annotate for renamed files when using Git.
 -      * vc-git.el (vc-git-find-revision): Deal with empty results from
 -      ls-files.  Doe not pass the object as a file name to cat-file, it
 -      is not a file name.
 -      (vc-git-annotate-command): Pass the file name using -- to avoid
 -      ambiguity with the revision.
 -      (vc-git-previous-revision): Pass a relative file name.
 -
 -2010-06-22  Glenn Morris  <rgm@gnu.org>
 -
 -      * progmodes/js.el (js-mode-map): Use standard capitalization and
 -      ellipses for menu entries.
 -
 -      * wid-edit.el (widget-complete): Doc fix.
 -
 -2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
 -
 -      * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
 -
 -2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      Fix annotating other revisions for renamed files in vc-annotate.
 -      * vc-annotate.el (vc-annotate): Add an optional argument for the
 -      VC backend.  Use it when non-nil.
 -      (vc-annotate-warp-revision): Pass the VC backend to vc-annotate
 -      (Bug#6487).
 -
 -      Fix vc-annotate-show-changeset-diff-revision-at-line for git.
 -      * vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
 -      Do not pass the file name to the 'previous-revision call when we
 -      don't want a file diff.  (Bug#6489)
 -
 -2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      Fix finding revisions for renamed files in vc-annotate.
 -      * vc.el (vc-find-revision): Add an optional argument for
 -      the VC backend.  Use it when non-nil.
 -      * vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
 -      backend to vc-find-revision.  (Bug#6487)
 -
 -2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      Fix reading file names in Git annotate buffers.
 -      * vc-git.el (vc-git-annotate-extract-revision-at-line):
 -      Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
 -
 -2010-06-20  Alan Mackenzie  <acm@muc.de>
 -
 -      * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
 -      in file local variables, set it first.
 -
 -2010-06-19  Glenn Morris  <rgm@gnu.org>
 -
 -      * descr-text.el (describe-char-unicode-data): Insert separating
 -      space when needed.  (Bug#6422)
 -
 -      * progmodes/idlwave.el (idlwave-action-and-binding):
 -      Fix typo in 2009-12-03 change.  (Bug#6450)
 -
 -2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * subr.el (read-quoted-char): Fix up last change (bug#6290).
 -
 -2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * font-lock.el (font-lock-major-mode): Rename from
 -      font-lock-mode-major-mode to distinguish it from
 -      global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
 -      (font-lock-set-defaults):
 -      * font-core.el (font-lock-default-function): Adjust users.
 -      (font-lock-mode): Don't set it at all.
 -
 -2010-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * vc-annotate.el (vc-annotate): Use vc-read-revision.
 -
 -2010-06-15  Glenn Morris  <rgm@gnu.org>
 -
 -      * calendar/appt.el (appt-time-msg-list): Doc fix.
 -      (appt-check): Let-bind appt-warn-time.
 -      (appt-add): Make the 3rd argument optional.
 -      Simplify argument names.  Doc fix.  Check for integer WARNTIME.
 -      Only add WARNTIME to the output list if non-nil.
 -
 -2010-06-15  Ivan Kanis  <apple@kanis.eu>
 -
 -      * calendar/appt.el (appt-check): Let the 3rd element of
 -      appt-time-msg-list specify the warning time.
 -      (appt-add): Add new argument with the warning time.  (Bug#5176)
 -
 -2010-06-12  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
 -
 -      * vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
 -      older than version 1.6.  (Bug#6361)
 -
 -2010-06-12  Helmut Eller  <eller.helmut@gmail.com>
 -
 -      * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
 -      used by cl-do-arglist.  (Bug#6408)
 -
 -2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * emacs-lisp/advice.el (ad-compile-function):
 -      Define warning-suppress-types before we let-bind it (bug#6275).
 -
 -      * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
 -      declare it, make it buffer-local and permanent-local (bug#6324).
 -      (vc-resynch-window): Adjust name.
 -      * vc-hooks.el (vc-find-file-hook): Adjust name.
 -
 -2010-06-07  Jonathan Rockway  <jon@jrock.us>
 -
 -      * net/rcirc.el: Add support for password authentication.
 -      (rcirc-server-alist): Add :password keyword.
 -      (rcirc): Ask for a password, or get it from the server's alist.
 -      (rcirc-connect): Add password argument.  Pass it to server.
 -
 -2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * net/dbus.el (dbus-register-method): Declare function.
 -      (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
 -      (dbus-introspect): Doc fix.
 -      (dbus-event-bus-name, dbus-introspect-get-interface)
 -      (dbus-introspect-get-argument): Reflow docstrings.
 -
 -2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * term/common-win.el (x-colors): Add "dark green" and "dark
 -      turquoise" (Bug#6332).
 -
 -2010-06-03  Glenn Morris  <rgm@gnu.org>
 -
 -      * desktop.el (desktop-clear-preserve-buffers):
 -      Add "*Warnings*" buffer.  (Bug#6336)
 -
 -2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
 -
 -2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * vc-bzr.el (vc-bzr-revision-completion-table): Apply
 -      `file-directory-p' to the filename part rather than to the whole text.
 -
 -2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
 -
 -2010-05-31  Drew Adams  <drew.adams@oracle.com>
 -
 -      * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
 -
 -2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * subr.el (momentary-string-display): Just use read-event to read
 -      the exit event (Bug#6238).
 -
 -2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * ansi-color.el: Delete unused escape sequences (Bug#6085).
 -      (ansi-color-drop-regexp): New constant.
 -      (ansi-color-apply, ansi-color-filter-region)
 -      (ansi-color-apply-on-region): Delete unrecognized control sequences.
 -      (ansi-color-apply): Build string list before calling concat.
 -
 -2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * progmodes/verilog-mode.el (verilog-type-font-keywords):
 -      Use font-lock-constant-face, not obsolete font-lock-reference-face.
 -
 -2010-05-27  Masatake YAMATO  <yamato@redhat.com>
 -
 -      * htmlfontify.el (hfy-face-resolve-face): New function.
 -      (hfy-face-to-style): Use it (Bug#6279).
 -
 -2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * epa.el (epa--select-keys): Don't explicitly delete the window since
 -      that can fail (e.g. sole window in frame).  Use dedication instead.
 -
 -2010-05-19  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
 -
 -      * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
 -
 -2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * subr.el (read-quoted-char): Resolve modifiers after key
 -      remapping (bug#6212).
 -
 -2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * tmm.el (tmm-prompt): Don't try to precompute bindings.
 -      (tmm-get-keymap): Compute shortcuts (bug#6171).
 -
 -2010-05-10  Glenn Morris  <rgm@gnu.org>
 -
 -      * desktop.el (desktop-save-buffer-p): Don't mistakenly include
 -      all dired buffers, even tramp ones.  (Bug#5755)  [Backport from trunk]
 -
 -2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * Version 23.2 released.
 -
 -2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * international/mule.el (auto-coding-alist): Only purecopy
 -      car of each item, not the whole list (Bug#6083).
 -
 -2010-05-02  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * progmodes/js.el (js-mode): Make paragraph variables local before
 -      calling c-setup-paragraph-variables (Bug#6071).
 -
 -2010-05-01  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * composite.el (compose-region, reference-point-alist): Fix typos
 -      in the doc strings.
 -
 -2010-04-28  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
 -
 -      * calc/calc-graph.el (calc-graph-plot): Use the proper form for
 -      gnuplot's "set" command.
 -
 -2010-04-26  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * abbrev.el (last-abbrev-text): Doc fix.
 -      (abbrev-prefix-mark): Don't escape parenthesis.
 -
 -2010-04-24  Andreas Schwab  <schwab@linux-m68k.org>
 -
 -      * composite.el (find-composition): Doc fix.
 -
 -2010-04-24  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
 -      (sql-oracle-program, sql-sqlite-options)
 -      (sql-query-placeholders-and-send): Doc fixes.
 -      (sql-set-product, sql-interactive-mode): Reflow docstrings.
 -      (sql-imenu-generic-expression, sql-buffer)
 -      (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
 -      (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
 -      (sql-mode-sybase-font-lock-keywords)
 -      (sql-mode-informix-font-lock-keywords)
 -      (sql-mode-interbase-font-lock-keywords)
 -      (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
 -      (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
 -      (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
 -      (sql-product-feature, sql-highlight-product)
 -      (comint-line-beginning-position, sql-rename-buffer)
 -      (sql-toggle-pop-to-buffer-after-send-region)
 -      (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
 -      (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
 -      Fix typos in docstrings.
 -
 -2010-04-23  Juri Linkov  <juri@jurta.org>
 -
 -      * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
 -      property instead of `invisible' and `after-string' (bug#5998).
 -
 -2010-04-23  Juri Linkov  <juri@jurta.org>
 -
 -      * image-mode.el (image-mode-as-text): Fix typo in docstring.
 -
 -2010-04-23  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * filecache.el (file-cache-add-directory-list)
 -      (file-cache-add-directory-recursively): Fix typos in docstrings.
 -
 -2010-04-22  Kenichi Handa  <handa@m17n.org>
 -
 -      * language/indian.el (gurmukhi-composable-pattern): Fix typo.
 -      (gujarati-composable-pattern): Fix typo.
 -
 -2010-04-20  Kenichi Handa  <handa@m17n.org>
 -
 -      * language/indian.el (oriya-composable-pattern)
 -      (tamil-composable-pattern, malayalam-composable-pattern):
 -      Add two-part vowels to "v" (vowel sign).
 -
 -2010-04-20  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * files.el (copy-directory): Handle symlinks (Bug#5982).
 -
 -      * progmodes/compile.el (compilation-next-error-function):
 -      Revert 2009-10-12 change (Bug#5983).
 -
 -2010-04-20  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
 -      (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
 -      (Bug#5846).
 -
 -2010-04-20  Glenn Morris  <rgm@gnu.org>
 -
 -      * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
 -
 -      * minibuffer.el (completion-at-point): Doc fix.
 -
 -2010-04-17  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      Fix the version number for added files.
 -      * vc-hg.el (vc-hg-working-revision): Check if the file is
 -      registered after hg parent fails (Bug#5961).
 -
 -2010-04-17  Glenn Morris  <rgm@gnu.org>
 -
 -      * htmlfontify.el (htmlfontify-buffer)
 -      (htmlfontify-copy-and-link-dir): Autoload entry points.
 -
 -2010-04-17  Magnus Henoch  <magnus.henoch@gmail.com>
 -
 -      * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
 -      name relative to the project root (Bug#5960).
 -
 -2010-04-16  Glenn Morris  <rgm@gnu.org>
 -
 -      * vc-git.el (vc-git-print-log): Doc fix.
 -
 -2010-04-14  Óscar Fuentes  <ofv@wanadoo.es>
 -
 -      * ido.el (ido-file-internal): Fix 2009-12-02 change.
 -
 -2010-04-14  Christoph  <cschol2112@googlemail.com>  (tiny change)
 -
 -      * progmodes/grep.el (grep-compute-defaults): Fix handling of host
 -      default settings (Bug#5928).
 -
 -2010-04-10  Glenn Morris  <rgm@gnu.org>
 -
 -      * progmodes/fortran.el (fortran-match-and-skip-declaration):
 -      New function.
 -      (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
 -
 -2010-04-07  Kenichi Handa  <handa@m17n.org>
 -
 -      * language/indian.el (malayalam-composable-pattern): Fix previous
 -      change (add U+0D4D "SIGN VIRAMA").
 -      (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
 -      (tamil-composable-pattern): Fix typo in the regexp.
 -      (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
 -      (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
 -      (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
 -
 -2010-04-06  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
 -      paragraph-separate (Bug#5821).
 -
 -2010-04-05  Juri Linkov  <juri@jurta.org>
 -
 -      Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
 -
 -      * info.el (Info-find-node-2): Comment out code that skips
 -      breadcrumbs line.
 -      (Info-mouse-follow-link): New command.
 -      (Info-link-keymap): New keymap.
 -      (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
 -      Return a string with links instead of inserting breadcrumbs
 -      to the Info buffer.
 -      (Info-fontify-node): Comment out code that inserts breadcrumbs.
 -      Instead of putting the `invisible' text property over the Info
 -      header, make an overlay over the Info header with the `invisible'
 -      property and `after-string' set to the string returned by
 -      `Info-breadcrumbs'.
 -
 -2010-04-03  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * help.el (help-window-setup-finish): Doc fix (Bug#5830).
 -      Reported by monkey@sandpframing.com.
 -
 -2010-03-30  Tomas Abrahamsson  <tab@lysator.liu.se>
 -
 -      * textmodes/artist.el (artist-mode): Fix typo in docstring.
 -      Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
 -
 -2010-03-30  Kenichi Handa  <handa@m17n.org>
 -
 -      * language/sinhala.el (composition-function-table): Fix regexp for
 -      the new Unicode specification.
 -
 -      * language/indian.el (devanagari-composable-pattern)
 -      (tamil-composable-pattern, kannada-composable-pattern)
 -      (malayalam-composable-pattern): Adjust for the new Unicode
 -      specification.
 -      (bengali-composable-pattern, gurmukhi-composable-pattern)
 -      (gujarati-composable-pattern, oriya-composable-pattern)
 -      (telugu-composable-pattern): New variables to cope with the new
 -      Unicode specification.  Use them in composition-function-table.
 -
 -2010-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      Make tmm-menubar work for the Buffers menu again (bug#5726).
 -      * tmm.el (tmm-prompt): Also handle keymap entries in the form of
 -      vectors rather than cons cells, as used in menu-bar-update-buffers.
 -
 -2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * progmodes/js.el (js-auto-indent-flag, js-mode-map)
 -      (js-insert-and-indent): Revert 2009-08-15 change, restoring
 -      electric punctuation for "{}();,:" (Bug#5586).
 -
 -      * mail/sendmail.el (mail-default-directory): Doc fix.
 -
 -2010-03-27  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * mail/sendmail.el (mail-default-directory): Doc fix.
 -
 -2010-03-27  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * subr.el (version-regexp-alist, version-to-list)
 -      (version-list-<, version-list-=, version-list-<=)
 -      (version-list-not-zero, version<, version<=, version=): Doc fix.
 -      (Bug#5744).
 -
 -2010-03-26  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 -            Nick Roberts  <nickrob@snap.net.nz>
 -
 -      * progmodes/gdb-ui.el (gdb-apple-test): New function.
 -      (gdb-init-1): Use it.
 -
 -2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc.el (vc-root-diff): Doc fix.
 -
 -2010-03-25  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * vc.el (vc-print-log, vc-print-root-log): Doc fix.
 -
 -      * simple.el (append-to-buffer): Fix last change.
 -
 -2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * simple.el (append-to-buffer): Ensure that point is preserved if
 -      BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
 -      (Bug#5749)
 -
 -2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
 -      (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
 -      not be present any more.
 -
 -2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * faces.el (set-face-attribute): Fix typo in docstring.
 -      (face-valid-attribute-values): Reflow docstring.
 -
 -2010-03-23  Glenn Morris  <rgm@gnu.org>
 -
 -      * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
 -
 -2010-03-21  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * indent.el (indent-for-tab-command): Doc fix.
 -
 -2010-03-22  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
 -      (image-dired-read-comment): Doc fix.
 -
 -      * json.el (json-object-type, json-array-type, json-key-type)
 -      (json-false, json-null, json-read-number):
 -      * minibuffer.el (completion-in-region-functions):
 -      * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
 -      (cal-tex-cursor-week):
 -      * emacs-lisp/trace.el (trace-function):
 -      * eshell/em-basic.el (eshell/printnl):
 -      * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
 -      (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
 -      * obsolete/levents.el (allocate-event, event-key, event-object)
 -      (event-point, event-process, event-timestamp, event-to-character)
 -      (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
 -      * textmodes/reftex-vars.el (reftex-index-macros-builtin)
 -      (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
 -      (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
 -      (reftex-highlight-selection): Fix typos in docstrings.
 -
 -2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * minibuffer.el (completion-in-region-functions): Fix docstring typos.
 -
 -2010-03-18  Glenn Morris  <rgm@gnu.org>
 -
 -      * mail/rmail.el (rmail-highlight-face): Restore option deleted
 -      2008-02-13 without comment; mark it obsolete.
 -      (rmail-highlight-headers): Use rmail-highlight-face once more.
 -
 -2010-03-16  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * woman.el (woman2-process-escapes): Only consume the newline if
 -      the filler character is on a line by itself (Bug#5729).
 -
 -2010-03-16  Kenichi Handa  <handa@m17n.org>
 -
 -      * language/indian.el (devanagari-composable-pattern): Add more
 -      consonants.
 -
 -2010-03-14  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/trampver.el: Update release number.
 -
 -2010-03-13  Glenn Morris  <rgm@gnu.org>
 -
 -      * Makefile.in (ELCFILES): Add cedet/semantic/imenu.el.
 -
 -2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-find-executable):
 -      Use `tramp-get-connection-buffer'.  Make the regexp for checking
 -      output of "wc -l" more robust.
 -      (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
 -      (tramp-open-connection-setup-interactive-shell): Remove workaround
 -      for OpenSolaris bug, it is not needed anymore.
 -
 -2010-03-12  Glenn Morris  <rgm@gnu.org>
 -
 -      * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
 -
 -2010-03-11  Wilson Snyder  <wsnyder@wsnyder.org>
 -
 -      * files.el (auto-mode-alist): Accept more verilog file patterns.
 -
 -2010-03-09  Miles Bader  <miles@gnu.org>
 -
 -      * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
 -      instead of "format:"; this ensures that the output is
 -      newline-terminated.
 -
 -2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
 -      that all errors are caught, and that the return value is always a
 -      list (Bug#5692).
 -
 -2010-03-08  Kenichi Handa  <handa@m17n.org>
 -
 -      * language/misc-lang.el (windows-1256): New coding system.
 -      (cp1256): New alias of windows-1256 (bug#5690).
 -
 -2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
 -
 -      * mail/rfc822.el (rfc822-addresses): Move catch clause down around
 -      call to rfc822-bad-address.  (Bug#5692)
 -
 -2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
 -
 -      * vc-git.el (vc-git-annotate-extract-revision-at-line):
 -      Use vc-git-root as default directory for revision path (Bug#5657).
 -
 -2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * calculator.el (calculator): Don't bind split-window-keep-point
 -      (Bug#5674).
 -
 -2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * vc-git.el: Re-flow to fit into 80 columns.
 -      (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
 -      Remove spurious `quote' element in each case alternative.
 -      (vc-git-show-log-entry): Use prog1.
 -      (vc-git-after-dir-status-stage): Remove unused var `remaining'.
 -
 -2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
 -
 -2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * macros.el (insert-kbd-macro): Look up keyboard macro using the
 -      definition, not the name (Bug#5481).
 -
 -2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
 -
 -      * subr.el (momentary-string-display): Don't overwrite the MESSAGE
 -      argument with a local variable.  (Bug#5670)
 -
 -2010-03-02  Juri Linkov  <juri@jurta.org>
 -
 -      * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
 -
 -2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
 -      error when FILENAME and NEWNAME are existing remote directories.
 -
 -      * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
 -      parameter DIR-FLAG.
 -
 -2010-03-02  Glenn Morris  <rgm@gnu.org>
 -
 -      * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
 -      of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
 -
 -2010-03-01  Kenichi Handa  <handa@m17n.org>
 -
 -      * language/burmese.el (burmese-composable-pattern): Rename from
 -      myanmar-composable-pattern.
 -
 -      * international/characters.el (script-list):
 -      * international/fontset.el (script-representative-chars):
 -      Change myanmar to burmese.
 -      (otf-script-alist): Likewise.
 -      (setup-default-fontset): Likewise.  Re-fix :otf spec.
 -
 -2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
 -
 -      * menu-bar.el (menu-bar-manuals-menu): Fix typo.
 -
 -2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
 -
 -      * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
 -
 -2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-handle-write-region): START can be a string.
 -      Take care in the checks.  Reported by Dan Davison
 -      <davison@stats.ox.ac.uk>.
 -
 -2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/dbus.el (dbus-introspect, dbus-get-property)
 -      (dbus-set-property, dbus-get-all-properties):
 -      Use `dbus-call-method' when noninteractive.  (Bug#5645)
 -
 -2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
 -      * emacs-lisp/elint.el (elint-add-required-env):
 -      * calendar/icalendar.el (icalendar--add-diary-entry):
 -      * calc/calcalg2.el (math-tracing-integral):
 -      * files.el (recover-session-finish): Use with-current-buffer
 -      instead of save-excursion.
 -
 -2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      Fix in-buffer completion when after-change-functions modify the buffer.
 -      * minibuffer.el (completion--replace): New function.
 -      (completion--do-completion): Use it and use relative movement.
 -
 -2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * international/fontset.el (setup-default-fontset): Fix :otf spec.
 -
 -2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
 -
 -      * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
 -      Allow the characters _<> in the stack entry (Bug#5653).
 -
 -2010-02-26  Kenichi Handa  <handa@m17n.org>
 -
 -      * language/burmese.el: Fix entries in composition-function-table.
 -      (myanmar-composable-pattern): New variable.
 -
 -      * international/fontset.el (setup-default-fontset): Add an entry
 -      for myanmar.
 -
 -      * international/characters.el (script-list): Add Myanmar
 -      Extended-A.
 -
 -2010-02-26  Glenn Morris  <rgm@gnu.org>
 -
 -      * custom.el (custom-initialize-delay): Doc fix.
 -
 -      * mail/sendmail.el (send-mail-function): Autoload the call
 -      to custom-initialize-delay, not otherwise preserved in loaddefs.el.
 -
 -2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * files.el (hack-local-variables-filter): For eval forms, also
 -      check safe-local-variable-p (Bug#5636).
 -
 -2010-02-24  Eduard Wiebe  <usenet@pusto.de>
 -
 -      * javascript.el (wisent-javascript-jv-expand-tag): Avoid c(ad)ddr
 -      and use c(ad)r of cddr (Bug#5640).
 -
 -2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
 -      setting the modes by `ignore-errors'.  It might fail, for example
 -      if the file is not owned by the user but the group.
 -      (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
 -
 -2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * files.el (directory-listing-before-filename-regexp):
 -      Use stricter matching for iso-style dates, to avoid false matches with
 -      date-like filenames (Bug#5597).
 -
 -      * htmlfontify.el (htmlfontify): Doc fix.
 -
 -      * eshell/eshell.el (eshell): Doc fix.
 -
 -      * startup.el (fancy-about-screen): In mode-line, apply
 -      mode-line-buffer-id face only to the buffer name (Bug#5613).
 -
 -2010-02-20  Kevin Ryde  <user42@zip.com.au>
 -
 -      * progmodes/compile.el (compilation-error-regexp-alist-alist):
 -      In `watcom' anchor regexp to start of line, to avoid slowness
 -      (Bug#5599).
 -
 -2010-02-20  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * subr.el (remove-yank-excluded-properties): Explain in a comment
 -      why `category' property is removed.
 -
 -2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * isearch.el (isearch-update-post-hook, isearch-update):
 -      Revert 2010-02-17 change.
 -
 -2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
 -
 -      * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
 -      (icalendar--convert-weekly-to-ical)
 -      (icalendar--convert-yearly-to-ical)
 -      (icalendar--convert-block-to-ical)
 -      (icalendar--convert-cyclic-to-ical)
 -      (icalendar--convert-anniversary-to-ical): Take care of time
 -      specifications where hour has 1-digit only (Bug#5549).
 -
 -2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
 -
 -      * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
 -      of disassemble output in GDB 7.1.
 -
 -2010-02-19  Glenn Morris  <rgm@gnu.org>
 -
 -      * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
 -      property.  (Bug#5593)
 -
 -2010-02-18  Sam Steingold  <sds@gnu.org>
 -
 -      * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
 -
 -2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      Use abbreviated file names in bookmarks (bug#5591).
 -      * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
 -      calls to expand-file-name.
 -      (bookmark-relocate): Use abbreviated file names in bookmarks.
 -      (bookmark-load): Use abbreviated file names in messages.
 -
 -2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-handle-directory-files): When FULL, do not
 -      expand "." and "..".  Reported by Thierry Volpiatto
 -      <thierry.volpiatto@gmail.com>.
 -
 -2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-handle-insert-file-contents): Set always the
 -      permissions of the temporary file to "0600".  In case the remote
 -      file has no read permissions for the owner, there might be
 -      problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
 -
 -22010-02-18  Glenn Morris  <rgm@gnu.org>
 -
 -      * emacs-lisp/authors.el (authors-renamed-files-alist):
 -      Add entries for INSTALL.CVS.
 -
 -2010-02-17  Mark A. Hershberger  <mah@everybody.org>
 -
 -      * vc-bzr.el: Fix typo in Known Bugs section.
 -
 -      * isearch.el (isearch-update-post-hook): New hook.
 -      (isearch-update): Use the new hook.
 -
 -2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
 -      Fix errors in copying directories.
 -      (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
 -      (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
 -      (tramp-handle-delete-file)
 -      (tramp-handle-dired-recursive-delete-directory)
 -      (tramp-handle-write-region): Flush also the cache for the upper
 -      directory.
 -
 -2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * simple.el (save-interprogram-paste-before-kill): Doc fix.
 -
 -      * cus-edit.el (hardware): Doc fix.
 -
 -      * man.el (man): Add to external custom group.
 -
 -      * delim-col.el (columns): Move to wp custom group.
 -
 -      * doc-view.el (doc-view): Add to data custom group.
 -
 -      * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
 -
 -      * textmodes/flyspell.el (flyspell-word): Obey the offset specified
 -      by ispell-parse-output (Bug#5575).
 -
 -2010-02-16  Kenichi Handa  <handa@m17n.org>
 -
 -      * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
 -      (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
 -      (skkdic-convert): Use `euc-japan' coding system for writing.
 -
 -2010-02-16  Glenn Morris  <rgm@gnu.org>
 -
 -      * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
 -      tex-main-file before using it.  (Bug#5562)
 -
 -2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
 -      warnings, since it is annoying for the user to see them each time he
 -      runs the code.
 -
 -2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-process-actions, tramp-read-passwd):
 -      * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
 -      instead of PROC for caching "first-password-request".  Otherwise,
 -      new processes would not profit from passwords already entered.
 -
 -      * net/tramp-cache.el (tramp-dump-connection-properties):
 -      Don't save "first-password-request" property.
 -
 -2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * outline.el (outline-head-from-level):
 -      * simple.el (with-wrapper-hook):
 -      * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
 -      (elint-defun, elint-buffer-env, elint-top-form-logged)
 -      (elint-unbound-variable):
 -      * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
 -      Fix typos in docstrings.
 -
 -2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * files.el (insert-directory): When WILDCARD-REGEXP and
 -      FULL-DIRECTORY-P are nil, insert the file entry instead of the
 -      whole directory.  (Bug#5551)
 -
 -      * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
 -      dired's alignment sanity.  (Bug#5516)
 -
 -2010-02-14  Juri Linkov  <juri@jurta.org>
 -
 -      * man.el (Man-fontify-manpage, Man-cleanup-manpage):
 -      Remove remaining ^H with their preceding chars.  (Bug#5566)
 -
 -2010-02-13  Glenn Morris  <rgm@gnu.org>
 -
 -      * simple.el (transpose-subr): Give it a doc-string.
 -
 -      * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
 -      Doc fixes.
 -
 -2010-02-12  Juri Linkov  <juri@jurta.org>
 -
 -      * arc-mode.el (archive-unique-fname): Make directories for nested
 -      archives.  (Bug#5540)
 -
 -2010-02-12  Juri Linkov  <juri@jurta.org>
 -
 -      * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
 -
 -2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * subr.el (copy-overlay): Handle deleted overlays.
 -
 -      * man.el (Man-completion-table): Don't signal an error if we can't run
 -      manual-program (bug#4056).
 -
 -2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * textmodes/artist.el (artist-mt): Fix typos in docstring.
 -
 -2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
 -
 -      * info.el (Info-bookmark-jump): Simplify.
 -
 -      * bookmark.el (bookmark-handle-bookmark): Catch the right error.
 -      (bookmark-default-handler): Accept new bookmark field `buffer'.
 -
 -2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * iswitchb.el (iswitchb-completions): Revert last change.
 -
 -2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
 -      FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
 -      This prevents file names like "~/" being listed literally.
 -
 -2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * term/xterm.el (xterm-maybe-set-dark-background-mode):
 -      Remove dead code.  (Bug#5546)
 -
 -2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
 -      correctly (Bug#5548).
 -
 -2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
 -
 -      * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
 -      (ada-adjust-case): Don't adjust case in hexadecimal number literals.
 -
 -2010-02-08  Kenichi Handa  <handa@m17n.org>
 -
 -      * international/mule-util.el (with-coding-priority): Add autoload
 -      cookie for putting `lisp-indent-function'.
 -
 -2010-02-07  Glenn Morris  <rgm@gnu.org>
 -
 -      * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
 -      Move F2003 named interfaces from keywords-2 to keywords-1, and
 -      use function-name-face rather than constant-face.
 -      Simplify "abstract interface" regexp.
 -
 -2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * eshell/esh-util.el (eshell-file-attributes): New optional arg
 -      ID-FORMAT.  Pass it to `file-attributes'.
 -
 -      * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
 -
 -2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
 -
 -      * faces.el (set-face-attribute): Allow calling
 -      internal-set-lisp-face-attribute with 'unspecified family and
 -      foundry argument (Bug#5536).
 -
 -2010-02-07  Glenn Morris  <rgm@gnu.org>
 -
 -      * progmodes/f90.el (f90-font-lock-keywords-2)
 -      (f90-looking-at-type-like, f90-looking-at-program-block-end):
 -      Handle F2003 named interfaces.
 -
 -2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * progmodes/cc-mode.el (c-common-init): Bind temporary variables
 -      beg and end before calling c-get-state-before-change-functions.
 -
 -2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc-bzr.el (vc-bzr-dir-extra-headers):
 -      Disable the pending merges header.
 -
 -2010-02-05  Juri Linkov  <juri@jurta.org>
 -
 -      * doc-view.el (doc-view-mode):
 -      * image-mode.el (image-mode): Put property mode-class=special.
 -      (Bug#4896)
 -
 -2010-02-05  Mark A. Hershberger  <mah@everybody.org>
 -
 -      * vc-svn.el (vc-svn-revision-table): New function.
 -
 -2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/ange-ftp.el (ange-ftp-insert-directory):
 -      * net/tramp-imap.el (tramp-imap-handle-insert-directory):
 -      * net/tramp-smb.el (tramp-smb-handle-insert-directory):
 -      Handle also directories.  (Bug#5478)
 -
 -2010-02-05  Glenn Morris  <rgm@gnu.org>
 -
 -      * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
 -
 -2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * startup.el (command-line-1): Convert options beginning with a
 -      single dash as well (Bug#5519).
 -
 -2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      Make `initials' completion work for /hh -> /home/horn again (bug#5524).
 -      * minibuffer.el (completion-initials-expand): Only check the presence
 -      of delims *within* the boundaries, since otherwise the / delim is
 -      always found for files.
 -
 -      Fix up various corner case problems.
 -      * doc-view.el (doc-view-last-page-number): New function.
 -      (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
 -      (doc-view-goto-page): Avoid inf-loops when the conversion fails.
 -      (doc-view-kill-proc): Avoid inf-loop in freak cases.
 -      (doc-view-reconvert-doc): Use the new recursive delete-directory.
 -      (doc-view-convert-current-doc): Don't create the resolution.el file
 -      here any more.
 -      (doc-view-pdf/ps->png): Do it here instead.
 -      (doc-view-already-converted-p): Check that resolution.el is present.
 -      (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
 -      windows that are not yet showing images.
 -
 -2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
 -      `dired-uncache' for every elemnt which is an absolute file name.
 -
 -      * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
 -      directory, handle its directory component.
 -      (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
 -      function is called permanently and creates noise, otherwise.
 -
 -      * net/tramp-imap.el (tramp-imap-handle-insert-directory):
 -      * net/tramp-smb.el (tramp-smb-handle-insert-directory):
 -      Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
 -
 -2010-02-04  David Burger  <dburger@google.com>  (tiny change)
 -
 -      * macros.el (apply-macro-to-region-lines):
 -      Minor simplification.  (Bug#5485)
 -
 -2010-02-04  Glenn Morris  <rgm@gnu.org>
 -
 -      * mail/rmail.el (rmail-show-message-1): Handle malformed
 -      quoted-printable text.  (Bug#5441)
 -
 -      * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
 -
 -      * simple.el (visual-line-mode): Capitalize lighter.
 -
 -2010-02-03  John Wiegley  <jwiegley@gmail.com>
 -
 -      * iswitchb.el (iswitchb-completions): Add bookmark files to the
 -      list of files considered for "virtual buffer" completions.
 -
 -2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
 -      also in case of (and (not full) (not wildcard)).  This is needed,
 -      when dired is called with a list of files, which are not in
 -      `default-directory'.  (Bug#5478)
 -
 -2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
 -
 -2010-02-02  Juri Linkov  <juri@jurta.org>
 -
 -      * textmodes/ispell.el (ispell-message-text-end): Remove final newline
 -      from unidiff to allow function-line after @@.
 -
 -2010-02-02  Juri Linkov  <juri@jurta.org>
 -
 -      * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
 -      '(RCS SCCS) with inverted condition.
 -
 -2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
 -      messages.
 -
 -2010-02-01  Juri Linkov  <juri@jurta.org>
 -
 -      * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
 -      compare with "pkunzip" and "pkzip" instead of only "pkzip".
 -      In the `archive-extract-by-stdout' branch use `shell-quote-argument'
 -      only when (car archive-zip-extract) is "unzip".  (Bug#5475)
 -
 -2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
 -      (doc-view-revert-buffer): New command.
 -      (doc-view-mode-map): Use it.
 -
 -2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
 -      pending merge is detected.
 -
 -2010-01-31  Juri Linkov  <juri@jurta.org>
 -
 -      * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
 -      beginning of interactive spec like all other grep commands do.
 -      Put "all" in front of "gz".  (Bug#5260)
 -
 -2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
 -
 -2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * dirtrack.el (dirtrack): Warn instead of signalling error if the
 -      regexp is incorrect (Bug#5476).
 -
 -2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-handle-insert-directory): Handle also
 -      symlinks, when FILENAME is not in `default-directory'.
 -
 -2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
 -      FILE is not in `default-directory'.  (Bug#5478)
 -
 -      * net/tramp.el (tramp-handle-insert-directory): Simplify handling
 -      of SWITCHES.  Handle the case, FILENAME is not in
 -      `default-directory'.  (Bug#5478)
 -      (tramp-register-file-name-handlers): Add safe-magic property.
 -
 -2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * arc-mode.el (archive-zip-extract): Quote the argument passed to
 -      unzip (Bug#5475).
 -
 -2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
 -
 -      * progmodes/flymake.el (flymake-allowed-file-name-masks)
 -      (flymake-master-make-header-init): Add other C++ filename masks.
 -      (flymake-find-possible-master-files)
 -      (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
 -
 -2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      Fix some busybox annoyances.
 -
 -      * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
 -      not responding." string.
 -      (tramp-open-connection-setup-interactive-shell): Dump stty
 -      settings.  Enable "neveropen" arg for all `tramp-send-command'
 -      calls.  Handle "=" in variable values properly.
 -      (tramp-find-inline-encoding): Raise an error, when no encoding is
 -      found.
 -      (tramp-wait-for-output): Check, whether PROC buffer is available.
 -      Remove spurious " ^H" sequences, sent by busybox.
 -      (tramp-get-ls-command): Suppress coloring, if possible.
 -
 -2010-01-28  Glenn Morris  <rgm@gnu.org>
 -
 -      * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
 -
 -      * log-edit.el (log-edit-strip-single-file-name): Add missing
 -      :safe, :group, and :version tags.
 -
 -2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
 -
 -      * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
 -      buffers.  (Bug#5477)
 -
 -2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
 -
 -      * files.el (delete-directory): Handle moving to trash without
 -      first doing recursion (Bug#5436).
 -
 -2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc-hooks.el (vc-path): Mark as obsolete.
 -
 -2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc-annotate.el (vc-annotate-revision-at-line): Compare file
 -      names too.
 -
 -      * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
 -      for the short log.
 -      (vc-bzr-log-view-mode): Adjust regexp for the above change.
 -
 -2010-01-25  Mark A. Hershberger  <mah@everybody.org>
 -
 -      * progmodes/python.el: Replace reference to obsolete c-subword-mode.
 -
 -      * vc-bzr.el (vc-bzr-revision-table): New function.
 -
 -2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>  (tiny change)
 -
 -      * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
 -      diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
 -
 -2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      Remove support for adding --signoff on commit.
 -      Future support will use an incompatible generic mechanism.
 -      * vc-git.el (vc-git-add-signoff): Remove variable.
 -      (vc-git-toggle-signoff): Remove function.
 -      (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
 -
 -      * term/xterm.el (xterm-maybe-set-dark-background-mode):
 -      Rename from xterm-set-background-mode.  Return t if the background mode
 -      was set.
 -      (terminal-init-xterm): Move tty-set-up-initial-frame-faces
 -      earlier, call it again in case the background mode has changed.
 -
 -2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
 -
 -      * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
 -      (Bug#3541).
 -
 -2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * emacs-lisp/assoc.el (aelement): Doc fix.
 -      (aput, adelete, amake): Use lexical-let (Bug#5450).
 -
 -2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
 -
 -      * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
 -      is the same as subprogram call, not declaration.  (Bug#5435).
 -
 -2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp-smb.el (tramp-smb-conf): New defcustom.
 -      (tramp-smb-maybe-open-connection): Use it.
 -
 -2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
 -
 -2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
 -      just because we see "encoding: 8bit".
 -      * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
 -
 -2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
 -
 -2010-01-22  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * jka-compr.el (jka-compr-load): If load-file is not in
 -      load-history, try its file-truename version.  (bug#5447)
 -
 -2010-01-21  Alan Mackenzie  <acm@muc.de>
 -
 -      Fix a situation where deletion of a cpp construct throws an error.
 -      * progmodes/cc-engine.el (c-invalidate-state-cache):
 -      Before invoking c-with-all-but-one-cpps-commented-out, check that the
 -      special cpp construct is still in the buffer.
 -      (c-parse-state): Record the special cpp with markers, not numbers.
 -
 -2010-01-21  Kenichi Handa  <handa@m17n.org>
 -
 -      * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
 -      process last-command-event, as it is now decoded first (Bug#5380).
 -
 -2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
 -
 -2010-01-20  Glenn Morris  <rgm@gnu.org>
 -
 -      * indent.el (tab-always-indent): Fix custom-type.
 -
 -2010-01-19  Alan Mackenzie  <acm@muc.de>
 -
 -      * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
 -      buffer throws "args out of range".
 -      (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
 -      playing the role of delimiter.
 -
 -2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
 -
 -      * progmodes/ada-mode.el: Fix bug#5400.
 -      (ada-matching-decl-start-re): Move into ada-goto-decl-start.
 -      (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
 -      changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
 -      Improve comments in "is" portion.  Handle null procedure declaration.
 -      (ada-move-to-end): Improve doc string.
 -
 -2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
 -
 -      * ido.el (ido-cur-list): Initialize to nil.
 -      Remove obsolete information from commentary.
 -      (ido-choice-list): Initialize to nil.
 -      (ido-get-bufname): Reject minibuffers.
 -      (ido-make-buffer-list): If "default" is a nonexistent
 -      buffer, ignore it, as per the function's comment.
 -      (ido-kill-buffer-internal): New function.
 -      (ido-kill-buffer-at-head): Use it.
 -      (ido-visit-buffer): Likewise.
 -
 -2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
 -
 -2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
 -      Fix typos in chart titles.
 -
 -      * whitespace.el (whitespace-style, global-whitespace-newline-mode):
 -      * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
 -      (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
 -      (describe-class, eieio-describe-generic, describe-generic):
 -      * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
 -      (eieio-speedbar-expand):
 -      * emulation/viper-cmd.el (viper-exec-form-in-vi)
 -      (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
 -      (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
 -      (viper-del-backward-char-in-replace, viper-backward-indent)
 -      (viper-brac-function, viper-register-to-point, viper-submit-report):
 -      * net/tramp.el (tramp-remote-coding-commands):
 -      * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
 -      Fix typos in docstrings.
 -
 -2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * mail/sendmail.el (mail-yank-original): Set the mark if the
 -      specified function for yanking does not do it.
 -
 -2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
 -
 -      * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
 -      resyncing a directory.
 -
 -2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
 -
 -      * progmodes/ada-mode.el: Fix bug#1920.
 -      (ada-ident-re): Delete ., allow multibyte characters.
 -      (ada-goto-label-re): New; matches goto labels.
 -      (ada-block-label-re): New; matches block labels.
 -      (ada-label-re): New; matches both.
 -      (ada-named-block-re): Delete; callers changed to use
 -      `ada-block-label-re' instead.
 -      (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
 -      Use `ada-block-label-re'.
 -      (ada-indent-on-previous-lines): Improve handling of goto labels.
 -      (ada-get-indent-block-start): Special-case block label.
 -      (ada-get-indent-label): Split into `ada-indent-block-label' and
 -      `ada-indent-goto-label'.
 -      (ada-goto-stmt-start, ada-goto-next-non-ws):
 -      Optionally ignore goto labels.
 -      (ada-goto-next-word): Simplify.
 -      (ada-indent-newline-indent-conditional): Insert newline before
 -      trying to fix indentation; doc fix.
 -
 -2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
 -
 -      * calc/calc.el (calc-command-flags): Give it an initial value.
 -
 -2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * files.el (minibuffer-with-setup-hook):
 -      * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
 -      (artist-key-draw-continously, artist-key-do-continously-continously)
 -      (artist-key-set-point-continously, artist-mouse-draw-continously):
 -      Fix typos in docstrings.
 -
 -2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
 -
 -      * nxml/nxml-mode.el (nxml-extend-after-change-region):
 -      Never return t (Bug#3898).
 -
 -2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
 -
 -      * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
 -      can parse the output of the external commands (Bug#5279).
 -
 -2010-01-16  Jari Aalto  <jari.aalto@cante.net>
 -
 -      * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
 -
 -2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
 -
 -      * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
 -
 -      * startup.el (command-line): Remove unused --icon-type arg.
 -      Handle --display arg, passing it to command-line-1 (Bug#5392).
 -
 -2010-01-16  Mario Lang  <mlang@delysid.org>
 -
 -      * emacs-lisp/chart.el (chart-translate-namezone):
 -      * textmodes/artist.el (artist-compute-popup-menu-table):
 -      Remove duplicated words in doc-strings.
 -
 -2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
 -
 -      * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
 -      to mairix-search to suppress threading (Bug#5342).
 -
 -2010-01-15  Kenichi Handa  <handa@m17n.org>
 -
 -      * international/mule-cmds.el (canonicalize-coding-system-name):
 -      Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
 -
 -2010-01-15  Glenn Morris  <rgm@gnu.org>
 -
 -      * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
 -
 -      * wid-edit.el (widget-keymap): Doc fix.
 -
 -      * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
 -      former seems to be more widely accepted by various svn versions.
 -
 -2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * find-cmd.el (find-constituents):
 -      * vc-arch.el (vc-arch-root):
 -      * window.el (window-body-height, pop-up-frames):
 -      * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
 -      * progmodes/ada-stmt.el (ada-if):
 -      * progmodes/gdb-ui.el (gdb-jsonify-buffer):
 -      * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
 -      (ispell-encoding8-command, ispell-aspell-supports-utf8)
 -      (ispell-last-program-name, ispell-help): Fix typos in docstrings.
 -
 -      * progmodes/flymake.el (flymake-post-syntax-check):
 -      Fix typo in error message.
 -
 -2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
 -      which is always a string.  (Bug#5313)
 -
 -2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * progmodes/ada-xref.el (ada-default-prj-properties):
 -      Simplify previous change.
 -
 -2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
 -
 -      * progmodes/ada-xref.el (ada-default-prj-properties):
 -      Default ada_project_path to $ADA_PROJECT_PATH.
 -
 -2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
 -
 -      * progmodes/ada-mode.el (ada-create-keymap):
 -      Override `narrow-to-defun' with `ada-narrow-to-defun'.
 -
 -2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
 -
 -      * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
 -      (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
 -      (ada-get-current-indent, ada-imenu-generic-expression)
 -      (ada-which-function): Check for it.
 -
 -2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
 -
 -      * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
 -      (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
 -
 -2010-01-14  Glenn Morris  <rgm@gnu.org>
 -
 -      * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
 -
 -2010-01-14  Kenichi Handa  <handa@m17n.org>
 -
 -      * composite.el (auto-composition-mode): Make it a buffer local
 -      variable (permanent-local).
 -      (auto-composition-function): Set the default value to
 -      auto-compose-chars.
 -      (auto-composition-mode): Make it a simple function, not a minor mode.
 -      (global-auto-composition-mode): Likewise.
 -      (turn-on-auto-composition-if-enabled): Delete it.
 -
 -2010-01-13  Karl Fogel  <kfogel@red-bean.com>
 -
 -      * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
 -
 -2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * files.el (copy-directory): Compute target for recursive
 -      directories with identical names.  (Bug#5343)
 -
 -2010-01-12  Glenn Morris  <rgm@gnu.org>
 -
 -      * mail/emacsbug.el (report-emacs-bug-pretest-address):
 -      Set it to bug-gnu-emacs rather than emacs-pretest-bug.
 -
 -2010-01-11  Sam Steingold  <sds@gnu.org>
 -
 -      * imenu.el (imenu-default-create-index-function): Detect infinite
 -      loops caused by imenu-prev-index-position-function.
 -
 -2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * htmlfontify.el (htmlfontify-load-rgb-file)
 -      (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
 -      (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
 -      (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
 -      (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
 -      (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
 -      (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
 -      (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
 -      (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
 -      (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
 -      (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
 -      (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
 -      (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
 -      (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
 -      (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
 -      (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
 -      (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
 -      (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
 -      (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
 -      (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
 -      (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
 -      (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
 -      (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
 -      backslash-quoting from parentheses, etc.
 -
 -2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * progmodes/js.el: Autoload javascript-mode alias.
 -
 -2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
 -      (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
 -      (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
 -      (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
 -      Fix typos in docstrings.
 -      (ffap-url-regexp): Doc fix.
 -      (ffap-at-mouse): Fix typo in message.
 -
 -2010-01-11  Glenn Morris  <rgm@gnu.org>
 -
 -      * version.el (emacs-copyright): Set copyright year to 2010.
 -
 -2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * format.el (format-annotate-function): Only set
 -      write-region-post-annotation-function after running to-fn so as not to
 -      affect nested write-region calls (bug#5273).
 -
 -2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * Makefile.in (ELCFILES): Add wisent/python-wy.el and
 -      wisent/python.el.
 -
 -2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * man.el (Man-goto-section): Signal error if the section is not
 -      found (Bug#5317).
 -
 -2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
 -      URLs with a leading triple slash in the file: scheme.  (Bug#5345)
 -
 -2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * progmodes/compile.el: Don't treat compile-command as safe if
 -      compilation-read-command might be nil (Bug#4218).
 -
 -2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
 -
 -      * startup.el (command-line-1): Use orig-argi to check for ignored X and
 -      NS options.
 -
 -2010-01-08  Kenichi Handa  <handa@m17n.org>
 -
 -      * international/fontset.el (build-default-fontset-data):
 -      Exclude characters in scripts kana, hangul, han, or cjk-misc.
 -
 -2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
 -      to `create-file-buffer' as it expects, not just a buffer name.
 -      (vc-dir-mode): Include the buffer name in `list-buffers-directory',
 -      to help uniquify.  (Bug#3224)
 -
 -2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
 -
 -      * font-setting.el (font-setting-change-default-font): Use user-spec
 -      instead of name.
 -
 -2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
 -
 -2010-01-05  Tom Tromey  <tromey@redhat.com>
 -
 -      * progmodes/python.el (python-font-lock-keywords):
 -      Handle qualified decorators (Bug#881).
 -
 -2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
 -      in a lightweight checkout.
 -
 -2010-01-05  Kenichi Handa  <handa@m17n.org>
 -
 -      * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
 -
 -2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
 -
 -2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
 -      checkouts.  (Bug#618)
 -      (vc-bzr-log-view-mode): Also highlight the author.
 -      (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
 -      (vc-bzr-shelve-menu-map):
 -      (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
 -      (vc-bzr-shelve-apply): Make prompt more explicit.
 -
 -2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * net/browse-url.el (browse-url-encode-url): Don't escape commas.
 -      They are valid characters in URL paths (rfc3986), and at least
 -      Firefox does not understand the encoded version (Bug#3166).
 -
 -2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
 -
 -      * progmodes/octave-mod.el (octave-end-keywords)
 -      (octave-block-begin-or-end-regexp, octave-block-match-alist):
 -      Add "end" keyword (Bug#3061).
 -      (octave-end-as-array-index-p): New function.
 -      (calculate-octave-indent): Use it.
 -
 -2010-01-02  Karl Fogel  <kfogel@red-bean.com>
 -
 -      * bookmark.el: Consistently put the text property on the bookmark name.
 -      (bookmark-bmenu-marks-width): Bump back to 2, to include
 -      annotation marks.
 -      (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
 -      property on the bookmark name, instead of not putting it at all.
 -      (bookmark-bmenu-list): Fix where we put the text property.
 -
 -2010-01-02  Karl Fogel  <kfogel@red-bean.com>
 -
 -      * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
 -      for showing buffer modified state (as added in the previous change).
 -
 -2010-01-02  Karl Fogel  <kfogel@red-bean.com>
 -
 -      * bookmark.el: Show modified state of bookmark buffer more accurately.
 -      (bookmark-bmenu-list): Initialize buffer-modified-p properly.
 -      (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
 -      (with-buffer-modified-unmodified): New macro.
 -      (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
 -      (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
 -      Use new macro to preserve the buffer modified state.
 -
 -2010-01-02  Karl Fogel  <kfogel@red-bean.com>
 -
 -      * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
 -      (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
 -      (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
 -      (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
 -      (bookmark-bmenu-rename, bookmark-bmenu-locate)
 -      (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
 -      Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
 -
 -2010-01-02  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
 -      Make the lines in the generated doc string shorter.  (Bug#4668)
 -
 -2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
 -
 -      * net/rcirc.el: Add follow-link binding (Bug#4738).
 -
 -2010-01-02  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * Makefile.in (bzr-update): Rename from cvs-update.
 -      (cvs-update): New target for backward compatibility.
 -
 -      * makefile.w32-in (bzr-update): Rename from cvs-update.
 -      (cvs-update): New target for backward compatibility.
 -
 -2010-01-02  Karl Fogel  <kfogel@red-bean.com>
 -
 -      * bookmark.el: Remove gratuitous gratitude.
 -
 -2010-01-02  Karl Fogel  <kfogel@red-bean.com>
 -
 -      * bookmark.el (bookmark-bmenu-any-marks): New function
 -      (bookmark-bmenu-save): Clear buffer modification if no marks.
 -
 -2010-01-02  Karl Fogel  <kfogel@red-bean.com>
 -
 -      * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
 -      (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
 -      positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
 -      This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
 -
 -      http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
 -      From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
 -      To: emacs-devel {_AT_} gnu.org
 -      Subject: bookmark.el bug report
 -      Date: Mon, 28 Dec 2009 14:19:16 +0800
 -      Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
 -
 -2010-01-02  Karl Fogel  <kfogel@red-bean.com>
 -
 -      * bookmark.el: Improvements suggested by Drew Adams:
 -      (bookmark-bmenu-ensure-position): New name for
 -      `bookmark-bmenu-check-position'.  Just ensure the position,
 -      don't return any meaningful value.
 -      (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
 -      New constants.
 -
 -2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
 -      (bookmark-yank-point, bookmark-bmenu-check-position):
 -      Fix typos in docstrings.
 -      (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
 -      (bookmark-name-from-full-record, bookmark-get-position)
 -      (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
 -      (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
 -      Remove useless quoting of parenthesis, etc. in docstrings.
 -
 -      * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
 -      (ediff-append-custom-diff): Fix typo in error message.
 -      (ediff-meta-mark-equal-files): Fix typos in messages.
 -
 -      * mpc.el (mpc-playlist-delete): Fix typo in error messages.
 -
 -      * net/imap-hash.el (imap-hash-make): Doc fix.
 -      (imap-hash-test): Fix typo in error message; reflow docstring.
 -      (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
 -      (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
 -      (imap-hash-mailbox, imap-hash-user, imap-hash-password):
 -      Fix typos in docstrings.
 -      (imap-hash-open-connection): Fix typo in error message.
 -
 -      * play/gomoku.el (gomoku): Fix typos in docstring.
 -
 -      * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
 -      (gdb-jsonify-buffer): Fix typos in docstring.
 -      (gdb-goto-breakpoint): Fix typo in error message.
 -      ("Display Other Windows"): Fix typo in help message.
 -      (gdb-speedbar-expand-node): Fix typo in question.
 -
 -      * progmodes/idlw-help.el (idlwave-help-browse-url-available)
 -      (idlwave-html-system-help-location, idlwave-html-help-location)
 -      (idlwave-help-browser-function, idlwave-help-browser-generic-program)
 -      (idlwave-help-browser-generic-args, idlwave-help-directory)
 -      (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
 -      (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
 -      (idlwave-online-help, idlwave-help-html-link)
 -      (idlwave-help-show-help-frame, idlwave-help-assistant-command):
 -      Fix typos in docstrings.
 -      (idlwave-help-with-source, idlwave-help-find-routine-definition):
 -      Reflow docstrings.
 -      (idlwave-help-assistant-start): Fix typo in error message.
 -
 -      * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
 -      (octave-electric-space): Fix typos in docstrings.
 -
 -2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
 -
 -2010-01-01  Juri Linkov  <juri@jurta.org>
 -
 -      * comint.el (comint-input-ring-size): Make it a defcustom and
 -      increase the default to 500 (Bug#5148).
 -
 -2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
 -
 -      Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
 -      * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
 -      * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
 -
 -2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
 -
 -      Show working revision correctly for mercurial.
 -      * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
 -      hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
 -
 -2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      Declare some functions for the byte-compiler.
 -      * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
 -      (speedbar-timer-fn, speedbar-change-expand-button-char)
 -      (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
 -
 -2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
 -
 -      This changeset reverts GDB Graphical Interface to use annotations.
 -      * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
 -
 -2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      Make vc-dir work on subdirectories of the bzr root.
 -      * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
 -      Return file names relative to it.
 -      (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
 -      relative directory to vc-bzr-after-dir-status.
 -
 -2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
 -
 -      * font-lock.el (font-lock-refresh-defaults): New function, which
 -      can be used to let font-lock react to external changes in
 -      variables like font-lock-defaults and keywords.
 -      See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
 -
 -2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
 -
 -      * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
 -
 -2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      Supersede color.diff settings in git log (bug#5211).
 -
 -      * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
 -      escape chars in its output when the user has color.diff set to `always'.
 -      This fix works on git 1.4.2 and newer (released on 2006-08-13).
 -
 -2009-12-26  Kevin Ryde  <user42@zip.com.au>
 -
 -      * info-look.el (sh-mode): Look for coreutils new "Concept Index"
 -      node.  Keep previous "Index" name to work with past coreutils too.
 -
 -      * man.el (man): Revise docstring a bit to show -a and -l as
 -      examples.  Add -k description since support for it has otherwise
 -      been a secret.  (Further to bug#3717.)
 -      (Man-bgproc-sentinel): When "-k foo" produces no output show error
 -      "no matches" rather than "Can't find manpage", as the latter reads
 -      like -k was interpreted as a page name, which is not so.  (Bug#5431)
 -
 -2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
 -      switches.  Check also for //SUBDIRED// line.
 -
 -2009-12-25  Kenichi Handa  <handa@m17n.org>
 -
 -      * language/indian.el (devanagari-composable-pattern): Fix to
 -      handle ZWNJ and ZWJ.  Use it in composition-function-table for
 -      Devanagari.
 -      (malayalam-composable-pattern): Fix previous change.
 -
 -2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 -
 -      * ps-print.el (ps-face-attributes): It was not returning the
 -      attribute face for faces specified as string.  Reported by harven
 -      <harven@free.fr>.  (Bug#5254)
 -      (ps-print-version): New version 7.3.5.
 -
 -2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
 -
 -      * calendar/icalendar.el (icalendar--convert-tz-offset):
 -      Fix timezone names.
 -      (icalendar--convert-tz-offset): Fix the "last-day-problem".
 -      (icalendar--add-diary-entry): Remove the trailing blank that
 -      diary-make-entry inserts.
 -
 -2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      Make `file-expand-wildcards' work for remote files.
 -
 -      * files.el (file-expand-wildcards): In case of remote files, check
 -      only local file name part for wildcards.  Provide feature 'files
 -      and subfeature 'remote-wildcards.  (Bug#5198)
 -
 -      * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
 -      if there is already an established connection.
 -      (tramp-advice-file-expand-wildcards): Remove it.
 -
 -      * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
 -      (tramp-advice-file-expand-wildcards): Move from tramp.el.
 -      Activate advice for older GNU Emacs versions.  (Bug#5237)
 -
 -2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      Some doc fixes (more needed).
 -
 -      * find-cmd.el (find-constituents): Reflow docstring.
 -      (find-cmd, find-prune, find-command): Fix typos in docstrings.
 -      (find-generic): Doc fix.
 -
 -2009-12-17  Juri Linkov  <juri@jurta.org>
 -
 -      Fix regression from 23.1 to allow multiple modes in Local Variables.
 -
 -      * files.el (hack-local-variables-filter): While ignoring duplicates,
 -      don't take `mode' into account.
 -      (hack-local-variables-filter, hack-dir-local-variables):
 -      Don't remove duplicate `mode' from local-variables-alist (like `eval').
 -
 -2009-12-17  Juri Linkov  <juri@jurta.org>
 -
 -      Make `dired-diff' more safe.  (Bug#5225)
 -
 -      * dired-aux.el (dired-diff): Signal an error when `file' equals to
 -      `current' or when `file' is a directory of the `current' file.
 -
 -2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
 -
 -      * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
 -      unconditionally preloaded files.
 -
 -2009-12-16  Juri Linkov  <juri@jurta.org>
 -
 -      Revert to old 23.1 logic of using the file at the mark as default.
 -      * dired-aux.el (dired-diff): Use the file at the mark as default
 -      if it's not the same as the current file, and the target dir is
 -      the current dir or the mark is active.  Add the current file
 -      as the arg of `dired-dwim-target-defaults'.  Use the default file
 -      in the prompt.  (Bug#5225)
 -
 -2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
 -      (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
 -      (tramp-check-for-regexp): Check also, when an echoing shell stops
 -      to echo sent commands.
 -
 -2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * Makefile.in: Revert last change (Bug#5191).
 -
 -2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc-hg.el (vc-hg-print-log): Fix argument order.
 -      (vc-hg-working-revision): Make sure the command is executed in a
 -      known environment so that we can parse the output.  (Bug#4417)
 -
 -2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * progmodes/python.el (python-symbol-completions): Remove text
 -      properties from symbol string before calling python-send-receive.
 -
 -2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
 -
 -      * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
 -      when there are values for both file and line.  (Bug#5060)
 -
 -2009-12-14  Juri Linkov  <juri@jurta.org>
 -
 -      * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
 -      whitespace after the file name of the first line of unified format,
 -      because git-diff doesn't output whitespace and file modification time
 -      after the file name.
 -
 -2009-12-14  David Kastrup  <dak@gnu.org>
 -
 -      * info.el (Info-hide-cookies-node): Before hiding a cookie,
 -      check if it already has the `display' property added by
 -      `Info-display-images-node', and not put the `invisible' property
 -      in this case.
 -
 -2009-12-13  Glenn Morris  <rgm@gnu.org>
 -
 -      * mail/emacsbug.el (message-sort-headers): Define for compiler.
 -      (report-emacs-bug): In message-mode, sort manually before storing
 -      original report text.  (Bug#5178)
 -      Remove superfluous save-excursion.
 -
 -2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/dbus.el (dbus-property-handler): Filter lambda forms out
 -      when responding to "GetAll" properties.
 -
 -2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * simple.el (compose-mail): Remove mail-setup-with-from from
 -      customization checks.
 -
 -2009-12-12  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * arc-mode.el (archive-rar-summarize): Support Attribute fields in
 -      RAR archives created on Unix systems.
 -
 -2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
 -      the varalias that was accidentally removed by the 2009-11-19 change
 -      (bug#5186).
 -
 -2009-12-12  Kenichi Handa  <handa@m17n.org>
 -
 -      * language/indian.el (indian-compose-regexp): New function.
 -      (malayalam-composable-pattern): Fix the pattern.
 -      (composition-function-table): Set malayalam-composable-pattern for
 -      Malayalam characters.
 -
 -2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
 -      rather than down-mouse-1, based on follow-link conventions.
 -
 -      * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
 -      are compiled.
 -
 -2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
 -
 -      * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
 -      (verilog-vmm-statement-re, verilog-ovm-statement-re)
 -      (verilog-defun-level-not-generate-re, verilog-calculate-indent)
 -      (verilog-leap-to-head, verilog-backward-token):
 -      Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
 -
 -2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
 -
 -      * progmodes/verilog-mode.el (verilog-auto-lineup)
 -      (verilog-nameable-item-re): Cleanup user-visible spelling and
 -      documentation errors.  One reported by Gary Delp.
 -      (verilog-submit-bug-report): Mention bug tracking and CC co-author.
 -      (verilog-read-decls): Fix AUTOWIRE with types declared in a
 -      package, bug195.  Reported by Pierre-David Pfister.
 -
 -2009-12-11  Glenn Morris  <rgm@gnu.org>
 -
 -      * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
 -
 -      * mail/emacsbug.el: No longer require sendmail.
 -      Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
 -      (report-emacs-bug-orig-text): Doc fix.
 -      (report-emacs-bug-send-command, report-emacs-bug-send-hook):
 -      New local variables, to adapt to different mail-user-agents.
 -      (report-emacs-bug): Fix test for a gnu.org address.
 -      Use overlays for emphasis, since font-lock defeats 'face property.
 -      Pretest bugs also end up at the newsgroup these days.
 -      Stop message-mode stripping text properties.
 -      Set and use the new buffer-local variables.
 -      (report-emacs-bug-hook): Add doc-string.
 -      Remove some unnecessary save-excursions and simplify.
 -      Use the appropriate hook and send-command.
 -
 -      * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
 -      capitalization of some menu entries.
 -
 -2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 -
 -      * whitespace.el (whitespace-display-char-on):
 -      Ensure `buffer-display-table' is unique when two or more windows are
 -      visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
 -      New version 12.1.
 -
 -2009-12-10  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
 -      characters in the Attribute field.
 -
 -2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
 -
 -2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
 -      * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
 -      Disregard autoload-excludes.
 -      (update-directory-autoloads): Obey autoload-excludes here instead.
 -      But don't store its contents in no-autoloads and remove entries that
 -      refer to excludes files.
 -
 -2009-12-10  Glenn Morris  <rgm@gnu.org>
 -
 -      * mail/feedmail.el (top-level): Move require 'mail-utils to start.
 -      (expand-mail-aliases): Define for compiler.
 -
 -      * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
 -      Define for compiler.
 -
 -      * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
 -      appropriate for the mail-user-agent in use.
 -
 -2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
 -
 -2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      Fix short log parsing and fontification.
 -      * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
 -      Fix fontification for the [merge] label.
 -
 -2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
 -
 -      Drop some properties to avoid surprises.
 -      * htmlfontify.el (hfy-ignored-properties): New defcustom.
 -      (hfy-fontify-buffer): Use it.
 -
 -2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      Minor cleanup.
 -      * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
 -      Adjust all callers.
 -      (ffap-locate-file): Remove unused arg `dir-ok' and make other
 -      args compulsory.  Adjust callers.
 -      (ffap-gopher-at-point): Remove unused var `name'.
 -
 -      Get rid of the ELCFILES abomination.
 -      * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
 -      (compile-elcfiles): New phony target.
 -      (compile-main): Compute ELCFILES dynamically.
 -      (compile-clean): New target to remove left-over elc files.
 -      (compile, all): Use it.
 -
 -2009-12-09  Kenichi Handa  <handa@etlken>
 -
 -      * international/mule-diag.el: Require help-mode instead of help-fns.
 -
 -2009-12-09  Kenichi Handa  <handa@m17n.org>
 -
 -      * international/mule-cmds.el (ucs-names): Supply sufficiently
 -      fine ranges instead of pre-calculating accurate ranges.
 -      Iterate with bigger gc-cons-threshold.
 -
 -2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      Add support for stashing a snapshot of the current tree.
 -      * vc-git.el (vc-git-stash-snapshot): New function.
 -      (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
 -
 -2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
 -
 -      * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
 -      instead of `(beginning|end)-of-line'.
 -
 -2009-12-08  Glenn Morris  <rgm@gnu.org>
 -
 -      * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
 -
 -      * Makefile.in (ELCFILES): Regenerate.
 -
 -2009-12-07  Juri Linkov  <juri@jurta.org>
 -
 -      Don't lazy-highlight the comint output in history Isearch mode.
 -
 -      * comint.el (comint-history-isearch-search): Instead of
 -      `comint-line-beginning-position', use `comint-after-pmark-p'
 -      to check if point if before the process mark, and go to
 -      `process-mark' in this case.
 -
 -2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * textmodes/tex-mode.el (latex-complete)
 -      (latex-indent-or-complete): Remove.
 -      (latex-mode): Set completion-at-point-functions instead.
 -
 -      Provide a standard completion command and hook it into TAB.
 -      * minibuffer.el (completion-at-point-functions): New var.
 -      (completion-at-point): New command.
 -      * indent.el (indent-for-tab-command): Handle the `complete' behavior.
 -      * progmodes/python.el (python-mode-map): Use completion-at-point.
 -      (python-completion-at-point): Rename from python-partial-symbol and
 -      adjust for use in completion-at-point-functions.
 -      (python-mode): Setup completion-at-point for Python completion.
 -      * emacs-lisp/lisp.el (lisp-completion-at-point): New function
 -      extracted from lisp-complete-symbol.
 -      (lisp-complete-symbol): Use it.
 -      * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
 -      setup completion-at-point for Elisp completion.
 -      (emacs-lisp-mode-map, lisp-interaction-mode-map):
 -      Use completion-at-point.
 -      * ielm.el (ielm-map): Use completion-at-point.
 -      (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
 -      * progmodes/sym-comp.el: Move to...
 -      * obsolete/sym-comp.el: Move from progmodes.
 -
 -2009-12-07  Eli Zaretskii  <eliz@gnu.org>
 -
 -      Prevent save-buffer in Rmail buffers from using the coding-system
 -      of the current message, and from clobbering the encoding mnemonics
 -      in the mode line (Bug#4623).
 -
 -      * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
 -      flag, too.
 -      (rmail-message-encoding): New variable.
 -      (rmail-write-region-annotate): Record the encoding of the current
 -      message in rmail-message-encoding.
 -      (rmail-after-save-hook): New function, restores the encoding of
 -      the current message after the message collection is saved.
 -
 -2009-12-07  Juri Linkov  <juri@jurta.org>
 -
 -      * progmodes/grep.el (grep-read-files): Use `completing-read'
 -      instead of `read-string'.  Set its `collection' arg to
 -      `read-file-name-internal'.  (Bug#4301)
 -
 -2009-12-07  Juri Linkov  <juri@jurta.org>
 -
 -      Correctly restore original Isearch point.  (Bug#4994)
 -
 -      * isearch.el (isearch-mode): Move `isearch-push-state' after
 -      `(run-hooks 'isearch-mode-hook)'.
 -      (isearch-cancel): When `isearch-push-state-function' is defined,
 -      let-bind `isearch-cmds' to the first state (the last element of
 -      `isearch-cmds') and call `isearch-top-state' (it calls pop-state
 -      function and restores the original point).  Otherwise, move point
 -      to `isearch-opoint'.
 -
 -2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * international/mule-cmds.el (ucs-names): Weed out at compile-time the
 -      chars that don't have names, so the table can be built much faster at
 -      run-time.
 -
 -2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
 -      change.  Suggested by David Kastrup.
 -
 -      * simple.el (compose-mail): Check for incompatibilities and warn.
 -      (compose-mail-user-agent-warnings): New option.
 -
 -2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      Support showing a single log entry from vc-annotate.
 -      * vc.el (print-log): Add a new argument: START-REVISION.
 -      (vc-print-log-internal): Add a new optional argument and
 -      pass it to the backend.
 -      (vc-print-log, vc-print-root-log): Adjust callers.
 -      * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
 -      buffer already displays the requested log entry, use it.
 -      Otherwise display only the log entry in question.
 -      * vc-svn.el (vc-svn-print-log):
 -      * vc-mtn.el (vc-mtn-print-log):
 -      * vc-hg.el (vc-hg-state):
 -      * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
 -      (vc-git-show-log-entry): Return t on success.
 -      * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
 -      (vc-bzr-show-log-entry): Return t on success.
 -      * vc-rcs.el (vc-rcs-print-log):
 -      * vc-sccs.el (vc-sccs-print-log):
 -      * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
 -
 -2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
 -      Add menus to the meta mode.  (Bug#5043)
 -
 -2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
 -
 -      * ediff-init.el (ediff-event-key): Use event-to-character instead of
 -      event-key.
 -
 -      * ediff.el (ediff-buffers-internal): Add unwind-protect.
 -
 -2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
 -      Berbain <raphael.berbain@gmail.com>.
 -
 -      * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
 -      characters.
 -      (tramp-initial-end-of-output): New defconst.
 -      (tramp-methods, tramp-find-shell)
 -      (tramp-open-connection-setup-interactive-shell)
 -      (tramp-maybe-open-connection): Use it.
 -      (tramp-shell-prompt-pattern, tramp-wait-for-output):
 -      Handle existence of `#' and `$'.
 -
 -      * net/tramp-fish.el (tramp-fish-maybe-open-connection):
 -      Use `tramp-initial-end-of-output'.
 -
 -2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      Get the background mode from the terminal for xterm, and set
 -      faces accordingly.
 -      * term/xterm.el (xterm-set-background-mode): New function.
 -      (terminal-init-xterm): Use it in case xterm supports background
 -      color queries.  Recompute faces after getting the background
 -      color.
 -
 -2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
 -
 -      * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
 -      number comment back on its own line, for easier parsing.
 -
 -2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      Make it work for non-file buffers (bug#5102).
 -      * doc-view.el (doc-view-current-cache-dir):
 -      Use doc-view-buffer-file-name rather than buffer-file-name.
 -      (doc-view-mode): Use buffer-name when buffer-file-name is nil.
 -
 -2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
 -
 -      * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
 -      author field is too short.
 -
 -2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc-git.el (vc-git-print-log): Handle a limit argument.
 -      Display the short log in graph form and with labels.
 -      (vc-git-log-view-mode): Handle labels.
 -
 -      Make vc-revert change VC state from 'added to 'unregistered.
 -      * vc-git.el (vc-git-revert): Call git reset first.
 -
 -2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
 -
 -      * net/newst-backend.el, net/newst-plainview.el:
 -      * net/newst-reader.el, net/newst-ticker.el:
 -      * net/newst-treeview.el, net/newsticker.el:
 -      Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
 -
 -2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
 -
 -      * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
 -      Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
 -      (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
 -      Update annotation regexp.
 -
 -      * simple.el (beginning-of-visual-line): Constrain to field
 -      boundaries (Bug#5106).
 -
 -2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
 -
 -      * xml.el (xml-substitute-numeric-entities):
 -      Move newsticker--decode-numeric-entities in newst-backend.el to
 -      xml-substitute-numeric-entities in xml.el.  (Bug#5008)
 -      * net/newst-backend.el (newsticker--parse-generic-feed)
 -      (newsticker--parse-generic-items)
 -      (newsticker--decode-numeric-entities):
 -      Move newsticker--decode-numeric-entities in newst-backend.el to
 -      xml-substitute-numeric-entities in xml.el.  (Bug#5008)
 -
 -2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
 -
 -      * progmodes/js.el (js--js-not): Add null to the list of values.
 -
 -2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
 -
 -2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
 -
 -      * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
 -      delimiter if it is at the end of the current line.
 -      (bibtex-generate-url-list): Fix docstring.
 -
 -2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
 -      minibuffer's content with itself.
 -      Fold the confirm-after-completion case into the `confirm' case.
 -      (completion-pcm-word-delimiters): Add : and / to the delimiters.
 -
 -2009-12-06  Kevin Ryde  <user42@zip.com.au>
 -
 -      * ffap.el (ffap-rfc-path): Make this a defcustom since
 -      `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
 -
 -      * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
 -      manuals, similar to existing setup for help-mode.  (Bug#3913.)
 -
 -2009-12-05  Juri Linkov  <juri@jurta.org>
 -
 -      Save and restore dired buffer's point positions too.  (Bug#4880)
 -
 -      * dired.el (dired-save-positions): Return in the first element
 -      buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
 -      Doc fix.
 -      (dired-restore-positions): First restore buffer's position.
 -      While restoring window's positions, check if window still displays
 -      the original buffer.
 -
 -2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
 -      if possible.
 -
 -      * shell.el (shell): Require ansi-color (Bug#5113).
 -
 -      * ansi-color.el (ansi-color-for-comint-mode): Default to t.
 -
 -      * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
 -
 -2009-12-05  Alan Mackenzie  <acm@muc.de>
 -
 -      * progmodes/cc-mode.el (c-before-hack-hook)
 -      (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
 -      `c-file-style' to work again.  This reversion restores the current
 -      software to its state in Emacs 23.1.  (Bug#4146)
 -
 -2009-12-05  Kevin Ryde  <user42@zip.com.au>
 -
 -      * textmodes/sgml-mode.el (sgml-lexical-context):
 -      Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
 -
 -2009-12-05  Juri Linkov  <juri@jurta.org>
 -
 -      * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
 -      for virtual nodes.  (Bug#4147)
 -      (Info-find-node-2): Set `Info-current-node-virtual' to nil
 -      when moving from a virtual node.
 -      (Info-mode-menu): Add `Info-virtual-index' to the menu.
 -      (Info-mode): Add `Info-virtual-index' to the docstring.
 -
 -2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
 -
 -      * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
 -      track of the buffer position of the end of a BibTeX entry as this
 -      position may change during reformatting.
 -      (bibtex-format-entry): Remove whitespace before processing
 -      numerical fields so that we recognize the latter properly.
 -      (bibtex-reformat): Do not use push which changes the global value
 -      of bibtex-entry-format.
 -      (bibtex-field-braces-alist, bibtex-field-strings-alist)
 -      (bibtex-field-re-init): Replace only space characters by regexp
 -      for whitespace.
 -      (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
 -      (bibtex-initialize): Also update bibtex-strings.
 -      (bibtex-kill-field): Preserve white space at end of entry.
 -      (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
 -      Update bibtex-reference-keys.
 -
 -2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * minibuffer.el (completion-pcm--merge-try): Also consider placing
 -      point after a star, if that's the only place where modifications can
 -      make progress.
 -
 -2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
 -      in docstrings.
 -
 -2009-12-04  Juri Linkov  <juri@jurta.org>
 -
 -      * proced.el (proced): Call `(proced-update t)' to update process
 -      information instead of only running proced-post-display-hook.
 -      (proced-send-signal): Add a leading space to the buffer name
 -      " *Marked Processes*" to make this buffer ephemeral.
 -
 -2009-12-04  Juri Linkov  <juri@jurta.org>
 -
 -      * dired.el (dired-auto-revert-buffer): New defcustom.
 -      (dired-internal-noselect): Use it.
 -
 -2009-12-04  Juri Linkov  <juri@jurta.org>
 -
 -      Change roles of modes and functions in image-mode.el (Bug#5062).
 -
 -      * image-mode.el: Replace `image-mode-maybe' with `image-mode'
 -      in `auto-mode-alist'.
 -      (image-mode-previous-major-mode): New variable.
 -      (image-minor-mode-map): Rename from `image-mode-text-map'.
 -      (image-mode): Move graceful error-handling code from
 -      `image-minor-mode' to here.  On errors call `image-mode-as-text'.
 -      (image-minor-mode): Remove all image-handling code.
 -      Replace `image-mode-text-map' with `image-minor-mode-map'.
 -      Check for `image-type' in mode-line format string.
 -      (image-mode-maybe): Make obsolete with an alias to `image-mode'.
 -      (image-mode-as-text): New function with most code from
 -      `image-mode-maybe'.
 -      (image-toggle-display-text): Move code that removes image
 -      properties from `image-toggle-display' to here.
 -      (image-toggle-display-image): New function with code that adds
 -      image properties copied from `image-toggle-display'.
 -      (image-toggle-display): Remove most code with leaving only code
 -      that toggles between `image-mode-as-text' and `image-mode'.
 -
 -2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
 -
 -      * net/newst-treeview.el
 -      (newsticker--treeview-list-highlight-start): Restored call to
 -      save-excursion: Selected item was stuck.
 -      (newsticker--treeview-list-select): New.
 -      (newsticker--treeview-item-show-text)
 -      (newsticker--treeview-item-show)
 -      (newsticker--treeview-item-update): Use new
 -      newsticker-treeview-item-mode.
 -      (newsticker-treeview-update): Keep current item.
 -      (newsticker-treeview-next-new-or-immortal-item): Doc change.
 -      (newsticker--treeview-first-feed): Doc change.
 -      (newsticker-treeview-list-menu)
 -      (newsticker-treeview-item-menu): Add menu entries.
 -      (newsticker-treeview-item-mode): New.
 -
 -      * net/newst-backend.el (newsticker-customize): Delete other
 -      windows.
 -
 -2009-12-04  Sam Steingold  <sds@gnu.org>
 -
 -      * log-view.el (log-view-mode-map): "q" calls quit-window,
 -      like in all the other non-self-insert buffers.
 -
 -2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      Minor cleanup.
 -      * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
 -      key decoding rather than do it manually via last-input-event +
 -      ascii-character.
 -      (term-exec): Use delete-and-extract-region.
 -      (term-handle-ansi-terminal-messages): Remove unused var `end'.
 -      (term-process-pager): Remove unused var `i'.
 -      (term-dynamic-simple-complete): Make obsolete.
 -      (serial-update-config-menu): Remove unused vars `y' and `str'.
 -      (term-update-mode-line): Remove unused var `temp'.
 -
 -2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      Limit the number of log entries displayed by default.
 -      * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
 -      (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
 -      using a prefix argument.
 -
 -2009-12-03  Glenn Morris  <rgm@gnu.org>
 -
 -      * progmodes/idlwave.el (class): Restore still useful declaration.
 -
 -2009-12-03  Alan Mackenzie  <acm@muc.de>
 -
 -      Enhance `c-parse-state' to run efficiently in "brace deserts".
 -
 -      * progmodes/cc-mode.el (c-basic-common-init):
 -      Call c-state-cache-init.
 -      (c-neutralize-syntax-in-and-mark-CPP): Rename from
 -      c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
 -      placing `category' properties value 'c-cpp-delimiter at its boundaries.
 -
 -      * progmodes/cc-langs.el (c-before-font-lock-function):
 -      c-extend-and-neutralize-syntax-in-CPP has been renamed
 -      c-neutralize-syntax-in-and-mark-CPP.
 -
 -      * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
 -      with `category' properties now, not `syntax-table' ones.
 -
 -      * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
 -      enhanced (but slower) version of c-end-of-macro that won't land
 -      inside a literal or on another awkward character.
 -      (c-state-cache-too-far, c-state-cache-start)
 -      (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
 -      (c-state-nonlit-pos-cache-limit, c-state-point-min)
 -      (c-state-point-min-lit-type, c-state-point-min-lit-start)
 -      (c-state-min-scan-pos, c-state-brace-pair-desert)
 -      (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
 -      buffer local variables.
 -      (c-state-literal-at, c-state-lit-beg)
 -      (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
 -      (c-state-mark-point-min-literal, c-state-cache-top-lparen)
 -      (c-state-cache-top-paren, c-state-cache-after-top-paren)
 -      (c-get-cache-scan-pos, c-get-fallback-scan-pos)
 -      (c-state-balance-parens-backwards, c-parse-state-get-strategy)
 -      (c-renarrow-state-cache)
 -      (c-append-lower-brace-pair-to-state-cache)
 -      (c-state-push-any-brace-pair, c-append-to-state-cache)
 -      (c-remove-stale-state-cache)
 -      (c-remove-stale-state-cache-backwards, c-state-cache-init)
 -      (c-invalidate-state-cache-1, c-parse-state-1)
 -      (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
 -      (c-parse-state): Enhance and refactor.
 -      (c-debug-parse-state): Amend to deal with all the new variables.
 -
 -      * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
 -      (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
 -      modify to use category text properties rather than syntax-table ones.
 -      (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
 -      to switch off/on the syntactic paren property of C++ template
 -      delimiters using the category property.
 -      (c-with-<->-as-parens-suppressed): Macro to invoke code with
 -      template delims suppressed.
 -      (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
 -      New constant/macros which apply category properties to the start
 -      and end of preprocessor constructs.
 -      (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
 -      "comment out" the syntactic value of characters in preprocessor
 -      constructs.
 -      (c-with-cpps-commented-out)
 -      (c-with-all-but-one-cpps-commented-out): Macros to invoke code
 -      with characters in all or all but one preprocessor constructs
 -      "commented out".
 -
 -2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
 -
 -      * proced.el (proced-filter-alist): Use regexp-quote.
 -
 -2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      Cleanup.
 -      * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
 -      (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
 -      arguments.  Expand `default-directory'.
 -
 -      * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
 -      the benefit of returning an expanded localname.
 -      (tramp-tramp-file-p): Handle the case NAME is not a string.
 -
 -2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      Add support for bzr shelve/unshelve.
 -      * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
 -      (vc-bzr-extra-menu-map): New variables.
 -      (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
 -      (vc-bzr-shelve-apply, vc-bzr-shelve-list)
 -      (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
 -      (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
 -      (vc-bzr-dir-extra-headers): Display shelves.
 -
 -      * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
 -
 -2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * textmodes/bibtex.el (bibtex-complete-internal):
 -      Use completion-in-region.
 -      (bibtex-text-in-field-bounds): Remove unused var `opoint'.
 -
 -2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      Support applying stashes.  Improve UI.
 -      * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
 -      (vc-git-stash-apply, vc-git-stash-pop)
 -      (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
 -      (vc-git-stash-menu): New functions.
 -      (vc-git-stash-menu-map): New variable.
 -      (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
 -
 -2009-12-03  Glenn Morris  <rgm@gnu.org>
 -
 -      * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
 -      (vc-print-log-internal): Fix previous change.
 -      (vc-revert): Correct pluralization.
 -
 -2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * progmodes/make-mode.el (makefile-special-targets-list): No need for
 -      it to be an alist any more.
 -      (makefile-complete): Use completion-in-region.
 -
 -      * progmodes/octave-mod.el (octave-complete-symbol):
 -      Use completion-in-region.
 -
 -      Misc cleanup.
 -      * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
 -      (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
 -      (idlwave-complete-class): Don't quote lambda.
 -      (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
 -      (idlwave-mode-map): Move initialization into declaration.
 -      (idlwave-action-and-binding): Use backquotes.
 -      (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
 -      Simplify.
 -      (idlwave-is-pointer-dereference): Remove unused var `pos'.
 -      (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
 -      (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
 -      `parts', and `all-parts'.
 -      (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
 -      (idlwave-convert-xml-system-routine-info): Remove unused string
 -      `version-string'.
 -      (idlwave-display-user-catalog-widget): Use dolist.
 -      (idlwave-scanning-lib): Declare dynamically-scoped var.
 -      (idlwave-scan-library-catalogs): Remove unused var `flags'.
 -      (completion-highlight-first-word-only): Declare to silence bytecomp.
 -      (idlwave-popup-select): Tighten scope of `resp'.
 -      (idlwave-find-struct-tag): Remove unused var `beg'.
 -      (idlwave-after-load-rinfo-hook): Declare.
 -      (idlwave-sintern-class-info): Remove unused var `taglist'.
 -      (idlwave-find-class-definition): Remove unused var `list'.
 -      (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
 -      (idlwave-what-module-find-class): Remove unused var `classes'.
 -
 -2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * progmodes/pascal.el: Require CL when compiling (for lexical-let).
 -
 -2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
 -      buffers visited.  Remove redundant current-buffer-saving.
 -
 -2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      Use completion-in-buffer and remove uses of dynamic scoping.
 -      * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
 -      (pascal-buffer-to-use, pascal-flag): Don't declare.
 -      (pascal-func-completion, pascal-type-completion, pascal-var-completion)
 -      (pascal-get-completion-decl, pascal-keyword-completion):
 -      Add `pascal-str' argument, save-excursion,
 -      return the found completions, and don't filter with pascal-pred.
 -      (pascal-completion-cache): New var.
 -      (pascal-completion): Don't switch buffer any more (it was never
 -      necessary).  Don't save-excursion any more (it's done by the called
 -      subroutines).  Use a cache to avoid redundant computations.
 -      Use complete-with-action rather than pascal-completion-response and
 -      let it apply the predicate as well.
 -      (pascal-complete-word): Use completion-in-buffer when
 -      pascal-toggle-completions is nil.
 -      (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
 -      not used any more.
 -      (pascal-comp-defun): Don't change buffer any more.
 -      Use complete-with-action rather than pascal-completion-response and
 -      let it apply the predicate as well.
 -      (pascal-goto-defun): Change buffer before calling pascal-comp-defun
 -      when neded.
 -
 -2009-12-02  Kenichi Handa  <handa@m17n.org>
 -
 -      * language/indian.el: Include ZWJ and ZWNJ in the patterns to
 -      shape for all Indic scripts.
 -
 -2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      Use completion-in-buffer.
 -      * wid-edit.el (widget-field-text-end): New function.
 -      (widget-field-value-get): Use it.
 -      (widget-string-complete, widget-file-complete)
 -      (widget-color-complete): Use it and completion-in-region.
 -      (widget-complete): Don't narrow the buffer.
 -
 -2009-12-02  Glenn Morris  <rgm@gnu.org>
 -
 -      * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
 -      (rmail-select-summary): Use rmail-pop-to-buffer.
 -      * mail/rmailsum.el: Replace all pop-to-buffer calls with
 -      rmail-pop-to-buffer, to prevent horizontal splits.
 -
 -      * calendar/diary-lib.el (diary-list-entries): Replace superfluous
 -      save-excursion with save-current-buffer.
 -      Widen before searching.  (Bug#5093)
 -      (diary-list-sexp-entries): Remove superfluous save-excursion.
 -
 -2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
 -
 -      * woman.el (woman-make-bufname): Handle man-pages with "." in the
 -      name.  (Bug#5038)
 -
 -2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
 -
 -      * ido.el (ido-file-internal): Handle filenames at point that do
 -      not have a directory part.  (Bug#5049)
 -
 -2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
 -      (mpc-songs-jump-to, mpc-resume): Doc fixes.
 -
 -2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
 -
 -      * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
 -      (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
 -      any more.
 -
 -2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * comint.el (comint-insert-input): Ignore clicks to the right of
 -      the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
 -
 -      * vc.el (vc-print-log-internal): Don't wait for the process to
 -      terminate before setting up the major mode.
 -
 -      * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
 -      in case.
 -
 -      * pcomplete.el (pcomplete-std-complete): Don't try to complete past
 -      the last element.
 -
 -      * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
 -
 -2009-12-01  Glenn Morris  <rgm@gnu.org>
 -
 -      * window.el (window--display-buffer-2): Fix previous changes.
 -
 -2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
 -
 -2009-12-01  Glenn Morris  <rgm@gnu.org>
 -
 -      * Makefile.in (ELCFILES): Add mpc.elc.
 -
 -2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * mpc.el: New file.
 -
 -2009-12-01  Glenn Morris  <rgm@gnu.org>
 -
 -      * window.el (window-to-use): Define for compiler.
 -
 -      * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
 -      consistent with others (no final period).
 -
 -      * mail/rmailmm.el (rmail-mime-handle): Doc fix.
 -      (rmail-mime-show): Downcase the encoding.  (Bug#5070)
 -
 -2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      Make vc-print-log buttons work.
 -      * log-view.el (log-view-mode-map): Inherit from widget-keymap.
 -
 -2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
 -
 -      * savehist.el (savehist-autosave-interval): Allow setting to nil
 -      through customize.  (Bug#5056)
 -
 -2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      Fix references to jit-lock properties.
 -      * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
 -      Refer to jit-lock-defer-multiline, not jit-lock-multiline.
 -      (perl-font-lock-special-syntactic-constructs):
 -      Quote jit-lock-defer-multiline property.
 -
 -2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc-git.el (vc-git-registered): Call vc-git-root only once.
 -
 -2009-11-30  Juri Linkov  <juri@jurta.org>
 -
 -      * misearch.el (multi-isearch-search-fun): Always provide a non-nil
 -      value `buffer' of `multi-isearch-next-buffer-current-function'.
 -      Use `(current-buffer)' when `buffer' is nil.
 -      (multi-isearch-next-buffer-from-list): Don't fallback to
 -      `(current-buffer)' when `buffer' is nil.  (Bug#4947)
 -
 -2009-11-30  Juri Linkov  <juri@jurta.org>
 -
 -      * misearch.el (multi-isearch-read-buffers): Move canonicalization
 -      of buffers with `get-buffer' to `multi-isearch-buffers'.
 -      (multi-isearch-buffers, multi-isearch-buffers-regexp):
 -      Canonicalize BUFFERS with `get-buffer'.  Doc fix.
 -      (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
 -      FILES with `expand-file-name' converting relative file names
 -      to absolute.  Doc fix.  (Bug#4727)
 -
 -2009-11-30  Juri Linkov  <juri@jurta.org>
 -
 -      * misearch.el (multi-isearch-read-buffers)
 -      (multi-isearch-read-matching-buffers): New functions.
 -      (multi-isearch-buffers, multi-isearch-buffers-regexp):
 -      Use them in the `interactive' spec.  Doc fix.
 -      (multi-isearch-read-files, multi-isearch-read-matching-files):
 -      New functions.
 -      (multi-isearch-files, multi-isearch-files-regexp):
 -      Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
 -
 -2009-11-30  Juri Linkov  <juri@jurta.org>
 -
 -      * doc-view.el (doc-view-continuous):
 -      Rename from `doc-view-continuous-mode'.
 -      (doc-view-menu): Move "Toggle display" to the top.
 -      Add submenu "Continuous" with radio buttons "Off"/"On"
 -      and "Save as Default".
 -      (doc-view-scroll-up-or-next-page)
 -      (doc-view-scroll-down-or-previous-page)
 -      (doc-view-next-line-or-next-page)
 -      (doc-view-previous-line-or-previous-page):
 -      Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
 -
 -2009-11-30  Juri Linkov  <juri@jurta.org>
 -
 -      * comint.el (comint-mode-map): Rebind `M-r' from
 -      `comint-previous-matching-input' to
 -      `comint-history-isearch-backward-regexp'.
 -      Unbind `M-s' to allow global key binding `M-s'.
 -      Add menu items for `comint-history-isearch-backward' and
 -      `comint-history-isearch-backward-regexp'.  (Bug#3746)
 -
 -2009-11-30  Juri Linkov  <juri@jurta.org>
 -
 -      * replace.el (perform-replace): Let-bind recenter-last-op to nil.
 -      For def=recenter, replace `recenter' with `recenter-top-bottom'
 -      that is called with `this-command' and `last-command' let-bound
 -      to `recenter-top-bottom'.  When the last `def' was not `recenter',
 -      set `recenter-last-op' to nil.  (Bug#4981)
 -
 -2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      Minor cleanup and simplification.
 -      * filecache.el (file-cache-add-directory)
 -      (file-cache-add-directory-recursively)
 -      (file-cache-add-from-file-cache-buffer)
 -      (file-cache-delete-file-regexp, file-cache-delete-directory)
 -      (file-cache-files-matching-internal, file-cache-display): Use dolist.
 -      (file-cache-temp-minibuffer-message): Delete function.
 -      (file-cache-minibuffer-complete): Use minibuffer-message instead.
 -
 -      * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
 -      Don't signal an error when bumping into EOB in tr, s, or y.
 -
 -2009-11-29  Juri Linkov  <juri@jurta.org>
 -
 -      * startup.el (fancy-about-text): Fix wording of Guided Tour.
 -      (Bug#4960)
 -
 -      * descr-text.el (describe-char-unidata-list): Use lowercase name
 -      for "Unicode name" like in other tags.
 -
 -2009-11-29  Juri Linkov  <juri@jurta.org>
 -
 -      * ediff-util.el (ediff-minibuffer-with-setup-hook):
 -      New compatibility macro.
 -      (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
 -
 -2009-11-29  Juri Linkov  <juri@jurta.org>
 -
 -      Add defcustom to define the cycling order of `recenter-top-bottom'.
 -      (Bug#4981)
 -
 -      * window.el (recenter-last-op): Doc fix.
 -      (recenter-positions): New defcustom.
 -      (recenter-top-bottom): Rewrite to use `recenter-positions'.
 -      (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
 -
 -2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      Improve integration of Tramp and ange-ftp in eshell.
 -
 -      * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
 -      (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
 -      (eshell/sudo): Flatten args.  Let-bind `default-directory'.
 -
 -      * eshell/esh-util.el (top): Require also Tramp when compiling.
 -      (eshell-directory-files-and-attributes): Check for FTP remote
 -      connection.
 -      (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
 -      `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
 -      (eshell-file-attributes): Handle ".".  Return `entry'.
 -
 -      * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
 -      (ange-ftp-directory-files-and-attributes)
 -      (ange-ftp-real-directory-files-and-attributes): New defuns.
 -
 -      * net/tramp.el (tramp-maybe-open-connection): Open the remote
 -      shell with "exec" when possible.  This prevents trailing prompts
 -      in `start-file-process'.
 -
 -2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      Try and remove assumptions about point-min==1.
 -      * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
 -      (rng-compute-mode-line-string): Show the validation percentage in
 -      terms of the narrowed text, not the widened text.
 -      (rng-do-some-validation): Don't catch internal errors when debugging.
 -      (rng-first-error): Simplify.
 -      (rng-after-change-function): Remove work around.  AFAIK the bug has
 -      been fixed a while ago.
 -
 -      * image-mode.el (image-minor-mode): Exit more gracefully when the image
 -      cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
 -
 -      * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
 -
 -      * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
 -      `cd' doesn't always do it for us (bug#5067).
 -
 -      * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
 -      on 2009-10-25 as part of some other change (bug#5067).
 -
 -2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
 -      `suspicious'.
 -      (byte-compile-warnings): Use byte-compile-warning-types.
 -      (byte-compile-save-excursion): Warn about use of set-buffer right
 -      after save-excursion.
 -
 -      * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
 -      the excursion as well.
 -
 -2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
 -      providing a Tramp related implementation of "su" and "sudo".
 -      (eshell-unix-initialize): Add "su" and "sudo".
 -
 -2009-11-27  Daiki Ueno  <ueno@unixuser.org>
 -
 -      * net/socks.el (socks-send-command): Convert binary request to
 -      unibyte before sending.  This fixes mishandling of some port
 -      numbers such as 129.
 -
 -2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * help.el (describe-bindings-internal): Remove `interactive'.
 -
 -      * man.el (Man-completion-table): Trim a terminating "(".
 -      Remove the space between name page a section.
 -      Add the command's description on the `help-echo' property.
 -      Remove `process-connection-type' binding since it's unused by
 -      call-process.
 -      Provide completion for the "<section> <name>" format as well.
 -      (Man-default-man-entry): Remove spurious var shadowing the argument.
 -
 -2009-11-26  Kevin Ryde  <user42@zip.com.au>
 -
 -      * log-view.el: Add "Keywords: tools", since its other keywords
 -      aren't in finder-known-keywords, and following vc.el.
 -
 -      * sha1.el (sha1-string-external): default-directory "/" in case
 -      otherwise non-existent.  process-connection-type pipe for touch of
 -      efficiency recommended by elisp manual.  (An aside in Bug#3911.)
 -
 -2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      Misc coding convention cleanups.
 -      * htmlfontify.el (hfy-init-kludge-hook): Rename from
 -      hfy-init-kludge-hooks.
 -      (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
 -      (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
 -      (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
 -      and push.
 -      (hfy-slant, hfy-weight): Use tables rather than code.
 -      (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
 -      (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
 -      (hfy-face-attr-for-class): Initialize `face-spec' directly.
 -      (hfy-face-to-css): Remove `nconc' with single arg.
 -      (hfy-p-to-face-lennart): Use `or'.
 -      (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
 -      (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
 -      (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
 -      (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
 -      (hfy-force-fontification): Use run-hooks.
 -
 -2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
 -
 -      Various minor fixes.
 -      * htmlfontify.el (hfy-default-header): Add toggle_invis since
 -      Javascript belongs in the header, not the body.
 -      (hfy-javascript): Remove.
 -      (hfy-fontify-buffer): Don't insert it any more.
 -      (hfy-face-at): Handle (face0 face1 face2) style face properties.
 -      Fix bug in invis handling when there were no invis props in a chunk.
 -
 -2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
 -
 -2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * finder.el (finder-mode-map): Add a menu.
 -
 -2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
 -
 -      * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
 -      "unsigned" structs.
 -
 -      (verilog-leap-to-head, verilog-backward-token): Handle "disable
 -      fork" statement better.
 -
 -2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
 -
 -      * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
 -      (verilog-delete-auto, verilog-delete-empty-auto-pair)
 -      (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
 -      Reported by Clay Douglass.
 -
 -      (verilog-auto-inst, verilog-auto-star-safe)
 -      (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
 -      Fix removing "// Interfaces" when saving .* expansions.
 -      Reported by Pierre-David Pfister.
 -
 -2009-11-26  Glenn Morris  <rgm@gnu.org>
 -
 -      * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
 -      the scope.
 -
 -2009-11-25  Johan Bockgård  <bojohan@gnu.org>
 -
 -      * vc-annotate.el (vc-annotate-revision-previous-to-line):
 -      Really use previous revision.
 -
 -2009-11-25  Kevin Ryde  <user42@zip.com.au>
 -
 -      * man.el (Man-completion-table): default-directory "/" in case
 -      doesn't otherwise exist.  process-environment COLUMNS=999 so as
 -      not to truncate long names.  process-connection-type pipe to avoid
 -      any chance of hitting the pseudo-tty TIOCGWINSZ.
 -      (man): completion-ignore-case t for friendliness and since man
 -      itself is case-insensitive on the command line.
 -      Further to Bug#3717.
 -
 -      * arc-mode.el: Add "Keywords: files", so the details in its
 -      commentary can be reached from finder-by-keyword.
 -      * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
 -      editing mode, but it's comms related and sgml-mode.el has "comm"
 -      on that basis too.
 -      * textmodes/bibtex-style.el: Add "Keywords: tex".
 -      * international/isearch-x.el, international/ja-dic-cnv.el:
 -      * international/ja-dic-utl.el, international/kkc.el:
 -      Add "Keywords: i18n", so they can be reached from finder-by-keyword.
 -
 -2009-11-25  Juri Linkov  <juri@jurta.org>
 -
 -      * man.el (Man-completion-table): Modify regexp to include
 -      section names to completion strings.  (Bug#3717)
 -
 -2009-11-25  Juri Linkov  <juri@jurta.org>
 -
 -      Search recursively in gzipped files.  (Bug#4982)
 -
 -      * progmodes/grep.el (grep-highlight-matches): Add new options
 -      `always' and `auto'.  Doc fix.
 -      (grep-process-setup): Check `grep-highlight-matches' for
 -      `auto-detect' to determine the need to compute grep defaults.
 -      Move Windows/DOS specific --colors settings handling
 -      to `grep-compute-defaults'.  Check `grep-highlight-matches'
 -      to get the value of "--color=".
 -      (grep-compute-defaults): Compute `grep-highlight-matches' when it
 -      has the value `auto-detect'.  Move Windows/DOS specific settings
 -      from `grep-process-setup'.
 -      (zrgrep): New command with alias `rzgrep'.
 -
 -2009-11-25  Juri Linkov  <juri@jurta.org>
 -
 -      * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
 -      to nil instead of switching off view-mode.  (Bug#4896)
 -
 -2009-11-25  Juri Linkov  <juri@jurta.org>
 -
 -      Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
 -
 -      * mwheel.el (mwheel-scroll-up-function)
 -      (mwheel-scroll-down-function): New defvars.
 -      (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
 -      `scroll-up', and `mwheel-scroll-down-function' instead of
 -      `scroll-down'.
 -
 -      * doc-view.el (doc-view-scroll-up-or-next-page)
 -      (doc-view-scroll-down-or-previous-page): Add optional ARG.
 -      Use this ARG in the call to image-scroll-up/image-scroll-down.
 -      Change `interactive' spec to "P".  Goto next/previous page only
 -      when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
 -      SPC/DEL case).  Doc fix.
 -      (doc-view-next-line-or-next-page)
 -      (doc-view-previous-line-or-previous-page): Rename arg to ARG
 -      for consistency.
 -      (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
 -      `doc-view-scroll-up-or-next-page', and buffer-local
 -      `mwheel-scroll-down-function' to
 -      `doc-view-scroll-down-or-previous-page'.
 -
 -2009-11-25  Juri Linkov  <juri@jurta.org>
 -
 -      Provide additional default values (directories at other Dired
 -      windows) via M-n in the minibuffer of some Dired commands.
 -
 -      * dired-aux.el (dired-diff, dired-compare-directories)
 -      (dired-do-create-files): Use `dired-dwim-target-defaults' to set
 -      `minibuffer-default' in `minibuffer-with-setup-hook'.
 -      (dired-dwim-target-directory): Find a window that displays Dired
 -      buffer instead of failing when the next window is not Dired.
 -      Use `get-window-with-predicate' to find for the next Dired window.
 -      (dired-dwim-target-defaults): New function.
 -
 -      * ediff-util.el (ediff-read-file-name):
 -      Use `dired-dwim-target-defaults' to set `minibuffer-default'
 -      in `minibuffer-with-setup-hook'.
 -
 -2009-11-25  Juri Linkov  <juri@jurta.org>
 -
 -      Provide additional default values (file name at point or at the
 -      current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
 -
 -      * minibuffer.el (read-file-name-defaults): New function.
 -      (read-file-name): Reset `minibuffer-default' to nil when
 -      it duplicates initial input `insdef'.
 -      Bind `minibuffer-default-add-function' to lambda that
 -      calls `read-file-name-defaults' in `minibuffer-selected-window'.
 -      (minibuffer-insert-file-name-at-point): New command.
 -
 -      * files.el (file-name-at-point-functions): New defcustom.
 -      (find-file-default): Remove defvar.
 -      (find-file-read-args): Don't use `find-file-default'.
 -      Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
 -      to `read-file-name'.
 -      (find-file-literally): Use `read-file-name' with
 -      `confirm-nonexistent-file-or-buffer'.
 -
 -      * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
 -
 -      * dired.el (dired-read-dir-and-switches):
 -      Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
 -      to `read-file-name'.
 -      (dired-file-name-at-point): New function.
 -      (dired-mode): Add hook `dired-file-name-at-point' to
 -      `file-name-at-point-functions'.
 -
 -2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      Really make the *Completions* window soft-dedicated (bug#5030).
 -      * window.el (window--display-buffer-2): Add `dedicated' argument.
 -      (display-buffer): Pass it when needed so the dedicated flag is set
 -      after calling set-window-buffer, which would otherwise reset it.
 -
 -2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * progmodes/meta-mode.el (meta-complete-symbol):
 -      * progmodes/etags.el (complete-tag):
 -      * mail/mailabbrev.el (mail-abbrev-complete-alias):
 -      Use completion-in-region.
 -
 -      * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
 -      (dabbrev-completion): Use completion-in-region.
 -      (dabbrev--abbrev-at-point): Simplify regexp.
 -
 -      * abbrev.el (abbrev--before-point): Use word-motion functions
 -      if :regexp is not specified (bug#5031).
 -
 -      * subr.el (string-prefix-p): New function.
 -
 -      * man.el (Man-completion-cache): New var.
 -      (Man-completion-table): Use it.
 -
 -      * vc.el (vc-print-log-internal): Make `limit' optional for better
 -      compatibility (e.g. with vc-annotate.el).
 -
 -2009-11-24  Kevin Ryde  <user42@zip.com.au>
 -
 -      * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
 -      Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
 -
 -      * emacs-lisp/elint.el (elint-add-required-env): Better error message
 -      when .el source file not found or other error.
 -
 -2009-11-24  Markus Triska  <markus.triska@gmx.at>
 -
 -      * linum.el (linum-update-window): Ignore intangible (bug#4996).
 -
 -2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      Handle the [back] button properly (bug#4979).
 -      * descr-text.el (describe-text-properties): Add a `buffer' argument.
 -      Use help-setup-xref, help-buffer, and with-help-window.
 -      (describe-char): Add `buffer' argument.
 -      Pass proper command to help-setup-xref.  Don't meddle with
 -      help-xref-stack-item directly.
 -      (describe-text-category): Use with-help-window and help-buffer.
 -
 -      * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
 -      for the displayed buffer (bug#4887).
 -
 -      * man.el (Man-completion-table): New function.
 -      (man): Use it.
 -
 -2009-11-24  David Reitter  <david.reitter@gmail.com>
 -
 -      * vc-git.el (vc-git-registered): Use checkout directory (where
 -      .git is) rather than the file's directory and a relative path spec
 -      to work around a bug in git.
 -
 -2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      Improve handling of processes on remote hosts.
 -
 -      * eshell/esh-util.el (eshell-path-env): New defvar.
 -      (eshell-parse-colon-path): New defun.
 -      (eshell-file-attributes): Use `eshell-parse-colon-path'.
 -
 -      * eshell/esh-ext.el (eshell-search-path):
 -      Use `eshell-parse-colon-path'.
 -      (eshell-remote-command): Remove argument HANDLER.
 -      (eshell-external-command): Check for FTP remote connection.
 -
 -      * eshell/esh-proc.el (eshell-gather-process-output):
 -      Use `file-truename', in order to start also symlinked files.
 -      Apply `start-file-process' instead of `start-process'.
 -      Shorten `command' to the local file name part.
 -
 -      * eshell/em-cmpl.el (eshell-complete-commands-list):
 -      Use `eshell-parse-colon-path'.
 -
 -      * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
 -
 -      * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
 -      to `eshell-directory-change-hook'.
 -
 -2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
 -
 -      * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
 -      because it could be enabled automatically if view-read-only is non-nil.
 -
 -2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
 -
 -      * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
 -      made on 2009-11-22.
 -
 -2009-11-24  Glenn Morris  <rgm@gnu.org>
 -
 -      * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
 -      deleted variable bookmark-bmenu-bookmark-column.
 -
 -2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
 -
 -2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
 -
 -      * net/browse-url.el (browse-url-filename-alist): On Windows, add
 -      two slashes to the "file:" prefix.
 -      (browse-url-file-url): De-munge Cygwin filenames before passing
 -      them to Windows browser.
 -      (browse-url-default-windows-browser): Use call-process.
 -
 -2009-11-23  Juri Linkov  <juri@jurta.org>
 -
 -      Implement DocView Continuous mode.  (Bug#4896)
 -      * doc-view.el (doc-view-continuous-mode): New defcustom.
 -      (doc-view-mode-map): Bind C-n/<down> to
 -      `doc-view-next-line-or-next-page', C-p/<up> to
 -      `doc-view-previous-line-or-previous-page'.
 -      (doc-view-next-line-or-next-page)
 -      (doc-view-previous-line-or-previous-page): New commands.
 -
 -2009-11-23  Juri Linkov  <juri@jurta.org>
 -
 -      Implement Isearch in comint input history.  (Bug#3746)
 -      * comint.el (comint-mode): Add `comint-history-isearch-setup' to
 -      `isearch-mode-hook'.
 -      (comint-history-isearch): New defcustom.
 -      (comint-history-isearch-backward)
 -      (comint-history-isearch-backward-regexp): New commands.
 -      (comint-history-isearch-message-overlay): New buffer-local variable.
 -      (comint-history-isearch-setup, comint-history-isearch-end)
 -      (comint-goto-input, comint-history-isearch-search)
 -      (comint-history-isearch-message, comint-history-isearch-wrap)
 -      (comint-history-isearch-push-state)
 -      (comint-history-isearch-pop-state): New functions.
 -
 -2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
 -      return.
 -      (tramp-handle-make-symbolic-link)
 -      (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
 -      Quote file names.
 -      (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
 -      (tramp-handle-process-file): Use it.
 -
 -2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * window.el (move-to-window-line-last-op): Remove.
 -      (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
 -
 -2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
 -
 -      Make M-r mirror the new cycling behavior of C-l.
 -      * window.el (move-to-window-line-last-op): New var.
 -      (move-to-window-line-top-bottom): New command.
 -      (global-map): Bind M-r move-to-window-line-top-bottom.
 -
 -2009-11-23  Sven Joachim  <svenjoac@gmx.de>
 -
 -      * dired-x.el (dired-guess-shell-alist-default):
 -      Support xz format.  (Bug#4953)
 -
 -2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
 -
 -      * emulation/viper-cmd.el: Use viper-last-command-char instead of
 -      last-command-char/last-command-event.
 -      (viper-prefix-arg-value): Do correct conversion of event-char for
 -      XEmacs.
 -
 -      * emulation/viper-util.el, emulation/viper.el:
 -      Use viper-last-command-char instead of
 -      last-command-char/last-command-event.
 -
 -      * ediff-init.el, ediff-mult.el, ediff-util.el:
 -      Replace last-command-char and last-command-event
 -      with (ediff-last-command-char) everywhere.
 -
 -      * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
 -      created in fundamental mode.
 -
 -      * ediff.el (ediff-version): Revert the change of interactive-p to
 -      called-interactively-p.
 -
 -2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
 -
 -      * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
 -      generation from word-movement command names.
 -
 -2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
 -
 -      * cus-start.el (all): Add native condition for font-use-system-font.
 -
 -2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
 -
 -      * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
 -      Correct the patch from 2009-11-18.  (Bug#3910)
 -
 -2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
 -
 -      * progmodes/subword.el: Rename from lisp/subword.el.
 -
 -      * subword.el: Rename to progmodes/subword.el.
 -
 -      * Makefile.in (ELCFILES): Adapt to subword.el move.
 -
 -2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
 -          Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
 -      (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
 -      (bookmark-bmenu-show-filenames): Use push.
 -      (bookmark-bmenu-hide-filenames): Use local var instead of
 -      bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
 -      (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
 -      (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
 -      filenames now that the bookmark names are always available.
 -
 -2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
 -      (bookmark-search-pattern): Move and leave unbound.
 -      (bookmark-bmenu-mode-map): Change binding.
 -      (bookmark-read-search-input): Simplify.
 -      Don't use text-char-description.  Don't error on non-char events.
 -      (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
 -      only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
 -      (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
 -      Use a local var for the timer.
 -      (bookmark-bmenu-cancel-search): Remove by folding into the only caller
 -      (i.e. bookmark-bmenu-search).
 -
 -2009-11-21  Glenn Morris  <rgm@gnu.org>
 -
 -      * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
 -
 -2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
 -
 -      * net/browse-url.el (browse-url-default-windows-browser):
 -      Use cygstart for cygwin.
 -
 -2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
 -
 -      * bookmark.el: Formatting and doc fixes only:
 -      (bookmark-search-delay): Shorten doc string to fit in 80 columns.
 -      (bookmark-bmenu-search): Wrap to fit within 80 columns.
 -      Minor grammar and punctuation fixes in doc string.
 -      (bookmark-read-search-input): Adjust to fit within 80 columns.
 -
 -2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
 -
 -      * progmodes/cc-cmds.el (c-forward-into-nomenclature)
 -      (c-backward-into-nomenclature): Adapt to subword renaming.
 -
 -      * subword.el (subword-forward, subword-backward, subword-mark)
 -      (subword-kill, subword-backward-kill, subword-transpose)
 -      (subword-downcase, subword-upcase, subword-capitalize)
 -      (subword-forward-internal, subword-backward-internal):
 -      Rename from forward-subword, backward-subword, mark-subword,
 -      kill-subword, backward-kill-subword, transpose-subwords,
 -      downcase-subword, upcase-subword, capitalize-subword,
 -      forward-subword-internal, backward-subword-internal.
 -
 -2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
 -
 -      * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
 -      New options.
 -      (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
 -      New vars.
 -      (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
 -      (bookmark-bmenu-filter-alist-by-regexp)
 -      (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
 -      (bookmark-bmenu-search): New command.
 -      (bookmark-bmenu-mode-map): Bind it.
 -
 -2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
 -
 -      * progmodes/cc-cmds.el: declare-functioned forward-subword and
 -      backward-subword to quit the byte-compiler.
 -
 -      * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
 -
 -      * Makefile.in: Don't refer cc-subword.elc but subword.elc.
 -
 -      * progmodes/cc-cmds.el (c-update-modeline)
 -      (c-forward-into-nomenclature, c-backward-into-nomenclature):
 -      Refer to subword.el functions instead of cc-subword.el.
 -
 -      * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
 -      subword.el functions instead of cc-subword.el.
 -
 -      * progmodes/cc-subword.el: Rename to subword.el.
 -      * subword.el: Rename from progmodes/cc-subword.el.
 -      (subword-mode-map): Rename from c-subword-mode-map.
 -      (subword-mode): Rename from c-subword-mode.
 -      (global-subword-mode): New global minor mode.
 -      (forward-subword): Rename from c-forward-subword.
 -      (backward-subword): Rename from c-backward-subword.
 -      (mark-subword): Rename from c-mark-subword.
 -      (kill-subword): Rename from c-kill-subword.
 -      (backward-kill-subword): Rename from c-backward-kill-subword.
 -      (transpose-subwords): Rename from c-tranpose-subword.
 -      (downcase-subword): Rename from c-downcase-subword.
 -      (capitalize-subword): Rename from c-capitalize-subword.
 -      (forward-subword-internal): Rename from c-forward-subword-internal.
 -      (backward-subword-internal): Rename from c-backward-subword-internal.
 -
 -2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc.el (vc-deduce-fileset): Allow non-state changing operations
 -      from a dired buffer.
 -      (vc-dired-deduce-fileset): New function.
 -      (vc-root-diff, vc-print-root-log): Use it.
 -
 -      * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
 -      nil LIMIT argument to vc-print-log-internal.
 -
 -2009-11-20  Glenn Morris  <rgm@gnu.org>
 -
 -      * Makefile.in (ELCFILES): Regenerate.
 -
 -2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
 -
 -      * calc/calc.el (calc-set-mode-line):
 -      Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
 -      (math-format-number): Rename `math-format-complement-signed' to
 -      `math-format-twos-complement'.
 -
 -      * calc/calc-bin.el (math-format-twos-complement): Rename from
 -      math-format-complement-signed.
 -      (calc-radix): Rename `calc-complement-signed-mode' to
 -      `calc-twos-complement-mode'.
 -      (calc-octal-radix, calc-hex-radix): Add an argument for
 -      two's complement.
 -
 -      * calc/calc-embed.el (calc-embedded-mode-vars):
 -      Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
 -
 -      * calc/calc-ext.el (calc-init-extensions):
 -      Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
 -      (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
 -
 -      * calc/calc-units.el (math-build-units-table-buffer):
 -      Let `calc-twos-complement-mode' be nil.
 -
 -      * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
 -      entries.
 -
 -      * calc/calc-vec.el (calcFunc-vunpack):
 -      * calc/calc-aent.el (calc-do-calc-eval):
 -      * calc/calc-forms.el (math-format-date):
 -      * calc/calc-graph.el (calc-graph-plot):
 -      * calc/calc-math.el (math-use-emacs-fn):
 -      * calc/calccomp.el (math-compose-expr):
 -      Let `calc-twos-complement-mode' be nil.
 -
 -2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * abbrev.el (abbrev-with-wrapper-hook): (re)move...
 -      * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
 -      * minibuffer.el (completion-in-region-functions): New hook.
 -      (completion-in-region): New function.
 -      * emacs-lisp/lisp.el (lisp-complete-symbol):
 -      * pcomplete.el (pcomplete-std-complete): Use it.
 -
 -2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * textmodes/tex-mode.el (latex-complete-bibtex-cache)
 -      (latex-complete-alist): New vars.
 -      (latex-string-prefix-p, latex-complete-bibtex-keys)
 -      (latex-complete-envnames, latex-complete-refkeys)
 -      (latex-complete-data): New functions.
 -      (latex-complete, latex-indent-or-complete): New commands.
 -
 -      * window.el (display-buffer-mark-dedicated): New var.
 -      (display-buffer): Obey it.
 -      * minibuffer.el (minibuffer-completion-help): Use it.
 -
 -      * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
 -
 -      * filecache.el (file-cache-add-file): Use push and cons.
 -      (file-cache-delete-file-regexp): Use push.
 -      (file-cache-complete): Use completion-in-region.
 -
 -      * simple.el (with-wrapper-hook): Fix thinko.
 -
 -      * hfy-cmap.el (hfy-rgb-file): Use locate-file.
 -      (htmlfontify-load-rgb-file): Remove unnused var `ff'.
 -      Use with-current-buffer and string-to-number.
 -      (hfy-fallback-colour-values): Use assoc-string.
 -      * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
 -      (hfy-face-at): Remove unused var `found-face'.
 -      (hfy-compile-stylesheet): Remove unused var `css'.
 -      (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
 -      and `orig-buffer'.
 -      (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
 -      Use with-current-buffer.
 -      (hfy-text-p): Use expand-file-name and fewer setq.
 -
 -2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
 -
 -      * htmlfontify.el, hfy-cmap.el: New files.
 -
 -2009-11-19  Juri Linkov  <juri@jurta.org>
 -
 -      * minibuffer.el (completions-format): New defcustom.
 -      (completion--insert-strings): Implement vertical format.
 -
 -      * simple.el (switch-to-completions): Move point to the first
 -      completion when point was at the beginning of the buffer.
 -
 -2009-11-19  Juri Linkov  <juri@jurta.org>
 -
 -      * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
 -
 -      * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
 -
 -2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
 -      (mail-signature): Change default to t.
 -      (mail-from-style): Deprecate `system-default' value.
 -      (mail-insert-from-field): For default value of mail-from-style,
 -      default to `angles' unless `angles' needs quoting and `parens'
 -      does not.
 -      (mail-citation-prefix-regexp): Use citation regexp from
 -      message-mode.
 -
 -2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
 -      Set variables for computing the prompt for reading password.
 -
 -2009-11-19  Glenn Morris  <rgm@gnu.org>
 -
 -      * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
 -
 -      * textmodes/flyspell.el (sgml-lexical-context): Declare.
 -
 -      * net/newst-treeview.el (newsticker-treeview-treewindow-width)
 -      (newsticker-treeview-listwindow-height): Fix custom type.
 -
 -2009-11-19  Kenichi Handa  <handa@m17n.org>
 -
 -      * descr-text.el (describe-char-padded-string): Compose with TAB
 -      only if there's a font for CH.
 -      (describe-char): Fix the condition for detecting a trivial composition.
 -
 -2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
 -
 -      * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
 -      more accurate version of the regexp.  (Bug#3910)
 -
 -2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
 -
 -      * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
 -
 -2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * font-setting.el (font-use-system-font): Declare for byte-compiler.
 -      (font-setting-change-default-font): Fix typo in docstring.
 -
 -2009-11-18  Alan Mackenzie  <acm@muc.de>
 -
 -      * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
 -
 -2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
 -
 -      * font-setting.el (font-use-system-font): Move ...
 -
 -      * cus-start.el (all): ... to here.
 -
 -2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
 -      Don't set `ad-return-value' if `ad-do-it' doesn't.
 -
 -      * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
 -      modification time.
 -
 -2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
 -
 -      * menu-bar.el: Put "Use system font" in Option-menu.
 -      (menu-bar-options-save): Add font-use-system-font.
 -
 -      * loadup.el: If feature system-font-setting or font-render-setting is
 -      there, load font-setting.
 -
 -      * Makefile.in (ELCFILES): Add font-settings.el.
 -      * font-setting.el: New file.
 -
 -2009-11-17  Glenn Morris  <rgm@gnu.org>
 -
 -      * vc-svn.el (vc-svn-print-log): Fix typo in previous.
 -
 -      * net/newst-treeview.el (newsticker--treeview-list-update-faces):
 -      Preserve point in the list buffer.  (Bug#4939)
 -      Use point-at-eol.
 -      (newsticker--treeview-list-update-highlight)
 -      (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
 -
 -2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
 -
 -      * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
 -      Remove.
 -
 -      * calc/calc-ext.el (calc-init-extensions): Remove references to
 -      symclip.
 -
 -      * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
 -
 -      * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
 -      * calc/calc-help.el (calc-b-prefix-help): Remove references to
 -      `calc-symclip'.
 -
 -2009-11-16  Kevin Ryde  <user42@zip.com.au>
 -
 -      * textmodes/flyspell.el (sgml-mode-flyspell-verify):
 -      Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
 -
 -      * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
 -      (lm-keywords-list): Allow comma-only separator like "foo,bar".
 -      Ignore trailing spaces by omit-nulls to split-string (fixing
 -      regression from Emacs 21 due to the incompatible split-string
 -      change).  (Bug #4928.)
 -
 -2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc.el (vc-log-show-limit): Default to 2000.
 -      (vc-print-log-internal): Insert buttons to request more entries
 -      when limiting the output.
 -
 -      * vc-sccs.el (vc-sccs-print-log):
 -      * vc-rcs.el (vc-rcs-print-log):
 -      * vc-cvs.el (vc-cvs-print-log):
 -      * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
 -      LIMIT is non-nil.
 -
 -2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
 -      error when `tramp-gvfs-dbus-event-vector' is set.
 -      (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
 -
 -2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
 -
 -2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/dbus.el (dbus-unregister-service): New defun.
 -      (dbus-register-property): Register the handlers of
 -      "org.freedesktop.DBus.Properties" for SERVICE.
 -      (dbus-property-handler): Fix docstring.
 -
 -2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 -
 -      * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
 -      Quote doc string reference in defvaralias as it is not in special form.
 -      (byte-compile-output-docform): Doc fix.
 -
 -2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
 -
 -      * calc/calc.el (math-2-word-size, math-half-2-word-size)
 -      (calc-complement-signed-mode): New variables.
 -      (calc-set-mode-line): Add indicator for twos-complements.
 -      (math-format-number): Format twos-complement notation.
 -
 -      * calc/calc-bin.el (calc-word-size): Reset the variables
 -      `math-2-word-size' and `math-half-2-word-size'.
 -      (math-format-complement-signed, math-symclip, calcFunc-symclip)
 -      (calc-symclip): New functions.
 -
 -      * calc/calc-aent.el (math-read-token): Read complement signed numbers.
 -
 -      * calc/calc-embed.el (calc-embedded-mode-vars):
 -      Add `calc-complement-signed-mode' to the list of modes.
 -
 -      * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
 -      (calc-b-oper-keys): Add `calc-symclip' to list.
 -
 -      * calc/calc-ext.el (math-read-number-fancy): Read complement
 -      signed numbers.
 -      (calc-init-extensions): Add binding for `calc-symclip'.
 -      Add autoload for `calcFunc-symclip' and `calc-symclip'.
 -
 -      * calc/calc-menu.el (calc-arithmetic-menu): Add item for
 -      `calc-symclip'.
 -      (calc-modes-menu): Add item for twos complement mode.
 -
 -      * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
 -
 -2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * register.el (jump-to-register, insert-register): Handle Semantic
 -      tags.  From commented-out advice in semantic/senator.el.
 -
 -2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc.el (vc-log-show-limit): New variable.
 -      (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
 -      when using a prefix argument.
 -      (vc-print-log-internal): Add new argument LIMIT.
 -
 -      * vc-svn.el (vc-svn-print-log):
 -      * vc-mtn.el (vc-mtn-print-log):
 -      * vc-hg.el (vc-hg-print-log):
 -      * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
 -      pass it to the log command when set.  Make the BUFFER argument
 -      non-optional.
 -
 -      * vc-sccs.el (vc-sccs-print-log):
 -      * vc-rcs.el (vc-rcs-print-log):
 -      * vc-git.el (vc-git-print-log):
 -      * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
 -      ignore it.  Make the BUFFER argument non-optional
 -
 -      * bindings.el (mode-line-buffer-identification): Do not purecopy.
 -
 -2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * dired.el (dired-mode-map): Move encryption items to "Operate"
 -      menu (Bug#4703).
 -
 -      * strokes.el (strokes-update-window-configuration): Make strokes
 -      buffer current before erasing (Bug#4906).
 -
 -2009-11-15  Juri Linkov  <juri@jurta.org>
 -
 -      * simple.el (set-mark-default-inactive): Add :type, :group
 -      and :version.  (Bug#4876)
 -
 -2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * arc-mode.el (archive-maybe-copy): Move creation of directory ...
 -      (archive-unique-fname): ... here.  (Bug#4929)
 -
 -2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
 -      with a real fix.
 -
 -      * novice.el (disabled-command-function): Add useful args.
 -      Setup the help buffer so that [back] works.
 -      Remove redundant call to help-mode.
 -      (disabled-command-function): Use `case'.
 -      (en/disable-command): New function extracted from enable-command.
 -      (enable-command, disable-command): Use it.
 -
 -2009-11-14  Glenn Morris  <rgm@gnu.org>
 -
 -      * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
 -      constants.  (Bug#4913)
 -
 -      * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
 -
 -2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
 -
 -      * emacs-lisp/elint.el (elint-standard-variables): Add some variables
 -      defined in C that have no doc-strings.  (Bug#1063)
 -
 -2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
 -
 -      * cus-edit.el (data, files):
 -      * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
 -
 -2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * simple.el (shell-command): Doc fix (Bug#4891).
 -
 -      * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
 -
 -2009-11-14  Glenn Morris  <rgm@gnu.org>
 -
 -      * emulation/viper.el (viper-set-hooks): Remove duplicate advice
 -      statements for vc-diff, emerge-quit, and rmail-cease-edit.
 -      If they are already loaded, eval-after-load will do the right thing.
 -
 -      * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
 -      compiling.
 -
 -      * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
 -
 -      * simple.el (x-selection-owner-p): Declare.
 -      (read-mail-command): Use custom radio type rather than choice.
 -      (completion-no-auto-exit): Doc fix.
 -
 -      * custom.el (defgroup):
 -      * epg-config.el (epg): Doc fixes.
 -
 -2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * bindings.el (mode-line-buffer-identification): Purecopy only the string.
 -      * international/ccl.el (define-ccl-program): Do not purecopy the
 -      docstring, defconst does it anyway.
 -
 -2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * add-log.el (add-change-log-entry): Avoid displaying the changelog
 -      a second time.
 -
 -      * x-dnd.el (x-dnd-maybe-call-test-function):
 -      * window.el (split-window-vertically):
 -      * whitespace.el (whitespace-help-on):
 -      * vc-rcs.el (vc-rcs-consult-headers):
 -      * userlock.el (ask-user-about-lock-help)
 -      (ask-user-about-supersession-help):
 -      * type-break.el (type-break-force-mode-line-update):
 -      * time-stamp.el (time-stamp-conv-warn):
 -      * terminal.el (te-set-output-log, te-more-break, te-filter)
 -      (te-sentinel, terminal-emulator):
 -      * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
 -      (term-write-input-ring, term-check-source, term-start-output-log):
 -      (term-display-buffer-line, term-dynamic-list-completions):
 -      (term-ansi-make-term, serial-term):
 -      * subr.el (selective-display):
 -      * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
 -      (strokes-encode-buffer, strokes-xpm-for-compressed-string):
 -      * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
 -      (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
 -      (speedbar-remove-localized-speedbar-support)
 -      (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
 -      (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
 -      (speedbar-buffers-line-directory):
 -      * simple.el (shell-command-on-region, append-to-buffer)
 -      (prepend-to-buffer):
 -      * shadowfile.el (shadow-save-todo-file):
 -      * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
 -      (scroll-bar-maybe-set-window-start):
 -      * sb-image.el (speedbar-image-dump):
 -      * saveplace.el (save-place-alist-to-file, save-places-to-alist)
 -      (load-save-place-alist-from-file):
 -      * ps-samp.el (ps-print-message-from-summary):
 -      * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
 -      (ps-background-image, ps-begin-job, ps-do-despool):
 -      * ps-bdf.el (bdf-find-file, bdf-read-font-info):
 -      * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
 -      (pr-ps-message-from-summary, pr-lpr-message-from-summary):
 -      (pr-call-process, pr-file-list, pr-interface-save):
 -      * novice.el (disabled-command-function)
 -      (enable-command, disable-command):
 -      * mouse.el (mouse-buffer-menu-alist):
 -      * mouse-copy.el (mouse-kill-preserving-secondary):
 -      * macros.el (kbd-macro-query):
 -      * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
 -      * informat.el (batch-info-validate):
 -      * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
 -      * hippie-exp.el (try-expand-dabbrev-visible):
 -      * help-mode.el (help-make-xrefs):
 -      * help-fns.el (describe-variable):
 -      * generic-x.el (bat-generic-mode-run-as-comint):
 -      * finder.el (finder-mouse-select):
 -      * find-dired.el (find-dired-sentinel):
 -      * filesets.el (filesets-file-close):
 -      * files.el (list-directory):
 -      * faces.el (list-faces-display, describe-face):
 -      * facemenu.el (list-colors-display):
 -      * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
 -      * epg.el (epg--process-filter, epg-cancel):
 -      * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
 -      (epa--read-signature-type):
 -      * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
 -      (emerge-file-names):
 -      * ehelp.el (electric-helpify):
 -      * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
 -      * ediff-vers.el (rcs-ediff-view-revision):
 -      * ediff-util.el (ediff-setup):
 -      * ediff-mult.el (ediff-append-custom-diff):
 -      * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
 -      (ediff-wordify):
 -      * echistory.el (Electric-command-history-redo-expression):
 -      * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
 -      * disp-table.el (describe-display-table):
 -      * dired.el (dired-find-buffer-nocreate):
 -      * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
 -      * dabbrev.el (dabbrev--same-major-mode-p):
 -      * chistory.el (list-command-history):
 -      * apropos.el (apropos-documentation):
 -      * allout.el (allout-obtain-passphrase):
 -      (allout-copy-exposed-to-buffer):
 -      (allout-verify-passphrase): Use with-current-buffer.
 -
 -2009-11-13  Glenn Morris  <rgm@gnu.org>
 -
 -      * Makefile.in (ELCFILES): Regenerate.
 -
 -2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/dbus.el (dbus-registered-objects-table): Rename from
 -      `dbus-registered-functions-table', because it contains also properties.
 -      (dbus-unregister-object): Unregister also properties.
 -      (dbus-get-property, dbus-set-property, dbus-get-all-properties):
 -      Use a timeout of 500 msec, in order to not block.
 -      (dbus-register-property, dbus-property-handler): New defuns.
 -
 -2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * simple.el (minibuffer-default-add-completions): Drop deprecated
 -      4th arg.
 -
 -2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
 -
 -      * textmodes/artist.el (artist-mouse-choose-operation):
 -      Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
 -      menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
 -      (artist-compute-up-event-key): New function.
 -      (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
 -
 -2009-11-13  Kenichi Handa  <handa@m17n.org>
 -
 -      * language/japan-util.el: Make sure that the value of jisx0208
 -      property is jisx0208 character.
 -
 -2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * international/mule.el (auto-coding-regexp-alist): Only purecopy
 -      car or each item, not the whole list.
 -
 -2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * minibuffer.el (minibuffer-completion-help):
 -      Use minibuffer-hide-completions.
 -
 -2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
 -
 -      * dired.el (dired-save-positions, dired-restore-positions): New funs.
 -      (dired-revert): Use them (bug#4880).
 -
 -2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * tooltip.el (tooltip-frame-parameters): Undo previous change.
 -
 -2009-11-12  Juri Linkov  <juri@jurta.org>
 -
 -      * ffap.el (ffap-alternate-file-other-window, ffap-literally):
 -      New functions.
 -      (find-file-literally-at-point): Alias of `ffap-literally'.
 -
 -2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * textmodes/ispell.el (ispell-skip-region-alist):
 -      * textmodes/css-mode.el (auto-mode-alist):
 -      * progmodes/compile.el (auto-mode-alist):
 -      * international/mule.el (ctext-non-standard-encodings-alist)
 -      (ctext-non-standard-encodings-regexp):
 -      * simple.el (shell-command-switch, text-read-only):
 -      * replace.el (occur-mode-map):
 -      * paths.el (rmail-file-name):
 -      * jka-cmpr-hook.el (jka-compr-build-file-regexp):
 -      * find-file.el (ff-special-constructs):
 -      * files.el (file-name-handler-alist):
 -      * composite.el: Purecopy strings.
 -
 -      * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
 -
 -2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * widget.el (define-widget): Purecopy the docstring.
 -      * international/mule-cmds.el (charset): Do not purecopy the
 -      docstring here, define-widget does it.
 -
 -      * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
 -      * textmodes/bibtex-style.el (auto-mode-alist):
 -      * progmodes/inf-lisp.el (inferior-lisp-prompt):
 -      * progmodes/compile.el (compile-command):
 -      * language/korea-util.el (default-korean-keyboard):
 -      * international/mule-conf.el (file-coding-system-alist):
 -      * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
 -      * tooltip.el (tooltip-frame-parameters):
 -      * newcomment.el (comment-end, comment-padding):
 -      * dired.el (dired-trivial-filenames):
 -      * comint.el (comint-file-name-prefix): Purecopy initial values.
 -
 -2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-advice-minibuffer-electric-separator)
 -      (tramp-advice-minibuffer-electric-tilde): Unload advices via
 -      `tramp-unload'.
 -      (tramp-advice-make-auto-save-file-name)
 -      (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
 -      after removing the advice.
 -
 -2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * progmodes/grep.el (grep-regexp-alist):
 -      * international/mule-cmds.el (iso-2022-control-alist):
 -      * emacs-lisp/timer.el (timer-duration-words):
 -      * subr.el (version-separator, version-regexp-alist):
 -      * minibuffer.el (completion-styles-alist):
 -      * faces.el (face-attribute-name-alist, list-faces-sample-text):
 -      Change defvars to defconsts.
 -
 -      * Makefile.in (ELCFILES): Add international/mule-conf.elc.
 -      * loadup.el ("international/mule-conf"): Load the byte compiled version.
 -      * international/mule-conf.el: Allow to be byte compiled.
 -
 -      * international/mule.el (define-charset): Purecopy props.
 -      (load-with-code-conversion): Purecopy doc string and file name.
 -      (put-charset-property): Purecopy strings.
 -      (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
 -
 -      * international/mule-cmds.el (register-input-method): Purecopy arguments.
 -      (define-char-code-property): Correctly purecopy the table.
 -
 -      * international/ccl.el (define-ccl-program): Purecopy the docstring.
 -
 -      * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
 -
 -      * subr.el (add-hook): Purecopy strings.
 -      (eval-after-load): Purecopy load-history-regexp and the form.
 -
 -      * custom.el (custom-declare-group): Purecopy load-file-name.
 -
 -      * subr.el (menu-bar-separator): New defconst.
 -      * net/eudc.el (eudc-tools-menu):
 -      * international/mule-cmds.el (set-coding-system-map)
 -      (mule-menu-keymap):
 -      * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
 -      * vc-hooks.el (vc-menu-map):
 -      * replace.el (occur-mode-map):
 -      * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
 -      (menu-bar-edit-menu, menu-bar-goto-menu)
 -      (menu-bar-custom-menu, menu-bar-showhide-menu)
 -      (menu-bar-options-menu, menu-bar-tools-menu)
 -      (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
 -      (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
 -      (menu-bar-help-menu):
 -      * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
 -      * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
 -
 -      * term/x-win.el (x-gtk-stock-map):
 -      * progmodes/vera-mode.el (auto-mode-alist):
 -      * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
 -      (inferior-lisp-program, inferior-lisp-load-command):
 -      * progmodes/hideshow.el (hs-special-modes-alist):
 -      * progmodes/gud.el (same-window-regexps):
 -      * progmodes/grep.el (grep-program, find-program, xargs-program):
 -      * net/telnet.el (same-window-regexps):
 -      * net/rlogin.el (same-window-regexps):
 -      * language/ethiopic.el (font-ccl-encoder-alist):
 -      * vc-sccs.el (vc-sccs-master-templates):
 -      * vc-rcs.el (vc-rcs-master-templates):
 -      * subr.el (cl-assertion-failed):
 -      * simple.el (next-error-overlay-arrow-position):
 -      * lpr.el (lpr-command):
 -      * locate.el (locate-ls-subdir-switches):
 -      * info.el (same-window-regexps, info)
 -      (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
 -      * image-mode.el (image-mode, auto-mode-alist):
 -      * hippie-exp.el (hippie-expand-ignore-buffers):
 -      * format.el (format-alist):
 -      * find-dired.el (find-ls-subdir-switches, find-grep-options)
 -      (find-name-arg):
 -      * facemenu.el (facemenu-keybindings):
 -      * dired.el (dired-listing-switches, dired-chown-program):
 -      * diff.el (diff-switches, diff-command):
 -      * cus-edit.el (same-window-regexps):
 -      * bindings.el (mode-line-mule-info)
 -      (mode-line-buffer-identification): Purecopy strings.
 -
 -2009-11-11  Juri Linkov  <juri@jurta.org>
 -
 -      * simple.el (dired-get-filename) <declare-function>:
 -      Tell the byte-compiler about dired-get-filename.
 -      (shell-command): In Dired mode, get filename from the current line
 -      as the default value.
 -
 -2009-11-10  Glenn Morris  <rgm@gnu.org>
 -
 -      * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
 -      * calendar/holidays.el, progmodes/cperl-mode.el:
 -      Update x-popup-menu declarations.
 -
 -      * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
 -      (list-load-path-shadows): Use dolist.
 -      (list-load-path-shadows): Use with-current-buffer.
 -
 -2009-11-10  Juri Linkov  <juri@jurta.org>
 -
 -      * minibuffer.el (read-file-name): Support a list of default values
 -      in `default-filename'.  Use the first file name where only one
 -      element is required.  Doc fix.
 -
 -2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/dbus.el (dbus-unregister-object): Release service, if no
 -      other method is registered for it.
 -
 -2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
 -
 -      * bookmark.el (bookmark-completing-read): Sort bookmark names if
 -      bookmark-sort-flag is non-nil (Bug#4653).
 -
 -2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * emulation/cua-base.el: Add CUA property to some CC mode commands
 -      (Bug#4100).
 -
 -2009-11-08  Kevin Ryde  <user42@zip.com.au>
 -
 -      * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
 -      at end of sentence (Bug#4818).
 -
 -2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
 -
 -      * progmodes/compile.el (compilation-error-regexp-alist-alist):
 -      Handle "see declaration of" MSFT statements (Bug#4100).
 -
 -2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-advice-make-auto-save-file-name)
 -      (tramp-advice-file-expand-wildcards): Unload via
 -      `ad-remove-advice'.
 -
 -      * net/trampver.el: Update release number.
 -
 -2009-11-08  Kevin Ryde  <user42@zip.com.au>
 -
 -      * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
 -      `ad-do-it'.
 -
 -2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
 -
 -      * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
 -      in order to keep context in SELinux.
 -
 -2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * dired-aux.el (dired-query): Place cursor in echo area and allow
 -      C-g.
 -
 -      * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
 -      menu item if not on a directory (Bug#4701).
 -
 -2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      Sync with Tramp 2.1.17.
 -
 -      * net/tramp.el (tramp-handle-copy-directory): Don't use
 -      `file-remote-p' (due to compatibility).
 -
 -      * net/tramp-compat.el (tramp-compat-copy-directory)
 -      (tramp-compat-delete-directory): New defuns.
 -
 -      * net/tramp-fish.el (tramp-fish-handle-delete-directory):
 -      * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
 -      Use `tramp-compat-delete-directory'.
 -
 -      * net/tramp-smb.el (tramp-smb-handle-copy-directory)
 -      (tramp-smb-handle-delete-directory):
 -      Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
 -
 -      * net/trampver.el: Update release number.
++2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
 -2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * tar-mode.el (tar-copy): Call write-region on the right buffer
 -      (Bug#4857).
 -
 -      * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
 -      by hand, if necessary (Bug#4878).
 -
 -2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * buff-menu.el (Buffer-menu-buffer+size): Use display property to
 -      align size column (Bug#4839).
 -
 -      * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
 -      statement.
 -
 -2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * progmodes/ld-script.el (auto-mode-alist):
 -      * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
 -
 -      * cus-face.el (custom-declare-face): Purecopy face spec.
 -
 -2009-11-06  Kenichi Handa  <handa@m17n.org>
 -
 -      * international/uni-bidi.el: Re-generated.
 -      * international/uni-category.el: Re-generated.
 -      * international/uni-combining.el: Re-generated.
 -      * international/uni-mirrored.el: Re-generated.
 -
 -2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * textmodes/tex-mode.el (tex-alt-dvi-print-command)
 -      (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
 -      (tex-start-options, slitex-run-command, latex-run-command)
 -      (tex-run-command, tex-directory):
 -      * textmodes/ispell.el (ispell-html-skip-alists)
 -      (ispell-tex-skip-alists, ispell-tex-skip-alists):
 -      * textmodes/fill.el (adaptive-fill-first-line-regexp):
 -      (adaptive-fill-regexp):
 -      * textmodes/dns-mode.el (auto-mode-alist):
 -      * progmodes/python.el (interpreter-mode-alist):
 -      * progmodes/etags.el (tags-compression-info-list):
 -      * progmodes/etags.el (tags-file-name):
 -      * net/browse-url.el (browse-url-galeon-program)
 -      (browse-url-firefox-program):
 -      * mail/sendmail.el (mail-signature-file)
 -      (mail-citation-prefix-regexp):
 -      * international/mule-conf.el (eight-bit):
 -      * international/latexenc.el (latex-inputenc-coding-alist):
 -      * international/fontset.el (x-pixel-size-width-font-regexp):
 -      * emacs-lisp/warnings.el (warning-type-format):
 -      * emacs-lisp/trace.el (trace-buffer):
 -      * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
 -      (emacs-lisp-mode-map):
 -      * calendar/holidays.el (holiday-solar-holidays)
 -      (holiday-bahai-holidays, holiday-islamic-holidays)
 -      (holiday-christian-holidays, holiday-hebrew-holidays)
 -      (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
 -      (hebrew-holidays-1, holiday-oriental-holidays)
 -      (holiday-general-holidays):
 -      * x-dnd.el (x-dnd-known-types):
 -      * tool-bar.el (tool-bar):
 -      * startup.el (site-run-file):
 -      * shell.el (shell-dumb-shell-regexp):
 -      * rfn-eshadow.el (file-name-shadow-tty-properties)
 -      (file-name-shadow-properties):
 -      * paths.el (remote-shell-program, news-directory):
 -      * mouse.el ([C-down-mouse-3]):
 -      * menu-bar.el (menu-bar-tools-menu):
 -      * jka-cmpr-hook.el (jka-compr-load-suffixes)
 -      (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
 -      (jka-compr-compression-info-list):
 -      * isearch.el (search-whitespace-regexp):
 -      * image-file.el (image-file-name-extensions):
 -      * find-dired.el (find-ls-option):
 -      * files.el (directory-listing-before-filename-regexp)
 -      (directory-free-space-args, insert-directory-program)
 -      (list-directory-brief-switches, magic-fallback-mode-alist)
 -      (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
 -      (automount-dir-prefix):
 -      * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
 -      (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
 -      (face-font-registry-alternatives, face-font-registry-alternatives)
 -      (face-font-family-alternatives):
 -      * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
 -      (facemenu-foreground-menu, facemenu-face-menu):
 -      * epa-hook.el (epa-file-name-regexp):
 -      * dnd.el (dnd-protocol-alist):
 -      * textmodes/rst.el (auto-mode-alist):
 -      * button.el (default-button): Purecopy strings.
 -
 -2009-11-06  Glenn Morris  <rgm@gnu.org>
 -
 -      * Makefile.in (ELCFILES): Update.
 -
 -2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
 -      * emacs-lisp/levents.el: Move to obsolete/levents.el.
 -
 -      * nxml/xsd-regexp.el (xsdre-gen-categories):
 -      * nxml/xmltok.el (xmltok-parse-entity):
 -      * nxml/rng-parse.el (rng-parse-validate-file):
 -      * nxml/rng-maint.el (rng-format-manual)
 -      (rng-manual-output-force-new-line):
 -      * nxml/rng-loc.el (rng-save-schema-location-1):
 -      * nxml/rng-cmpct.el (rng-c-parse-file):
 -      * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
 -      * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
 -
 -2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
 -
 -      * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
 -      Remove extra save-excursions and make-variable-buffer-local's.
 -      Suggested by Stefan Monnier.
 -
 -      (verilog-getopt-file, verilog-module-inside-filename-p)
 -      (verilog-set-define): Merge GNU 1.35 and repair changes from
 -      switching to using with-current-buffer.
 -
 -      (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
 -      being treated as a number and confusing AUTORESET.
 -      Reported by Dan Dever.
 -
 -      (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
 -      Add verilog-auto-ignore-concat to fix backward compatibility with
 -      older verilog-modes.  Reported by Dan Katz.
 -
 -      (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
 -      containing closing anchors "...$".
 -
 -      (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
 -      Reported by Wade Smith.
 -
 -      (verilog-batch-execute-func): Comment on function usage.
 -
 -2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
 -
 -      * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
 -      for labels.
 -
 -      (verilog-label-re, verilog-calc-1): Support proper indent of named
 -      asserts.
 -
 -      (verilog-backward-token, verilog-basic-complete-re)
 -      (verilog-beg-of-statement, verilog-indent-re): Support proper
 -      indent of the assert statement at the beginning of a block of text.
 -
 -      (verilog-beg-block-re, verilog-ovm-begin-re): Support the
 -      `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
 -      tokens as begins.
 -
 -2009-11-05  Glenn Morris  <rgm@gnu.org>
 -
 -      * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
 -      Emacs 19.  (Bug#1531)
 -      (byte-compile-fix-header): Update for the above change.
 -      Drop test for epoch::version.
 -
 -      * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
 -      * cus-dep.el (custom-make-dependencies):
 -      * finder.el (finder-compile-keywords):
 -      Use autoload-rubric's feature argument.
 -
 -      * calendar/diary-lib.el (top-level): Make load behave more like require.
++      * window.el (special-display-popup-frame): Doc fix (Bug#8853).
 -      * vc-git.el (vc-git-stash-map): Move definition before use.
 -
 -2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * custom.el (custom-declare-group): Purecopy standard-value.
 -      (custom-declare-group): Purecopy custom-prefix.
 -
 -      * international/mule.el (load-with-code-conversion):
 -      Call do-after-load-evaluation unconditionally.
 -
 -      * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
 -
 -2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * descr-text.el: Require help-mode rather than help-fns (bug#4861).
 -
 -2009-11-04  Glenn Morris  <rgm@gnu.org>
 -
 -      * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
 -      (byte-compile-compatibility): Remove option.
 -      (byte-compile-close-variables, byte-compile-fix-header)
 -      (byte-compile-insert-header, byte-compile-output-docform)
 -      (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
 -      (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
 -      (byte-compile-list, byte-compile-concat, byte-compile-function-form)
 -      (byte-compile-insert, byte-compile-defun):
 -      Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
 -      (byte-defop-compiler19): Remove.
 -      Without byte-compile-compatibility, the 'emacs19-opcode property is not
 -      used by anything.  Replace all calls with byte-defop-compiler.
 -
 -2009-11-04  Juri Linkov  <juri@jurta.org>
 -
 -      * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
 -      (menu-bar-options-menu): Don't quote the `prop' arg of
 -      `menu-bar-make-mm-toggle'.
 -
 -2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * calendar/calendar.el (cal-loaddefs):
 -      * calendar/diary-lib.el (diary-loaddefs):
 -      * calendar/holidays.el (hol-loaddefs):
 -      * eshell/esh-module.el (esh-groups): Load rather than require.
 -
 -2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * calendar/todo-mode.el (todo-add-category): Don't hardcode
 -      point-min==1.
 -      (todo-top-priorities): Only display-buffer when called interactively.
 -      (todo-item-start): Don't save excursion point.
 -      (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
 -      (todo-insert-item-here, todo-file-item, todo-remove-item):
 -      Adjust uses of todo-item-start and todo-item-end.
 -
 -      * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
 -      (autoload-rubric): Don't use any more.
 -
 -      * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
 -      and only put a prop if it is non-nil.
 -
 -2009-11-03  Juri Linkov  <juri@jurta.org>
 -
 -      * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
 -      (menu-bar-options-menu): Fix list quoting (Bug#4429).
 -
 -      * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
 -      and "Menu" to make top-level menu item visually one unit (like
 -      it's done for "Lisp-Interaction", "Emacs-Lisp" and other
 -      multi-word menu items).  Fix :help string for quit-window.
 -
 -2009-11-03  Glenn Morris  <rgm@gnu.org>
 -
 -      * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
 -      (byte-compile-file-form-define-abbrev-table)
 -      (byte-compile-file-form-custom-declare-variable)
 -      (byte-compile-variable-ref, byte-compile-defvar):
 -      Whether or not a warning is enabled should only affect whether we issue
 -      the warning, not whether or not we collect the relevant data.
 -      Eg warnings can be turned on and off throughout the course of a file.
 -
 -      * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
 -      (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
 -
 -2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
 -      * play/mpuz.el (mpuz-create-buffer):
 -      * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
 -      (lm-print-y,s,noise, lm-print-w0, lm-init):
 -      * play/gomoku.el (gomoku-prompt-for-move):
 -      * play/fortune.el (fortune-in-buffer):
 -      * play/dissociate.el (dissociated-press):
 -      * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
 -      (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
 -      * mail/supercite.el (sc-eref-show):
 -      * mail/smtpmail.el (smtpmail-send-it):
 -      * mail/rmailsum.el (rmail-summary-next-labeled-message)
 -      (rmail-summary-previous-labeled-message, rmail-summary-wipe)
 -      (rmail-summary-undelete-many, rmail-summary-rmail-update)
 -      (rmail-summary-goto-msg, rmail-summary-expunge)
 -      (rmail-summary-get-new-mail, rmail-summary-search-backward)
 -      (rmail-summary-add-label, rmail-summary-output-menu)
 -      (rmail-summary-output-body):
 -      * mail/rfc822.el (rfc822-addresses):
 -      * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
 -      * mail/mailpost.el (post-mail-send-it):
 -      * mail/hashcash.el (hashcash-generate-payment):
 -      * mail/feedmail.el (feedmail-run-the-queue)
 -      (feedmail-queue-send-edit-prompt-help-first)
 -      (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
 -      (feedmail-deduce-address-list):
 -      * eshell/esh-ext.el (eshell-remote-command):
 -      * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
 -      * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
 -      (viper-wildcard-to-regexp, viper-glob-mswindows-files)
 -      (viper-save-string-in-file, viper-valid-marker):
 -      * emulation/viper-keym.el (viper-toggle-key):
 -      * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
 -      (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
 -      (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
 -      * emulation/viper-cmd.el (viper-exec-form-in-vi)
 -      (viper-exec-form-in-emacs, viper-brac-function):
 -      * emulation/viper.el (viper-delocalize-var):
 -      * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
 -      (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
 -      (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
 -      (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
 -      * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
 -      * emulation/edt.el (edt-electric-helpify):
 -      * emulation/cua-rect.el (cua--rectangle-aux-replace):
 -      * emulation/cua-gmrk.el (cua--insert-at-global-mark)
 -      (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
 -      (cua-indent-to-global-mark-column):
 -      * calendar/diary-lib.el (calendar-mark-1):
 -      * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
 -      Use with-current-buffer.
 -      * emulation/viper.el (viper-delocalize-var): Use dolist.
 -
 -2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * comint.el (comint-replace-by-expanded-history-before-point):
 -      Replace !! with the previous input string literally (Bug#1795).
 -
 -2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
 -
 -      * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
 -      to be made up of whitespace.
 -
 -2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * minibuffer.el (read-file-name): Don't use file dialogs for
 -      remote directories (Bug#99).
 -
 -2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
 -
 -2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
 -
 -      * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
 -      instead of deleting the window or frame.
 -
 -2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
 -      Support face colors.
 -
 -      * textmodes/tex-mode.el (tex-facemenu-add-face-function):
 -      New function.  Support face colors (Bug#1168).
 -      (tex-common-initialization): Use it.
 -
 -      * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
 -      mode allows it (Bug#1168).
 -
 -2009-10-31  Juri Linkov  <juri@jurta.org>
 -
 -      * facemenu.el (list-colors-display): Don't mark buffer as
 -      modified (Bug#3948).
 -
 -2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * international/mule-diag.el (list-character-sets-1):
 -      Minor message fix (Bug#3526).
 -
 -      * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
 -      Fix face property (Bug#4834).
 -      (etags-list-tags, etags-tags-apropos-additional)
 -      (etags-tags-apropos, tags-select-tags-table): Add follow-link
 -      property.
 -
 -      * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
 -      items.
 -
 -2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * textmodes/two-column.el (2C-split):
 -      * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
 -      * textmodes/tex-mode.el (tex-set-buffer-directory):
 -      * textmodes/spell.el (spell-region, spell-string):
 -      * textmodes/reftex.el (reftex-erase-buffer):
 -      (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
 -      * textmodes/reftex-toc.el (reftex-toc-promote-action):
 -      * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
 -      (reftex-select-item):
 -      * textmodes/reftex-ref.el (reftex-label-info-update)
 -      (reftex-offer-label-menu):
 -      * textmodes/reftex-index.el (reftex-index-change-entry)
 -      (reftex-index-phrases-info):
 -      * textmodes/reftex-global.el (reftex-create-tags-file)
 -      (reftex-save-all-document-buffers, reftex-ensure-write-access):
 -      * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
 -      (reftex-view-crossref-from-bibtex):
 -      * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
 -      (reftex-extract-bib-entries-from-thebibliography)
 -      (reftex-all-used-citation-keys, reftex-create-bibtex-file):
 -      * textmodes/refbib.el (r2b-capitalize-title):
 -      (r2b-convert-buffer, r2b-help):
 -      * textmodes/page-ext.el (pages-directory)
 -      (pages-directory-goto-with-mouse):
 -      * textmodes/bibtex.el (bibtex-validate-globally):
 -      * textmodes/bib-mode.el (bib-capitalize-title):
 -      * textmodes/artist.el (artist-clear-buffer, artist-system):
 -      * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
 -      (local-set-scheme-interaction-buffer, xscheme-process-filter)
 -      (verify-xscheme-buffer, xscheme-enter-interaction-mode)
 -      (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
 -      (xscheme-send-control-g-interrupt, xscheme-start-process)
 -      (xscheme-process-sentinel, xscheme-cd):
 -      * progmodes/verilog-mode.el (verilog-read-always-signals)
 -      (verilog-set-define, verilog-getopt-file)
 -      (verilog-module-inside-filename-p):
 -      * progmodes/sh-script.el:
 -      * progmodes/python.el (python-pdbtrack-get-source-buffer)
 -      (python-pdbtrack-grub-for-buffer, python-execute-file):
 -      * progmodes/octave-inf.el (inferior-octave):
 -      * progmodes/idlwave.el (idlwave-scan-user-lib-files)
 -      (idlwave-shell-compile-helper-routines, idlwave-set-local)
 -      (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
 -      (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
 -      (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
 -      * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
 -      (idlwave-shell-filter, idlwave-shell-examine-highlight)
 -      (idlwave-shell-sentinel, idlwave-shell-filter-directory)
 -      (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
 -      (idlwave-shell-examine-display, idlwave-shell-run-region)
 -      (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
 -      (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
 -      * progmodes/idlw-help.el (idlwave-help-get-special-help)
 -      (idlwave-help-get-help-buffer):
 -      * progmodes/gud.el (gud-basic-call, gud-find-class)
 -      (gud-tooltip-activate-mouse-motions-if-enabled):
 -      * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
 -      * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
 -      (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
 -      (ebrowse-tags-next-file):
 -      * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
 -      (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
 -      (ebnf-eps-finish-and-write):
 -      * progmodes/cpp.el (cpp-edit-save):
 -      * progmodes/cperl-mode.el (cperl-pod-to-manpage):
 -      * progmodes/cc-defs.el (c-emacs-features):
 -      * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
 -      (antlr-directory-dependencies):
 -      * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
 -      (ada-run-application, ada-find-in-src-path, ada-goto-parent)
 -      (ada-find-any-references, ada-make-filename-from-adaname)
 -      (ada-make-body-gnatstub):
 -      * obsolete/rnews.el (news-list-news-groups):
 -      * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
 -      * obsolete/iso-acc.el (iso-acc-minibuf-setup):
 -      * net/rcirc.el (rcirc-debug):
 -      * net/newst-treeview.el (newsticker--treeview-list-add-item)
 -      (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
 -      (newsticker--treeview-list-update-faces, newsticker-treeview-save)
 -      (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
 -      (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
 -      (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
 -      (newsticker--treeview-list-clear-highlight)
 -      (newsticker--treeview-list-update-highlight)
 -      (newsticker--treeview-list-highlight-start)
 -      (newsticker--treeview-tree-update-highlight)
 -      (newsticker--treeview-get-selected-item)
 -      (newsticker-treeview-mark-list-items-old)
 -      (newsticker--treeview-set-current-node):
 -      * net/newst-plainview.el (newsticker--buffer-set-uptodate):
 -      * net/newst-backend.el (newsticker--get-news-by-funcall)
 -      (newsticker--get-news-by-wget, newsticker--image-get)
 -      (newsticker--image-sentinel):
 -      * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
 -      * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
 -      (eudc-ph-close-session):
 -      * net/eudc.el (eudc-save-options):
 -      * language/thai-word.el (thai-update-word-table):
 -      * language/japan-util.el (japanese-string-conversion):
 -      * international/titdic-cnv.el (tsang-quick-converter)
 -      (ziranma-converter, ctlau-converter):
 -      * international/mule-cmds.el (describe-language-environment):
 -      * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
 -      (skkdic-convert-postfix, skkdic-convert-prefix):
 -      (skkdic-convert-okuri-nasi, skkdic-convert):
 -      * emacs-lisp/re-builder.el (reb-update-overlays):
 -      * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
 -      * emacs-lisp/gulp.el (gulp-send-requests):
 -      * emacs-lisp/find-gc.el (trace-call-tree):
 -      * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
 -      (eieio-describe-generic):
 -      * emacs-lisp/eieio-base.el (eieio-persistent-read):
 -      * emacs-lisp/edebug.el (edebug-outside-excursion):
 -      * emacs-lisp/debug.el (debugger-make-xrefs):
 -      * emacs-lisp/cust-print.el (custom-prin1-to-string):
 -      * emacs-lisp/chart.el (chart-new-buffer):
 -      * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
 -      Use with-current-buffer.
 -      * textmodes/artist.el (artist-system): Don't call
 -      copy-sequence on a fresh string.
 -      * progmodes/idlw-shell.el (easymenu setup): Use dolist.
 -
 -2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
 -
 -      * calendar/todo-mode.el (todo-edit-item): Signal an error if there
 -      is no item to edit.  (Bug#4820)
 -      (todo-top-priorities): Restore point and restore narrowing in Todo
 -      buffer.  (Bug#4820)
 -
 -2009-10-31  Glenn Morris  <rgm@gnu.org>
 -
 -      * net/ange-ftp.el (top-level): Don't require dired when compiling.
 -      (comint-last-output-start, comint-last-input-start)
 -      (comint-last-input-end): Don't defvar when compiling.
 -      (ange-ftp-process-file): Use bound-and-true-p.
 -
 -      * pcmpl-rpm.el (top-level): Move provide statement to end.
 -      (pcmpl-rpm): Remove unused custom group.
 -
 -      * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
 -
 -      * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
 -
 -      * emacs-lisp/bytecomp.el (byte-compile-warning-types)
 -      (byte-compile-warnings): Add `constants' as an option.
 -      (byte-compile-callargs-warn, byte-compile-arglist-warn)
 -      (display-call-tree): Update for byte-compile-fdefinition possibly
 -      returning `(macro lambda ...)'.  (Bug#4778)
 -      (byte-compile-variable-ref, byte-compile-setq-default):
 -      Respect `constants' member of byte-compile-warnings.
 -
 -2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * vc-bzr.el (vc-bzr-revision-keywords): New var.
 -      (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
 -      to "submit:".
 -
 -2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * textmodes/ispell.el (ispell-skip-region-alist):
 -      * international/mule-conf.el (eight-bit):
 -      * international/fontset.el (font-encoding-alist):
 -      * startup.el (pure-space-overflow-message):
 -      * simple.el (overwrite-mode-textual, overwrite-mode-binary):
 -      * paths.el (gnus-nntp-service, rmail-spool-directory)
 -      (term-file-prefix):
 -      * files.el (save-some-buffers-action-alist):
 -      * cmuscheme.el (same-window-buffer-names):
 -      * ielm.el (same-window-buffer-names):
 -      * shell.el (same-window-buffer-names):
 -      * mail/sendmail.el (same-window-buffer-names):
 -      * progmodes/inf-lisp.el (same-window-buffer-names):
 -      * bindings.el (mode-line-client)
 -      (mode-line-column-line-number-mode-map):
 -      * language/tibetan.el (tibetan-precomposition-rule-regexp)
 -      (tibetan-precomposed-regexp): Purecopy string arguments.
 -
 -2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
 -      (calcDigit-nondigit):
 -      * calc/calc-yank.el (calc-copy-to-buffer):
 -      * calc/calc-units.el (calc-invalidate-units-table):
 -      * calc/calc-trail.el (calc-trail-yank):
 -      * calc/calc-store.el (calc-insert-variables):
 -      * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
 -      * calc/calc-prog.el (calc-read-parse-table):
 -      * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
 -      * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
 -      * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
 -      (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
 -      (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
 -      (calc-graph-name, calc-graph-find-command, calc-graph-view)
 -      (calc-graph-view, calc-gnuplot-command, calc-graph-init):
 -      * calc/calc-ext.el (calc-realign):
 -      * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
 -      (calc-embedded-finish-edit, calc-embedded-make-info)
 -      (calc-embedded-finish-command, calc-embedded-stack-change):
 -      * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
 -
 -      * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
 -      shell-dynamic-complete-filename in preference to
 -      comint-dynamic-complete-filename.
 -
 -      * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
 -      (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
 -      Don't consider whether the display supports colors.
 -      (bookmark-import-new-list): Use dolist.
 -      (bookmark-bmenu-mode-map): Move initialization into declaration.
 -      (bookmark-bmenu-list): Use dolist, simplify.
 -      (bookmark-show-all-annotations): Use save-selected-window and dolist.
 -      (menu-bar-final-items): Use push.
 -
 -2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
 -
 -      * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
 -      it works on remote files.
 -      (vc-hg-diff): Don't pass any `--cwd' argument.
 -
 -2009-10-27  Kevin Ryde  <user42@zip.com.au>
 -
 -      * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
 -      Use help-xref-info-regexp and help-xref-url-regexp to identify links.
 -      (Further to Bug#3921).
 -
 -2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
 -      (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
 -      calling `tramp-imap-put-file'.  Add file size to the call.
 -      (tramp-imap-get-file-entries): Compute also user name, file size,
 -      and date.
 -      (tramp-imap-handle-insert-directory): Insert uid and gid.
 -      (tramp-imap-handle-file-attributes): Transform uid and gid
 -      according to `id-format'.
 -      (tramp-imap-put-file): New optional parameter SIZE.  Encode file
 -      size in header X-Size.
 -
 -2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * simple.el (transpose-subr): Give clearer error when the mark
 -      is not set.  (Bug#4807)
 -
 -2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-perl-file-truename): New defconst.
 -      Perl code contributed by yary <not.com@gmail.com> (tiny change).
 -      (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
 -      Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
 -      (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
 -
 -      * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
 -      Ignore `dired-call-process'.
 -      (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
 -
 -2009-10-26  Julian Scheid  <julians37@gmail.com>
 -
 -      * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
 -      (tramp-get-remote-readlink): New defun.
 -      (tramp-handle-file-truename): Use it.
 -      (tramp-handle-file-exists-p): Check file-attributes cache, assume
 -      file exists if cache value present.
 -      (tramp-check-cached-permissions): New defun.
 -      (tramp-handle-file-readable-p): Use it.
 -      (tramp-handle-file-writable-p): Likewise.
 -      (tramp-handle-file-executable-p): Likewise.
 -      (tramp-handle-file-name-all-completions): Try using Perl to get
 -      partial completions.  When perl not available, combine `cd' and
 -      `ls' into single remote operation and use shell expansion to get
 -      partial remote directory contents.  Set `file-exists-p' cache for
 -      directory and any files returned by ls.  Change cache handling to
 -      support partial directory contents.  Use error message emitted by
 -      remote `cd' or Perl code for local tramp-error.
 -      (tramp-do-copy-or-rename-file-directly): Avoid separate
 -      tramp-send-command-and-check call.
 -      (tramp-handle-process-file): Merge three remote ops into one.
 -      Do not flush all caches when `process-file-side-effects' is set.
 -      (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
 -      file-attributes shows uid/gid to be set already.
 -
 -2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * textmodes/tex-mode.el (tex-dvi-view-command)
 -      (tex-show-queue-command, tex-open-quote):
 -      * progmodes/ruby-mode.el (auto-mode-alist)
 -      (interpreter-mode-alist): Purecopy strings.
 -
 -      * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
 -
 -      * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
 -      string for the hook, keymap and abbrev table.
 -
 -      * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
 -
 -      * x-dnd.el (x-dnd-xdnd-to-action):
 -      * startup.el (fancy-startup-text, fancy-about-text): Change to
 -      defconst from defvar.
 -
 -      * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
 -
 -      * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
 -      Purecopy initialization strings.
 -
 -      * mail/sendmail.el (mail-header-separator)
 -      (mail-personal-alias-file):
 -      * mail/rmail.el (rmail-default-dont-reply-to-names)
 -      (rmail-ignored-headers, rmail-retry-ignored-headers)
 -      (rmail-highlighted-headers, rmail-secondary-file-directory)
 -      (rmail-secondary-file-regexp):
 -      * files.el (null-device, file-name-invalid-regexp)
 -      (locate-dominating-stop-dir-regexp)
 -      (inhibit-first-line-modes-regexps): Purecopy initialization strings.
 -      (interpreter-mode-alist): Use mapcar instead of mapc.
 -
 -      * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
 -
 -      * bindings.el (mode-line-major-mode-keymap): Purecopy name.
 -      (completion-ignored-extensions):
 -      (debug-ignored-errors): Purecopy strings.
 -
 -2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
 -      (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
 -      (pcomplete--here): Use push.
 -
 -      * subr.el (all-completions): Declare the 4th arg obsolete.
 -
 -2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * pcomplete.el (pcomplete-unquote-argument-function): New var.
 -      (pcomplete-unquote-argument): New function.
 -      (pcomplete--common-suffix): Always pay attention to case.
 -      (pcomplete--table-subvert): Quote and unquote the text.
 -      (pcomplete--common-quoted-suffix): New function.
 -      (pcomplete-std-complete): Use it and pcomplete-begin.
 -
 -      * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
 -      we're inside a dedicated or minibuffer window.
 -
 -2009-10-24  Karl Fogel  <kfogel@red-bean.com>
 -
 -      * bookmark.el: Update documentation, especially documentation
 -      of `bookmark-alist' and of the bookmark file format.
 -      Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
 -
 -2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * mail/emacsbug.el (report-emacs-bug): Clarify that the
 -      keybindings apply to the mail buffer (Bug#4003).  Shrink help
 -      window to buffer.
 -
 -      * whitespace.el (whitespace-mode, whitespace-newline-mode)
 -      (global-whitespace-mode, global-whitespace-newline-mode)
 -      (whitespace-toggle-options, global-whitespace-toggle-options):
 -      Doc fix (Bug#3660).
 -
 -      * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
 -      of xmltok-start before the end tag was inserted (Bug#2840).
 -
 -      * progmodes/sh-script.el (sh-font-lock-paren): Handle case
 -      patterns that are preceded by an open-paren (Bug#1320).
 -
 -2009-10-24  Sven Joachim  <svenjoac@gmx.de>
 -
 -      * files.el (delete-directory): Delete symlinks to directories with
 -      delete-file (Bug#4739).
 -
 -2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc.el (vc-backend-for-registration): Rename from
 -      vc-get-backend-for-registration.  Update callers.
 -
 -      * international/mule-cmds.el (set-language-info-alist):
 -      Purecopy lang-env.
 -      (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
 -      (charset): Purecopy the name.
 -      (define-char-code-property): Purecopy string arguments.
 -
 -      * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
 -      Purecopy string arguments.
 -
 -      * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
 -      * ediff-hook.el (menu-bar-ediff-menu):
 -      * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
 -      * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
 -
 -2009-10-24  Glenn Morris  <rgm@gnu.org>
 -
 -      * comint.el (comint-dynamic-list-completions):
 -      * term.el (term-dynamic-list-completions): Use choose-completion rather
 -      than obsolete alias mouse-choose-completion.
 -
 -      * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
 -      file-cache-choose-completion.
 -      (file-cache-choose-completion): Handle an optional event argument.
 -      (file-cache-mouse-choose-completion): Make it an obsolete alias.
 -
 -      * progmodes/octave-mod.el (octave-complete-symbol):
 -      Use choose-completion if mouse-choose-completion is ever removed.
 -
 -      * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
 -      use.
 -
 -      * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
 -      compiler.
 -
 -      * vc-hooks.el (vc-responsible-backend): Fix declaration.
 -
 -2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * minibuffer.el (completion--embedded-envvar-table): Fix last change.
 -      Ignore `pred' now that we receive one.
 -      Handle test-completion specially.
 -
 -2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc.el (vc-responsible-backend): Throw an error if not backend is
 -      found.  Remove the REGISTER argument.  Move the code dealing with
 -      REGISTER ...
 -      (vc-get-backend-for-registration): ... here.  New function.
 -      (vc-deduce-fileset): Call vc-get-backend-for-registration instead
 -      of vc-responsible-backend, pass the file name instead of the
 -      directory name.
 -
 -2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
 -      New funs.
 -      (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
 -      (pcomplete-comint-setup): Don't modify a global var via
 -      accidental side-effects.
 -      (pcomplete-shell-setup): Adjust call accordingly.
 -      (pcomplete-parse-comint-arguments): Use push.
 -
 -2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
 -      Allow uncapitalized info node names (Bug#3921).
 -
 -      * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
 -      to the DEBUG file (Bug#3781).
 -
 -2009-10-23  Jari Aalto  <jari.aalto@cante.net>
 -
 -      * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
 -      dictionary entry (Bug#4579).
 -
 -2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
 -      from `rfn-eshadow-update-overlay-hook' when unloading.
 -      (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
 -      "rsyncc".  Adjust doc string.
 -      (tramp-temp-buffer-file-name): New buffer-local defvar.
 -      (tramp-handle-insert-file-contents, tramp-handle-write-region):
 -      Keep temporary file when indicated by method ("rsync" and
 -      "rsyncc").
 -      (tramp-handle-write-region): Handle APPEND.
 -      (tramp-delete-temp-file-function): New defun.  Added to
 -      `kill-buffer-hook'.
 -
 -2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
 -
 -2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
 -      (color-name-rgb-alist, tty-standard-colors)
 -      (tty-color-mode-alist): Change to defconst.
 -
 -      * simple.el (mark-inactive): Purecopy message.
 -
 -      * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
 -      (global-map, yank-menu):
 -      * textmodes/ispell.el (ispell-menu-map):
 -      * net/eudc.el (eudc-tools-menu):
 -      * international/mule-cmds.el (describe-language-environment-map)
 -      (setup-language-environment-map, set-coding-system-map)
 -      (mule-menu-keymap):
 -      * vc-hooks.el (vc-menu-entry, vc-menu-map):
 -      * replace.el (occur-mode-map):
 -      * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
++      * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
 -2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
 +2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * button.el (button): Inherit from link face.  Suggested by Dan
 +      Nicolaescu.
 +
 +2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * progmodes/gdb-mi.el: Fit in 80 columns.
 +      (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
 +      switch-to-buffer.
 +
 +      * progmodes/which-func.el (which-func-ff-hook): Don't output a message
 +      if imenu is simply not configured (bug#8941).
 +
 +2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
 +
 +      * allout.el (allout-post-undo-hook): New allout outline-change
 +      event hook to signal undo activity.
 +      (allout-post-command-business): Run allout-post-undo-hook if an
 +      undo just occurred.
 +      (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
 +      * allout-widgets.el (allout-widgets-after-undo-function):
 +      Ensure the integrity of the current item's decoration after it has been
 +      in the vicinity of an undo.
 +      (allout-widgets-mode): Include allout-widgets-after-undo-function
 +      on the new allout-post-undo-hook.
 +
 +2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
 +      Let define-derived-mode define it.
 +      * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
 +      cycles of abbrev-table inheritance (bug#8998).
 +
 +2011-07-05  Roland Winkler  <winkler@gnu.org>
 +
 +      * textmodes/bibtex.el: Add support for biblatex.
 +      (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
 +      (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
 +      (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
 +      (bibtex-entry-alist, bibtex-field-alist): New variables.
 +      (bibtex-entry-field-alist): Obsolete alias for
 +      bibtex-BibTeX-entry-alist.
 +      (bibtex-entry-alist, bibtex-field-alist): New widgets.
 +      (bibtex-set-dialect): New command.
 +      (bibtex-entry-type, bibtex-entry-head)
 +      (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
 +      Bind via bibtex-set-dialect.
 +      (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
 +      (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
 +      (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
 +      (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
 +      Define via bibtex-set-dialect.
 +      (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
 +      Obey bibtex-no-opt-remove-re.
 +      (bibtex-vec-push, bibtex-vec-incr): New functions.
 +      (bibtex-format-entry, bibtex-field-list)
 +      (bibtex-print-help-message, bibtex-validate)
 +      (bibtex-search-entries): Use new format of bibtex-entry-alist.
 +
 +2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * calc/calc.el (math-read-number, math-read-number-simple):
 -      Use `save-match-data'.
 +      * progmodes/compile.el (compilation-goto-locus):
 +      * net/tramp-cmds.el (tramp-append-tramp-buffers):
 +      * bs.el (bs-cycle-next, bs-cycle-previous):
 +      * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
 +      * bindings.el (mode-line-other-buffer):
 +      * autoinsert.el (auto-insert):
 +      * arc-mode.el (archive-extract):
 +      * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
  
 -2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
 -      rather than fiddling with global-map bindings, since it should only
 -      affect per-terminal settings.
 -      See http://bugs.gentoo.org/show_bug.cgi?id=289709.
 +      * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
 +      Fix check of `emacs-lock-unlockable-modes'.
 +      Coerce true values of `emacs-lock--try-unlocking' to t.
  
 -      * minibuffer.el (completion-table-with-terminator): Allow to specify
 -      the terminator-regexp.
 +2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * simple.el (switch-to-completions): Look for *Completions* in other
 -      frames as well.
 +      * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
 +      * emacs-lock.el: New file.
  
 -      * pcomplete.el: Allow the use of completion-tables.
 -      (pcomplete-std-complete): New command.
 -      (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
 -      (pcomplete--here): Use a function for `form' rather than an expression,
 -      so it can be byte-compiled.
 -      (pcomplete-here, pcomplete-here*): Adjust accordingly.
 -      Add edebug declaration.
 -      (pcomplete-show-completions): Remove unused var `curbuf'.
 -      (pcomplete-do-complete, pcomplete-stub):
 -      Don't assume `completions' is a list of strings any more.
 +2011-07-05  Julien Danjou  <julien@danjou.info>
  
 -2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * find-dired.el (find-name-arg): Fix typo in docstring.
 -
 -2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
 -      (pcmpl-linux-fs-types): Same, and update to new modules layout.
 -
 -      * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
 -      pcomplete-entries.
 +      * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
 +      than `boundp' to check if face is set.
  
 -      * comint.el (comint-read-input-ring, comint-write-input-ring)
 -      (comint-substitute-in-file-name)
 -      (comint-dynamic-complete-as-filename)
 -      (comint-dynamic-simple-complete)
 -      (comint-dynamic-list-filename-completions)
 -      (comint-dynamic-list-completions)
 -      (comint-redirect-results-list-from-process): Minor simplifications.
 +2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
  
 -2009-10-21  Kevin Ryde  <user42@zip.com.au>
 +      * register.el (registerv-make):
 +      * window.el (window-min-height): Fix typos in docstrings.
  
 -      * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
 -      When inserting ";;; Code" put it before any ";;;###autoload" cookie on
 -      the first form.  And insert a blank line after ";;; Code" since
 -      that's usual style.  (Bug#4612)
 +2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
  
 -      * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
 +      * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
 +      Update doc string.
  
 -2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * minibuffer.el (completion-table-with-terminator): Properly implement
 -      boundaries, in case `terminator' appears in the suffix.
 -      (completion--embedded-envvar-table): Don't return boundaries if
 -      there's no valid completion.  Simplify.
 -      (completion-file-name-table): New completion table extracted from
 -      completion--file-name-table.
 -      (completion--file-name-table): Use it.
 -      (read-file-name-predicate): Declare obsolete.
 -      (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
 -      * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
 -      completion-file-name-table, and use the `pred' argument.
 -      * files.el (locate-file-completion-table): Use the `pred' arg rather
 -      than read-file-name-predicate.
 -      (abbreviate-file-name): Use \` rather than ^ for BOS.
 +      * server.el (server-execute): Catch quit and call
 +      `server-return-error' to pass the error back to emacsclient and
 +      close the connection (bug#8942).
  
 -2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
 +2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
  
 -      * vc.el (vc-deduce-fileset): Undo previous change, do not tell
 -      vc-responsible-backend to register, it causes problems.
 +      * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
 +      insecure exception for current topic.  Also note that auto-saves
 +      are handled differently.
  
 -2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
 +      State variables for tracking auto-save inhibition situation.
  
 -      * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
 +      (allout-write-contents-hook-handler): Rename from
 +      'allout-write-file-hook-handler', and describe how it depends on
 +      write-contents-functions sensitivity to non-nil value to prevent
 +      file write.
  
 -2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
 +      (allout-auto-save-hook-handler): Remove.  auto-save does not check
 +      this in individual buffers, only in the starting buffer, so this
 +      is not the right way for us to inhibit auto-save in a buffer
 +      according to its condition.
  
 -      * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
 -      (tramp-smb-handle-file-attributes): Use it.
 -      (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
 -      (tramp-smb-handle-insert-directory): Use `mapc' rather than
 -      `mapcar'.  Use `tramp-smb-get-stat-capability'.
 -      Add `dired-filename' text properties.
 -      (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
 -      (tramp-smb-maybe-open-connection): Simplify check for smbclient
 -      version.
 +      (allout-mode): Use new allout-write-contents-hook-handler, and
 +      only with write-contents-functions.  Remove auto-save provisions -
 +      they're implemented elsewhere.
  
 -2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      (allout-before-change-handler): If undo is in progress, note that
 +      for attention of allout-post-command-business.
  
 -      * subr.el (read-key-delay): Reduce to 0.01.
 -      (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
 -      (bug#4751).
 +      (allout-post-command-business): If the command we're following was
 +      an undo, check for change in the status of encrypted items and
 +      adjust auto-save inhibitions accordingly.
  
 -2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      (allout-toggle-subtree-encryption): Adjust auto-save inhibition
 +      according to whether there are or aren't any plain-text topics
 +      pending encryption.
  
 -      * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
 +      (allout-inhibit-auto-save-info-for-decryption):
 +      Adjust buffer-saved-size and some allout state to inhibit auto-saves if
 +      there are plain-text topics pending encryption.
  
 -      * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
 -      (Info-menu): Remove unused vars `last' and `completions'.
 -      (Info-index-nodes): Remove unused var `node'.
 +      (allout-maybe-resume-auto-save-info-after-encryption): Adjust
 +      buffer-saved-size and some allout state to not inhibit auto-saves
 +      if there are no longer any plain-text topics pending encryption.
  
 -      * info.el (Info-complete-menu-item): Use complete-with-action.
 +      (allout-next-topic-pending-encryption),
 +      (allout-encrypt-decrypted): No longer provide for exemption of the
 +      current topic.
  
 -2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
 +2011-07-04  Juri Linkov  <juri@jurta.org>
  
 -      Make vc-annotate work through copies and renames.
 -      * vc-annotate.el (vc-annotate-extract-revision-at-line):
 -      Return the file name too.
 -      (vc-annotate-revision-at-line)
 -      (vc-annotate-find-revision-at-line)
 -      (vc-annotate-revision-previous-to-line)
 -      (vc-annotate-show-log-revision-at-line): Update to get the file
 -      name from vc-annotate-extract-revision-at-line.
 -      (vc-annotate-show-diff-revision-at-line-internal): Change the
 -      argument to mean whether to show a file diff or not.  Get the file
 -      name from vc-annotate-extract-revision-at-line.
 -      (vc-annotate-show-diff-revision-at-line):
 -      Update vc-annotate-show-diff-revision-at-line call.
 -      (vc-annotate-warp-revision): Add an optional file argument.
 +      Add 7z operations to delete and save changed members (bug#8968).
 +      * arc-mode.el (archive-7z-expunge, archive-7z-update):
 +      New defcustoms.
 +      (archive-7z-write-file-member): New function.
 +      (archive-7z-summarize): Fix the number of dashes in the
 +      listing output.
  
 -      * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
 -      (vc-git-annotate-extract-revision-at-line): Also return the file
 -      name if found.
 +2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
 -      command.  Remove unused code.
 -      (vc-hg-annotate-re): Update to match --follow output.
 -      (vc-hg-annotate-extract-revision-at-line): Also return the file
 -      name if found.
 +      * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
 +      (bug#8958).
  
 -      * vc.el: Update annotate-extract-revision-at-line documentation.
 +2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
  
 -2009-10-18  Kevin Ryde  <user42@zip.com.au>
 +      * bindings.el: Ignore next-buffer and previous-buffer in
 +      minibuffer-local-map.
  
 -      * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
 -      re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
 +      * font-lock.el (font-lock-builtin-face): Change light background
 +      color to dark slate blue (Bug#6693).
  
 -      * net/browse-url.el (browse-url): Identify alist with "consp and
 -      not functionp" and let all other things go down the `apply' leg,
 -      as suggested by Stefan.  (Further to bug#4531.)
 +2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
  
 -2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
 +      * progmodes/gdb-mi.el (gdb): Use completion-at-point.
  
 -      * minibuffer.el (read-file-name): Check for repeat before putting
 -      a default argument in file-name-history (Bug#4657).
 +2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
 -      read syntax (Bug#4737).
 +      * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
 +      * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
 +      Add switch-to-buffer.
  
 -      * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
 +2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
 +      * isearch.el (isearch-search-fun-function): Clarify further the
 +      meaning of the function returned.
  
 -      * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
 -      (html-tag-alist, html-tag-help): Add descriptions for undocumented
 -      entries and make note of obsolete tags.
 +2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
  
 -2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
  
 -      * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
 +      * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
 +      (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
 +      Use it.
 +      (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
 +      `tramp-default-remote-path' does not exist.
 +      (tramp-send-command-and-read): New optional argument NOERROR.
 +      (tramp-open-connection-setup-interactive-shell)
 +      (tramp-get-remote-path, tramp-get-remote-stat): Use it.
 +      (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
 +      (tramp-process-sentinel): Flush also process' connection property.
 +      (tramp-sh-handle-start-file-process): Do not set process
 +      sentinel.  It is done now ...
 +      (tramp-maybe-open-connection): ... here.  (Bug#8929)
  
 -2009-10-18  Glenn Morris  <rgm@gnu.org>
 +2011-07-04  MON KEY  <monkey@sandpframing.com>
  
 -      * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
 -      grep, so that binary files (eg international/uni-bidi.el) can match.
 -      Remove test for "UnicodeData" files, since it is hopefully unnecessary
 -      now, and in any case the file header format has changed.
 +      * play/animate.el (animate-string): Doc fixes and allow changing
 +      the buffer name (bug#5417).
  
 -2009-10-17  Glenn Morris  <rgm@gnu.org>
 +2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -      * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
 -      (flyspell-get-word, flyspell-large-region)
 -      (flyspell-auto-correct-previous-word): Doc/error message fixes.
 +      * play/animate.el (animation-buffer-name): Rename from *animate*.
  
 -2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
 +2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
  
 -      * Makefile.in (ELCFILES): Add ede/shell.
 +      * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
 +      This is simpler and helps future-proof the code.
 +      (timer-until): Use time-subtract and float-time.
 +      (timer--time-less-p): Use time-less-p.
  
 -2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
 +2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * term/common-win.el (x-colors): Purecopy it.
 +      * type-break.el (timep): Use the value of `float-time' to avoid a
 +      byte-compiler warning.
  
 -2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * server.el (server-eval-and-print): Return any result, even nil.
  
 -      * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
 -      permissive for when the buffer is empty.
 -      (tar-header-block-tokenize): Decode the username and groupname.
 -      (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
 +2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
  
 -2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * type-break.el: Accept time formats that the builtins accept.
 +      (timep, type-break-time-difference): Accept any format that
 +      float-time accepts, rather than insisting on (HIGH LOW USECS) format.
 +      This is simpler and helps future-proof the code.
 +      (type-break-time-difference): Round rather than ignoring
 +      subseconds components.
  
 -      * international/mule-cmds.el (select-safe-coding-system): If the file
 -      has a coding cookie, use it regardless of any other setting (bug#4712).
 +2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -2009-10-17  Glenn Morris  <rgm@gnu.org>
 +      * info.el (Info-apropos-matches): Make non-interactive, since it
 +      doesn't seem to do anything useful as a command (bug#8829).
  
 -      * foldout.el (foldout-mouse-swallow-events):
 -      * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
 +2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
 -      (dired-keep-marker-copy, dired-keep-marker-hardlink)
 -      (dired-keep-marker-symlink, dired-dwim-target)
 -      (dired-copy-preserve-time): Do not autoload these defcustoms.
 +      * frame.el (frame-background-mode, frame-set-background-mode):
 +      Move from faces.el.
 +      (frame-default-terminal-background): New function.
  
 -      * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
 -      messages from messing up the file coding.  (Bug#4623)
 +      * custom.el (custom-push-theme): Don't record faces in `changed'
 +      theme; this doesn't work correctly for per-frame face settings.
 +      (disable-theme): Use face-set-after-frame-default to reset faces.
 +      (custom--frame-color-default): New function.
  
 -2009-10-17  Jari Aalto  <jari.aalto@cante.net>
 +2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -      * textmodes/ispell.el (ispell-get-decoded-string): Give an error
 -      if no match is found for the current dictionary.  (Bug#4578)
 +      * dired.el (dired-flagging-regexp): Remove unused variable
 +      (bug#8769).
  
 -      * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
 -      optional, since that is how it is documented, and this is often called
 -      with a nil argument.  (Bug#4577)
 -      (flyspell-external-point-words, flyspell-auto-correct-word)
 -      (flyspell-correct-word-before-point, flyspell-word-search-forward)
 -      (flyspell-word-search-backward): Remove nil argument in calls to
 -      flyspell-get-word, since it is not needed now.
 +2011-03-29  Kevin Ryde  <user42@zip.com.au>
  
 -2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
 +      * progmodes/compile.el (compilation-error-regexp-alist-alist):
 +      `perl-Test2' extend to match possible "fail #N" rep count
 +      (bug#8377).
  
 -      * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
 +2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -2009-10-16  Glenn Morris  <rgm@gnu.org>
 +      * mail/feedmail.el (feedmail-buffer-to-smtpmail):
 +      `smtpmail-via-smtp' now returns the error instead of nil.
  
 -      * net/rcirc.el (rcirc-authenticate): Simplify previous change.
 +      * isearch.el (isearch-search-fun-function): Clarify the doc string
 +      (bug#8101).
  
 -2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
 +2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
  
 -      * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
 -      (ange-ftp-file-size): New function.
 -      (ange-ftp-file-attributes): Use it.
 +      * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
 +      unnecessary spaces (bug#8987).
  
 -2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
 +2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -      * net/tramp-smb.el (tramp-smb-version): New defvar.
 -      (tramp-smb-maybe-open-connection): Use it, in order to avoid
 -      repeated checks.
 +      * net/network-stream.el (open-network-stream): Use the
 +      :end-of-capability command thoughout.
  
 -2009-10-16  Glenn Morris  <rgm@gnu.org>
 +2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
  
 -      * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
 -      Maybe copy some custom properties from old to new name.  (Bug#4706)
 +      * net/network-stream.el (open-network-stream): Add the
 +      :end-of-capability command parameter, used by pop3.el.
  
 -2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
 +2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -      * subr.el (error, sit-for, start-process-shell-command)
 -      (start-file-process-shell-command): Set the calling convention
 -      after the function definition.
 +      * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
  
 -2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * fringe.el (fringe-query-style): Remove redundant text " (type ?
 +      for list)" (bug#6475).
  
 -      * subr.el (error, sit-for, start-process-shell-command)
 -      (start-file-process-shell-command): Use the new
 -      set-advertised-calling-convention feature.
 +      * files.el (file-expand-wildcards): Ignore non-readable
 +      sub-directories while trying to find matches instead of signalling
 +      an error (bug#6297).
  
 -2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
 +      * man.el (Man-reference-regexp): Allow matching possible
 +      word-wrapped references (bug#6289).
  
 -      * international/ucs-normalize.el (ucs-normalize-version):
 -      Change to 1.2.
 -      (check-range): Adjust for Unicode 5.2.
 +      * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
 +      for consistency with the other vc buffers (bug#6197).
 +      (vc-checkin): Ditto.
  
 -2009-10-15  Juri Linkov  <juri@jurta.org>
 +      * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
  
 -      * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
 -      to the `menu-item' format.
 +      * longlines.el (longlines-mode): Document what ARG does (bug#6150).
  
 -2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
 +2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -      * net/tramp.el (tramp-replace-environment-variables): Do not fail
 -      if the environment variable does not exist.
 +      * custom.el (defcustom): Clarify that :set is only used in the
 +      Customize user interface (bug#6089).
  
 -      * net/tramp-smb.el (tramp-smb-errors): Add error messages.
 -      (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
 -      parameter.
 -      (tramp-smb-handle-add-name-to-file)
 -      (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
 -      (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
 -      (tramp-smb-handle-file-attributes)
 -      (tramp-smb-do-file-attributes-with-stat)
 -      (tramp-smb-handle-file-local-copy)
 -      (tramp-smb-handle-insert-directory)
 -      (tramp-smb-handle-make-directory)
 -      (tramp-smb-handle-make-directory-internal)
 -      (tramp-smb-handle-make-symbolic-link)
 -      (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
 -      (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
 -      (tramp-smb-maybe-open-connection): Apply the changed parameters.
 -      (tramp-smb-read-file-entry): Read Disk names in compressed format.
 -      Handle long file names.
 -      (tramp-smb-get-cifs-capabilities): Check, whether the connection
 -      process is running.
 -      (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
 -      Read share names with "-g" option.
 -
 -2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
 -
 -      * net/rcirc.el (rcirc-view-log-file): New command.
 -      (rcirc-track-minor-mode-map): Remove C-c ` binding.
 -      (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
 -      specified.
 -
 -2009-10-15  Glenn Morris  <rgm@gnu.org>
 -
 -      * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
 -      from the second command-line argument.
 -      * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
 -      ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
 -      ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
 -      w32-batch-update-autoloads.
 -      * emacs-lisp/autoload.el (autoload-make-program): New variable.
 -      (batch-update-autoloads): Handle autoload-excludes on windows-nt.
 -
 -      * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
 -      the headers cannot be located.  Simplify, subtracting superflous
 -      save-excursions.
 -
 -2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      Replace completion-base-size by completion-base-position to fix bugs
 -      such as (bug#4699).
 -      * simple.el (completion-base-position): New var.
 -      (completion-base-size): Mark as obsolete.
 -      (choose-completion): Make it work for mouse events as well.
 -      Pass the new base-position to choose-completion-string.
 -      (choose-completion-guess-base-position): New function, extracted from
 -      choose-completion-delete-max-match.
 -      (choose-completion-delete-max-match): Use it.  Make obsolete.
 -      (choose-completion-string): Use the new base-position info.
 -      (completion-root-regexp): Delete.
 -      (completion-setup-function): Preserve completion-base-position.
 -      Eliminate obsolete base-size manipulation.
 -      * minibuffer.el (display-completion-list): Don't mess with base-size.
 -      (minibuffer-completion-help): Set completion-base-position instead.
 -      * mouse.el (mouse-choose-completion): Redefine as a mere alias to
 -      choose-completion.
 -      * textmodes/bibtex.el (bibtex-complete):
 -      * emacs-lisp/crm.el (crm--choose-completion-string):
 -      Adjust to new calling convention.
 -      * complete.el (partial-completion-mode): Use minibufferp to avoid
 -      bumping into incompatible change to choose-completion-string-functions.
 -      * ido.el (ido-choose-completion-string): Make its calling convention
 -      more permissive.
 -      * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
 -      base-size manipulation.
 -      (comint-dynamic-list-input-ring): Use dotimes and push.
 -      * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
 -      fundamental-mode.  Use `or'.
 +      * progmodes/flymake.el (flymake-mode): If the buffer isn't
 +      associated with a file, refuse to run instead of erroring out
 +      (bug#6084).
  
 -2009-10-14  Juri Linkov  <juri@jurta.org>
 +      * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
 +      the doc string, since it appears that using `fill-column' always
 +      controls the width (bug#7845).
  
 -      * misearch.el (multi-isearch-next-buffer-from-list)
 -      (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
 +      * simple.el (shell-command-on-region): Say where the error output
 +      went if `shell-command-default-error-buffer' is set (bug#6857).
  
 -2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
  
 -      * Makefile.in (compile-onefile): Load `bytecomp' rather than
 -      `bytecomp.el'.
 +      * allout.el (allout-yank-processing): Adjust cursor position for
 +      backwards-deleted space.
  
 -      * minibuffer.el (completion-pcm--merge-completions): Make sure the
 -      string we return is all made up of text from the completions rather
 -      than part from the completions and part from the input (bug#4219).
 +      (allout-rebullet-heading): Register changes with
 +      allout-exposure-changed-hook, so the modified topic is properly
 +      decorated.
  
 -      * ido.el (ido-everywhere): Use define-minor-mode.
 +2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -      * buff-menu.el (list-buffers, ctl-x-map):
 -      Mark the entry points with ;;;###autoload cookies.
 +      * minibuffer.el (completion-in-region): Document PREDICATE
 +      (bug#7136).
  
 -2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
 +      * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
 +      of keyword/argument pairs (bug#6904).
  
 -      * vc-git.el (vc-git-dir-extra-headers): Set the branch name
 -      correctly in the detached head case.
 -      (vc-git-print-log): Remove unused binding.
 +      * replace.el (multi-occur):
 +      Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
  
 -      * vc.el (vc-responsible-backend): When a directory is passed for
 -      for registration create a VC repository if no backend is
 -      responsible for the directory argument.
 -      (vc-deduce-fileset): Tell vc-responsible-backend to register.
 +2011-07-02  Drew Adams  <drew.adams@oracle.com>
  
 -      * vc.el: Move comments about RCS and SCCS ...
 -      * vc-rcs.el:
 -      * vc-sccs.el: ... here, respectively.
 +      * dired.el (dired-mark-if): Make the message about whether it's
 +      marking or unmarking clearer (bug#8523).
  
 -2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -      * minibuffer.el (completion--file-name-table): Return nil if there's
 -      no file completion, even if substitute-in-file-name changed
 -      the string (bug#4708).
 +      * disp-table.el (display-table-print-array): New function.
 +      (describe-display-table): Use it to print the vectors more pretty
 +      (Bug#8859).
  
 -2009-10-13  Juri Linkov  <juri@jurta.org>
 +2011-07-02  Martin Rudalics  <rudalics@gmx.at>
  
 -      * files-x.el (read-file-local-variable-value): Don't filter out
 -      minor modes from mode name completion (bug#4664).
 +      * window.el (window-state-get-1): Don't assign clone numbers.
 +      Add clone-of item to list of window parameters.
 +      (window-state-put-2): Don't process clone numbers.
 +      (display-buffer-alist): Fix doc-string.
  
 -2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
 +2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * international/mule-cmds.el (ucs-names): Remove exclusion of
 -      "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
 +      * subr.el (remq): Don't allocate if it's not needed.
 +      (keymap--menu-item-binding, keymap--menu-item-with-binding)
 +      (keymap--merge-bindings): New functions.
 +      (keymap-canonicalize): Use them to refine the canonicalization.
 +      * minibuffer.el (minibuffer-local-completion-map)
 +      (minibuffer-local-must-match-map): Move initialization from C.
 +      (minibuffer-local-filename-completion-map): Move initialization from C;
 +      don't inherit from anything here.
 +      (minibuffer-local-filename-must-match-map): Make obsolete.
 +      (completing-read-default): Use make-composed-keymap to combine
 +      minibuffer-local-filename-completion-map with either
 +      minibuffer-local-must-match-map or
 +      minibuffer-local-filename-completion-map.
  
 -2009-10-13  Kenichi Handa  <handa@m17n.org>
 +2011-07-01  Glenn Morris  <rgm@gnu.org>
  
 -      * international/uni-name.el: Regenerated.
 +      * type-break.el (type-break-time-sum): Use dolist.
  
 -2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
 +      * textmodes/flyspell.el (flyspell-word-search-backward):
 +      Replace CL function.
  
 -      * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
 -      should be automatically buffer-local, but isn't.)
 +2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2009-10-12  Sam Steingold  <sds@gnu.org>
 +      * mouse.el (mouse--strip-first-event): New function.
 +      (function-key-map): Use it to map fringe clicks to normal clicks
 +      by default.
  
 -      * progmodes/compile.el (compilation-next-error-function): Fix the
 -      timestamps if the buffer has been visited before.
 -      (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
 -      non-anchored patterns, like the perl one (bug#3928).
 +      * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
 +      (vc-bzr-revision-completion-table): Add support for annotate and date.
  
 -2009-10-12  Glenn Morris  <rgm@gnu.org>
 +      * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
 +      inherit from parent.
  
 -      * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
 -      Let-bind `size'.
 +2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
 +      * dired-aux.el (dired-diff): Doc fixup (bug#8816).
 +      (dired-show-file-type): Doc fixup (bug#8818).
  
 -      * proced.el (proced-unload-function): New function.
 +      * dired.el (dired-mode): Fix up the doc string as suggested by
 +      Drew Adams (bug#8817).
  
 -      * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
 -      (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
 -      Doc fix.
 +      * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
 +      cookie, since the manual says that it should be possible to add
 +      this function to `find-file-hook' (bug#8709).
  
 -      * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
 +2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
  
 -2009-10-11  Juri Linkov  <juri@jurta.org>
 +      * progmodes/cfengine.el: Moved all cfengine3.el functionality
 +      here.  Noted Ted Zlatanov as the maintainer.
 +      (cfengine-common-settings, cfengine-common-syntax): New functions
 +      to set up common things between `cfengine-mode' and
 +      `cfengine3-mode'.
 +      (cfengine3-mode): New mode.
 +      (cfengine3-defuns cfengine3-defuns-regex
 +      (cfengine3-class-selector-regex cfengine3-category-regex)
 +      (cfengine3-vartypes cfengine3-font-lock-keywords)
 +      (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
 +      (cfengine3-indent-line): Add from cfengine3.el.
  
 -      * files-x.el (read-file-local-variable-value):
 -      Provide default value only for bound variables (bug#4664).
 +2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
  
 -2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
 +      * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
  
 -      * net/tramp.el (tramp-local-host-p): Function shall return nil for
 -      connection methods like smb.
 +      * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
  
 -      * net/tramp-cache.el (tramp-flush-connection-property): The hash
 -      can be empty.
 +2011-07-01  Martin Rudalics  <rudalics@gmx.at>
  
 -      * net/tramp-smb.el (tramp-smb-errors): Add error messages.
 -      (tramp-smb-file-name-handler-alist): Add handlers for
 -      `add-name-to-file', `make-symbolic-link'.
 -      (tramp-smb-handle-add-name-to-file)
 -      (tramp-smb-do-file-attributes-with-stat)
 -      (tramp-smb-handle-make-symbolic-link)
 -      (tramp-smb-get-cifs-capabilities): New defuns.
 -      (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
 -      (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
 -      (tramp-smb-handle-file-local-copy)
 -      (tramp-smb-handle-make-directory-internal)
 -      (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
 -      The file name syntax depends on cifs capabilities.
 -      (tramp-smb-handle-file-attributes):
 -      Call `tramp-smb-do-file-attributes-with-stat' if possible.
 -      (tramp-smb-handle-insert-directory): Use posix attributes if possible.
 -      (tramp-smb-handle-set-file-modes): It is applicable for posix only.
 +      * window.el (same-window-buffer-names, same-window-regexps)
 +      (same-window-p, special-display-frame-alist)
 +      (special-display-popup-frame, special-display-function)
 +      (special-display-buffer-names, special-display-regexps)
 +      (special-display-p, pop-up-frame-alist, pop-up-frame-function)
 +      (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
 +      (split-window-preferred-function, split-height-threshold)
 +      (split-width-threshold, even-window-heights)
 +      (display-buffer-mark-dedicated, window-splittable-p)
 +      (split-window-sensibly, window-safely-shrinkable-p):
 +      Un-obsolete.
 +      (display-buffer): Don't spread args with function specifier
 +      because special-display-popup-frame won't like it.
  
 -2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
 +2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
  
 -      * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
 -      (eieio-defclass): Apply deftype handler and setf-method properties
 -      directly.
 -      (eieio-add-new-slot): Avoid union function from cl library.
 -      (eieio--typep): New function.
 -      (eieio-perform-slot-validation): Use it.
 +      Time-stamp simplifications and fixes.
 +      These improve accuracy slightly, and future-proof the code
 +      against some potential changes to current-time format.
  
 -2009-10-10  Karl Fogel  <kfogel@red-bean.com>
 +      * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
 +      by using time-since and float-time.
  
 -      * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
 -      Update documentation to refer to the variables documented in r1.135.
 -      (Bug#4188)
 +      * vc/ediff-util.el (ediff-calc-command-time): Use time-since
 +      and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
 +      + NNN microseconds".
  
 -2009-10-10  Karl Fogel  <kfogel@red-bean.com>
 +      * type-break.el (type-break-time-sum): Rewrite using time-add.
  
 -      * bookmark.el (Info-suffix-list): Remove this unused variable.
 -      (bookmark-current-point): Remove this obsolete variable.
 -      (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
 -      Adjust for removal of bookmark-current-point.
 +      * play/hanoi.el (hanoi-current-time-float): Remove.
 +      All uses replaced by float-time.
  
 -      (bookmarks-already-loaded, bookmark-current-buffer)
 -      (bookmark-yank-point): Document.  (Bug#4188)
 +      * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
 +      This yields a more-accurate answer.
 +      (rng-time-to-float): Remove; no longer needed.
  
 -2009-10-10  Glenn Morris  <rgm@gnu.org>
 +      * emacs-lisp/timer.el (timer-relative-time): Use time-add.
  
 -      * frame.el (frame-height): Doc fix.
 +      * calendar/timeclock.el (timeclock-seconds-to-time):
 +      Defalias to seconds-to-time, since they're the same thing.
  
 -      * calendar/calendar.el (calendar-split-width-threshold): New option.
 -      (calendar-basic-setup): Use calendar-split-width-threshold.
 +      * emacs-lisp/elp.el (elp-elapsed-time):
 +      * emacs-lisp/benchmark.el (benchmark-elapse):
 +      * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
  
 -2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
 +2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
 -      Ideographic Supplement" range (U+1F200..U+1F2FF).
 +      * window.el (bury-buffer): Don't iconify the only frame.
 +      (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
 +      to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
  
 -2009-10-09  Karl Fogel  <kfogel@red-bean.com>
 +2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
 -      since the list will have been rebuilt anyway.  (Bug#4349)
 +      * eshell/em-smart.el (eshell-smart-display-navigate-list):
 +      Add mouse-yank-primary.
  
 -2009-10-09  Karl Fogel  <kfogel@red-bean.com>
 +2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
  
 -      * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
 -      (bookmark-bmenu-execute-deletions): Don't save here, as
 -      bookmark-delete will now do so if necessary.
 -      Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
 -      (Bug#4348)
 +      * progmodes/cfengine3.el: New file to support CFEngine 3.x.
  
 -2009-10-09  Glenn Morris  <rgm@gnu.org>
 +2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * mail/emacsbug.el (report-emacs-bug): Also print `features'.
 +      * emacs-lisp/find-func.el (find-library--load-name): New fun.
 +      (find-library-name): Use it to find relative load names when provided
 +      absolute file name (bug#8803).
  
 -2009-10-09  Karl Fogel  <kfogel@red-bean.com>
 +2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -      * bookmark.el (bookmark-jump): Add new `display-func' parameter.
 -      (bookmark-jump-other-window): Just invoke bookmark-jump with new
 -      argument now, so the two function's behaviors will match.  (Bug#3645)
 +      * textmodes/flyspell.el (flyspell-word): Consider words that
 +      differ only in case as potential doublons (bug#5687).
  
 -2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
 +      * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
 +      Remove two rather uninteresting debugging-like messages to make
 +      debbugs.el more silent.
  
 -      * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
 -      (tramp-file-name-real-host, tramp-file-name-port):
 -      Apply `save-match-data'.
 +      * comint.el (comint-password-prompt-regexp): Accept "Response" as
 +      a password-like phrase.
  
 -      * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
 -      case both directories are remote.
 -      (tramp-smb-handle-expand-file-name): Implement "~" expansion.
 -      (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
 +2011-06-30  Mastake YAMATO  <yamato@redhat.com>
  
 -2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
 +      * progmodes/cc-guess.el: New file.
  
 -      * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
 +      * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
  
 -2009-10-07  Glenn Morris  <rgm@gnu.org>
 +      * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
 +      derived from `c-basic-common-init'.
  
 -      * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
 -      of concat.
 +      * progmodes/cc-mode.el (top-level): Require cc-guess.
 +      (c-basic-common-init): Use `cc-choose-style-for-mode'.
  
 -2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2011-06-30  Lawrence Mitchell  <wence@gmx.li>
  
 -      * files-x.el (read-file-local-variable): Include some
 -      non-user-variables in the completion table (bug#4664).
 +      * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
  
 -2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
 +2011-06-30  Alan Mackenzie  <acm@muc.de>
  
 -      * net/tramp-cache.el (tramp-flush-connection-property): Add trace
 -      message.
 +      * progmodes/cc-engine.el (c-guess-continued-construct):
 +      Correct the handling of template-args-cont, particularly for when font
 +      lock is disabled.  Name this case as "CASE G".
  
 -      * net/tramp-smb.el (tramp-smb-errors): Add error messages.
 -      (tramp-smb-file-name-handler-alist): Add handler for
 -      `copy-directory', `expand-file-name', `set-file-modes'.
 -      (tramp-smb-handle-copy-directory)
 -      (tramp-smb-handle-expand-file-name)
 -      (tramp-smb-handle-set-file-modes): New defuns.
 -      (tramp-smb-handle-copy-file): Handle KEEP-DATE.
 -      (tramp-smb-handle-file-attributes): Simplify check for retrieving
 -      entry.
 -      (tramp-smb-handle-insert-directory): Don't flush the cache.
 -      (tramp-smb-maybe-open-connection): Check for samba client and
 -      server versions.
 +2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
  
 -2009-10-07  Eli Zaretskii  <eliz@gnu.org>
 +      * allout.el (allout-yank-processing): Fix injection of extra space
 +      between bullet and non-whitespace character in first topic when
 +      pasting, ensuring that the actual spacing in the pasted topic
 +      following the bullet char is preserved.  This extra space was
 +      causing pasted encrypted topics to get a decrypted status even
 +      when the content was actually still encrypted.  Now the decryption
 +      status from before the paste is preserved.
  
 -      * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
 -      to not error out of search for "^lisp=" fails.
 +      (allout-flag-region): Set all allout overlays so they evaporate
 +      when reduced to zero length (evanescent), to prevent overlay
 +      leakage.
  
 -2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
 +2011-06-30  Glenn Morris  <rgm@gnu.org>
  
 -      * makefile.w32-in (WINS_UPDATES): New macro.
 -      (custom-deps, finder-data, autoloads): Use it.
 +      * w32-fns.el (w32-charset-info-alist): Declare.
  
 -2009-10-07  Glenn Morris  <rgm@gnu.org>
 +      * find-dired.el (find-grep-options): Simplify.
  
 -      * Makefile.in (autoloads): Revert previous change.
 -      * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
 -      the list of preloaded files passed on the command-line, get
 -      it from src/Makefile.
 +      * term/ns-win.el (ns-set-resource): Declare.
  
 -      * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
 -      show the original buffer rather than a random one.
 +      * ses.el (row, col): Declare dynamic variables honestly.
  
 -2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
 +      * textmodes/reftex-parse.el (index-tags): Declare.
  
 -      * help.el (describe-no-warranty): Place point in a slightly better
 -      position in the GPLv3 text.
 +2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
  
 -2009-10-06  Sam Steingold  <sds@gnu.org>
 +      * cus-edit.el (customize-push-and-save): New function.
  
 -      * net/tramp-compat.el (tramp-compat-process-running-p): Check that
 -      the comm attribute is present before calling regexp-quote.
 +      * files.el (hack-local-variables-confirm): Use it.
  
 -2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
 +      * custom.el (load-theme): New arg NO-CONFIRM.
 +      Use customize-push-and-save (Bug#8720).
 +      (custom-enabled-themes): Doc fix.
  
 -      * play/animate.el (animate-string): For good effect, make sure
 -      `indent-tabs-mode' and `show-trailing-whitespace' are nil.
 +      * cus-theme.el (customize-create-theme)
 +      (custom-theme-merge-theme): Callers to load-theme changed.
  
 -      * play/animate.el (animate-sequence, animate-birthday-present):
 -      * misc.el (butterfly): Don't set `indent-tabs-mode'.
 +2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -2009-10-06  Glenn Morris  <rgm@gnu.org>
 +      * thingatpt.el (thing-at-point-short-url-regexp): Require that
 +      short URLs have at least one dot in them (bug #7614).
  
 -      * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
 +      * progmodes/grep.el (rgrep): Bind `process-connection-type' to
 +      nil, because using a pty is apparently too slow (bug #895).
  
 -      * emacs-lisp/autoload.el (autoload-excludes): New variable.
 -      (autoload-generate-file-autoloads): Skip files in autoload-excludes.
 -      (batch-update-autoloads): Process a string value of autoload-excludes,
 -      set during the build process.
 -      * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
 +2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -      * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
 -      inside with-parsed...  macro so that `v' is defined.
 +      * mail/sendmail.el (sendmail-query-once): New function.
 +      (sendmail-query-once-function): New variable.
  
 -      * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
 -      * progmodes/fortran.el (fortran-end-of-block)
 -      (fortran-beginning-of-block):
 -      Also push mark in the macro case.
 +2011-06-29  Glenn Morris  <rgm@gnu.org>
  
 -      * emerge.el (emerge-show-file-name):
 -      * calc/calc.el (calc-quit):
 -      * calc/calc-misc.el (calc-big-or-small):
 -      * calc/calc-graph.el (calc-graph-view):
 -      * calc/calc-ext.el (calc-reset):
 -      * calendar/calendar.el (calendar-basic-setup):
 -      Use window-full-height-p.
 +      * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
  
 -      * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
 -      header we don't understand, don't insert another.  (Bug#4624)
 -      If changing mime charset, insert the new one in the right place.
 +      * ses.el (top-level): Require cl when compiling.
 +      (ses-set-localvars): Fix error statement.
 +      Call it at compile time to silence a storm of warnings.
  
 -2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
 +2011-06-29  Martin Rudalics  <rudalics@gmx.at>
  
 -      * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
 -      (cal-tex-cursor-month): Correctly increment the end date for diary and
 -      holiday listing.  (Bug#4626)
 +      * window.el (normalize-live-buffer): Rename to
 +      window-normalize-buffer.
 +      (normalize-live-frame): Rename to window-normalize-frame.
 +      (normalize-any-window): Rename to window-normalize-any-window.
 +      (normalize-live-window): Rename to window-normalize-live-window.
 +      (make-window-atom): Rename to window-make-atom.
 +      (window-resize-reset): Rename to window--resize-reset.
 +      (window-resize-reset-1): Rename to window--resize-reset-1.
 +      (resize-mini-window): Rename to window--resize-mini-window.
 +      (resize-subwindows-skip-p): Rename to
 +      window--resize-subwindows-skip-p.
 +      (resize-subwindows-normal): Rename to
 +      window--resize-subwindows-normal.
 +      (resize-subwindows): Rename to window--resize-subwindows.
 +      (resize-other-windows): Rename to window--resize-siblings.
 +      (resize-this-window): Rename to window--resize-this-window.
 +      (resize-root-window): Rename to window--resize-root-window.
 +      (resize-root-window-vertically): Rename to
 +      window--resize-root-window-vertically.
 +      (normalize-buffer-to-display): Rename to
 +      window-normalize-buffer-to-display.
 +      (normalize-buffer-to-switch-to): Rename to
 +      window-normalize-buffer-to-switch-to.
 +      Correspondingly update all callers of the functions listed
 +      above.
 +      (display-buffer-alist, display-buffer-normalize-arguments)
 +      (display-buffer-normalize-options, display-buffer)
 +      (display-buffer-alist-set): Use "function" instead of
 +      "fun-with-args".
  
 -2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * help-fns.el (describe-function-1): Don't burp if the function is not
 -      a symbol.
 +      * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
 +      addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
 +      debbugs.gnu.org.  Mention acknowledgment email.
  
 -2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
 +2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -      * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
 -      (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
 -      (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
 -      (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
 +      * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
 +      buffer multibyteness, since it shouldn't matter.
  
 -      * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
 -      (eieio-default-superclass): Reflow docstrings.
 -      (this, class-option-assoc, defclass, eieio-class-un-autoload)
 -      (eieio-unbind-method-implementations, defmethod)
 -      (eieio-validate-slot-value, eieio-validate-class-slot-value)
 -      (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
 -      (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
 -      (eieio-slot-originating-class-p, eieio-slot-name-index)
 -      (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
 -      (constructor, initialize-instance, no-next-method, object-print)
 -      (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
 -      Fix typos in docstrings.
 -      (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
 -      (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
 -      (next-method-p): Doc fixes.
 -      (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
 -      Fix typos in error messages.
 -      (eieio-defmethod): Fix typo in description of generic method.
 -
 -      * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
 -      (eieio-persistent-save-interactive, slot-missing):
 -      Fix typos in docstrings.
 -      (eieio-instance-inheritor-slot-boundp): Doc fix.
 +2011-06-28  Martin Rudalics  <rudalics@gmx.at>
  
 -      * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
 -      (byte-compile-defmethod-param-convert): Fix typos in docstrings.
 +      * window.el (display-buffer-in-side-window): Handle dedicated
 +      windows as in display-buffer-reuse-window.
 +      (display-buffer-normalize-alist): Use value of override
 +      specifier.
 +      (display-buffer-normalize-specifiers): Use value of
 +      other-window-means-other-frame specifier.
 +      (display-buffer-alist): Rewrite some texts in widgets.
 +      (display-buffer): Spread arguments when calling function
 +      specified by fun-with-args.
  
 -      * emacs-lisp/eieio-custom.el (eieio-done-customizing)
 -      (eieio-custom-object-apply-reset):
 -      Fix typos in docstrings and error messages.
 +2011-06-28  Deniz Dogan  <deniz@dogan.se>
  
 -      * emacs-lisp/eieio-datadebug.el (data-debug-show):
 -      Fix typo in docstring.
 +      * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
 +      Unnest `let'.
  
 -      * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
 -      (eieio-browse-tree): Doc fix.
 -      (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
 -      (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
 -      Fix typos in docstrings.
 +      * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
 +      selectors (Bug#5732).
 +      (css-proprietary-nmstart-re): Use `regexp-opt'.
  
 -      * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
 -      (eieio-speedbar-key-map, eieio-speedbar-create-engine)
 -      (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
 -      (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
 -      Reflow docstrings.
 -
 -2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc-hg.el (log-view-vc-backend): Declare for compiler.
 -      (vc-hg-outgoing-mode, vc-hg-incoming-mode):
 -      Set log-view-vc-backend so that diff can work.
 -
 -      * log-view.el (log-view-diff): Use vc-diff-internal instead of
 -      vc-version-diff.
 -      (vc-diff-internal): Autoload this instead of vc-version-diff.
 -
 -2009-10-05  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * simple.el (eval-expression): Doc fix.
 -
 -      * progmodes/cwarn.el (cwarn-mode): Doc fix.
 -
 -2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * files.el (directory-files-no-dot-files-regexp): New defconst.
 -      (delete-directory): Use it.
 -      (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
 -
 -      * net/tramp.el (tramp-verbose): Fix docstring.
 -      (tramp-methods): Add recursive option to `tramp-copy-args'.
 -      Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
 -      "scp1_old", "scp2_old", "rsync", "rsyncc".
 -      (tramp-default-method): Check also for `auth-source-user-or-password'.
 -      (tramp-file-name-handler-alist, tramp-file-name-for-operation):
 -      Add handler for `copy-directory'.
 -      (tramp-handle-copy-directory): New defun.
 -      (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
 -      (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
 -      Optimize sent command.
 +2011-06-27  Jari Aalto  <jari.aalto@cante.net>
  
 -2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
 +      (eshell-ls-date-format): New defcustom.
 +      (eshell-ls-file): Use it.
  
 -      * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
 -      window if necessary.
 +2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * calendar/calendar.el (calendar-basic-setup): Don't call
 -      switch-to-buffer in a dedicated window.
 +      * help-fns.el (describe-variable): Fix message for terminal-local vars.
  
 -2009-10-05  Karl Fogel  <kfogel@red-bean.com>
 +2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
  
 -      * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
 -      don't do anything related to relocating, just return nil.
 -      (bookmark-error-no-filename): New error.
 -      (bookmark-default-handler): Signal `bookmark-error-no-filename' if
 -      bookmark has no file.  Don't even attempt to handle things that
 -      are not files; the whole point of custom handlers is to keep that
 -      knowledge elsewhere anyway.  Tighten some comments.
 -      (bookmark-file-or-variation-thereof): Remove now-unused function.
 -      (bookmark-location): Doc string fix.
 -      (Bug#4250)
 +      * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
 +      (ange-ftp-make-tmp-name): New arg.
 +      (ange-ftp-file-local-copy): Use it.
  
 -2009-10-04  Karl Fogel  <kfogel@red-bean.com>
 +2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
  
 -      * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
 -      don't use a file dialog, because they usually don't know how to read
 -      a directory target from the user.  (Bug#4230)
 -      Also, make sure the prompt can display directories as well as files.
 +      * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
 +      no-conversion (Bug#8870).
  
 -2009-10-04  Karl Fogel  <kfogel@red-bean.com>
 +2011-06-27  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (window-right, window-left, window-child)
 +      (window-child-count, window-last-child)
 +      (window-iso-combination-p, walk-window-tree-1)
 +      (window-atom-check-1, window-tree-1, delete-window)
 +      (window-state-get-1, display-buffer-even-window-sizes): Adapt to
 +      new naming conventions - window-vchild, window-hchild,
 +      window-next and window-prev are now called window-top-child,
 +      window-left-child, window-next-sibling and window-prev-sibling
 +      respectively.
 +      (resize-window-reset): Rename to window-resize-reset.
 +      (resize-window-reset-1): Rename to window-resize-reset-1.
 +      (resize-window): Rename to window-resize.
 +      (window-min-height, window-min-width)
 +      (resize-mini-window, resize-this-window, resize-root-window)
 +      (resize-root-window-vertically, adjust-window-trailing-edge)
 +      (enlarge-window, shrink-window, maximize-window)
 +      (minimize-window, delete-window, quit-restore-window)
 +      (split-window, balance-windows, balance-windows-area-adjust)
 +      (balance-windows-area, window-state-put-2)
 +      (display-buffer-even-window-sizes, display-buffer-set-height)
 +      (display-buffer-set-width, set-window-text-height)
 +      (fit-window-to-buffer): Rename all "resize-window" prefixed
 +      calls to use the "window-resize" prefix convention.
 +      (display-buffer-alist): Fix symbol for label specifier.
 +      (display-buffer-reuse-window): Set reuse-dedicated to cdr of
 +      corresponding specifier.
 +      Reported by Juanma Barranquero <lekktu@gmail.com>.
 +
 +2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
 +
 +      * ses.el (ses-destroy-cell-variable-range): Fix heading comment
 +      convention.
 +      (ses-call-printer): Does not pass an empty string to formatter when the
 +      cell is empty to keep from barking printer Calc math-format-value.
 +
 +2011-06-27  Richard Stallman  <rms@gnu.org>
 +
 +      * battery.el (battery-mode-line-limit): New variable.
 +      (battery-update): Handle it.
 +
 +      * mail/rmailmm.el (rmail-mime-process-multipart):
 +      Handle truncated messages.
 +
 +2011-06-27  Glenn Morris  <rgm@gnu.org>
 +
 +      * progmodes/flymake.el (flymake-err-line-patterns):
 +      Allow for column numbers in the ant/javac pattern.  (Bug#8866)
 +
 +2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
 +
 +      * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
 +      (ses--clean-!, ses--clean-_): New functions.
 +      (ses-range): Add configurability of readout order, and conversion
 +      to Calc vector.
 +
 +      * ses.el (ses-repair-cell-reference-all): New function.
 +      (ses-cell-symbol): Set macro as safe, so that it can be used in
 +      formulas.
 +
 +      * ses.el: Update cycle detection algorithm.
 +      (ses-localvars): Add ses--Dijkstra-attempt-nb and
 +      ses--Dijkstra-weight-bound, and initial values thereof when applicable.
 +      (ses-set-localvars): New function.
 +      (ses-make-cell): Add property-list as a cell element.
 +      (ses-cell-property-get-fun, ses-cell-property-get)
 +      (ses-cell-property-delq-fun, ses-cell-property-set-fun)
 +      (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
 +      New functions.
 +      (ses-cell-property-set, ses-cell-property-pop)
 +      (ses-cell-property-get-handle): New macro.
 +      (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
 +      New aliases, used for code readability.
 +      (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
 +      cycle detection.
 +      (ses-self-reference-early-detection): New defcustom.
 +      (ses-formula-references): Robustify against self-refering cells.
 +      (ses-mode): Use ses-set-localvars.
 +      (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
 +      before lauching the update processing.
 +      (ses-initialize-Dijkstra-attempt): New function.
 +      (ses-recalculate-cell): Update for cycle detection based on
 +      Dijkstra algorithm.
  
 -      * bookmark.el (bookmark-set, bookmark-buffer-name):
 -      Improve doc strings.  (Bug#1193)
 +      * ses.el: Fix commenting and indenting convention.
  
 -2009-10-04  Karl Fogel  <kfogel@red-bean.com>
 +2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
 -      (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
 -      (bookmark-get-annotation, bookmark-set-annotation)
 -      (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
 -      (bookmark-set-position, bookmark-get-front-context-string)
 -      (bookmark-set-front-context-string, bookmark-get-rear-context-string)
 -      (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
 -      (bookmark-jump-other-window, bookmark-handle-bookmark)
 -      (bookmark-relocate, bookmark-insert-location, bookmark-rename)
 -      (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
 -      (bookmark-edit-annotation-mode, bookmark-edit-annotation):
 -      Improve doc strings to say whether bookmark can be a string or
 -      a record or both, and make other consistency and clarity fixes.
 -      (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
 -      (bookmark-default-annotation-text, bookmark-yank-word)
 -      (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
 -      (bookmark-import-new-list, bookmark-maybe-rename)
 -      (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
 -      (bookmark-bmenu-bookmark): Give these doc strings.
 -      (bookmark-bmenu-check-position): Give this a doc string, but also
 -      add a FIXME comment about how the function may be pointless.
 -      (bookmark-default-handler): Rework doc string and change a
 -      parameter name, to clarify that this takes a bookmark record
 -      not a bookmark name.
 -      (bookmark-set): Change a parameter name to indicate its meaning,
 -      and improve the doc string a bit.
 -      (Bug#4188)
 +      * bs.el (bs-cycle-next): Complete last change.
  
 -2009-10-04  Karl Fogel  <kfogel@red-bean.com>
 +2011-06-27  Drew Adams  <drew.adams@oracle.com>
  
 -      * bookmark.el (bookmark-alist): Document the new `handler' element
 -      in the param alist.
 -      (bookmark-make-record-function): Adjust documentation for above.
 -      (Bug#4193)
 +      * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
  
 -2009-10-04  Karl Fogel  <kfogel@red-bean.com>
 +2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -      * info.el (Info-bookmark-make-record): Document this function.
 -      (Info-bookmark-jump): Document with a doc string, not just a comment.
 -      (Bug#4203)
 +      * net/network-stream.el (network-stream-open-starttls):
 +      Don't re-get capabilities unless we've reestablished connection.
 +      (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
  
 -2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
 +      * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
 +      to binary to possibly avoid line encoding issues on Windows (among
 +      other things).
  
 -      * files.el (copy-directory): New defun.
 +2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -      * dired-aux.el (dired-copy-file-recursive): Use it.
 +      * net/network-stream.el (open-network-stream): Return an :error
 +      saying what the problem was, if possible.
  
 -2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * files-x.el (modify-dir-local-variable)
 -      (copy-dir-locals-to-file-locals-prop-line): Fix typos in
 -      docstrings.
 -
 -      * recentf.el (recentf-unload-function): New function.
 -
 -2009-10-04  Glenn Morris  <rgm@gnu.org>
 -
 -      * window.el (window-full-height-p): Add doc string.
 -
 -2009-10-04  Martin Rudalics  <rudalics@gmx.at>
 -
 -      * window.el (window-full-height-p): New function.  (Bug#4543)
 -
 -2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc.el: Remove commented out code.
 -      (vc-derived-from-dir-mode): Remove, unused.
 -      (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
 -
 -2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp-ftp.el (tramp-ftp-file-name-handler):
 -      Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
 -      there could be recursive loading when `default-directory' is a
 -      remote file name.  (Bug#4614)
 -
 -2009-10-03  Glenn Morris  <rgm@gnu.org>
 -
 -      * calendar/calendar.el (calendar-basic-setup): Handle the case where
 -      the frame is wide.
 -      (calendar-generate-window): Test for shrinkability rather than width.
 -
 -      * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
 -      reusing existing buffers, in case we happen to visit two files with the
 -      same basename.  (Bug#4593)
 -
 -2009-10-02  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
 -      (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
 -      (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
 -      subdirs of cedet as well.
 -      (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
 -
 -2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
 -      Obey advertised-signature-table.
 -
 -      * help-fns.el (help-function-arglist): Don't check
 -      advertised-signature-table.
 -      (describe-function-1): Do it here instead so it also applies to subrs.
 -
 -2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * simple.el (start-file-process): Say in the doc-string, that file
 -      handlers might not support pty association, if PROGRAM is nil.
 -
 -      * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
 -      HOST and USER are strings.  They are nil, when there are
 -      incomplete entries in ~/.netrc, for example.
 -      (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
 -      root directory ("device busy" error otherwise).
 -
 -      * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
 -      Flush file properties of created directory.
 -
 -2009-10-02  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * makefile.w32-in (WINS_BASIC): Remove cedet.
 -      (WINS_CEDET): Add cedet.
 -      (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
 -
 -2009-10-02  Kevin Ryde  <user42@zip.com.au>
 -
 -      * net/browse-url.el (browse-url): Pass any symbol in
 -      browse-url-browser-function to `apply', since if you've mistakenly put
 -      an unbound symbol then the error is clearer.  (Bug#4531)
 -
 -2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * allout.el (allout-init, allout-back-to-current-heading)
 -      (allout-beginning-of-current-entry, allout-ascend-to-depth)
 -      (allout-ascend, allout-up-current-level, allout-end-of-level)
 -      (allout-previous-visible-heading, allout-forward-current-level)
 -      (allout-backward-current-level, allout-show-children):
 -      * apropos.el (apropos-describe-plist):
 -      * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
 -      * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
 -      * completion.el (add-completion, add-permanent-completion):
 -      * descr-text.el (describe-text-category, describe-char):
 -      * desktop.el (desktop-lazy-abort):
 -      * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
 -      * dired.el (dired-build-subdir-alist):
 -      * ediff.el (ediff-version):
 -      * elide-head.el (elide-head, elide-head-show):
 -      * emerge.el (emerge-version):
 -      * env.el (getenv):
 -      * face-remap.el (variable-pitch-mode):
 -      * faces.el (describe-face):
 -      * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
 -      (dired-at-point):
 -      * files.el (find-file-existing, auto-save-mode):
 -      * font-lock.el (font-lock-fontify-buffer):
 -      * help-fns.el (describe-function, describe-variable)
 -      (describe-syntax, describe-categories):
 -      * help.el (view-lossage, describe-bindings, describe-key)
 -      (describe-mode):
 -      * hexl.el (hexl-current-address):
 -      * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
 -      * info.el (Info-goto-emacs-key-command-node):
 -      * log-edit.el (log-edit-insert-cvs-template)
 -      (log-edit-insert-cvs-rcstemplate):
 -      * menu-bar.el (menu-bar-mode):
 -      * mouse.el (mouse-appearance-menu):
 -      * newcomment.el (comment-indent-new-line):
 -      * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
 -      (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
 -      (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
 -      (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
 -      * recentf.el (recentf-mode):
 -      * savehist.el (savehist-mode, savehist-save):
 -      * shadowfile.el (shadow-copy-files):
 -      * simple.el (kill-ring-save, next-line, previous-line)
 -      (normal-erase-is-backspace-mode):
 -      * strokes.el (strokes-update-window-configuration)
 -      (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
 -      (strokes-xpm-for-stroke):
 -      * time.el (emacs-uptime, emacs-init-time):
 -      * tutorial.el (tutorial--describe-nonstandard-key)
 -      (tutorial--detailed-help):
 -      * type-break.el (type-break-mode)
 -      (type-break-mode-line-message-mode, type-break-query-mode)
 -      (type-break-guesstimate-keystroke-threshold):
 -      * vc.el (vc-version-diff, vc-diff, vc-root-diff):
 -      * version.el (emacs-version):
 -      * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
 -      * winner.el (winner-mode):
 -      * calendar/timeclock.el (timeclock-in, timeclock-out)
 -      (timeclock-status-string, timeclock-change)
 -      (timeclock-workday-remaining-string)
 -      (timeclock-workday-elapsed-string)
 -      (timeclock-when-to-leave-string):
 -      * calendar/todo-mode.el (todo-add-category):
 -      * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
 -      * emacs-lisp/autoload.el (update-file-autoloads):
 -      * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
 -      (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
 -      (checkdoc-message-text, checkdoc-defun):
 -      * emacs-lisp/debug.el (debugger-list-functions):
 -      * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
 -      * emacs-lisp/eieio-opt.el (eieio-describe-class)
 -      (eieio-describe-generic):
 -      * emacs-lisp/lisp-mnt.el (lm-synopsis):
 -      * emacs-lisp/shadow.el (list-load-path-shadows):
 -      * emulation/cua-base.el (cua-mode):
 -      * emulation/edt.el (edt-set-scroll-margins):
 -      * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
 -      (tpu-toggle-regexp, tpu-toggle-search-direction)
 -      (tpu-toggle-rectangle, tpu-toggle-control-keys):
 -      * emulation/tpu-extras.el (tpu-set-scroll-margins):
 -      * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
 -      (viper-set-parsing-style-toggling-macro)
 -      (viper-set-emacs-state-searchstyle-macros):
 -      * emulation/viper.el (viper-set-hooks):
 -      * eshell/esh-mode.el (eshell-truncate-buffer):
 -      * international/mule-cmds.el (prefer-coding-system)
 -      (describe-input-method, describe-language-environment):
 -      * international/mule-diag.el (list-character-sets)
 -      (describe-character-set, describe-coding-system)
 -      (describe-fontset, list-fontsets, list-input-methods):
 -      * mail/sendmail.el (mail-signature):
 -      * net/ange-ftp.el (ange-ftp-copy-file):
 -      * net/browse-url.el (browse-url):
 -      * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
 -      * net/quickurl.el (quickurl-add-url):
 -      * net/rcirc.el (names, topic):
 -      * net/xesam.el (xesam-mode):
 -      * play/5x5.el (5x5-new-game):
 -      * play/yow.el (apropos-zippy):
 -      * progmodes/ada-mode.el (ada-mode-version):
 -      * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
 -      (f90-end-of-block)
 -      (f90-beginning-of-block):
 -      * progmodes/fortran.el (fortran-end-of-block)
 -      (fortran-beginning-of-block):
 -      * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
 -      * progmodes/python.el (python-describe-symbol, python-shell):
 -      * term/ns-win.el (ns-print-buffer):
 -      * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
 -      * textmodes/flyspell.el (flyspell-mode-on):
 -      * textmodes/page-ext.el (set-page-delimiter, pages-directory)
 -      (pages-directory-for-addresses):
 -      * textmodes/table.el (table-recognize-cell)
 -      (table-query-dimension, table-generate-source)
 -      (table-insert-sequence, table--warn-incompatibility):
 -      * textmodes/tex-mode.el (tex-validate-buffer):
 -      * textmodes/texinfmt.el (texinfmt-version)
 -      (texinfo-format-buffer):
 -      Use `called-interactively-p' instead of `interactive-p'.
 -
 -2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * image-mode.el (image-toggle-display):
 -      * emacs-lisp/elp.el (elp-instrument-function):
 -      * emacs-lisp/advice.el (ad-make-advised-definition):
 -      * emacs-lisp/easy-mmode.el (define-minor-mode):
 -      * net/browse-url.el (browse-url-maybe-new-window):
 -      * progmodes/sh-script.el (sh-learn-buffer-indent):
 -      Pass new argument 'any to `called-interactively-p'.
 -
 -2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * international/uni-bidi.el:
 -      * international/uni-category.el:
 -      * international/uni-combining.el:
 -      * international/uni-comment.el:
 -      * international/uni-decimal.el:
 -      * international/uni-decomposition.el:
 -      * international/uni-digit.el:
 -      * international/uni-lowercase.el:
 -      * international/uni-mirrored.el:
 -      * international/uni-name.el:
 -      * international/uni-numeric.el:
 -      * international/uni-old-name.el:
 -      * international/uni-titlecase.el:
 -      * international/uni-uppercase.el:
 -      Regenerate from Unicode 5.2.0 data.
 -
 -2009-10-01  Glenn Morris  <rgm@gnu.org>
 -
 -      * Makefile.in (ELCFILES): Regenerate.
 -
 -2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * subr.el (interactive-p): Mark obsolete.
 -      (called-interactively-p): Make the optional-ness of `kind' obsolete.
 -      * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
 -      advertised-signature-table for subroutines as well.
 -
 -      * emacs-lisp/byte-run.el (advertised-signature-table): New var.
 -      (set-advertised-calling-convention): New function.
 -      (make-obsolete, define-obsolete-function-alias)
 -      (make-obsolete-variable, define-obsolete-variable-alias):
 -      Make the optional-ness of `when' obsolete.
 -      (define-obsolete-face-alias): Make `when' non-optional.
 -      * help-fns.el (help-function-arglist):
 -      * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
 -      Use advertised-signature-table.
 -
 -2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * files.el (delete-directory): New defun.  The original function
 -      in fileio.c has been renamed to `delete-directory-internal'.
 -
 -      * dired.el (dired-delete-file): Call `delete-directory' with
 -      RECURSIVE parameter.
 -
 -      * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
 -      parameter RECURSIVE.  Implementation is missing.
 -
 -      * net/tramp.el (tramp-handle-make-directory): Flush upper
 -      directory's file properties.
 -      (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
 -      (tramp-handle-dired-recursive-delete-directory): Flush directory
 -      properties after the remove command only.
 -
 -      * net/tramp-fish.el (tramp-fish-handle-delete-directory):
 -      Handle optional parameter RECURSIVE.
 -
 -      * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
 -      Handle optional parameter RECURSIVE.
 -
 -      * net/tramp-smb.el (tramp-smb-errors): Add error message for
 -      connection timeout.
 -      (tramp-smb-handle-delete-directory): Handle optional parameter
 -      RECURSIVE.
 -
 -2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
 -      (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
 -      (byte-compile-defmacro): Use backquotes.
 -
 -      * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
 -
 -      * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
 -      has no associated file.
 -      (vc-resynch-buffer): Use vc-dir-buffers.
 -
 -2009-10-01  Glenn Morris  <rgm@gnu.org>
 -
 -      * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
 -      (chart-file-count):
 -      * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
 -      * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
 -      * emacs-lisp/eieio-opt.el (eieio-describe-class):
 -      * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
 -      * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
 -      (eieio-copy-parents-into-subclass, make-instance, class-children)
 -      (eieio-generic-form):
 +      * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
 +      server.
  
 -      * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
 -      match-data.  (Bug#4555).
 +      * net/network-stream.el (network-stream-open-starttls): If we
 +      wanted to use STARTTLS, and the server offered it, but we weren't
 +      able to because we had no STARTTLS support, then close the connection.
 +      (open-network-stream): Return an :error element, if present.
  
 -      * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
 -      rather than parsing it as a regexp.  This relaxes the layout
 -      requirements and makes errors easier to detect.
 -      (check-declare-verify): Check file is regular.
 -      (check-declare-directory): Doc fix.
 -      * subr.el (declare-function): Doc fix.
 +2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * ibuffer.el (ibuffer-format-qualifier):
 -      * isearch.el (hi-lock-regexp-okay):
 -      * calc/calc.el (math-zerop):
 -      * mail/uce.el (rmail-msgbeg, rmail-msgend):
 -      * term/w32-win.el (setup-default-fontset, set-fontset-font):
 -      Remove unused declarations.
 +      * hl-line.el (hl-line-sticky-flag): Doc fix.
 +      (global-hl-line-sticky-flag): New option (Bug#8323).
 +      (global-hl-line-highlight): Obey it.
  
 -2009-09-30  Glenn Morris  <rgm@gnu.org>
 +      * vc/vc.el (vc-revert-show-diff): Default to t.
  
 -      * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
 +2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
  
 -      * emacs-lisp/elint.el (elint-init-form): Report declarations where the
 -      filename is not a string.
 +      * allout-widgets.el (allout-widgets-post-command-business):
 +      Stop decorating intermediate isearch matches.  They're not being
 +      undecorated when an isearch is continued past, and isearch
 +      automatically collapses them.  This leads to "widget leaks", where
 +      decorated items accumulate in collapsed areas.  Lines with lots of
 +      hidden widgets can slow down cursor travel, substantially.
 +      Too much complicated machinery would be needed to ensure undecoration,
 +      so we're doing without this nicety.
  
 -2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
 +      (allout-widgets-tally-string): Don't try to do a hash-table-count
 +      of allout-widgets-tally when it's nil.  This eliminates spurious "Error
 +      during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
 +      *Messages* when allout-widgets-maintain-tally is t.
  
 -      * files.el (safe-local-eval-forms): Fix typo.
 +2011-06-26  Martin Rudalics  <rudalics@gmx.at>
  
 -2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * window.el (display-buffer-normalize-argument): Rename to
 +      display-buffer-normalize-arguments.  Handle special meaning of
 +      LABEL argument.  Respect special-display-function when popping up
 +      a new frame.  Fix code searching for a window showing the buffer
 +      on another frame.
 +      (display-buffer-normalize-specifiers):
 +      Call display-buffer-normalize-arguments.
 +      (display-buffer-in-window): Don't undedicate the window if its
 +      buffer remains the same.
 +      Reported by Drew Adams <drew.adams@oracle.com>.
 +      (display-buffer-alist): Add choice for same-window macro
 +      specfier.
 +      (display-buffer): Mention special meaning of LABEL argument in
 +      doc-string.  Fix quoting.  Don't pop up a new frame even as
 +      fallback.
  
 -      * vc-hooks.el (vc-dir-buffers): New var.
 -      (vc-state-refresh): New function.
 -      (vc-state): Use it.
 -      (vc-after-save): Always ask the backend to recompute the new state.
 -      Always call vc-dir if necessary, using vc-dir-buffers.
 -      * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
 -      Use vc-dir-buffers.
 -      (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
 -      (vc-dir-prepare-status-buffer, vc-dir-update)
 -      (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
 -      Don't call expand-file-name on default-directory.
 +2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
  
 -2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
 +      * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
 +      avoid deleting the current window in some cases (bug#8911).
  
 -      * speedbar.el (speedbar-item-delete):
 -      * calc/calc-prog.el (calc-kbd-if):
 -      * language/hanja-util.el (hanja-init-load): Fix typos in messages.
 +2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
  
 -      * epa.el (epa-key-list-mode-map):
 -      * hi-lock.el (hi-lock-menu): Fix typos in menus.
 +      * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
 +      (Bug#8934)
  
 -      * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
 -      (hs-show-hook): Fix typo in docstring.
 +2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -2009-09-29  Glenn Morris  <rgm@gnu.org>
 +      * net/network-stream.el (network-stream-open-starttls):
 +      Use built-in TLS support if `gnutls-available-p' is true.
 +      (network-stream-open-tls): Ditto.
  
 -      * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
 -      file-name-nondirectory call preventing location of cedet files.
 -      (check-declare-verify): Use literal search rather than re-search.
 -      Add basic defmethod and defclass, and define-overloadable-function.
 +2011-06-26  Leo Liu  <sdl.web@gmail.com>
  
 -      * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
 -      Use tramp-compat-file-attributes rather than nonexistent
 -      tramp-compat-handle-file-attributes.
 +      * register.el (registerv): New struct.
 +      (registerv-make): New function.
 +      (jump-to-register, describe-register-1, insert-register):
 +      Support the jump-func, print-func and insert-func slot of a registerv
 +      struct.  (Bug#8415)
  
 -      * Makefile.in (lisptagsfiles4): New.
 -      (AUTOGENEL): Add cedet loaddefs files.
 -      (TAGS, TAGS-LISP): Use $lisptagsfiles4.
 -      (update-elclist, compile-always, backup-compiled-files)
 -      (bootstrap-clean): Add yet another directory level.
 -      (update-elclist): Use LC_COLLATE rather than COLLATE.
 -      (ELCFILES): Update, via `make update-elclist'.
 +2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
  
 -2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
 +      * vc/vc.el (vc-revert-show-diff): New defcustom.
 +      (vc-diff-internal): New arg specifying diff buffer.
 +      (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
 +      reuse an existing *vc-diff* buffer (Bug#8927).
  
 -      * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
 -      (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
 -      (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
 +      * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
  
 -2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
 +2011-06-26  Glenn Morris  <rgm@gnu.org>
  
 -      * Makefile.in (lisptagsfiles3): Define.
 -      (TAGS, TAGS-LISP): Use it.
 -      (update-elclist): Add third directory level to look for elc files.
 -      (compile-always): Likewise.
 -      (backup-compiled-files): Likewise.
 -      (bootstrap-clean): Likewise.
 -      (ELCFILES): Update.
 +      * progmodes/f90.el (f90-critical-indent): New option.
 +      (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
 +      (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
 +      (f90-mode): Doc fix.
 +      (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
 +      (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
 +      (f90-beginning-of-block, f90-next-block, f90-indent-region)
 +      (f90-match-end): Handle block, critical.
  
 -2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
 +2011-06-25  Glenn Morris  <rgm@gnu.org>
  
 -      * Makefile.in (ELCFILES): Add CEDET files.
 +      * calendar/diary-lib.el (diary-included-files): Doc fix.
 +      (diary-include-files): New function, extracted from
 +      diary-include-other-diary-files and diary-mark-included-diary-files.
 +      (diary-include-other-diary-files, diary-mark-included-diary-files):
 +      Just call diary-include-files.
 +      (diary-mark-entries): Reset diary-included-files on first call.
  
 -2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
 +      * calendar/diary-lib.el (diary-mark-entries)
 +      (diary-mark-included-diary-files):
 +      Visit included diary-files in temp buffers.
  
 -      * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
 +      * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
 +      (f90-blocks-re, f90-program-block-re, f90-end-block-re)
 +      (f90-start-block-re, f90-imenu-generic-expression)
 +      (f90-looking-at-program-block-start, f90-no-block-limit):
 +      Add support for submodules.
  
 -      * net/tramp.el (top): Require tramp-imap.
 +      * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
 +      (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
  
 -      * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
 -      Use `tramp-compat-handle-file-attributes'.
 +2011-06-25  Eli Zaretskii  <eliz@gnu.org>
  
 -2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
 +      * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
 +      buffer-file-type before setting its value, to avoid disastrous
 +      global effects on decoding files for DOS/Windows systems.  (Bug#8780)
  
 -      * net/tramp-imap.el: New package.
 +2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
  
 -2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 +      * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
  
 -      * whitespace.el (whitespace-trailing-regexp)
 -      (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
 -      Fix doc string.
 +      * ses.el (ses-unload-function):
 +      * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
  
 -2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
 +      * proced.el (proced-unload-function):
 +      * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
  
 -      * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
 -      menu.
 +2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
  
 -      * ediff-hook.el: Move menu-bar-ediff-misc-menu into
 -      menu-bar-ediff-menu.
 +      * server.el (server-create-window-system-frame): Add parameters arg.
 +      (server-process-filter): Doc fix.  Handle frame-parameters.
  
 -      * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
 -      define-overloadable-function.
 +2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * progmodes/autoconf.el: Provide autoconf as well, so that this
 -      file can be `require'd.
 +      Fix bug#8730, bug#8781.
  
 -      * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
 +      * loadhist.el (unload--set-major-mode): New function.
 +      (unload-feature): Use it.
  
 -      * emacs-lisp/autoload.el (generated-autoload-feature)
 -      (generated-autoload-load-name): New vars.
 -      (autoload-rubric, autoload-generate-file-autoloads): Use them.
 -      (make-autoload): Recognize define-overloadable-function and
 -      defclass forms (for EIEIO).
 +      * progmodes/python.el (python-after-info-look): Add autoload cookie.
 +      (python-unload-function): New function.
  
 -      * Makefile.in (update-subdirs): Exclude cedet directory.
 +2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
 +      * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
  
 -      * term/ns-win.el: Don't set the region face background.  (Bug#4381)
 +2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
  
 -      * faces.el: Default light-background background for region face to
 -      ns_selection_color under NS.
 +      * net/browse-url.el (browse-url-firefox-program): Add icecat to
 +      the candidates list.
  
 -2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
 +2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * net/imap-hash.el: New library, see NEWS.
 +      * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
  
 -      * Makefile.in (ELCFILES): Add imap-hash.el.
 +2011-06-23  Richard Stallman  <rms@gnu.org>
  
 -2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
 +      (rmail-variables): Set next-error-move-function.
 +      (rmail-what-message): Take argument POS.
 +      (rmail-next-error-move): New function.
  
 -      * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
 -      * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
 -      * help-macro.el (make-help-screen): Avoid using an ambiguous function
 -      definition where the docstring could be taken for the return value.
 +2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2009-09-26  Glenn Morris  <rgm@gnu.org>
 +      * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
 +      messages for adjacent non-terminals.
  
 -      * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
 -      Add option to only show images below a certain size.
 -      (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
 -      save-excursion calls.
 +2011-06-23  Richard Stallman  <rms@gnu.org>
  
 -2009-09-26  Eli Zaretskii  <eliz@gnu.org>
 +      * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
 +      (rmail-show-message-1): Preserve buffer modified flag.
 +      (rmail-start-mail): Don't specify use of rmail-mail-return;
 +      that's done by mail-bury now.
 +      (rmail-mail-return): Handle arg NEWBUF.
  
 -      * makefile.w32-in (WINS_ALMOST): Add cedet (with its
 -      subdirectories) and eieio.
 +2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
  
 -2009-09-26  Alan Mackenzie  <acm@muc.de>
 +      * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
 +      SIZE is a number.
  
 -      * progmodes/cc-engine.el (c-beginning-of-statement-1):
 -      Correct buggy bracketing.  (Bug#4289)
 +2011-06-23  Martin Rudalics  <rudalics@gmx.at>
  
 -      * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
 -      character constants (as case labels).  (Bug#4289)
 +      * window.el (get-lru-window, get-mru-window)
 +      (get-largest-window): Never return a minibuffer window.
 +      (display-buffer-pop-up-window): Fix a bug that could lead to
 +      reusing the minibuffer window.
 +      (display-buffer): Pass original specifier argument to
 +      display-buffer-function instead of the normalized one.
 +      Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
  
 -2009-09-25  Juri Linkov  <juri@jurta.org>
 +2011-06-22  Leo Liu  <sdl.web@gmail.com>
  
 -      * files.el (safe-local-eval-forms): Allow time-stamp in
 -      before-save-hook (Bug#4554).
 +      * minibuffer.el (completing-read-function)
 +      (completing-read-default): Move from minibuf.c
  
 -2009-09-25  Drew Adams  <drew.adams@oracle.com>
 +2011-06-22  Richard Stallman  <rms@gnu.org>
  
 -      * menu-bar.el (list-buffers-directory): Doc fix.
 +      * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
 +      to Rmail even if not started by a special Rmail command.
  
 -2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
 +      Copy the buffer currently showing just one message.
  
 -      * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
 -      Try and avoid copying twice the same paragraph.
 -      (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
 -      Remove save-excursion.
 -      (log-edit-changelog-entry): Do it here instead.
 +2011-06-22  Roland Winkler  <winkler@gnu.org>
  
 -2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
 +      * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
 +      (bibtex-clean-entry): First delete the old key so that a
 +      customized algorithm for generating the new key does not get
 +      confused by the old key.
 +      (bibtex-url): Obey regexp of first step.
 +      (bibtex-search-entries): Do not use add-to-list with local
 +      list-var.
  
 -      * bs.el (bs--get-file-name): Use `list-buffers-directory'
 -      when available, instead of hardcoding mode names.  Doc fix.
 +2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -      * menu-bar.el (list-buffers-directory): Add docstring.
 -      Make automatically buffer-local.
 +      * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
 +      stored a user name, then query for the password first, instead of
 +      waiting for SMTP to give an error message and the trying again.
  
 -      * dired.el (dired-mode):
 -      * files.el (cd-absolute):
 -      * pcvs.el (cvs-temp-buffer):
 -      * pcvs-util.el (cvs-get-buffer-create):
 -      * shell.el (shell-mode):
 -      * vc-dir.el (vc-dir-mode):
 -      Don't make `list-buffers-directory' buffer local.
 +2011-06-22  Lawrence Mitchell  <wence@gmx.li>
  
 -2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
 +      * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
 +      BUFFER in call-process.
  
 -      * comint.el (comint-exec, comint-run, make-comint):
 -      Doc fixes (Bug#4542).
 +2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -2009-09-25  Glenn Morris  <rgm@gnu.org>
 +      * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
 +      QUIT twice.
 +      (smtpmail-try-auth-methods): Require user name and password from
 +      auth-source.
  
 -      * mail/rmailmm.el (rmail-mime): New custom group.
 -      Move all defcustoms in this file into this group.
 -      (rmail-mime-media-type-handlers-alist): Revert previous change.
 -      (rmail-mime-show-images): New option.
 -      (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
 -      references to it, since it wasn't actually used for anything.
 -      (rmail-mime-insert-image): New function.
 -      (rmail-mime-image): Use rmail-mime-insert-image.
 -      (rmail-mime-bulk-handler): Remove optional `image' argument, instead
 -      obey the value of `rmail-mime-show-images' option.  Print the size of
 -      attachments.
 +2011-06-22  Martin Rudalics  <rudalics@gmx.at>
  
 -2009-09-25  David Engster  <deng@randomsample.de>
 -
 -      * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
 -
 -2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 -
 -      * whitespace.el: Does not highlight trailing spaces While point is
 -      at end of line.  Does not highligt spaces at beginning of buffer
 -      while point is at beginning of buffer.  Does not highlight spaces
 -      at end of buffer while point is at end of buffer.  (Bug#4177)
 -      New version 12.0.
 -      (whitespace-display-mappings): Adjust initialization.
 -      (whitespace-point, whitespace-font-lock-refontify): New vars.
 -      (whitespace-color-on, whitespace-color-off): Adjust code.
 -      (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
 -      (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
 -      (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
 -
 -2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
 -
 -      * textmodes/sgml-mode.el: Remove xml-mode alias.
 -
 -      * files.el (auto-mode-alist, conf-mode-maybe)
 -      (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
 -
 -2009-09-24  Alan Mackenzie  <acm@muc.de>
 -
 -      * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
 -      c-forward-conditionals, but it doesn't move point and doesn't set
 -      the mark.
 -      (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
 -      (c-down-conditional-with-else, c-backward-conditional)
 -      (c-forward-conditional): Refactor to use c-scan-conditionals.
 -
 -2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
 -      (help-default-arg-highlight): Remove.
 -      (help-highlight-arg): New function.
 -      (help-do-arg-highlight): Use it.
 -      Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
 -
 -2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * term.el (term-set-scroll-region, term-handle-ansi-escape):
 -      Undo last change, which didn't fix the problem and introduced others.
 -
 -2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
 -
 -      * progmodes/gdb-mi.el: Don't require speedbar.
 -      (gdb-jsonify-buffer): Handle case where "=" is part of value string.
 -
 -2009-09-24  Glenn Morris  <rgm@gnu.org>
 -
 -      * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
 -
 -      * term/ns-win.el (ns-reg-to-script): Define for compiler.
 -
 -      * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
 -      there is no newline after the final mime boundary.  (Bug#4539)
 -      Move markers on insertion so that any buttons inserted don't end up in
 -      the next part of a multipart message.
 -      (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
 -      (rmail-mime-bulk-handler): Optionally handle images.
 -      (rmail-mime-image): New button action.
 -      (rmail-mime-image-handler): New function.
 -      (rmail-mime-mode): New mode.
 -      (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
 -
 -2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
 -      than just dropping elements from it (bug#4504).
 -
 -      * term.el (term-set-scroll-region): Don't move cursor any more.
 -      (term-handle-ansi-escape): Call term-goto here instead.
 -      Suggested by Ivan Kanis <apple@kanis.eu>.
 -
 -      * term.el: Require CL.
 -      (term-ansi-reset): New function.
 -      (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
 -      (term-handle-colors-array): Simplify.
 -
 -2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * allout.el (allout-overlay-interior-modification-handler)
 -      (allout-obtain-passphrase):
 -      * epa-file.el (epa-file-write-region):
 -      * ps-print.el (ps-begin-job):
 -      * vc-hooks.el (vc-toggle-read-only):
 -      * vc-rcs.el (vc-rcs-rollback):
 -      * vc-sccs.el (vc-sccs-rollback):
 -      * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
 -      (vc-version-diff, vc-revert, vc-rollback):
 -      * wdired.el (wdired-check-kill-buffer):
 -      * emacs-lisp/authors.el (authors):
 -      * net/socks.el (socks-open-connection):
 -      * net/zeroconf.el (zeroconf-service-add-hook):
 -      * obsolete/vc-mcvs.el (vc-mcvs-register):
 -      * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
 -      (gdb-select-frame):
 -      * progmodes/grep.el (lgrep, rgrep):
 -      * progmodes/idlw-help.el (idlwave-help-check-locations)
 -      (idlwave-help-html-link, idlwave-help-assistant-open-link):
 -      * textmodes/ispell.el (ispell-find-aspell-dictionaries):
 -      * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
 -      (reftex-toc-rename-label): Fix typos in error messages.
 -
 -      * dired-aux.el (dired-do-shell-command): Reflow docstring.
 -      (dired-copy-how-to-fn): Doc fix.
 -      (dired-files-attributes, dired-read-shell-command):
 -      Fix typos in docstrings.
 +      * window.el (display-buffer-default-specifiers)
 +      (display-buffer-alist): Remove entries for pop-up-frame-alist.
 +      Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
 +      (split-window): Normalize SIDE argument (Bug#8916).
  
 -      * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
 -      (dired-x-find-file-other-window): Reflow docstrings.
 -      (dired-omit-marker-char, dired-read-shell-command)
 -      (dired-x-submit-report): Fix typos in docstrings.
 +      * frame.el (pop-up-frame-alist, pop-up-frame-function)
 +      (special-display-frame-alist, special-display-popup-frame):
 +      Remove duplicate declarations.  These are now in window.el.
  
 -      * shell.el (shell-mode-hook):
 -      * view.el (View-scroll-line-forward):
 -      * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
 -      Fix typos in docstrings.
 +2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -      * net/dig.el (dig-invoke): Fix typo in docstring.
 -      (query-dig): Reflow docstring.
 -
 -      * progmodes/idlwave.el (idlwave-create-user-catalog-file)
 -      (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
 -      (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
 -      (idlwave-begin-block-reg, idlwave-begin-unit-reg)
 -      (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
 -      (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
 -      (idlwave-check-abbrev, idlwave-class-file-or-buffer)
 -      (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
 -      (idlwave-completion-map, idlwave-current-indent)
 -      (idlwave-custom-ampersand-surround, idlwave-customize)
 -      (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
 -      (idlwave-define-abbrev, idlwave-determine-class-special)
 -      (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
 -      (idlwave-end-block-reg, idlwave-end-of-statement)
 -      (idlwave-end-of-statement0, idlwave-end-of-subprogram)
 -      (idlwave-end-unit-reg, idlwave-entry-find-keyword)
 -      (idlwave-explicit-class-listed, idlwave-file-header)
 -      (idlwave-fill-paragraph, idlwave-find-class-definition)
 -      (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
 -      (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
 -      (idlwave-in-quote, idlwave-indent-action-table)
 -      (idlwave-indent-expand-table, idlwave-indent-line)
 -      (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
 -      (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
 -      (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
 -      (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
 -      (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
 -      (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
 -      (idlwave-outlawed-buffers, idlwave-popup-select)
 -      (idlwave-previous-statement, idlwave-rescan-catalog-directories)
 -      (idlwave-routine-entry-compare, idlwave-routine-info.pro)
 -      (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
 -      (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
 -      (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
 -      (idlwave-statement-type, idlwave-struct-skip)
 -      (idlwave-substitute-link-target, idlwave-toggle-comment-region)
 -      (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
 -      (idlwave-what-module-find-class): Fix typos in docstrings.
 -      (idlwave-all-method-classes, idlwave-calc-hanging-indent)
 -      (idlwave-calculate-cont-indent, idlwave-expand-equal)
 -      (idlwave-find-module, idlwave-find-structure-definition)
 -      (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
 -      (idlwave-list-load-path-shadows, idlwave-next-statement)
 -      (idlwave-routine-entry-compare-twins, idlwave-routine-info)
 -      (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
 -      (idlwave-template): Reflow docstrings.
 -
 -      * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
 -      (idlwave-shell-batch-command, idlwave-shell-bp-alist)
 -      (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
 -      (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
 -      (idlwave-shell-display-line, idlwave-shell-display-wframe)
 -      (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
 -      (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
 -      (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
 -      (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
 -      (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
 -      (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
 -      (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
 -      (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
 -      (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
 -      (idlwave-shell-scan-for-state, idlwave-shell-send-command)
 -      (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
 -      (idlwave-shell-shell-command, idlwave-shell-sources-alist)
 -      (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
 -      (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
 -      (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
 -      Fix typos in docstrings.
 -      (idlwave-shell-bp, idlwave-shell-clear-current-bp)
 -      (idlwave-shell-hide-output, idlwave-shell-mode)
 -      (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
 -      Reflow docstrings.
 -
 -      * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
 -
 -2009-09-24  Ivan Kanis  <apple@kanis.eu>
 -
 -      * term.el (term-bold-attribute): New var.
 -      (term-handle-colors-array): Use it.
 -
 -2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
 -
 -      * progmodes/gdb-mi.el (gdb-version): New variable.
 -      (gdb-non-stop-handler): Set gdb-version.
 -      (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
 -      Condition "--thread" option on gdb-version.
 -      (gdb-invalidate-threads): Remove unused argument.
 -
 -2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
 -      to looking-back to avoid ridiculous slow down in large files (bug#4511).
 -
 -2009-09-23  Glenn Morris  <rgm@gnu.org>
 -
 -      * mail/rmail.el (rmail-reply): Don't try to add a References header when
 -      replying to mail without References or Message-Id.  (Bug#4525)
 -
 -2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
 -
 -      * term/ns-win.el (ns-reg-to-script): New variable.
 -
 -2009-09-23  Daiki Ueno  <ueno@unixuser.org>
 -
 -      * epg.el (epg-wait-for-status): Preserve existing 'error results.
 -
 -2009-09-22  Sam Steingold  <sds@gnu.org>
 -
 -      * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
 -      (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
 -      to 1 because hg returns status 1 when nothing is found.
 -      Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
 -
 -2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * mail/smtpmail.el (smtpmail-via-smtp):
 +      Set :use-starttls-if-possible so that we always use STARTTLS if the
 +      server supports it.  SMTP servers that support STARTTLS commonly
 +      require it.
  
 -      * textmodes/fill.el: Convert to utf-8 encoding.
 -      (fill-french-nobreak-p): Remove redundant » and « inherited from our
 -      pre-unicode days.
 -
 -      * add-log.el (change-log-fill-forward-paragraph): New function.
 -      (change-log-mode): Use it so fill-region DTRT.
 -      Set fill-indent-according-to-mode here rather than in
 -      change-log-fill-paragraph.
 -      (change-log-fill-paragraph): Remove.
 -
 -2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
 +      * net/network-stream.el (network-stream-open-starttls): Support
 +      upgrading to STARTTLS always, even if we don't have built-in support.
 +      (open-network-stream): Add the :always-query-capabilies keyword.
  
 -      * info.el (Info-try-follow-nearest-node): Use the URL extracted by
 -      `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
 +      * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
 +      upgrades with `open-network-stream', and rely solely on
 +      auth-source for all credentials.  Big changes throughout the file,
 +      but in particular:
 +      (smtpmail-auth-credentials): Remove.
 +      (smtpmail-starttls-credentials): Remove.
 +      (smtpmail-via-smtp): Check for servers saying they want AUTH after
 +      MAIL FROM, too.
  
 -2009-09-22  Glenn Morris  <rgm@gnu.org>
 +      * net/network-stream.el (network-stream-open-starttls):
 +      Provide support for client certificates both for external and built-in
 +      STARTTLS.
 +      (auth-source): Require.
 +      (open-network-stream): Document the :client-certificate keyword.
 +      (network-stream-certificate): Change cert-cert to cert and
 +      cert-key to key.
  
 -      * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
 -      the scroll-bar scroll the calendar window rather than the buffer.
 +2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
  
 -      * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
 -      commands that move point (as opposed to scrolling).
 +      * net/tramp-cache.el (top): Don't load the persistency file when
 +      "emacs -Q" has been called.
  
 -      * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
 +2011-06-21  Tim Harper  <timcharper@gmail.com>
  
 -      * emacs-lisp/elint.el (elint): New custom group.
 -      (elint-log-buffer): Make it a defcustom.
 -      (elint-scan-preloaded, elint-ignored-warnings)
 -      (elint-directory-skip-re): New options.
 -      (elint-builtin-variables): Doc fix.
 -      (elint-preloaded-env): New variable.
 -      (elint-unknown-builtin-args): Add an entry for encode-time.
 -      (elint-extra-errors): Make it a variable rather than a constant.
 -      (elint-preloaded-skip-re): New constant.
 -      (elint-directory): Skip files matching elint-directory-skip-re.
 -      (elint-features): New variable, local to linted buffers.
 -      (elint-update-env): Initialize elint-features.  Possibly add
 -      elint-preloaded-env to the buffer's environment.
 -      (elint-get-top-forms): Bind elint-current-pos, for log messages.
 -      Skip quoted forms.
 -      (elint-init-form): New function, extracted from elint-init-env.
 -      Make non-list forms a warning rather than an error.
 -      Add the mode-map for define-derived-mode.  Handle define-minor-mode,
 -      easy-menu-define, put that adds an error-condition, and provide.
 -      When requiring cl, also require cl-macs.  Really require cl, to handle
 -      some cl macros.  Store required libraries in the list elint-features,
 -      so as not to re-load them.  Treat cc-require like require.
 -      (elint-init-env): Call elint-init-form to do the work.
 -      Handle eval-and-compile and such like.
 -      (elint-add-required-env): Do not clear messages.
 -      (elint-special-forms): Add handlers for function, defalias, if, when,
 -      unless, and, or.
 -      (elint-form): Add optional argument to ignore elint-special-forms,
 -      useful to prevent recursive calls from handlers.  Doc fix.
 -      Respect elint-ignored-warnings.
 -      (elint-form): Respect elint-ignored-warnings.
 -      (elint-bound-variable, elint-bound-function): New variables.
 -      (elint-unbound-variable): Respect elint-bound-variable.
 -      (elint-get-args): Respect elint-bound-function.
 -      (elint-check-cond-form): Add some simple handling for (f)boundp and
 -      featurep tests.
 -      (elint-check-defalias-form): New handler.
 -      (elint-check-let-form): Make an empty let a warning rather than an
 -      error.
 -      (elint-check-setq-form): Make an empty setq a warning rather than an
 -      error.  Respect elint-ignored-warnings.
 -      (elint-check-defvar-form): Accept null doc-strings.
 -      (elint-check-conditional-form): New handler.  Does some simple-minded
 -      checking of featurep and (f)boundp tests.
 -      (elint-put-function-args): New function.
 -      (elint-initialize): Use elint-scan-doc-file rather than
 -      elint-find-builtin-variables.  Use elint-put-function-args.
 -      Possibly scan preloaded-file-list.
 -      (elint-scan-doc-file): Rename from elint-find-builtin-variables and
 -      extend to handle functions as well.
 +      * term/ns-win.el (ns-initialize-window-system):
 +      Set application-specific `ApplePressAndHoldEnabled' system
 +      resource to NO as it is not yet supported by the NS port.
  
 -2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
 +2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * linum.el (linum-delete-overlays, linum-update-window):
 -      Do not modify the right margin.  (Bug#3971)
 +      * misc.el (list-dynamic-libraries--refresh): Compute header here...
 +      (list-dynamic-libraries): ...not here.
  
 -2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
 +2011-06-21  Leo Liu  <sdl.web@gmail.com>
  
 -      * files.el (conf-mode-maybe, magic-fallback-mode-alist):
 -      Use nxml-mode instead of xml-mode.
 +      * subr.el (sha1): Implement sha1 using secure-hash.
  
 -2009-09-21  Kevin Ryde  <user42@zip.com.au>
 +2011-06-21  Martin Rudalics  <rudalics@gmx.at>
  
 -      * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
 +      * window.el (display-buffer-alist): In default value do not
 +      enforce searching a window on any but the selected frame.
 +      Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
 +      (display-buffer-select-window): Remove function.
 +      (display-buffer-in-window): When a window on another frame gets
 +      reused, do not select it any more but just raise its frame if
 +      necessary (Bug#8851) and (Bug#8856).
 +      (display-buffer-normalize-options): Handle pop-up-frames related
 +      options more faithfully.
 +      (pop-to-buffer): Don't rely on `display-buffer' selecting the
 +      window if it is on another frame.
 +      (display-buffer-alist, display-buffer-default-specifiers):
 +      Don't make new frame unsplittable by default.
 +      (display-buffer-normalize-argument): Fix doc-string typo and use
 +      'same-frame-other-window instead of 'other-window when associating
 +      with display-buffer-macro-specifiers.
  
 -2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
  
 -      * net/dig.el (dig-mode): Use define-derived-mode.
 +      * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
 +      New functions.
 +      (5x5-mode-map, 5x5-mode-menu): Bind them.
 +      (5x5-draw-grid): Tweak the solver's rendering.
  
 -2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
 +2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * vc-dispatcher.el (vc-do-command): Return the process object in
 -      the asynchronous case.  Use when instead of if.  Do not run
 -      vc-exec-after to display a message if not enabled.  (Bug#4463)
 +      * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
 +      `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
  
 -      * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
 -      properties to the stash strings.
 -      (vc-git-stash-list): Return a list of strings.
 -      (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
 -      (vc-git-stash-show-at-point): New functions.
 -      (vc-git-stash-map): New keymap.
 +2011-06-21  Drew Adams  <drew.adams@oracle.com>
  
 -      * register.el (ctl-x-r-map): Define the keys here instead of
 -      using autoload.
 +      * menu-bar.el: Use function variable instead of switch-to-buffer.
 +      (menu-bar-select-buffer-function): New variable.
 +      (menu-bar-update-buffers): Use it (bug#8876).
  
 -2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
 +2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
 -      list, to workaround performance problem (bug#4485).
 +      * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
 +      variable's status.
  
 -2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
 +2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
  
 -      * progmodes/gud.el (gud-sentinel): Revert indavertant change.
 +      * x-dnd.el (x-dnd-version-from-flags)
 +      (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
 +      and long as number (Bug#8899).
 +      (x-dnd-handle-xdnd): Call functions above (Bug#8899).
  
 -2009-09-20  Daiki Ueno  <ueno@unixuser.org>
 +2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
 -      Document that this option is not recommended to use.
 +      * minibuffer.el (completion-metadata): Add `metadata' to the alist.
 +      (completion-try-completion, completion-all-completions): Compute the
 +      metadata argument if it's missing; make it optional (bug#8795).
  
 -2009-09-19  Glenn Morris  <rgm@gnu.org>
 +      * wid-edit.el: Use lex-bind and move towards completion-at-point.
 +      (widget-complete): Use new :completion-function property.
 +      (widget-completions-at-point): New function.
 +      (default): Use :completion-function instead of :complete.
 +      (widget-default-completions): Rename from widget-default-complete;
 +      Rewrite.
 +      (widget-string-complete, widget-file-complete, widget-color-complete):
 +      Remove functions.
 +      (file, symbol, function, variable, coding-system, color):
 +      * international/mule-cmds.el (default-input-method, charset)
 +      (language-info-custom-alist):
 +      * cus-edit.el (face): Use new property :completions.
  
 -      * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
 -      variable `var'.
 +      * progmodes/pascal.el (pascal-completions-at-point): New function.
 +      (pascal-mode): Use it.
 +      (pascal-mode-map): Use completion-at-point.
 +      (pascal-toggle-completions): Make obsolete.
 +      (pascal-complete-word, pascal-show-completions):
 +      * progmodes/octave-mod.el (octave-complete-symbol):
 +      Redefine as obsolete alias.
 +      * progmodes/octave-inf.el (inferior-octave-completion-at-point):
 +      Signal absence of completion info for old Octave,
 +      (inferior-octave-complete): Redefine as obsolete alias.
 +      * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
 +      (meta-completions-at-point): Rename from meta-complete-symbol and
 +      adapt it for use on completion-at-point-functions.
 +      (meta-common-mode): Use it.
 +      (meta-looking-at-backward, meta-match-buffer): Remove.
 +      (meta-complete-symbol): Redefine as obsolete alias.
 +      (meta-common-mode-map): Use completion-at-point.
 +      * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
 +      (makefile-mode-map): Use completion-at-point.
 +      (makefile-completions-at-point): Rename from makefile-complete and
 +      adapt it for use on completion-at-point-functions.
 +      (makefile-mode): Use it.
 +      (makefile-complete): Redefine as obsolete alias.
 +
 +2011-06-20  Deniz Dogan  <deniz@dogan.se>
 +
 +      * net/rcirc.el: Delete trailing whitespaces once and for all.
 +
 +2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
 +
 +      * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
  
 -      * calc/calc-alg.el (var):
 -      * calc/calcalg2.el (var): Define for compiler.
 +2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
  
 -2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
 +      * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
 +
 +      * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
 +
 +2011-06-19  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (display-buffer-other-window-means-other-frame):
 +      Call display-buffer-normalize-alist.
 +      (display-buffer-normalize-specifiers-1): Rename to
 +      display-buffer-normalize-argument.  New argument other-frame.
 +      Rewrite.
 +      (display-buffer-normalize-specifiers-2): Rename to
 +      display-buffer-normalize-options.
 +      (display-buffer-normalize-alist-1): New function.
 +      (display-buffer-normalize-specifiers-3): Rename to
 +      display-buffer-normalize-alist.
 +      Call display-buffer-normalize-alist-1.
 +      (display-buffer-normalize-options-inhibit): New variable.
 +      (display-buffer-normalize-specifiers): Rewrite calling
 +      display-buffer-normalize-alist,
 +      display-buffer-normalize-argument, and
 +      display-buffer-normalize-options.  Don't call the latter if
 +      display-buffer-normalize-options-inhibit is non-nil.
 +      (frame-auto-delete): New option.
 +      (window-deletable-p): Use frame-auto-delete.
 +      (window-list-no-nils, window-state-ignored-parameters)
 +      (window-state-get-1, window-state-get, window-state-put-list)
 +      (window-state-put-1, window-state-put-2, window-state-put):
 +      New functions.
 +      (display-buffer-normalize-options): Move special-display-p group
 +      after pop-up-frame group (Bug#8851) and (Bug#8856).
  
 -      * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
 -      Doc fix (Bug#3932).
 +2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
 +      * emacs-lisp/rx.el (rx-constituents): Add support for numbered
 +      groups (Bug#8776).
 +      (rx-submatch-n): New function.
 +      (rx): Document it.
  
 -      * time-stamp.el (time-stamp-month-dd-yyyy)
 -      (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
 -      (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
 -      (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
 -      (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
 -      Remove functions that have been obsolete since 1995 (Bug#4436).
 +      * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
 +      (Bug#8768).
  
 -      * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
 -      indent buffer only if called interactively (Bug#4452).
 +      * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
  
 -2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
 -          Eli Zaretskii  <eliz@gnu.org>
 +      * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
  
 -      This fixes bug#4197 (merged to bug#865, though not identical).
 -      * server.el (server-auth-dir): Add docstring note about FAT32.
 -      (server-ensure-safe-dir): Accept FAT32 directories as "safe",
 -      but warn against using them.
 +      * cus-face.el (custom-declare-face): Call custom-theme-recalc face
 +      anytime existing face settings are present (Bug#8889).
 +
 +      * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
 +      (delphi-mode): Use define-derived-mode to inherit from prog-mode.
 +      Remove unused argument.
 +
 +2011-06-18  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (display-buffer-default-specifiers):
 +      Remove pop-up-frame.  Add pop-up-window-min-height,
 +      pop-up-window-min-width, and another reuse-window specifier
 +      (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
 +      (display-buffer-normalize-specifiers-2):
 +      Handle split-height-threshold and split-width-threshold also when
 +      pop-up-windows is unset.  Add a reuse-window specifier for the
 +      case popping up a new window fails.
 +      (special-display-popup-frame): Remove double quoting.
 +      (display-buffer-normalize-specifiers-1): Fix thinko.
 +
 +2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * shell.el (shell-completion-vars): Set pcomplete-termination-string
 +      according to comint-completion-addsuffix.
 +
 +      * pcomplete.el: Convert to lexical binding and fix bug#8819.
 +      (pcomplete-suffix-list): Mark as obsolete.
 +      (pcomplete-completions-at-point): Capture pcomplete-norm-func and
 +      pcomplete-seen in the closure.
 +      (pcomplete-comint-setup): Setup completion-at-point as well.
 +      (pcomplete--entries): New function.
 +      (pcomplete--env-regexp): New var.
 +      (pcomplete-entries): Rewrite to work with partial-completion and
 +      without relying on pcomplete-suffix-list.
 +      (pcomplete-pare-list): Remove, unused.
 +
 +2011-06-17  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (display-buffer-alist): Set pop-up-window-min-height
 +      and pop-up-window-min-width in default value.  Reported by
 +      Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
 +      other-window-means-other-frame.
 +      (display-buffer-macro-specifiers): Comment out entry for
 +      other-window specifier.
 +      (display-buffer-other-window-means-other-frame): New function.
 +      (display-buffer-normalize-specifiers-1): New arguments
 +      buffer-name and label.  Treat other-window case specially.
 +      (display-buffer-normalize-specifiers-2): Treat other-window case
 +      specially.
 +      (display-buffer-normalize-specifiers-3): New function.
 +      (display-buffer-normalize-specifiers):
 +      Call display-buffer-normalize-specifiers-3.
 +
 +2011-06-17  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (same-window-p): Fix two typos introduced when
 +      adding with-no-warnings.
 +      (display-buffer-normalize-specifiers-1): Don't check
 +      pop-up-frames for 'unset initialization.
 +      (display-buffer-normalize-specifiers-2): Major rewrite using
 +      special-display-p and same-window-p (Bug#8851) and (Bug#8856).
 +      (pop-up-frames, display-buffer-reuse-frames)
 +      (display-buffer-mark-dedicated): Don't initialize to 'unset.
 +      Suggested by David Engster <deng@randomsample.de>.
 +      (even-window-heights): Initialize to 'unset.
 +      (display-buffer-alist-set): Handle new 'unset initializations.
 +      (display-buffer-macro-specifiers): Don't pop up a new frame in the
 +      other window case.
 +
 +2011-06-16  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (display-buffer-normalize-specifiers-1):
 +      Respect current value of pop-up-frames for most reasonable values of
 +      second argument of display-buffer (Bug#8865).
 +      (switch-to-buffer-same-frame, switch-to-buffer-other-window)
 +      (switch-to-buffer-other-window-same-frame)
 +      (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
 +      Adams (Bug#8875).
 +      (display-buffer): Don't check noninteractive when calling
 +      display-buffer-pop-up-frame.
 +      (display-buffer-pop-up-frame): Never pop up a frame in
 +      noninteractive mode (Bug#8857).
 +      (enlarge-window, shrink-window): Don't report an error when the
 +      window can't be resized as requested (Bug#8862).
 +
 +2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
 +
 +      * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
 +
 +      * abbrev.el (define-abbrev-table): Don't add a table multiple times.
 +
 +2011-06-15  Alan Mackenzie  <acm@muc.de>
 +
 +      * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
 +      for declarators, disable knr checking to speed up for normal files.
 +      2: Refactor, replacing a sequence of nested if forms by a cond form.
 +
 +2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 +
 +      * net/network-stream.el (open-network-stream): Add the keyword
 +      :always-query-capabilities for the case where you want to force a
 +      `plain' network connection, but the protocol still requires the
 +      capabilitiy command (i.e., SMTP and EHLO).
 +
 +      * subr.el (process-live-p): Rename from `process-alive-p' for
 +      consistency with other `-live-p' functions.
 +
 +2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * window.el (same-window-buffer-names, same-window-regexps)
 +      (special-display-frame-alist, special-display-popup-frame)
 +      (special-display-function, special-display-buffer-names)
 +      (special-display-regexps, pop-up-frame-alist)
 +      (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
 +      (pop-up-windows, split-window-preferred-function)
 +      (split-height-threshold, split-width-threshold, even-window-heights)
 +      (display-buffer-mark-dedicated): Don't encourage the use of
 +      display-buffer-alist from Elisp code.
 +
 +2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
 +
 +      * progmodes/python.el (python-mode): Derive from prog-mode.
 +      * progmodes/ps-mode.el (ps-mode):
 +      * progmodes/mixal-mode.el (mixal-mode):
 +      * progmodes/cfengine.el (cfengine-mode):
 +      * progmodes/ld-script.el (ld-script-mode): Likewise.
 +
 +2011-06-15  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (display-buffer-alist): Trim default value to avoid
 +      popping up a new frame (Bug#8857) or reusing an arbitrary window
 +      on another frame.
 +      (display-buffer): Do not fall back on popping up a new frame in
 +      batch mode (Bug#8857).
 +
 +2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * cus-theme.el (describe-theme-1): Use custom-theme-p.
 +      (custom-theme-summary): New function.
 +      (customize-themes): Use it.
 +
 +2011-06-13  Glenn Morris  <rgm@gnu.org>
 +
 +      * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
 +
 +2011-06-13  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * help.el (help-window): Remove variable.
 +      (help-window-point-marker, temp-buffer-max-height)
 +      (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
 +      (help-print-return-message): Don't set help-window.
 +      (resize-temp-buffer-window): Rewrite cod eand doc-string.
 +      (help-window-setup-finish): Remove.
 +      (help-window-display-message, help-window-setup)
 +      (with-help-window): Major rewrite based on new
 +      display-buffer-window variable.
 +
 +      * help-mode.el (help-mode-finish): Remove help-window related
 +      code.
 +
 +      * view.el (view-exits-all-viewing-windows): Remove reference to
 +      view-return-to-alist in doc-string.
 +      (view-return-to-alist): Make obsolete.
 +      (view-buffer): Call pop-to-buffer-same-window and remove
 +      undo-window code.
 +      (view-buffer-other-window): Call pop-to-buffer-other-window and
 +      simplify code.  Ignore second argument.
 +      (view-buffer-other-frame): Call pop-to-buffer-other-frame and
 +      simplify code.  Ignore second argument.
 +      (view-return-to-alist-update): Make obsolete.
 +      (view-mode-enter): Rename second argument to QUIT-RESTORE.
 +      Rewrite using quit-restore window parameters.
 +      (view-mode-exit): Rename second argument to EXIT-ONLY.
 +      Rewrite using quit-restore-window.
 +      (View-exit, View-exit-and-edit, View-leave, View-quit)
 +      (View-quit-all, View-kill-and-leave): Call view-mode-exit with
 +      appropriate arguments.
 +      (view-end-message): Use quit-restore window parameter.
 +
 +      * window.el (display-buffer-function): Rewrite doc-string.
 +      (display-buffer-window, display-buffer-alist): New variables.
 +      (display-buffer-split-specifiers)
 +      (display-buffer-side-specifiers)
 +      (display-buffer-macro-specifiers): New constants.
 +      (display-buffer-even-window-sizes, display-buffer-set-height)
 +      (display-buffer-set-width, display-buffer-select-window)
 +      (display-buffer-in-window, display-buffer-reuse-window)
 +      (display-buffer-split-window-1, display-buffer-split-window)
 +      (display-buffer-split-atom-window, display-buffer-pop-up-window)
 +      (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
 +      (display-buffer-in-side-window, normalize-buffer-to-display)
 +      (display-buffer-normalize-specifiers-1)
 +      (display-buffer-normalize-specifiers-2)
 +      (display-buffer-normalize-specifiers, display-buffer-frame):
 +      New functions.
 +      (display-buffer): Major rewrite.
 +      (display-buffer-other-window, display-buffer-other-frame)
 +      (pop-to-buffer, switch-to-buffer-other-window)
 +      (switch-to-buffer-other-frame): Rewrite.
 +      (display-buffer-same-window, display-buffer-same-frame)
 +      (display-buffer-same-frame-other-window)
 +      (pop-to-buffer-same-window, pop-to-buffer-same-frame)
 +      (pop-to-buffer-other-window)
 +      (pop-to-buffer-same-frame-other-window)
 +      (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
 +      (switch-to-buffer-other-window-same-frame): New functions.
 +      (same-window-p, special-display-p): Rewrite disabling warnings.
 +      Make obsolete.
 +      (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
 +      (display-buffer-mark-dedicated): Initialize to symbol 'unset.
 +      Make obsolete
 +      (same-window-buffer-names, same-window-regexps)
 +      (special-display-frame-alist, special-display-popup-frame)
 +      (special-display-function, special-display-buffer-names)
 +      (special-display-regexps, pop-up-frame-alist)
 +      (pop-up-frame-function, split-window-preferred-function)
 +      (split-height-threshold, split-width-threshold)
 +      (even-window-heights): Make obsolete.
 +
 +2011-06-12  Glenn Morris  <rgm@gnu.org>
 +
 +      * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
 +      Misc simplifications.
 +
 +2011-06-12  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (window-safely-shrinkable-p): Restore function which
 +      was inadvertently removed in change from 2011-06-11.  Declare as
 +      obsolete.
  
 -2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
 +      * calendar/calendar.el (calendar-generate-window):
 +      Use window-iso-combined-p instead of combination of one-window-p and
 +      window-safely-shrinkable-p.
 +
 +2011-06-12  Glenn Morris  <rgm@gnu.org>
 +
 +      * progmodes/fortran.el (fortran-mode-syntax-table):
 +      * progmodes/f90.el (f90-mode-syntax-table):
 +      Set % to punctuation.  (Bug#8820)
 +      (f90-find-tag-default): Remove, no longer needed.
 +
 +2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
 +
 +      * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
 +
 +2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * image.el (image-animated-p): Return animation delay in seconds.
 +      Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
 +      (image-animate-timeout): Remove DELAY argument.  Don't assume
 +      every subimage has the same delay; get it from image-animated-p.
 +      (image-animate): Caller changed.
 +
 +2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
 +      to ignored backtrace functions.
 +
 +2011-06-11  Glenn Morris  <rgm@gnu.org>
 +
 +      * calendar/appt.el (appt-disp-window-function): Doc fix.
 +      (appt-check): Handle overlapping appointments.  (Bug#8337)
 +
 +2011-06-11  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (window-tree-1, window-tree): New functions, moving
 +      the latter to window.el.
 +      (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
 +      (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
 +      (bw-refresh-edges): Remove.
 +      (balance-windows-1, balance-windows-2): New functions.
 +      (balance-windows): Rewrite in terms of window tree functions,
 +      balance-windows-1 and balance-windows-2.
 +      (bw-adjust-window): Remove.
 +      (balance-windows-area-adjust): New function with functionality of
 +      bw-adjust-window but using resize-window.
 +      (set-window-text-height): Rewrite doc-string.
 +      Use normalize-live-window and resize-window.
 +      (enlarge-window-horizontally, shrink-window-horizontally):
 +      Rename argument to DELTA.
 +      (window-buffer-height): New function.
 +      (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
 +      Rewrite using new window resize routines.
 +      (kill-buffer-and-window, mouse-autoselect-window-select):
 +      Use ignore-errors instead of condition-case.
 +      (quit-window): Call delete-frame instead of delete-windows-on
 +      for the only buffer on frame.
 +
 +2011-06-10  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * loadup.el (top-level): Load window before files for the sake
 +      of replace-buffer-in-windows.
 +
 +      * files.el (read-buffer-to-switch)
 +      (switch-to-buffer-other-window)
 +      (switch-to-buffer-other-frame, display-buffer-other-frame):
 +      Move to window.el.
 +
 +      * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
 +      (previous-buffer): Move to window.el.
 +
 +      * bindings.el (unbury-buffer): Move to window.el.
 +
 +      * window.el (delete-other-windows-vertically): Move after
 +      definition of delete-other-windows.
 +      (other-window, delete-windows-on, replace-buffer-in-windows):
 +      Move here from window.c.
 +      (record-window-buffer, unrecord-window-buffer)
 +      (set-window-buffer-start-and-point, switch-to-prev-buffer)
 +      (switch-to-next-buffer): New functions.
 +      (get-next-valid-buffer, last-buffer, next-buffer): Move here
 +      from simple.el.  Call switch-to-next-buffer.
 +      (previous-buffer): Move here from simple.el.
 +      Call switch-to-prev-buffer.
 +      (bury-buffer): Move here from buffer.c.  Switch to previous
 +      buffer when window cannot be deleted.
 +      (unbury-buffer): Move here from bindings.el.
 +      (ctl-x-map): Move binding for other-window from window.c to
 +      here.
 +      (read-buffer-to-switch, switch-to-buffer-other-window)
 +      (switch-to-buffer-other-frame): Move here from files.el.
 +      (normalize-buffer-to-switch-to): New functions.
 +      (switch-to-buffer): Move here from buffer.c.
 +      Use read-buffer-to-switch and normalize-buffer-to-switch-to.
 +
 +2011-06-10  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (window-min-height, window-min-width): Move here
 +      from window.c.  Add defcustoms and rewrite doc-strings.
 +      (resize-mini-window, resize-window): New functions.
 +      (adjust-window-trailing-edge, enlarge-window, shrink-window):
 +      Move here from window.c.
 +      (maximize-window, minimize-window): New functions.
 +      (delete-window, delete-other-windows, split-window): Move here
 +      from window.c.
 +      (window-split-min-size): New function.
 +      (split-window-keep-point): Mention split-window-above-each-other
 +      instead of split-window-vertically.
 +      (split-window-above-each-other, split-window-vertically):
 +      Rename split-window-vertically to split-window-above-each-other and
 +      provide defalias for old definition.
 +      (split-window-side-by-side, split-window-horizontally): Rename
 +      split-window-horizontally to split-window-side-by-side and provide
 +      defalias for the old definition.
 +      (ctl-x-map): Move bindings for delete-window,
 +      delete-other-windows and enlarge-window here from window.c.
 +      Replace bindings for split-window-vertically and
 +      split-window-horizontally by bindings for
 +      split-window-above-each-other and split-window-side-by-side.
 +
 +      * cus-start.el (all): Remove entries for window-min-height and
 +      window-min-width.  Add entries for window-splits and
 +      window-nest.
 +
 +2011-06-09  Glenn Morris  <rgm@gnu.org>
 +
 +      * calendar/appt.el (appt-mode-line): New function.
 +      (appt-check, appt-disp-window): Use it.
 +
 +      * files.el (hack-one-local-variable-eval-safep):
 +      Allow minor-modes with explicit +/-1 arguments.
 +
 +2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
 +
 +      * term/xterm.el (xterm): Add defgroup.
 +      (xterm-extra-capabilities): Add defcustom to supply known xterm
 +      capabilities, skip querying them, or query them (default).
 +      (terminal-init-xterm): Use it.
 +      (terminal-init-xterm-modify-other-keys): New function to set up
 +      modifyOtherKeys support to simplify `terminal-init-xterm'.
 +
 +2011-06-09  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (resize-window-reset, resize-window-reset-1)
 +      (resize-subwindows-skip-p, resize-subwindows-normal)
 +      (resize-subwindows, resize-other-windows, resize-this-window)
 +      (resize-root-window, resize-root-window-vertically)
 +      (window-deletable-p, window-or-subwindow-p)
 +      (frame-root-window-p): New functions.
 +
 +2011-06-09  Glenn Morris  <rgm@gnu.org>
 +
 +      * net/ange-ftp.el (ange-ftp-switches-ok): New function.
 +      (ange-ftp-get-files): Use it.
 +
 +2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
 +
 +      * mail/sendmail.el (mail-recover-1, mail-recover):
 +      * files.el (recover-file, recover-session):
 +      Handle dired-listing-switches not being just a single short option.
 +
 +2011-06-09  Glenn Morris  <rgm@gnu.org>
 +
 +      * calendar/appt.el (appt-display-message, appt-disp-window):
 +      Handle lists of appointments.
 +
 +2011-06-08  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (one-window-p): Move down in code.
 +      Rewrite doc-string.
 +      (window-current-scroll-bars): Rewrite doc-string.
 +      Normalize live window argument.
 +      (walk-windows, get-window-with-predicate, count-windows):
 +      Rewrite doc-string.  Use window-list-1.
 +      (window-in-direction-2, window-in-direction, get-mru-window):
 +      New functions.
  
 -      * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
 -      older GDB where there is no has_more field.
 +2011-06-08  Reuben Thomas  <rrt@sc3d.org>
  
 -2009-09-19  Glenn Morris  <rgm@gnu.org>
 +      * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
 +      Doc fix (Bug#8713).
  
 -      * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
 +2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
  
 -2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
 +      * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
  
 -      * files.el (auto-mode-alist): Change default for XML files to nXML
 -      mode (Bug#4169).
 +2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
  
 -2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
 +      * loadhist.el (unload-feature-special-hooks):
 +      Add `comint-output-filter-functions'.
  
 -      * server.el (server-ensure-safe-dir): Pass 'integer
 -      to `file-attributes', as suggested.
 +2011-06-08  Ivan Kanis  <gnu@kanis.fr>
 +
 +      * calendar/appt.el (appt-check): Move some initializations into the let.
 +
 +2011-06-08  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (window-height): Defalias to window-total-height.
 +      (window-width): Defalias to window-body-width.
 +
 +2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * image-mode.el (image-toggle-animation): New command.
 +      (image-mode-map): Bind it to RET.
 +      (image-mode): Update message.
 +      (image-toggle-display-image): Avoid a spurious cache flush.
 +      (image-transform-rotation): Doc fix.
 +      (image-transform-properties): Return quickly in the normal case.
 +      (image-animate-loop): Rename from image-animate-max-time.
 +
 +      * image.el (image-animate-max-time): Move to image-mode.el.
 +      (create-animated-image): Remove unnecessary function.
 +      (image-animate): Rename from image-animate-start.  New arg.
 +      (image-animate-stop): Remove; just use image-animate-timer.
 +      (image-animate-timer): Use car-safe.
 +      (image-animate-timeout): Rename argument.
 +
 +2011-06-07  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (get-lru-window, get-largest-window): Move here from
 +      window.c.  Rename first argument to ALL-FRAMES.
 +      Rephrase doc-strings.
 +      (get-buffer-window-list): Rewrite using window-list-1.
 +      Rephrase doc-string.
 +      (window-safe-min-height, window-safe-min-width): New constants.
 +      (window-size-ignore, window-min-size, window-min-size-1)
 +      (window-sizable, window-sizable-p, window-size-fixed-1)
 +      (window-size-fixed-p, window-min-delta-1, window-min-delta)
 +      (window-max-delta-1, window-max-delta, window-resizable)
 +      (window-resizable-p, window-total-height, window-total-width)
 +      (window-body-width): New functions.
 +      (window-full-height-p, window-full-width-p): Rewrite using
 +      window-total-size.
 +      (window-body-height): Rewrite using window-body-size.
 +
 +2011-06-06  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (window-right, window-left, window-child)
 +      (window-child-count, window-last-child, window-any-p)
 +      (normalize-live-buffer, normalize-live-frame)
 +      (normalize-any-window, normalize-live-window)
 +      (window-iso-combination-p, window-iso-combined-p)
 +      (window-iso-combinations)
 +      (walk-window-tree-1, walk-window-tree, walk-window-subtree)
 +      (windows-with-parameter, window-with-parameter)
 +      (window-atom-root, make-window-atom, window-atom-check-1)
 +      (window-atom-check, window-side-check, window-check):
 +      New functions.
 +      (ignore-window-parameters, window-sides, window-sides-vertical)
 +      (window-sides-slots): New variables.
 +      (window-size-fixed): Move down in code.  Minor doc-string fix.
  
 -2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
  
 -      * dired-aux.el (dired-query-alist): Remove spurious backslash.
 -      (dired-query): Use read-key.
 +      * comint.el (comint-dynamic-complete-as-filename)
 +      (comint-dynamic-complete-filename): Correctly call
 +      completion-in-region.
  
 -2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
 +2011-06-05  Deniz Dogan  <deniz@dogan.se>
  
 -      * cus-start.el (ns-use-qd-smoothing): Remove.
 +      * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
 +      in last change.
  
 -2009-09-18  Glenn Morris  <rgm@gnu.org>
 +2011-06-05  Deniz Dogan  <deniz@dogan.se>
  
 -      * allout.el (top-level): Remove unnecessary progn.
 +      * net/rcirc.el (rcirc-prompt-for-encryption): New function.
 +      (rcirc): Use it to prompt for encryption.
  
 -      * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
 +2011-06-05  Roland Winkler  <winkler@gnu.org>
  
 -      * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
 -      definition of abbrev table.
 +      * textmodes/bibtex.el (bibtex-search-buffer): New variable.
 +      (bibtex-search-entries): New command bound to C-c C-a.
 +      (bibtex-display-entries): New function.
  
 -      * speedbar.el (speedbar-track-mouse):
 -      * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
 -      * net/eudc.el (eudc-expand-inline):
 -      * net/newst-backend.el (newsticker--cache-read-feed):
 -      * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
 -      condition-case handlers.
 +2011-06-05  Roland Winkler  <winkler@gnu.org>
  
 -2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
 +      * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
 +      (bibtex-insert-kill): After yanking insert newline if necessary.
 +      (bibtex-initialize): Call bibtex-string-files-init only once.
 +      (bibtex-mode): Do not call easy-menu-add.
 +      (bibtex-validate-globally): Use save-excursion in bibtex buffers.
 +      (bibtex-yank): Set arg properly if nil.
  
 -      * progmodes/gdb-mi.el (gdb-frame-address): New variable.
 -      (gdb-var-list): Add an element for has_more field.
 -      (gdb-non-stop-handler): Enable pretty printing for STL containers.
 -      (gdb-var-create-handler, gdb-var-list-children-handler-1)
 -      (gdb-var-update-handler-1): Parse output of dynamic variable
 -      objects (STL containers).
 -      (gdb-var-delete-1): Pass var1 as an explicit second argument.
 -      (gdb-get-field): Delete alias.  Use bindat-get-field directly.
 +2011-06-05  Roland Winkler  <winkler@gnu.org>
  
 -      * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
 -      gdb-var-list.
 -      (gud-speedbar-buttons): Make node expandable if expression "has more"
 -      children.
 +      * textmodes/bibtex.el (bibtex-search-entry-globally):
 +      New variable.
 +      (bibtex-search-entry): Use it.
  
 -2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
 +2011-06-05  Roland Winkler  <winkler@gnu.org>
  
 -      * startup.el (emacs-quick-startup): Remove variable and all uses.
 -      (command-line): Set `inhibit-x-resources' instead.
 -      (command-line-1): Use `inhibit-x-resources' instead.
 +      * textmodes/bibtex.el (bibtex-entry-format): New option
 +      sort-fields.
 +      (bibtex-format-entry, bibtex-reformat): Honor this option.
 +      (bibtex-parse-entry): Return fields in proper order.
  
 -2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
 +2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * subr.el: Fix last change to avoid using the `unless' macro,
 -      which breaks bootstrapping.
 +      * doc-view.el (doc-view-remove-if): Move computation of result out
 +      of `dolist' to silence misleading lexical-binding warning.
  
 -2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
 -      extended definitions, in case we reload subr.el after having
 -      loaded CL.
 -      (eval-next-after-load): Mark as obsolete.
 +      * emacs-lisp/timer.el (timer-activate): Remove unused arg.
 +      (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
 +
 +2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
 +      "SunOS 5.10".
 +
 +2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
 +      (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
 +      (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
 +      (tramp-parse-putty):
 +      * net/tramp-sh.el (tramp-completion-function-alist-rsh)
 +      (tramp-completion-function-alist-ssh)
 +      (tramp-completion-function-alist-telnet)
 +      (tramp-completion-function-alist-su)
 +      (tramp-completion-function-alist-putty): Set `tramp-autoload'
 +      cookie.
 +
 +      * net/tramp-ftp.el:
 +      * net/tramp-sh.el:
 +      * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
 +      load "tramp.el" `tramp-set-completion-function'.
 +
 +2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * shell.el: Require and use pcomplete.
 +      (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
 +      (shell-completion-vars): Set pcomplete-default-completion-function.
 +
 +2011-06-04  Deniz Dogan  <deniz@dogan.se>
 +
 +      * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
 +      `memq' (Bug#8799).
 +
 +2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
 +
 +2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * bs.el (bs--mark-unmark, bs--nth-wrapper):
 +      * mpc.el (mpc-select-extend, mpc-songpointer-context):
 +      * vc/log-view.el (log-view-beginning-of-defun):
 +      * vc/smerge-mode.el (smerge-apply-resolution-patch)
 +      (smerge-refine-forward, smerge-refine-chopup-region):
 +      Silence warning for unused `dotimes' counter variables.
 +
 +2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * net/tramp.el (tramp-with-progress-reporter): Rename from
 +      with-progress-reporter.  Use `declare'.
 +      * net/tramp-smb.el:
 +      * net/tramp-sh.el:
 +      * net/tramp-gvfs.el: Update all uses.
 +
 +2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
 +
 +      * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
 +      buffer isn't killed before making it current.
 +
 +2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      Silence various byte-compiler warnings.
 +      * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
 +      `access-type' and new obsolescence format.
 +      * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
 +      new format.
 +      (byte-compile-check-variable): New `access-type' argument.
 +      Only warn if the access-type is obsolete.
 +      (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
 +      (byte-compile-variable-set): Adjust callers.
 +      * help-fns.el (describe-variable): Adjust to new obsolescence format.
 +      * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
 +      setting it as obsolete.
 +      * simple.el (minibuffer-completing-symbol):
 +      * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
 +      access as obsolete.
 +      * minibuffer.el (minibuffer-completing-file-name): Don't make it
 +      obsolete yet.
 +      * international/quail.el (quail-mouse-choose-completion): Remove unused
 +      code referring to obsolete var.
 +      (quail-choose-completion-string): Remove.
 +      * server.el (server-clients-with, server-kill-buffer-query-function)
 +      (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
 +      * proced.el (proced-send-signal):
 +      * emacs-lisp/lisp.el (lisp-complete-symbol):
 +      Replace completion-annotate-function with completion-extra-properties.
 +
 +2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * simple.el (goto-line): Use read-number.
 +      (overriding-map-is-bound): Remove.
 +      (saved-overriding-map): Change default.
 +      (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
 +      Take the map as argument.
 +      (universal-argument, negative-argument, digit-argument): Use it.
 +      (restore-overriding-map): Adjust.
 +      (do-auto-fill): Use fill-forward-paragraph.
 +      (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
 +
 +      * minibuffer.el (minibuffer-inactive-mode-map): New var.
 +      (minibuffer-inactive-mode): New major mode.
 +      * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
 +      the *Messages* buffer" hack.
 +      (mouse-popup-menubar): Don't burp if the event is a normal key.
 +
 +      Miscellaneous tweaks.
 +      * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
 +      lexical scoping as in subr.el's dolist and dotimes.
 +      * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
 +      Silence compiler warning.
 +      * thingatpt.el (forward-whitespace): Trivial coding style fix.
 +      * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
 +      * international/ccl.el (ccl-compile): Trivial simplification.
 +      * help-fns.el (help-do-arg-highlight): Silence compiler warning.
 +      * emacs-lisp/testcover.el (testcover-end): Remove spurious
 +      `printflag' argument.
 +      * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
 +      Purecopy the whole obsolescence data.
  
 -2009-09-17  Juri Linkov  <juri@jurta.org>
 +2011-06-01  Leo Liu  <sdl.web@gmail.com>
  
 -      * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
 -      (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
 -      (menu-bar-showhide-menu, menu-bar-tools-menu)
 -      (menu-bar-describe-menu, menu-bar-help-menu)
 -      (minibuffer-local-completion-map, minibuffer-local-map):
 -      Fix list quoting.
 +      * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
 +      improve doc-string as suggested by Marco Pessotto
 +      <melmothx@gmail.com>.
 +      (rcirc-print): Fix last change.
  
 -2009-09-17  Glenn Morris  <rgm@gnu.org>
 +2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
 -      arguments, whether or not it has a handler.
 +      * minibuffer.el (complete-with-action): Return nil for the metadata and
 +      boundaries of non-functional tables.
 +      (completion-table-dynamic): Return nil for the metadata.
 +      (completion-table-with-terminator): Add default case, using
 +      complete-with-action.
 +      (completion--metadata): New function.
 +      (completion-all-sorted-completions, minibuffer-completion-help): Use it
 +      to try and avoid pathological performance problems.
 +      (completion--embedded-envvar-table): Return `category' metadata.
  
 -      * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
 +2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -      * simple.el (hard-newline): Give it a doc-string.
 +      * subr.el (process-alive-p): New tiny convenience function.
  
 -      * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
 -      (lisp-mode-syntax-table): Give them doc-strings.
 +2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
 +      * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
 +      content but also its previous major mode.
  
 -      * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
 -      (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
 -      (menu-bar-options-menu, menu-bar-showhide-menu)
 -      (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
 -      (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
 -      (menu-bar-options-menu, menu-bar-line-wrapping-menu)
 -      (menu-bar-options-menu, menu-bar-tools-menu)
 -      (menu-bar-describe-menu, menu-bar-search-documentation-menu)
 -      (menu-bar-help-menu):
 -      (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
 -      string arguments.
 +2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
  
 -      * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
 -      (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
 -      calls for the menu names and :help.
 +      * debug.el (debug): Restore the previous content of the
 +      *Backtrace* buffer when we exit with C-M-c.
  
 -2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * mouse.el (minor-mode-menu-from-indicator): Pay attention
 -      to :minor-mode-function (bug#4455).
 +      * minibuffer.el: Add metadata method to completion tables.
 +      (completion-category-overrides): New defcustom.
 +      (completion-metadata, completion--field-metadata)
 +      (completion-metadata-get, completion--styles)
 +      (completion--cycle-threshold): New functions.
 +      (completion-try-completion, completion-all-completions):
 +      Add `metadata' argument to choose completion-styles.
 +      (completion--do-completion): Use metadata to choose cycling.
 +      (completion-all-sorted-completions): Use metadata for sorting.
 +      Remove :completion-cycle-penalty which is not needed any more.
 +      (completion--try-word-completion): Add `metadata' argument.
 +      (minibuffer-completion-help): Check metadata for annotation function
 +      and sorting.
 +      (completion-file-name-table): Return `category' metadata.
 +      (minibuffer-completing-file-name): Make obsolete.
 +      * simple.el (minibuffer-completing-symbol): Make obsolete.
 +      * icomplete.el (icomplete-completions): Pass new `metadata' param to
 +      completion-try-completion.
  
 -2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * startup.el (command-line): Initialize the window-system after
 -      processing the command-line.
 +      * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
  
 -      * textmodes/page.el (what-page): Make sure we don't inf-loop if
 -      page-delimiter matches the empty string.
 +2011-05-30  Leo Liu  <sdl.web@gmail.com>
  
 -2009-09-16  Glenn Morris  <rgm@gnu.org>
 +      * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
 +      (rcirc-print): Decode all incoming messages (bug#8744).
 +      (rcirc-decode-coding-system): Allow value nil for automatic coding
 +      system detection.
  
 -      * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
 -      byte-compile-not-obsolete-var.  It's a list now.
 -      (byte-compile-not-obsolete-funcs): New variable.
 -      (byte-compile-warn-obsolete): Don't warn about functions if they are in
 -      byte-compile-not-obsolete-funcs.
 -      (byte-compile-variable-ref, byte-compile-defvar): Update for
 -      byte-compile-not-obsolete-vars name-change and list nature.
 -      (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
 -      and variables behind (f)boundp tests.
 -      * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
 +2011-06-01  Glenn Morris  <rgm@gnu.org>
  
 -2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
 +      * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
  
 -      * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
 +2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
  
 -2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * image.el (image-animate-max-time): Allow nil and t values.
 +      Default to nil.
 +      (create-animated-image): Doc fix.
 +      (image-animate-start): Remove second arg; just use
 +      image-animate-max-time.
 +      (image-animate-timeout): Doc fix.  Args changed.
  
 -      * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
 -      * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
 -      Don't autoload.
 +      * image-mode.el (image-toggle-display-image): Ensure that the
 +      image spec passed to the animate timer is the same object as in
 +      the the buffer's display property (Bug#6981).
 +      (image-transform-properties): Doc fix.
  
 -2009-09-15  Stephen Eglen  <stephen@gnu.org>
 +      * image.el (image-animate-max-time): Default to nil.
  
 -      * iswitchb.el (iswitchb-read-buffer): When selecting a match from
 -      the virtual-buffers, use the name of the buffer specified by
 -      find-file-noselect, as the match may be a symlink.  (This was a
 -      problem if the target and the symlink had different names.)
 +2011-05-29  Martin Rudalics  <rudalics@gmx.at>
  
 -2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
 +      entire buffer list (Bug#8184).
  
 -      * custom.el (custom-initialize-default, custom-initialize-set): CSE.
 +2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * desktop.el (desktop-path): Check user-emacs-directory.
 +      * image.el (imagemagick-types-inhibit)
 +      (imagemagick-register-types): Doc fix.
  
 -      * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
 +2011-05-29  Deniz Dogan  <deniz@dogan.se>
  
 -      * loadup.el: Use after-load-functions to GC after loading each file.
 -      Remove the explicit GC calls that used to be sprinkled around.
 +      * net/rcirc.el (rcirc): Use the user's stored encryption method by
 +      default.
  
 -      * subr.el (after-load-functions): New hook.
 -      (do-after-load-evaluation): Run it.  Use string-match-p to detect
 -      `obsolete' packages, rather than painfully extracting the relevant
 -      directory name.
 +2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
  
 -2009-09-15  Glenn Morris  <rgm@gnu.org>
 +      * select.el: Don't perform clipboard-manager saving in hooks;
 +      leave the hooks empty.
  
 -      * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
 -      free variable `doc'.
 +2011-05-28  Leo Liu  <sdl.web@gmail.com>
  
 -      * dired.el (dired-mode-map): Add menu entry for async shell command.
 +      * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
 +      (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
 +      (occur-edit-mode): New major mode (Bug#8463).
 +      (occur-after-change-function): New function.
 +      (occur-engine): Give Occur tags a read-only property.
  
 -      * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
 -      variables, also consider the .elc files, since the .el files are
 -      normally gzipped (subsequent code locates the .el.gz from the .elc).
 +2011-05-28  Kevin Ryde  <user42@zip.com.au>
  
 -      * calc/calc-prog.el (arglist): Define for compiler.
 +      * subr.el (def-edebug-spec): Doc fix (Bug#8430).
  
 -      * calendar/diary-lib.el (diary-display-function): Change the default to
 -      fancy display.
 -      (body): Define for compiler.
 +2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
 -      (byte-compile-file-form, byte-compile-lambda)
 -      (byte-compile-top-level-body, byte-compile-form)
 -      (byte-compile-variable-ref, byte-compile-setq)
 -      (byte-compile-setq-default, byte-compile-body)
 -      (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
 -      (batch-byte-compile): Give some more local variables with common names
 -      a "bytecomp-" prefix to avoid masking warnings about free variables.
 +      * bindings.el (help-echo): Make the initial non-indicator dash
 +      empty on graphical terminals (Bug#7295).
  
 -      * startup.el (command-line-1): Give local variables with common names a
 -      distinguishing prefix, so as not to hide free variable warnings during
 -      bootstrap.
 +      * files.el (auto-mode-alist): Move config rule after the
 +      in-stripping one (Bug#8547).
  
 -      * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
 -      clever and add a suffix to make a unique name, just let the user decide
 -      whether or not to overwrite it.  If the input is a directory, write the
 -      default filename to that directory.  (Bug#4388)
 -      (rmail-mime-bulk-handler): Ensure the save button's 'directory property
 -      is a filename-as-a-directory.
 +      * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
  
 -2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * startup.el (normal-splash-screen): Remove gratuitous mode-line
 +      setting (Bug#8740).
  
 -      * textmodes/page.el (what-page): Don't move to beginning of line.
 -      See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
 +2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
  
 -2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
 +      * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
 +      (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
 +      (Bug#8539).
  
 -      * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
 +2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
  
 -2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
 +      * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
  
 -      * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
 -      * help.el (help-for-help-internal): Add purecopy calls for text.
 +2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
  
 -      * vc.el (top): print-log method now takes an optional SHORTLOG
 -      argument.  Add a new method: root.
 -      (vc-root-diff, vc-print-root-log): New functions.
 -      (vc-log-short-style): New variable.
 -      (vc-print-log-internal): Add support for showing short logs.
 +      * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
 +      (hs-hide-block-at-point, hs-find-block-beginning)
 +      (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
 +      (Bug#8279).
  
 -      * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
 -      vc-print-root-log and vc-print-root-diff.
 +2011-05-28  Glenn Morris  <rgm@gnu.org>
  
 -      * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
 -      * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
 -      * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
 -      short logs.
 +      * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
  
 -      * vc-cvs.el (vc-cvs-print-log):
 -      * vc-mtn.el (vc-mtn-print-log):
 -      * vc-rcs.el (vc-rcs-print-log):
 -      * vc-sccs.el (vc-sccs-print-log):
 -      * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
 -      that is ignored for now.
 +2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * vc-mtn.el (vc-mtn-annotate-command):
 -      * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
 +      * help-fns.el (describe-function-1): If the function is a derived
 +      major mode, print the parent mode.
  
 -2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
 +      (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
  
 -      * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
 -      to function-key-map, and give them ascii-character property.
 -      * term/x-win.el (x-alternatives-map):
 -      * term/ns-win.el (ns-alternatives-map):
 -      * term/internal.el (msdos-key-remapping-map):
 -      * w32-fns.el (x-alternatives-map): Remove redundant mappings.
 +2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2009-09-14  Glenn Morris  <rgm@gnu.org>
 +      * minibuffer.el (completion--capf-wrapper): Check applicability before
 +      retuning non-nil for non-exclusive completion data.
 +      * progmodes/etags.el (tags-completion-at-point-function):
 +      * info-look.el (info-lookup-completions-at-point): Mark as
 +      non-exclusive.
 +      (info-complete): Adjust accordingly.
  
 -      * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
 -      temp-buffers (2009-09-12).
 +      * info-look.el: Convert to lexical-binding and completion-at-point.
 +      (info-lookup-completions-at-point): New function.
 +      (info-complete): Use it and completion-in-region.
  
 -2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2011-05-28  Drew Adams  <drew.adams@oracle.com>
  
 -      * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
 -      the new read-key function.
 +      * isearch.el: Let M-e start with point at the first mismatched char.
 +      (isearch-fail-pos): New function.
 +      (isearch-edit-string): Use it.
  
 -2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
 +2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
  
 -      * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
 -      is defined (Bug#4405).
 +      * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
  
 -2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
 +2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
  
 -      * recentf.el (recentf-cleanup): Use a hash table to find
 -      duplicates (Bug#4407).
 +      * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
 +      traversal functions for avl-trees.
 +      (avl-tree--stack): New struct.
 +      (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
 +      (avl-tree-enter): Add optional `updatefun' arg.
 +      (avl-tree--do-enter): Add optional `updatefun' arg.
 +      Change return value.
 +      (avl-tree-delete): Add optional `test' and `nilflag' args.
 +      (avl-tree--do-delete): Add `test' and `nilflag' args.
 +      Change return value.
 +      (avl-tree-member): Add optional `nilflag'
 +      (avl-tree-member-p): New function.
 +      (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
 +      (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
 +      (avl-tree-stack-empty-p): New functions.
  
 -2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
 +2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
  
 -      * textmodes/ispell.el (ispell-command-loop): Convert keys such as
 -      kp-0 to ascii equivalents (Bug#4325).
 -
 -2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
 -
 -      * eshell/em-hist.el:
 -      * eshell/em-dirs.el (eshell-complete-user-reference):
 -      Declare pcomplete functions and variables to avoid compiler warnings.
 -
 -2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
 -
 -      * eshell/em-script.el (eshell-login-script, eshell-rc-script):
 -      * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
 -      * eshell/em-alias.el (eshell-aliases-file):
 -      * eshell/em-hist.el (eshell-history-file-name):
 -      Use expand-file-name instead of concat to make file names (Bug#4308).
 +      * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
 +      avl-tree--del-balance1 and make it work both ways.
 +      (avl-tree--del-balance2): Remove.
 +      (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
 +      make it work both ways.
 +      (avl-tree--enter-balance2): Remove.
 +      (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
 +      New macros.
 +      (avl-tree--mapc, avl-tree-map): Add direction argument.
  
 -2009-09-13  Glenn Morris  <rgm@gnu.org>
 -
 -      * ediff-merg.el (ediff-do-merge):
 -      * filesets.el (filesets-run-cmd):
 -      * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
 -      (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
 -      (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
 -      (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
 -      (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
 -      Replace empty `let's with `progn'.
 +2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
  
 -2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * mail/sendmail.el (send-mail-function):
 -      * tooltip.el (tooltip-mode):
 -      * simple.el (transient-mark-mode):
 -      * rfn-eshadow.el (file-name-shadow-mode):
 -      * frame.el (blink-cursor-mode):
 -      * font-core.el (global-font-lock-mode):
 -      * files.el (temporary-file-directory)
 -      (small-temporary-file-directory, auto-save-file-name-transforms):
 -      * epa-hook.el (auto-encryption-mode):
 -      * composite.el (global-auto-composition-mode):
 -      Use custom-initialize-delay.
 -      * startup.el (command-line): Don't explicitly call
 -      custom-reevaluate-setting for all the above vars.
 -      * custom.el (custom-initialize-safe-set)
 -      (custom-initialize-safe-default): Delete.
 -
 -2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * term/x-win.el (x-initialize-window-system):
 -      * term/w32-win.el (w32-initialize-window-system):
 -      * term/ns-win.el (ns-initialize-window-system): Don't call
 -      mouse-wheel-mode since it's enabled globally by default already.
 -
 -      * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
 -      actually define the variable, but only silences the byte-compiler.
 -      (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
 -      before looking it up.
 -      (mouse-wheel-scroll-amount): Also reset the bindings if this value
 -      is changed.
 +      * files.el (interpreter-mode-alist): Add rbash (bug#8745).
  
 -2009-09-12  Glenn Morris  <rgm@gnu.org>
 +2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
 -      1000.
 -      (elint-add-required-env): Don't beep on error.
 -      (elint-forms): In case of error, return ENV unchanged.
 -      (elint-init-env): Skip non-list forms.
 -      (elint-log): Handle unknown file positions.
 +      * select.el: Support clipboard managers with built-in function
 +      x-clipboard-manager-save, via delete-frame-functions and
 +      kill-emacs-hook.
 +      (xselect-convert-to-targets): Add MULTIPLE target to list.
 +      (xselect-convert-to-save-targets): New function.
  
 -2009-09-12  Daiki Ueno  <ueno@unixuser.org>
 +2011-05-27  Kenichi Handa  <handa@m17n.org>
  
 -      * epg.el (epg-make-context): Add autoload cookie.
 -      (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
 -      (epg-decrypt-string, epg-start-verify, epg-verify-file)
 -      (epg-verify-string, epg-start-sign, epg-sign-file)
 -      (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
 -      (epg-encrypt-string, epg-start-export-keys)
 -      (epg-export-keys-to-file, epg-export-keys-to-string)
 -      (epg-start-import-keys, epg-import-keys-from-file)
 -      (epg-import-keys-from-string, epg-start-receive-keys)
 -      (epg-receive-keys, epg-import-keys-from-server)
 -      (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
 -      (epg-sign-keys, epg-start-generate-key)
 -      (epg-generate-key-from-file, epg-generate-key-from-string):
 -      Remove autoload cookie.
 +      * mail/sendmail.el (mail-encode-header): Avoid double encoding by
 +      let-binding rfc2047-encode-encoded-words to nil.
  
 -2009-09-12  Eli Zaretskii  <eliz@gnu.org>
 +2011-05-27  Glenn Morris  <rgm@gnu.org>
  
 -      * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
 -      reevaluation of trash-directory.
 +      * mail/emacsbug.el: Don't require url-util.
  
 -      * mwheel.el: Fix last change.
 -      (mouse-wheel-mode): New defvar.
 -      (mouse-wheel-mode): Remove autoload cookie.
 +      * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
  
 -2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * files.el (set-auto-mode):
 +      Also respect mode: entries at the end of the file.  (Bug#8586)
  
 -      * mwheel.el (mwheel-installed-bindings): New var.
 -      (mouse-wheel-mode): Use it, so as to make sure we really remove all
 -      the bindings we set last time.  Use custom-initialize-delay.
 -      * loadup.el: Load mwheel after term/*-win.el.
 -      * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
 -      and mouse-wheel-up-event now that their first evaluation is done
 -      sufficiently late to be correct.
 -
 -      * startup.el (tutorial-directory): Make it a defcustom.
 -      Use custom-initialize-delay rather than eval-at-startup to set it.
 -      * image.el (image-load-path): Make it a defcustom.
 -      Use custom-initialize-delay rather than eval-at-startup to set it.
 -      * subr.el (eval-at-startup): Remove.
 -      * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
 -
 -      * subr.el (do-after-load-evaluation): Warn the user after loading an
 -      obsolete package.
 -
 -2009-09-12  Glenn Morris  <rgm@gnu.org>
 -
 -      * proced.el (proced-mark-alt): Remove alias.
 -      (proced-mode-map): Remove proced-mark-alt.
 -
 -      * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
 -      Elint file and directory.  Remove initialization entry.
 -
 -      * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
 -      commands.
 -      (elint-current-buffer): Set mode-line-process.
 -      (elint-init-env): Handle define-derived-mode.
 -      Fix declare-function with unspecified arglist.  Guard against odd
 -      defalias statements (eg iso-insert's 8859-1-map).
 -      (elint-add-required-env): Use a temp buffer.
 -      (elint-form): Just print the function/macro name, not the whole form.
 -      Return env unchanged if we fail to parse a macro.
 -      (elint-forms): Guard against parse errors.
 -      (elint-output): New function, to handle batch mode.
 -      (elint-log-message): Add optional argument.  Use elint-output.
 -      (elint-set-mode-line): New function.
 +2011-05-26  Glenn Morris  <rgm@gnu.org>
  
 -2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
 +      * files.el (hack-local-variables-prop-line, hack-local-variables):
 +      Downcase mode names, as seems to be traditional.
 +      (hack-local-variables, hack-local-variables-apply): Doc fixes.
  
 -      * emacs-lisp/elp.el (elp-not-profilable): Add more
 -      functions (Bug#4233).
 +      * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
 +      (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
  
 -2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
 +2011-05-25  Julien Danjou  <julien@danjou.info>
  
 -      * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
 -      (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
 +      * textmodes/rst.el (rst-define-level-faces): Do not define face
 +      symbol if it is already defined.
  
 -2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
 -
 -      * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
 -      (gdb-var-list-children): Use json parsing.
 -
 -2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
 -
 -      * progmodes/js.el (js--proper-indentation): Handle the case where
 -      char-before is null.  Reported by Deniz Dogan.
 +2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
  
 -2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
 +      * play/5x5.el (5x5-new-game, 5x5-randomize):
 +      Reset 5x5-solver-output to nil when a new grid is cast.
 +      (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
 +      these debugging traces, as defmacro breaks the compiled code.
  
 -      * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
 -
 -2009-09-11  Daiki Ueno  <ueno@unixuser.org>
 -
 -      * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
 -      (epg-digest-algorithm-alist): Add SHA224.
 -      (epg-context-set-passphrase-callback)
 -      (epg-context-set-progress-callback): Add description about
 -      callback function.
 +2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
  
 -2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
  
 -      * custom.el (custom-delayed-init-variables): New var.
 -      (custom-initialize-delay): New function.
 -      * startup.el (command-line): "Re"evaluate all vars in
 -      custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
 -      explicitly any more.
 -      * abbrev.el (abbrev-file-name): Use custom-initialize-delay
 -      to avoid creating a ~/.emacs.d at build-time (bug#4347).
 +2011-05-24  Leo Liu  <sdl.web@gmail.com>
  
 -      * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
 +      * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
 +      (vc-bzr-sha1): Adapt.
  
 -2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
 +      * sha1.el: Remove.  Function `sha1' is now builtin.
  
 -      * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
 -      (gdb-var-update-handler): Use json parsing.
 +      * bindings.el: Provide sha1 feature.
  
 -2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
 +2011-05-24  Kenichi Handa  <handa@m17n.org>
  
 -      * vc-annotate.el (vc-annotate): Use the main file's coding-system to
 -      decode annotated text, regardless of language environment.  (Bug#2741)
 +      * mail/sendmail.el: Require `rfc2047'.
 +      (mail-insert-from-field): Do not perform RFC2047 encoding.
 +      (mail-encode-header): New function.
 +      (sendmail-send-it): Set buffer-file-coding-system of the work
 +      buffer to the return value of select-message-coding-system.
 +      Call mail-encode-header.
  
 -2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
  
 -      * Makefile.in (autoloads): Make rmail.el writable as well.
 +2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
 +
 +      * mail/supercite.el (sc-default-cite-frame):
 +      Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
 +
 +2011-05-24  Glenn Morris  <rgm@gnu.org>
 +
 +      * progmodes/python.el (brm-menu): Declare.
 +
 +      * emulation/viper.el (viper-set-hooks): Declare.
 +
 +      * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
 +      (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
 +      (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
 +      (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
 +      (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
 +      (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
 +
 +2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      Add an :exit-function for completion-at-point.
 +
 +      * minibuffer.el (completion--done): New fun.
 +      (completion--do-completion): Use it.  New arg `expect-exact'.
 +      (minibuffer-complete, minibuffer-complete-word): Don't output message,
 +      since completion--do-completion does it for us now.
 +      (minibuffer-force-complete): Use completion--done and
 +      completion--replace.  Handle sole-completion case with more care.
 +      (minibuffer-complete-and-exit): Use new `expect-exact' arg.
 +      (completion-extra-properties): New var.
 +      (completion-annotate-function): Make obsolete.
 +      (minibuffer-completion-help): Adjust accordingly.
 +      Use completion-list-insert-choice-function.
 +      (completion-at-point, completion-help-at-point):
 +      Bind completion-extra-properties.
 +      (completion-pcm-word-delimiters): Add | (for uniquify, for example).
 +      * simple.el (completion-list-insert-choice-function): New var.
 +      (completion-setup-function): Preserve it.
 +      (choose-completion): Pay attention to it, shuffle the code a bit.
 +      (choose-completion-string): New arg `insert-function'.
 +
 +      * textmodes/bibtex.el: Convert to lexical binding.
 +      (bibtex-mode-map): Use completion-at-point.
 +      (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
 +      (bibtex-completion-at-point-function): New fun, from bibtex-complete.
 +      (bibtex-complete): Define as obsolete alias.
 +      (bibtex-complete-internal): Remove.
 +      (bibtex-format-entry): Remove unused sub-group in regexp.
 +      * shell.el (shell--command-completion-data)
 +      (shell-environment-variable-completion):
 +      * pcomplete.el (pcomplete-completions-at-point):
 +      * comint.el (comint--complete-file-name-data): Use :exit-function
 +      instead of completion-table-with-terminator so it also works for
 +      choose-completion.
  
 -2009-09-11  Glenn Morris  <rgm@gnu.org>
 +2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
 -      loaddefs.el.
 -      * dired.el: Regenerate with extracted autoloads.
 -      * Makefile.in (autoloads): Make dired.el writable.
 +      * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
  
 -      * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
 -      * ibuffer.el: Regenerate with extracted autoloads.
 -      * Makefile.in (autoloads): Make ibuffer.el writable.
 +      * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
 +      (bug#8710).
  
 -      * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
 -      * version.el (emacs-copyright, emacs-major-version)
 -      (emacs-minor-version): Reformat doc-strings for make-docfile.
 +      * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
  
 -      * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
 -      functions and variables, since they must be stuff specific to some other
 -      platform.
 -      (apropos-print): Make mouse-click message less specific about button.
 +2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
  
 -      * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
 -      that records where a macro was defined.
 -      * help-fns.el (describe-function-1): Mention if a function has a
 -      compiler-macro.
 -      * help-mode.el (help-function-cmacro): New button.
 +      * allout.el (allout-inhibit-auto-fill-on-headline): Create new
 +      customization variable and implement: If non-nil, auto-fill will
 +      be inhibited while on topic's header line.
  
 -      * locate.el (top-level): Always require dired.
 -      (locate-mode-map): Initialize inside the defvar.
 +2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
  
 -      * net/ange-ftp.el (dired-compress-file): Declare.
 -      (ange-ftp-dired-compress-file): Add doc string.
 +      * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
 +      click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
 +      always have a solution in grid size = 5 cases.
 +      (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
 +      (5x5-solver-output, 5x5-log-buffer): New vars.
 +      (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
 +      Make these variables buffer local to achieve 5x5 multi-session-ness.
 +      (5x5): Set 5x5-grid-size only if SIZE is non-negative.
 +      (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
 +      (5x5-solve-suggest): New funs.
 +      (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
 +      randomize a grid so that we ensure that there is always a solution.
 +      (5x5-make-random-grid): Allow other movement than flipping.
  
 -      * term/ns-win.el (x-display-name, x-setup-function-keys):
 -      Unify doc-strings with X versions.
 +2011-05-23  Kevin Ryde  <user42@zip.com.au>
  
 -2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * emacs-lisp/advice.el (ad-read-advised-function):
 +      Use `function-called-at-point' as the default default, if it has
 +      advice and passes PREDICATE.
  
 -      * emulation/crisp.el (crisp-mode-map): Move initialization
 -      into declaration.
 -      (crisp-mode): Use define-minor-mode.
 +2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * progmodes/xscheme.el (xscheme-evaluation-commands):
 -      Put a :advertised-binding property rather than using
 -      advertised-xscheme-send-previous-expression.
 -      (advertised-xscheme-send-previous-expression): Declare obsolete.
 -      * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
 -      `advertised-undo'.
 -      (crisp-mode): Add corresponding bindings to
 -      undo's :advertised-binding instead.
 -      * dired.el (dired-mode-map): Put a :advertised-binding property rather
 -      than using dired-advertised-find-file.
 -      (dired-advertised-find-file):
 -      * simple.el (advertised-undo):
 -      * wid-edit.el (advertised-widget-backward): Declare obsolete.
 -      (widget-keymap): Put a :advertised-binding property rather
 -      than using advertised-widget-backward.
 -      * bindings.el (ctl-x-map): Put a :advertised-binding property rather
 -      than using advertised-undo.
 -      * tutorial.el (tutorial--default-keys): Adjust accordingly.
 +      * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
 +      byte-compile-lambda if it's actually a lambda.
  
 -2009-09-10  Simon South  <ssouth@slowcomputing.org>
 +      * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
 +      Fix function quoting.  Use backquote better.
  
 -      * progmodes/delphi.el (delphi-tab): Indent region when Transient
 -      Mark mode is enabled and region is active; otherwise indent or
 -      insert TAB as usual.
 -      (delphi-mode): Update description of TAB-key binding.
 +2011-05-22  Yuanle Song  <sylecn@gmail.com>
  
 -2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
 +      matching (Bug#8516).
  
 -      * subr.el (define-key-rebound-commands): Mark obsolete.
 -      * startup.el (precompute-menubar-bindings): Remove.
 -      (normal-top-level): Remove obsolete code that tried to precompute
 -      menubar bindings.
 -      * loadup.el (define-key-rebound-commands): Don't bother fiddling with
 -      define-key-rebound-commands and precompute-menubar-bindings.
 -
 -2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
 -
 -      * net/imap.el (imap-interactive-login): Better messages.
 -      (imap-open): Fix bug with renamed buffer on reconnect.
 -      (imap-authenticate): Add buffer-local imap-last-authenticator variable
 -      for easier debugging and cleaner code.  On successful (guessed based on
 -      server capabilities) secondary authentication, set imap-state
 -      correctly.
 -      (imap-last-authenticator): Define imap-last-authenticator as a variable
 -      to avoid warnings.
 +2011-01-22  Jari Aalto  <jari.aalto@cante.net>
  
 -2009-09-10  Glenn Morris  <rgm@gnu.org>
 +      * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
 +      different face (Bug#8178).
  
 -      * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
 +2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
 -      (byte-compile-file-form-autoload): Don't warn about unknown functions
 -      where the autoload statement comes after the use.
 -      (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
 -      that any handlers inside the body (eg require) are in turn respected.
 +      * vc/diff-mode.el (diff-changed): Don't use terminal specs for
 +      defface (Bug#8144).
  
 -      * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
 -      effects.
 +2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
 -      and syntax and abbrev tables basic docs, if they don't have any.
 +      * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
 +      funcall as well (bug#8712).  Warn when performing those conversions.
 +      * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
  
 -      * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
 +      * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
  
 -      * international/mule-cmds.el (top-level): Require cl when compiling.
 -      (view-hello-file): Use default-value rather than
 -      default-enable-multibyte-characters.
 +2011-05-22  Glenn Morris  <rgm@gnu.org>
  
 -      * progmodes/fortran.el: Move all safe and risky properties into the
 -      defcustoms.
 +      * files.el (hack-local-variables-prop-line): Small simplifications.
 +      (hack-local-variables, hack-local-variables-prop-line):
 +      If MODE-ONLY, return the mode, rather than just `t'.
  
 -      * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
 -      * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
 -      * mail/undigest.el:
 -      Put autoloads in rmail.el rather than loaddefs.el.
 -      * mail/rmail.el: Regenerate with extracted autoloads.
 +2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
 -      * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
 +      * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
  
 -2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
 +2011-05-21  Glenn Morris  <rgm@gnu.org>
  
 -      Reported in thread for Bug#4375.
 -      * progmodes/gud.el (gud-tooltip-print-command): Use MI command
 -      "-data-evaluate-expression" instead of print.
 -      * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
 -      (gdb-tooltip-print): Parse output from above MI command.
 -      (gdb): Revert 2009-08-11 change.  User should detach inferior
 -      manually.
 +      * files.el (hack-local-variables-prop-line, hack-local-variables):
 +      If only interested in the mode, don't bother doing the other stuff.
  
 -      Remove the word "separate" from IO functions as inferior
 -      output is now never displayed in the GUD buffer.
 +      * image-mode.el (image-after-revert-hook):
 +      Redraw all frames on which the image is visible.  (Bug#8567)
  
 -2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
 +      * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
  
 -      * startup.el (command-line-normalize-file-name): On Windows and
 -      MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
 +      * wid-edit.el (widget-checklist-match-inline):
 +      Fix 2011-04-19 change.  (Bug#8649)
  
 -2009-09-10  Juri Linkov  <juri@jurta.org>
 +2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * isearch.el (isearch-text-char-description): Propertize escape
 -      character sequences with the `escape-glyph' face.  (Bug#4344)
 +      * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
 +      Also allow singlespace after single-letter capitals followed by a dot.
  
 -      * simple.el (shell-command): Set asynchronous process filter to
 -      `comint-output-filter'.  (Bug#4343)
 +      * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
 +      enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
  
 -      * progmodes/grep.el (grep-template): Add "<X>" to docstring.
 -      (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
 -      the list.  Move "asm" to the bottom.
 -      (grep-find-ignored-directories): Add `choice' with nil value
 -      to empty the list easily.
 -      (grep-find-ignored-files): New option.
 -      (grep-files-history): Set to nil by default instead of '("ch" "el").
 -      (grep-compute-defaults): Add "<X>" to `grep-template'.
 -      (grep-read-files): Bind new local variables `default-alias' and
 -      `default-extension'.  Use a list of default values for the file prompt.
 -      (lgrep): Add `--exclude=' command line options composed from
 -      `grep-find-ignored-files'.
 -      (rgrep): Add `-name' command line options composed from
 -      `grep-find-ignored-files'.  (Bug#4301)
 +2011-05-20  Nix  <nix@esperi.org.uk>
  
 -2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * files.el (basic-save-buffer-2):
 +      Fix handling of break-hardlink-on-save with non-existent files.
  
 -      * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
 -      (bug#4368).
 +2011-05-19  Deniz Dogan  <deniz@dogan.se>
  
 -2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
 +      * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
 +      (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
  
 -      * calendar/time-date.el (autoload):
 -      Expand define-obsolete-function-alias into defalias and make-obsolete
 -      for old Emacsen that Gnus supports.
 -      (with-no-warnings): Define it for old Emacsen.
 -      (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
 -      is available.
 -      (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
 -      float-time is available; suppress compile warning for time-to-seconds.
 +2011-05-19  Glenn Morris  <rgm@gnu.org>
  
 -2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
 +      * progmodes/f90.el (f90-type-def-re):
 +      Handle "type, bind(c)".  (Bug#8691)
  
 -      * net/imap.el (imap-message-map): Docstring fix.
 +      * emacs-lisp/autoload.el (batch-update-autoloads):
 +      Set autoload-excludes by parsing loadup.el rather than Makefiles.
  
 -2009-09-09  Glenn Morris  <rgm@gnu.org>
 +2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
  
 -      * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
 -      line numbers too.  (Bug#4374)
 +      * net/tramp.el (tramp-process-actions): Set "first-password-request"
 +      property for the correct connection in case of multihops.
  
 -2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2011-05-18  Glenn Morris  <rgm@gnu.org>
  
 -      * smerge-mode.el (smerge-remove-props, smerge-refine):
 -      Use with-silent-modifications (bug#4342).
 +      * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
 +      * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
  
 -      * subr.el (with-silent-modifications): New macro.
 +      Rationalize calendar handling of day and month abbrev-arrays.
 +      * calendar/calendar.el (calendar-customized-p): New function.
 +      (calendar-abbrev-construct, calendar-make-alist): Change what it does.
 +      (calendar-day-name-array, calendar-month-name-array): Doc fix.
 +      Add :set function.
 +      (calendar-abbrev-length, calendar-day-abbrev-array)
 +      (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
 +      (calendar-day-abbrev-array, calendar-month-abbrev-array):
 +      Elements may no longer be nil.
 +      (calendar-day-name, calendar-month-name):
 +      Update for changed nature of abbrev arrays.
 +      * calendar/diary-lib.el (diary-name-pattern):
 +      Update for changed nature of abbrev arrays.
 +      (diary-mark-entries-1): Update calendar-make-alist calls.
 +      (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
 +      * calendar/cal-html.el (cal-html-day-abbrev-array):
 +      Simply inherit from calendar-day-abbrev-array.
  
 -2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
 +2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * files.el (top-level): Require `cl' when compiling.
 +      * progmodes/grep.el (grep-mode): Disable default
 +      compilation-directory-matcher setting (bug#8684).
  
 -2009-09-07  Glenn Morris  <rgm@gnu.org>
 +2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
  
 -      * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
 +      * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
 +      instead of "head" and "tail".  There were problems with SunOS 5.9,
 +      and it performs better.
  
 -      * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
 -      (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
 +2011-05-17  Glenn Morris  <rgm@gnu.org>
  
 -2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
 +      * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
  
 -      * vc-git.el (vc-git-annotate-command): Use separator to parse
 -      arguments correctly.
 +      * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
 +      Replace obsolete function.
  
 -2009-09-06  Eli Zaretskii  <eliz@gnu.org>
 +      * shell.el (pcomplete-parse-arguments-function): Declare.
  
 -      * proced.el (proced-mode): Doc fix.
 +      * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
 +      (appt-display-diary, appt-display-interval, appt-prev-comp-time)
 +      (appt-check): Doc fixes.
 +      (appt-disp-window-function, appt-delete-window-function):
 +      Remove needless special case in custom :type.
 +      (appt-display-count): Default to 0, not nil.
 +      (appt-check): Reset appt-display-count to 0, not nil.
  
 -2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
 +2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
 -      lstat fails.
 -      (tramp-do-file-attributes-with-ls): Check for file existence at
 -      remote end.
 -      (tramp-do-file-attributes-with-stat): Likewise.
 -      (tramp-convert-file-attributes): Return nil when attr is nil.
 +      * progmodes/python.el (python-font-lock-keywords):
 +      Add the Python 3.X keyword "nonlocal" (bug#8639).
  
 -2009-09-05  Glenn Morris  <rgm@gnu.org>
 +2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
 -      properties to this button.
 -      (diary-fancy-display): Don't extend the button to the final newline.
 -      (diary-fancy-display-mode): Continue to define "q" as a local key.
 +      * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
  
 -      * calendar/cal-china.el (holiday-chinese): Make it slightly more
 -      efficient.
 +2011-05-16  Kevin Ryde  <user42@zip.com.au>
  
 -      * font-lock.el (lisp-font-lock-keywords-2): Add letf.
 +      * info-look.el (makefile-automake-mode): New setups, looking in
 +      automake manual, then makefile-mode.
 +      (makefile-mode): Remove automake manual, have it just in
 +      makefile-automake-mode since there's various things different or
 +      not relevant to plain make.
 +      (makefile-mode): Remove "other-modes" non-existent automake-mode,
 +      believe a hypothetical automake-mode would go to makefile-mode,
 +      not the other way around.
  
 -      * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
 -      (byte-compile-dest-file-function): New option.
 -      (byte-compile-dest-file): Doc fix.
 -      Obey byte-compile-dest-file-function.
 -      (byte-compile-cl-file-p): New function.
 -      (byte-compile-eval): Only suppress noruntime warnings about cl functions
 -      if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
 -      (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
 -      than for file being previously loaded.
 -      (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
 -      (byte-compile-file-form-require): Handle the case where requiring a file
 -      indirectly causes CL to be loaded.
 +2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
  
 -2009-09-05  Karl Fogel  <kfogel@red-bean.com>
 +      * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
 +      hunk-end tags (Bug#8672).
  
 -      * files.el (find-alternate-file): Run `kill-buffer-hook' manually
 -      before killing the old buffer, since by the time `kill-buffer' is
 -      run so many buffer variables have been set to nil that it may not
 -      behave as expected.  (Bug#4061)
 +      * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
 +      vc-annotate-show-diff-revision-at-line (Bug#8671).
 +
 +2011-05-14  Glenn Morris  <rgm@gnu.org>
 +
 +      * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
 +      in the middle of an existing one with multiple authors.  (Bug#8645)
 +      (change-log-font-lock-keywords): Also handle multiple author lines
 +      with leading tabs.  (Bug#8644)
 +
 +      * calendar/appt.el (appt-check): Rename some local variables.
 +      Some simplification/reordering.
 +
 +      * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
 +      (feedmail-sendmail-f-doesnt-sell-me-out)
 +      (feedmail-queue-slug-suspect-regexp, feedmail-debug)
 +      (feedmail-debug-sit-for, feedmail-queue-express-hook)
 +      (feedmail-queue-runner-message-sender): Set :version.
 +      (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
 +      (bbdb-dwim-net-address, vm-mail): Declare.
 +      (feedmail-binmail-gnulinuxish-template):
 +      Rename from feedmail-binmail-linuxish-template.
 +      (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
 +      Use insert-buffer-substring.
 +
 +2011-05-14  Bill Carpenter  <bill@carpenter.org>
 +
 +      * mail/feedmail.el (feedmail-patch-level): Increase.
 +      (feedmail-debug): New custom group.
 +      (feedmail-confirm-outgoing-timeout)
 +      (feedmail-sendmail-f-doesnt-sell-me-out)
 +      (feedmail-queue-slug-suspect-regexp, feedmail-debug)
 +      (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
 +      (feedmail-sender-line, feedmail-from-line)
 +      (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
 +      (feedmail-spray-this-address)
 +      (feedmail-spray-address-fiddle-plex-list)
 +      (feedmail-queue-use-send-time-for-date)
 +      (feedmail-queue-use-send-time-for-message-id)
 +      (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
 +      (feedmail-buffer-eating-function):
 +      Doc fixes.
 +      (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
 +      (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
 +      (feedmail-message-action-scroll-down): New functions.
 +      (feedmail-queue-directory, feedmail-queue-draft-directory):
 +      Use expand-file-name.
 +      (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
 +      Remove C-v help entry.
 +      (feedmail-queue-buffer-file-name): New variable.
 +      (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
 +      (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
 +      (feedmail-message-action-send-strong, feedmail-message-action-edit)
 +      (feedmail-message-action-draft, feedmail-message-action-draft-strong)
 +      (feedmail-message-action-queue, feedmail-message-action-queue-strong)
 +      (feedmail-message-action-toggle-spray)
 +      (feedmail-run-the-queue-no-prompts)
 +      (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
 +      (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
 +      (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
 +      (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
 +      (feedmail-envelope-deducer, feedmail-fiddle-from)
 +      (feedmail-fiddle-sender, feedmail-default-date-generator)
 +      (feedmail-fiddle-date, feedmail-fiddle-message-id)
 +      (feedmail-fiddle-spray-address)
 +      (feedmail-fiddle-list-of-spray-fiddle-plexes)
 +      (feedmail-fiddle-list-of-fiddle-plexes)
 +      (feedmail-fill-to-cc-function, feedmail-fill-this-one)
 +      (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
 +      (feedmail-queue-runner-message-sender, feedmail-binmail-template):
 +      Change default.  Doc fix.
 +      (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
 +      (feedmail-binmail-linuxish-template): New constant.
 +      (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
 +      Respect feedmail-sendmail-f-doesnt-sell-me-out.
 +      (feedmail-send-it): Add debug call.
 +      Use feedmail-queue-buffer-file-name, and
 +      feedmail-send-it-immediately-wrapper.
 +      (feedmail-message-action-send): Add debug call.
 +      Use feedmail-send-it-immediately-wrapper.
 +      (feedmail-queue-express-to-queue): Add debug call.
 +      Run feedmail-queue-express-hook.
 +      (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
 +      (feedmail-message-action-help-blat):
 +      Rename from feedmail-queue-send-edit-prompt-help-first.
 +      (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
 +      Check line-endings.  Handle errors better.
 +      (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
 +      Doc fix.  Add debug call.
 +      (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
 +      Use feedmail-queue-send-edit-prompt-inner.
 +      (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
 +      (feedmail-queue-send-edit-prompt-inner): New function, extracted
 +      from feedmail-queue-send-edit-prompt.
 +      (feedmail-queue-send-edit-prompt-help)
 +      (feedmail-queue-send-edit-prompt-help-later): Remove functions.
 +      (feedmail-tidy-up-slug): Add debug call.
 +      Respect feedmail-queue-slug-suspect-regexp.
 +      (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
 +      (feedmail-dump-message-to-queue): Add debug call.
 +      Expand queue-directory.
 +      (feedmail-dump-message-to-queue): Change message slightly.
 +      Use feedmail-say-chatter.
 +      (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
 +      (feedmail-send-it-immediately-wrapper): New function.
 +      (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
 +      Insert empty string rather than newline.  Handle full-frame case.
 +      Use catch/throw.  Use feedmail-say-chatter.
 +      (feedmail-fiddle-from): Try mail-host-address.
 +      (feedmail-default-message-id-generator): Doc fix.
 +      Bind system-time-locale.  Handle missing end.
 +      (feedmail-fiddle-x-mailer): Add debug call.
 +      Handle feedmail-x-mailer-line being nil.
 +      (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
 +      Add debug call.  Use buffer-substring-no-properties.
 +      (feedmail-say-debug, feedmail-say-chatter): New functions.
 +      (feedmail-find-eoh): Give an explicit error.
 +
 +2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
 +
 +      * net/newst-treeview.el (newsticker-treeview-face): Change default
 +      family from helvetica to sans.
 +      (newsticker-treeview-tool-bar-map): Move tool-bar icons to
 +      etc/images/newsticker.
 +
 +      * net/newst-reader.el (newsticker-feed-face): Change default
 +      family from helvetica to sans.
 +
 +      * net/newst-plainview.el (newsticker-new-item-face)
 +      (newsticker-old-item-face, newsticker-immortal-item-face)
 +      (newsticker-obsolete-item-face, newsticker-date-face)
 +      (newsticker-statistics-face): Change default family from
 +      helvetica to sans.
 +      (newsticker--plainview-tool-bar-map): Move tool-bar icons to
 +      etc/images/newsticker.
 +
 +      * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
 +      (newsticker--process-auto-mark-filter-match): : Tell user about
 +      auto-marking.
 +
 +2011-05-13  Didier Verna  <didier@xemacs.org>
 +
 +      Common Lisp indentation improvements on defmethod and lambda-lists.
 +      * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
 +      (lisp-lambda-list-keyword-parameter-indentation)
 +      (lisp-lambda-list-keyword-parameter-alignment)
 +      (lisp-lambda-list-keyword-alignment): New customizable user options.
 +      (lisp-indent-defun-method): Improve docstring.
 +      (extended-loop-p): Fix comment.
 +      (lisp-indent-lambda-list-keywords-regexp): New variable.
 +      (lisp-indent-lambda-list): New function.
 +      (lisp-indent-259): Use it.
 +      (lisp-indent-defmethod): Support for more than one
 +      method qualifier and properly indent methods lambda-lists.
 +      (defgeneric): Provide a missing common-lisp-indent-function property.
 +
 +2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
 +      bounds for the empty string (bug#8667).
 +
 +2011-05-13  Glenn Morris  <rgm@gnu.org>
 +
 +      * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
 +
 +      * mail/sendmail.el (sendmail-program): Try executable-find first.
 +      (sendmail-send-it): `sendmail-program' cannot be unbound.
 +
 +      * calendar/appt.el (appt-make-list): Simplify.
 +      (appt-time-msg-list): Doc fix.
 +      (appt-check): Change mode-line message at the time of the appointment.
 +
 +2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
 +
 +      * progmodes/ld-script.el (ld-script-keywords)
 +      (ld-script-builtins): Update keywords list.
 +
 +2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * progmodes/grep.el (grep-filter): Don't trip on partial lines.
 +
 +      * shell.el (shell-completion-vars): New function.
 +      (shell-mode):
 +      * simple.el (read-shell-command): Use it.
 +      (blink-matching-open): No need for " [...]" in minibuffer-message.
 +
 +2011-05-12  Glenn Morris  <rgm@gnu.org>
 +
 +      * calendar/appt.el (appt-now-displayed): Remove pointless variable.
 +      (appt-check): Simplify.
 +
 +2011-05-12  Eli Zaretskii  <eliz@gnu.org>
  
 -2009-09-05  Karl Fogel  <kfogel@red-bean.com>
 +      * smerge-mode.el (smerge-resolve): Use null-device rather than a
 +      literal "/dev/null".
  
 -      * files.el (find-alternate-file): If the old buffer is modified
 -      and visiting a file, behave similarly to `kill-buffer' when
 -      killing it, thus reverting to the pre-1.878 behavior; see
 -      http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
 -      for discussion.  Also, consult `buffer-file-name' as a variable
 -      not as a function, for consistency with the rest of the code.
 +2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
 +      * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
 +      Fix typo.
  
 -      * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
 -      also when adding a new directory.
 +2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
  
 -      * net/tramp-compat.el (tramp-compat-line-beginning-position):
 -      New defun.
 -
 -2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * files.el (locate-file-completion-table): Make it provide boundary
 -      information, so partial-completion works better.
 +      * progmodes/which-func.el (which-function):
 +      Use add-log-current-defun instead of add-log-current-defun-function,
 +      which might not be defined (Bug#8260).
  
 -2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
 +2011-05-12  Glenn Morris  <rgm@gnu.org>
  
 -      * mail/footnote.el (Footnote-text-under-cursor):
 -      Check footnote-text-marker-alist before using it (bug#4324).
 -
 -2009-09-04  Glenn Morris  <rgm@gnu.org>
 -
 -      * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
 -      * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
 -      * play/solitaire.el, play/tetris.el:
 -      Remove leading * from defcustom and defface docs.
 -
 -      * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
 -      necessary.
 -      (diary-fancy-overriding-map): New variable.
 -      (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
 -      Use view-mode.
 -
 -      * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
 -      goto-line.
 -
 -2009-09-03  Glenn Morris  <rgm@gnu.org>
 -
 -      * arc-mode.el (archive-mode):
 -      * dos-fns.el (set-default-process-coding-system):
 -      * man.el (Man-getpage-in-background):
 -      * menu-bar.el (menu-bar-describe-menu):
 -      * server.el (server-process-filter):
 -      * startup.el (command-line):
 -      * tar-mode.el (tar-header-block-tokenize, tar-extract):
 -      * w32-fns.el (set-default-process-coding-system):
 -      * x-dnd.el (x-dnd-handle-file-name):
 -      * international/mule-cmds.el (mule-menu-keymap)
 -      (set-default-coding-systems, language-info-alist, set-language-info)
 -      (set-language-environment, standard-display-european-internal)
 -      (set-locale-environment):
 -      * international/mule-diag.el (mule-diag):
 -      * mail/emacsbug.el (report-emacs-bug):
 -      * mail/rmail.el (rmail-mode):
 -      * mail/sendmail.el (mail-setup):
 -      Use default-value rather than default-enable-multibyte-characters.
 -
 -      * progmodes/f90.el: Move all safe properties into the defcustoms.
 -      (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
 -
 -      * calendar/appt.el (appt-check):
 -      * calendar/diary-lib.el (diary-set-header, diary-live-p)
 -      (diary-check-diary-file, diary-list-entries)
 -      (diary-include-other-diary-files, diary-simple-display)
 -      (diary-fancy-display, diary-print-entries)
 -      (diary-mark-included-diary-files, diary-make-entry):
 -      Don't call substitute-in-file-name on diary-file.
 -
 -2009-09-03  Eduard Wiebe  <usenet@pusto.de>
 -          Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * mail/footnote.el (footnote-prefix): Make it a defcustom.
 -      (footnote-mode-map): Move initialization into the declaration.
 -      (footnote-minor-mode-map): Define it rather than changing global-map.
 -      (footnote-mode): Use define-minor-mode.
 -
 -2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-handle-file-attributes-with-ls)
 -      (tramp-do-file-attributes-with-perl)
 -      (tramp-do-file-attributes-with-stat): Rename from
 -      `tramp-handle-file-attributes-with-*'.
 -      (tramp-handle-file-attributes): Use them.
 -      (tramp-do-directory-files-and-attributes-with-perl)
 -      (tramp-do-directory-files-and-attributes-with-stat): Rename from
 -      `tramp-handle-directory-files-and-attributes-with-*'.
 -      (tramp-handle-directory-files-and-attributes): Use them.
 -      (tramp-method-out-of-band-p): Additional parameter SIZE.
 -      (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
 -      (tramp-handle-write-region): Use it.
 -      (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
 -      (tramp-handle-vc-registered): Check, whether the first run did
 -      return files to be tested.
 -      (tramp-advice-make-auto-save-file-name): Do not call directly
 -      `tramp-handle-make-auto-save-file-name', because this would bypass
 -      the locking mechanism.
 -
 -      * net/tramp-compat.el (top): Autoload used functions from tramp.el.
 -      (file-remote-p, process-file, start-file-process, set-file-times)
 -      (tramp-compat-file-attributes): Compatibility functions shall not
 -      call directly `tramp-handle-*', because this would bypass the
 -      locking mechanism.
 -      (tramp-compat-number-sequence): New defun.
 -
 -2009-09-02  Glenn Morris  <rgm@gnu.org>
 -
 -      * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
 -      alias for float-time.
 -      (time-to-number-of-days): In Emacs, use float-time.
 -      * net/newst-backend.el (time-add): Suppress warnings from compat
 -      function.
 -      * time.el (emacs-uptime, emacs-init-time):
 -      * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
 -      Use float-time rather than time-to-seconds.
 -
 -      * minibuffer.el (completion-initials-expand): Fix typo.
 -
 -      * faces.el (modeline, modeline-inactive, modeline-highlight)
 -      (modeline-buffer-id):
 -      * info.el (info-menu-5): Mark these face aliases as obsolete.
 -
 -2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
 -
 -      * progmodes/gdb-mi.el (gdb-current-context-command): Move the
 -      space ...
 -      (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
 -      no "--thread" option.
 -      (gdb-stopped): Don't print "Switched to thread" message when it is
 -      unchanged.
 -
 -2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * minibuffer.el (completion-try-completion)
 -      (completion-all-completions): Remove ill-defined (and
 -      mistakenly installed and luckily never used nor documented)
 -      `completion-styles' property.
 -      (completion-initials-expand, completion-initials-all-completions)
 -      (completion-initials-try-completion): New functions.
 -      (completion-styles-alist): Add doc to each entry.
 -      Add new `initials' entry.
 -
 -2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
 -
 -      * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
 -      MI command -var-evaluate-expression.
 -      (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
 -      and tweak for case of string child.
 -      (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
 -
 -2009-09-01  Glenn Morris  <rgm@gnu.org>
 -
 -      * add-log.el (change-log-date-face, change-log-name-face)
 -      (change-log-email-face, change-log-file-face, change-log-list-face)
 -      (change-log-conditionals-face, change-log-function-face)
 -      (change-log-acknowledgement-face):
 -      * cus-edit.el (custom-invalid-face, custom-rogue-face)
 -      (custom-modified-face, custom-set-face, custom-changed-face)
 -      (custom-saved-face, custom-button-face, custom-button-pressed-face)
 -      (custom-documentation-face, custom-state-face, custom-comment-face)
 -      (custom-comment-tag-face, custom-variable-tag-face)
 -      (custom-variable-button-face, custom-face-tag-face)
 -      (custom-group-tag-face-1, custom-group-tag-face):
 -      * diff-mode.el (diff-header-face, diff-file-header-face)
 -      (diff-index-face, diff-hunk-header-face, diff-removed-face)
 -      (diff-added-face, diff-changed-face, diff-function-face)
 -      (diff-context-face, diff-nonexistent-face):
 -      * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
 -      * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
 -      * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
 -      (Info-title-4-face):
 -      * isearch.el (isearch-lazy-highlight-face):
 -      * log-view.el (log-view-file-face, log-view-message-face):
 -      * paren.el (show-paren-match-face, show-paren-mismatch-face):
 -      * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
 -      (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
 -      (cvs-msg-face):
 -      * smerge-mode.el (smerge-mine-face, smerge-other-face)
 -      (smerge-base-face, smerge-markers-face):
 -      * wid-edit.el (widget-documentation-face, widget-button-face)
 -      (widget-field-face, widget-single-line-field-face)
 -      (widget-inactive-face, widget-button-pressed-face):
 -      * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
 -      (woman-addition-face):
 -      * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
 -      (eshell-ls-executable-face, eshell-ls-readonly-face)
 -      (eshell-ls-unreadable-face, eshell-ls-special-face)
 -      (eshell-ls-missing-face, eshell-ls-archive-face)
 -      (eshell-ls-backup-face, eshell-ls-product-face)
 -      (eshell-ls-clutter-face):
 -      * eshell/em-prompt.el (eshell-prompt-face):
 -      * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
 -      * obsolete/old-whitespace.el (whitespace-highlight-face):
 -      * progmodes/antlr-mode.el (antlr-font-lock-default-face)
 -      (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
 -      (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
 -      (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
 -      (antlr-font-lock-literal-face):
 -      * progmodes/ebrowse.el (ebrowse-tree-mark-face)
 -      (ebrowse-root-class-face, ebrowse-file-name-face)
 -      (ebrowse-default-face, ebrowse-member-attribute-face)
 -      (ebrowse-member-class-face, ebrowse-progress-face):
 -      * progmodes/make-mode.el (makefile-space-face):
 -      * progmodes/sh-script.el (sh-heredoc-face):
 -      * textmodes/flyspell.el (flyspell-incorrect-face)
 -      (flyspell-duplicate-face):
 -      * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
 -      * textmodes/texinfo.el (texinfo-heading-face):
 -      Mark face aliases with "-face" suffix as obsolete.
 -
 -      * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
 -      compiler.
 -
 -      * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
 -      (eudc-bob-sound-menu): Use defvar rather than defconst, since
 -      easy-menu-define wants to modify these.
 -
 -      * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
 -
 -      * net/browse-url.el (browse-url-file-url):
 -      * term/internal.el (dos-codepage-setup):
 -      Use default-value rather than default-enable-multibyte-characters.
 -
 -      * progmodes/etags.el (etags-goto-tag-location):
 -      * progmodes/flymake.el (flymake-highlight-line)
 -      (flymake-goto-file-and-line, flymake-goto-line):
 -      * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
 -      (gdb-goto-breakpoint):
 -      * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
 -      * progmodes/python.el (python-find-function)
 -      (python-pdbtrack-track-stack-file):
 -      * progmodes/verilog-mode.el (verilog-surelint-off):
 -      * term/ns-win.el (ns-open-file-select-line):
 -      * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
 -      Use forward-line rather than goto-line.
 -
 -      * textmodes/reftex-cite.el (reftex-offer-bib-menu):
 -      * textmodes/reftex-index.el (reftex-display-index):
 -      * textmodes/reftex-ref.el (reftex-offer-label-menu):
 -      * textmodes/reftex-toc.el (reftex-toc):
 -      Remove unnecessary bindings of default-major-mode (all are followed by
 -      major-mode check and possible mode switch).
 -
 -2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
 -
 -      * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
 -      Handle watchpoints (bug#4282).
 -      (def-gdb-thread-buffer-command): Enable thread to be selected by
 -      clicking without selecting threads buffer first.
 -      (gdb-current-context-command): Use selected frame so that "up",
 -      "down" etc work in the GUD buffer.
 -      (gdb-update): Find selected frame before rendering stack buffer.
 -      (gdb-frame-handler): Set gdb-frame-number for stack buffer.
 -
 -2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * progmodes/sym-comp.el (displayed-completions): Remove.
 -      (symbol-complete): Use minibuffer-complete.
 -
 -2009-08-31  Glenn Morris  <rgm@gnu.org>
 -
 -      * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
 -
 -      * apropos.el (apropos-symbols-internal):
 -      Handle (obsolete) face aliases.
 -
 -      * faces.el (describe-face): Adjust the output format to be more like
 -      describe-variable, and to mention (obsolete) face aliases.
 -      Adjust the whitespace so that help-setup-xref works.
 -
 -      * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
 -      * calendar/diary-lib.el (diary-button-face):
 -      Mark these face aliases as obsolete.
 -
 -      * calendar/calendar.el (calendar-today): Doc fix.
 -
 -2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
 -
 -      * progmodes/gdb-mi.el (gdb-control-all-threads)
 -      (gdb-control-current-thread): Force tool bar update.
 -      (gdb-non-stop-handler): New function.
 -      (gdb-init-1): Use it to test if non-stop mode is supported.
 -      Remove unused gdbmi buffer type.
 +      * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
 +      Let byte-compile-initial-macro-environment always take precedence.
  
 -2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
 +2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * progmodes/grep.el (grep-read-files): Strip trailing <N> from
 -      buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
 +      * net/rcirc.el: Add support for SSL/TLS connections.
 +      (rcirc-server-alist): New field `encryption'.
 +      (rcirc): Check `encryption' settings.
 +      (rcirc-connect): New arg `encryption'.  Use open-network-stream.
 +      Merge make-local-variable into `set'.
 +      (rcirc--connection-open-p): New function.
 +      (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
 +      the process is not a network process (e.g. running gnutls-cli).
 +      (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
 +      Make rcirc-(en|de)code-coding-system local here.
 +      (rcirc-mode): Merge make-local-variable into `set'.
 +      (rcirc-parent-buffer): Make permanent buffer-local.
 +      (rcirc-multiline-minor-mode): Don't do it here.
 +      (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
 +      there's no server buffer.
  
 -2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
 +2011-05-11  Glenn Morris  <rgm@gnu.org>
  
 -      * comint.el (comint-exec-1): Check command is non-null first.
 -      Part of gdb-mi.el change (2009-08-28).
 +      * newcomment.el (comment-kill): Prefix "unused" local.
  
 -2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * term/w32console.el (get-screen-color): Declare.
  
 -      * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
 +      * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
 +      Handle symbol elements of byte-compile-initial-macro-environment.
  
 -2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
 +2011-05-10  Leo Liu  <sdl.web@gmail.com>
  
 -      * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
 -      instead of `dolist' to avoid a recursive require when bootstrapping.
 +      * bookmark.el (bookmark-bmenu-mode-map):
 +      Bind bookmark-bmenu-search to `/'.
  
 -2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * mail/footnote.el: Convert to utf-8 encoding.
 +      (footnote-unicode-string, footnote-unicode-regexp): New variable.
 +      (Footnote-unicode): New function.
 +      (footnote-style-alist): Add unicode style to the list.
 +      (footnote-style): Doc fix.
  
 -      * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
 +2011-05-10  Jim Meyering  <meyering@redhat.com>
  
 -      * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
 +      Fix doubled-word typos.
 +      * international/quail.el (quail-insert-kbd-layout): and and -> and
 +      * kermit.el: and and -> and
 +      * net/ldap.el (ldap-search-internal): to to -> to
 +      * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
 +      * progmodes/js.el (js-mode): and and -> and
 +      * textmodes/artist.el (artist-move-to-xy): at at -> at
 +      (artist-draw-region-trim-line-endings): if if -> if
 +      And Safetyc -> Safety.
 +      * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
  
 -      * net/imap.el (imap-send-command): Simplify.
 -      (imap-wait-for-tag): point-max -> buffer-size.
 +2011-05-10  Glenn Morris  <rgm@gnu.org>
 +            Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
 +      * files.el (hack-one-local-variable-eval-safep):
 +      Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
  
 -      * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
 -      with constant argument.
 +2011-05-10  Glenn Morris  <rgm@gnu.org>
  
 -      * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
 +      * calendar/diary-lib.el (diary-list-entries-hook)
 +      (diary-mark-entries-hook, diary-nongregorian-listing-hook)
 +      (diary-nongregorian-marking-hook, diary-list-entries)
 +      (diary-include-other-diary-files, diary-mark-entries)
 +      (diary-mark-included-diary-files): Doc fixes.
  
 -      * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
 +2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
 -      Change default, since most of our files don't have a history.
 -      (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
 -      the user.
 +      * misc.el: Require tabulated-list.el during compilation.
  
 -      * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
 -      Add comint-run.
 +2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * calc/calc.el: Improve commenting convention.
 -      (calc-digit-map, toplevel): Simplify.
 +      * progmodes/compile.el (compilation-start):
 +      Run compilation-filter-hook for the async case too.
 +      (compilation-filter-hook): Doc fix.
  
 -      * comint.el (comint-insert-input): Be careful to only set point if we
 -      don't delegate to some other command.
 +2011-05-09  Deniz Dogan  <deniz@dogan.se>
  
 -      * proced.el (proced-signal-list): Make it an alist.
 -      (proced-grammar-alist): Capitalize names.
 -      (proced-send-signal): Use a non-hidden buffer (since it's displayed).
 -      Disable undo manually and make it read-only.
 -      Use completion-annotate-function.
 +      * wdired.el: Remove outdated installation comment.  Fix usage
 +      comment.
  
 -      * minibuffer.el (minibuffer-message): If the current buffer is not
 -      a minibuffer, insert the message in the echo area rather than at the
 -      end of the buffer.
 -      (completion-annotate-function): New variable.
 -      (minibuffer-completion-help): Use it.
 -      (completion--embedded-envvar-table): Environment vars are
 -      always case-sensitive.
 +2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
  
 -2009-08-30  Glenn Morris  <rgm@gnu.org>
 +      * misc.el: Implement new command `list-dynamic-libraries'.
 +      (list-dynamic-libraries--loaded-only-p): New variable.
 +      (list-dynamic-libraries--refresh): New function.
 +      (list-dynamic-libraries): New command.
  
 -      * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
 -      from fortran-current-defun.
 -      (fortran-beginning-of-subprogram): Be more precise about finding the
 -      start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
 -      (fortran-end-of-subprogram): Simplify.
 -      (fortran-current-defun): Use fortran-start-prog-re.
 +2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
  
 -2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
 +      * progmodes/compile.el (compilation-error-regexp-alist-alist):
 +      Fix the ant regexp to handle end-line and end-column info from jikes.
 +      Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
 +      higher priority to avoid clobbering by gnu.
  
 -      * subr.el (do-after-load-evaluation): Simplify.
 +2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
  
 -2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
 +      * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
 +      if the face has existing theme settings (Bug#8454).
  
 -      * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
 +2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
  
 -      * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
 -      (vc-rcs-print-log): Use it.
 +      * progmodes/perl-mode.el (perl-imenu-generic-expression):
 +      Only match variables declared via `my' or `our' (Bug#8261).
  
 -      * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
 +      * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
 +      special file names `.' and `..' (Bug#8259).
  
 -2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * paths.el (abbrev-file-name): Move to abbrev.el.
 -      * abbrev.el (abbrev-file-name): Move from paths.el.
 -      Obey user-emacs-directory.
 -      * calc/calc.el (calc-settings-file): Don't autoload and instead obey
 -      user-emacs-directory.
 -      * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
 -      abbrev-file-name and calc-settings-file any more.
 -      * startup.el (command-line): Recompute abbrev-file-name and
 -      abbreviated-home-dir.
 -      (normal-no-mouse-startup-screen): Improve the generic code and get rid
 -      of the special code for when C-h bindings haven't been changed.
 -      (display-startup-echo-area-message): Use with-current-buffer.
 -      (command-line-1): Use a list of strings, rather than a list of lists
 -      of strings for longopts.
 +      * progmodes/grep.el (grep-mode-font-lock-keywords):
 +      Remove buffer-changing entries.
 +      (grep-filter): New function.
 +      (grep-mode): Add it to compilation-filter-hook.
  
 -      * files.el (get-free-disk-space): Use / for default-directory.
 +      * progmodes/compile.el (compilation-filter-hook)
 +      (compilation-filter-start): New defvars.
 +      (compilation-filter): Call compilation-filter-hook prior to
 +      updating the process mark.
  
 -      * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
 -      Use with-current-buffer.
 +2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
 -      Recognize immutable variables like most-positive-fixnum.
 -      (byte-compile-setq-default): Check and warn if trying to assign
 -      to an immutable variable, or a non-variable.
 +      * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
  
 -      * progmodes/cc-vars.el (c-comment-continuation-stars):
 -      * progmodes/cc-engine.el (c-looking-at-bos):
 -      * progmodes/cc-cmds.el (c-toggle-auto-state)
 -      (c-forward-into-nomenclature, c-backward-into-nomenclature)
 -      (c-comment-line-break-function): Add version of obsolescence.
 +2011-05-07  Eli Zaretskii  <eliz@gnu.org>
  
 -2009-08-28  Juri Linkov  <juri@jurta.org>
 +      * mail/sendmail.el (send-mail-function): On MS-Windows, default to
 +      mailclient-send-it even if window-system is nil.  (Bug#8595)
  
 -      * files.el (magic-fallback-mode-alist): Add ZIP magic number
 -      associated with `archive-mode'.
 +      * term/w32console.el (terminal-init-w32console):
 +      Call get-screen-color and use its output to set the frame
 +      background-mode.  (Bug#8597)
  
 -      * image.el (image-type-header-regexps): Use only JPEG magic number
 -      to determine JPEG images, and don't use `image-jpeg-p' because
 -      Emacs can display non-JFIF non-Exif JPEG images.
 +2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
 +      Make bytecomp.el understand that defmethod defines funs (bug#8631).
 +      * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
 +      New functions.
 +      (defgeneric, eieio--defmethod): Use them.
 +      (eieio-defgeneric): Remove.
 +      (defmethod): Call defgeneric in a way visible to the byte-compiler.
  
 -      * arc-mode.el (archive-mode):
 -      * emacs-lisp/re-builder.el (re-builder-unload-function):
 -      Protect against the default value of `major-mode' being nil.
 +2011-05-07  Glenn Morris  <rgm@gnu.org>
  
 -2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
 +      * calendar/timeclock.el (timeclock-log-data): Remove unused local.
 +      Use let rather than let*.
 +      (timeclock-find-discrep): Remove unused local.
  
 -      * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
 -      Fix typos in docstrings.
 +      * calendar/diary-lib.el (diary-comment-start): Doc fix.
  
 -      * progmodes/js.el (js--macro-decl-re): Doc fix.
 -      (js--plain-method-re, js--split-name): Refloc docstring.
 -      (js--class-styles, js--make-merged-item, js--splice-into-items):
 -      Fix typos in docstrings; reflow docstrings.
 -      (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
 -      (js--variable-decl-matcher, js--inside-pitem-p)
 -      (js--parse-state-at-point, js--get-all-known-symbols)
 -      (js--symbol-history, js-find-symbol, js--js-references)
 -      (js--moz-interactor, js--js-encode-value, js--read-tab):
 -      Fix typos in docstrings.
 +      * calendar/appt.el (appt-time-msg-list): Doc fix.
  
 -2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2011-05-06  Noah Friedman  <friedman@splode.com>
  
 -      * textmodes/reftex.el (reftex-get-file-buffer-force):
 -      * progmodes/verilog-mode.el (verilog-batch-execute-func):
 -      * emulation/viper.el (viper-go-away, viper-set-hooks):
 -      * emacs-lisp/re-builder.el (re-builder-unload-function):
 -      * emacs-lisp/bytecomp.el (byte-compile-file):
 -      * ses.el (ses-unload-function):
 -      * hexl.el (hexl-find-file):
 -      * files.el (normal-mode):
 -      * ehelp.el (with-electric-help):
 -      * autoinsert.el (auto-insert-alist):
 -      * arc-mode.el (archive-mode):
 -      Use (default-value 'major-mode) instead of default-major-mode.
 -
 -      * textmodes/ispell.el (ispell-check-version, ispell-send-string):
 -      * international/mule.el (load-with-code-conversion):
 -      * emacs-lisp/debug.el (debug):
 -      * ediff-vers.el (ediff-rcs-get-output-buffer):
 -      * dired.el (dired-internal-noselect): Don't let-bind
 -      default-major-mode around code that doesn't use it.
 -      E.g. buffer creation via get-buffer-create doesn't use it.
 -
 -2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (all): Replace "'(lambda" by "(lambda".
 -      (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
 -      when writing the temp file.  Otherwise, epa-file gets confused.
 -      (tramp-register-file-name-handlers): Make it a defun.  Move also
 -      `epa-file-handler' to the front of `file-name-handler-alist'.
 -
 -2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
 -      start right after a ^M.
 -      (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
 -      (tramp-completion-file-name-regexp-separate)
 -      (tramp-completion-file-name-regexp-url): Use \\` and \\'.
 -      (tramp-handle-file-attributes, tramp-set-file-uid-gid):
 -      Don't modify last-coding-system-used by accident.
 -      (tramp-completion-file-name-handler): Apply the checks here,
 -      instead during registration.
 -      (tramp-register-file-name-handlers): Rename from
 -      `tramp-register-file-name-handler'.  Register both
 -      `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
 -      (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
 -
 -2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
 -
 -      * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
 -      Remove variable ...
 -      (gdb-init-1, gdb-display-separate-io-buffer)
 -      (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
 -      references to it.
 -      (gdb-inferior-io-mode): Use make-comint-in-buffer.
 -      (gdb-inferior-filter): Use comint-output-filter to stop
 -      echoing and remove ^M characters.
 -
 -2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * emulation/viper-init.el (viper-restore-cursor-type):
 -      * emulation/cua-base.el (cua--update-indications):
 -      Replace default-cursor-type with (default-value 'cursor-type).
 -
 -      * mail/sendmail.el (mail-recover-1):
 -      * international/mule-diag.el (describe-current-coding-system-briefly)
 -      (describe-current-coding-system):
 -      * international/mule-cmds.el (select-safe-coding-system)
 -      (select-message-coding-system)
 -      (set-language-environment-coding-systems, set-locale-environment):
 -      * hexl.el (hexl-insert-multibyte-char):
 -      * dos-w32.el (find-buffer-file-type-coding-system):
 -      * simple.el (what-cursor-position):
 -      Replace uses of default-buffer-file-coding-system
 -      with (default-value 'buffer-file-coding-system).
 -
 -      * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
 -      Replace uses of default-cursor-in-non-selected-windows
 -      with (default-value 'cursor-in-non-selected-windows).
 -      Use with-current-buffer.
 -
 -      * mail/feedmail.el: Use CL macros.
 -      (feedmail-run-the-queue, feedmail-send-it-immediately):
 -      * dos-w32.el (find-buffer-file-type): Replace uses of
 -      default-buffer-file-type with (default-value 'buffer-file-type).
 -
 -2009-08-28  Glenn Morris  <rgm@gnu.org>
 -
 -      * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
 -      (diary-show-all-entries, diary-mark-entries, diary-make-entry):
 -      Use default-value of major-mode rather than default-major-mode.
 -
 -2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * Makefile.in (update-elcfiles): Report left over elc files.
 -
 -      * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
 -      expand-file-name and with-current-buffer.
 -      (mail-get-names, mail-directory): Use with-current-buffer.
 -
 -      * vc.el (vc-read-revision): New function.
 -      (vc-version-diff, vc-merge): Use it.
 -
 -2009-08-27  Sam Steingold  <sds@gnu.org>
 -
 -      * simple.el (kill-do-not-save-duplicates): New user option.
 -      (kill-new): When it is non-nil, and the new string is the same as
 -      the latest kill, set replace to t to avoid duplicates in kill-ring.
 -
 -2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
 -
 -      * net/tramp.el (tramp-handle-process-file): Do not flush all
 -      caches when `process-file-side-effects' is set.
 -      (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
 -      instead of `tramp-find-file-exists-command'.
 -      Unset `process-file-side-effects'.
 -
 -2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-methods): New method "rsyncc".
 -      (top): Add completion function for "rsyncc".
 -      (tramp-message-show-message): New defvar.
 -      (tramp-message, tramp-error): Use it.
 -      (tramp-do-copy-or-rename-file-directly): Extend check for direct
 -      remote copying.
 -      (tramp-do-copy-or-rename-file-out-of-band): Handle new
 -      `tramp-methods' entry `copy-env' of "rsyncc".
 -      (tramp-vc-registered-read-file-names): New defconst.
 -      (tramp-vc-registered-file-names): New defvar.
 -      (tramp-handle-vc-registered): Implement optimization strategy.
 -      (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
 -      (tramp-vc-file-name-handler): New defun.
 -      (tramp-get-ls-command, tramp-get-test-command)
 -      (tramp-get-file-exists-command, tramp-get-remote-ln)
 -      (tramp-get-remote-perl, tramp-get-remote-stat)
 -      (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
 -
 -      * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
 -      (tramp-cache-inhibit-cache): Extend doc string.  It allows also
 -      timestamps.
 -      (tramp-get-file-property): Check for timestamps in
 -      `tramp-cache-inhibit-cache'.
 -      (tramp-set-file-property): Write timestamp.
 -
 -2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
 -
 -      * language/japan-util.el (japanese-symbol-table): Add entries for
 -      cp932-2-byte.
 -
 -      * international/characters.el: Add category `j' to cp932-2-byte.
 -
 -2009-08-27  Kenichi Handa  <handa@m17n.org>
 -
 -      * international/fontset.el (build-default-fontset-data): New macro.
 -      (setup-default-fontset): Use build-default-fontset-data for CJK,
 -      tibetan, ethiopic, and ipa.
 -
 -2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * cus-start.el (default-major-mode): Customize `major-mode' instead.
 -      (enable-multibyte-characters): Not customizable any more.
 -
 -      * subr.el (default-mode-line-format, default-header-line-format)
 -      (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
 -      (default-direction-reversed, default-truncate-lines)
 -      (default-left-margin, default-tab-width, default-case-fold-search)
 -      (default-left-margin-width, default-right-margin-width)
 -      (default-left-fringe-width, default-right-fringe-width)
 -      (default-fringes-outside-margins, default-scroll-bar-width)
 -      (default-vertical-scroll-bar, default-indicate-empty-lines)
 -      (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
 -      (default-fringe-cursor-alist, default-scroll-up-aggressively)
 -      (default-scroll-down-aggressively, default-fill-column)
 -      (default-cursor-type, default-buffer-file-type)
 -      (default-cursor-in-non-selected-windows)
 -      (default-buffer-file-coding-system, default-major-mode)
 -      (default-enable-multibyte-characters): Mark as obsolete.
 -
 -2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc-dir.el (vc-dir-update): Remove debug helper.
 -
 -      * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
 -
 -2009-08-26  Sam Steingold  <sds@gnu.org>
 -
 -      * simple.el (save-interprogram-paste-before-kill): New user option.
 -      (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
 -      save the interprogram-paste into kill-ring before overriding it
 -      with the Emacs kill.
 -
 -2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
 -      (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
 -      (vc-default-previous-revision): Rename to vc-rcs-previous-revision
 -      and move to vc-rcs.el.
 -      (vc-default-next-revision): Rename to vc-rcs-next-revision and
 -      move to vc-rcs.el.
 -      (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
 -      (vc-rcs-update-changelog): Remove.
 -      (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
 -      and move to vc-rcs.el.
 -
 -      * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
 -      (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
 -      renaming.
 -      (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
 -      (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
 -      vc.el, renamed to be RCS specific.
 -
 -      * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
 -      New functions.
 -      (vc-cvs-update-changelog): Move here from vc.el.
 +      * apropos.el (apropos-print-doc): Only use
 +      emacs-lisp-docstring-fill-column when it is bound to an integer,
 +      per that variable's documentation.
  
 -      * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
 -      New functions.
 +2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * lpr.el (print-region-1): Echo lpr-program's output, so error messages
 +      and warnings are not silently discarded (e.g. use -d instead of -P).
  
 -      * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
 +2011-05-06  Glenn Morris  <rgm@gnu.org>
  
 -2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
 +      * calendar/appt.el (appt-message-warning-time): Doc fix.
 +      (appt-warning-time-regexp): New option.
 +      (appt-make-list): Respect appt-message-warning-time.
  
 -      * vc-git.el (vc-git-register): Use "git add" for directories.
 -      (vc-git-stash, vc-git-stash-show): New functions.
 -      (vc-git-extra-menu-map): Bind them.
 +      * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
 +      New options.
 +      (diary-add-to-list): Strip comments from the displayed string.
 +      (diary-mode): Set comment-start and comment-end.
  
 -      * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
 -      directory correctly in case the item is a directory itself.
 +      * vc/diff-mode.el (smerge-refine-subst): Declare.
 +      (diff-refine-hunk): Don't require smerge-mode when compiling.
  
 -      * vc.el: Document the desired behavior for reverted files in the
 -      `added' state.
 -      (vc-default-prettify-state-info): Remove function, unused.
 +2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
 +      * simple.el (list-processes): Return nil as the docstring says.
  
 -2009-08-26  Glenn Morris  <rgm@gnu.org>
 +2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
  
 -      * bindings.el (standard-mode-line-format): Reposition dashes in
 -      which-func entry.  (Bug#4217)
 +      * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
 +      to "".
 +      (ange-ftp-write-region, ange-ftp-insert-file-contents)
 +      (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
 +      determining of binary transfer.  (Bug#7383)
  
 -      * files.el (enable-local-variables, enable-local-eval)
 -      (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
 -      the defcustoms.
 -      (auto-mode-alist, ignored-local-variables)
 -      (save-some-buffers-action-alist): Move risky declarations to the
 -      definitions.
 -      (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
 -      (font-lock-defaults, format-alist, imenu--index-alist)
 -      (imenu-generic-expression, input-method-alist, minor-mode-alist)
 -      (mode-line-buffer-identification, mode-line-client, mode-line-modes)
 -      (mode-line-modified, mode-line-mule-info, mode-line-position)
 -      (mode-line-process, mode-line-remote, outline-level)
 -      (parse-time-rules, rmail-output-file-alist)
 -      (special-display-buffer-names, vc-mode):
 -      Move risky declarations to the relevant files.
 -      * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
 -      (mode-line-modified, mode-line-process, mode-line-position)
 -      (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
 -      * font-core.el (font-lock-defaults):
 -      * format.el (format-alist):
 -      * vc-hooks.el (vc-mode):
 -      * window.el (special-display-buffer-names):
 -      * international/mule-cmds.el (input-method-alist):
 -      Define riskiness here (dumped file) rather than in files.el.
 -      * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
 -      * imenu.el (imenu-generic-expression, imenu--index-alist):
 -      * outline.el (outline-level):
 -      * time.el (display-time-string):
 -      * calendar/parse-time.el (parse-time-rules):
 -      * mail/rmailout.el (rmail-output-file-alist):
 -      Autoload riskiness here, rather than placing in files.el.
 -
 -2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
 +2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
  
 -      * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
 -
 -2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
 +      * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
 +      Fix port computation bug.  (Bug#8618)
  
 -      * simple.el (process-file-side-effects): New defvar.
 -
 -      * dired-aux.el (dired-show-file-type):
 -      * vc.el (vc-diff-internal):
 -      * vc-arch.el (vc-arch-diff):
 -      * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
 -      * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
 -      * vc-git.el (vc-git-registered, vc-git-working-revision)
 -      (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
 -      (vc-git--empty-db-p):
 -      * vc-hooks.el (vc-user-login-name):
 -      * vc-svn.el (vc-svn-registered, vc-svn-state)
 -      (vc-svn-dir-extra-headers, vc-svn-find-revision):
 -      * progmodes/grep.el (grep-probe): Let-bind
 -      `process-file-side-effects' with nil.
 -
 -      * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
 -
 -      * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
 -      daemon.  Replace ping by checking for running service for bluez
 -      and zeroconf.  (Bug#4239)
 -
 -2009-08-25  Kevin Ryde  <user42@zip.com.au>
 -
 -      * net/dig.el (dig): Add autoload cookie.
 -
 -2009-08-25  Glenn Morris  <rgm@gnu.org>
 -
 -      * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
 -      load-history for absolute file-names.
 -      (byte-compile-file-form-require): Warn about use of the cl package.
 -
 -      * format.el (format-alist): Doc fix.
 -
 -      * play/bubbles.el (top-level): Don't require cl at run-time.
 -
 -      * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
 -      run-time cl).
 -
 -2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
 -
 -      * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
 -      from cl package.
 -      (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
 -
 -2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
 -
 -      * calc/calc-alg.el (math-trig-rewrite)
 -      (math-hyperbolic-trig-rewrite): New functions.
 -      (calc-simplify): Simplify trig functions when asked.
 -
 -2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * diff-mode.el (diff-find-source-location): Avoid goto-line.
 -
 -2009-08-24  Kenichi Handa  <handa@m17n.org>
 -
 -      * language/ind-util.el (mapthread): Delete it.
 -      (combinatorial): New function.
 -      (indian--puthash-cv): Use combinatorial instead of mapthread.
 -
 -2009-08-22  Kevin Ryde  <user42@zip.com.au>
 -
 -      * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
 -      (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
 -      (checkdoc-symbol-words): Add safe-local-variable for list of strings.
 -      Clarify docstring that the value is strings not symbols.
 -      (checkdoc-list-of-strings-p): New function.
 -
 -2009-08-22  Glenn Morris  <rgm@gnu.org>
 -
 -      * files.el (auto-mode-alist):
 -      * hippie-exp.el (he-concat-directory-file-name):
 -      * lpr.el (lpr-windows-system, printer-name):
 -      * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
 -      * ps-print.el (ps-windows-system):
 -      * startup.el (command-line):
 -      * emulation/viper-ex.el (viper-glob-function):
 -      * international/mule-cmds.el (set-language-environment-coding-systems):
 -      * net/ange-ftp.el (ange-ftp-write-region):
 -      * obsolete/fast-lock.el (fast-lock-cache-name):
 -      Remove code for defunct system-types emx, macos, mswindows, next-mach,
 -      unisoft-unix, vax-vms, win32, w32.
 -
 -      * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
 -      given name if the pattern is not more specific.
 -
 -      * calendar/lunar.el (lunar-phase-names): New option.
 -      (lunar-phase): Doc fix.
 -      (lunar-cycles-per-year): New constant.
 -      (lunar-index): New function.
 -      (lunar-phase-list, diary-lunar-phases): Use lunar-index.
 -      (lunar-phase-name): Use lunar-phase-names.
 -      (calendar-lunar-phases): Use format.
 -      (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
 -
 -      * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
 -      Copy imenu-example--name-and-position function here for own use.
 -      (cperl-xsub-scan): Use cperl-imenu-name-and-position.
 -
 -      * bs.el (bs--redisplay):
 -      * cus-edit.el (custom-redraw):
 -      * ibuffer.el (ibuffer-bury-buffer):
 -      * server.el (server-goto-line-column):
 -      * startup.el (command-line-1):
 -      * strokes.el (strokes-xpm-for-stroke):
 -      * term.el (term-display-buffer-line):
 -      * view.el (View-goto-line):
 -      * calc/calc.el (calc-do, calc-trail-buffer):
 -      * play/gamegrid.el (gamegrid-add-score-insecure):
 -      * progmodes/ada-mode.el (ada-compile-goto-error):
 -      * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
 -      (ebrowse-select-1st-to-9nth):
 -      * progmodes/cperl-mode.el (cperl-time-fontification):
 -      * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
 -      * progmodes/gud.el (gud-display-line):
 -      (idlwave-shell-display-line):
 -      * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
 -      * progmodes/make-mode.el (makefile-browser-toggle):
 -      (vhdl-speedbar-port-copy, vhdl-compose-components-package):
 -      * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
 -      * textmodes/picture.el (picture-draw-rectangle):
 -      * textmodes/reftex-index.el (reftex-index-goto-letter):
 -      (reftex-select-jump-to-previous):
 -      * textmodes/reftex-sel.el (reftex-find-start-point)
 -      * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
 -      (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
 -      * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
 -      * textmodes/tex-mode.el (tex-compilation-parse-errors):
 -      * textmodes/two-column.el (2C-associated-buffer):
 -      Use forward-line rather than goto-line.
 -
 -      * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
 -      goto-line.
 -
 -      * international/ucs-normalize.el (nfd, decomposition-translation-alist)
 -      (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
 -      (quick-check-list-to-regexp): Declare.
 -
 -      * progmodes/make-mode.el (makefile-browser-insert-selection):
 -      Use goto-char rather than goto-line.
 -
 -      * progmodes/prolog.el (compilation-error-regexp-alist)
 -      (compilation-forget-errors): Declare.
 -
 -2009-08-22  Juri Linkov  <juri@jurta.org>
 -
 -      * progmodes/grep.el (lgrep, rgrep): At the beginning
 -      set `dir' to `default-directory' unless `dir' is a non-nil
 -      readable directory.  (Bug#4052)
 -      (lgrep, rgrep): Change a weird way to report an error
 -      from using `read-string' to using `error'.
 -      Instead of using interactive arguments in the function body,
 -      add new argument `confirm'.
 -
 -2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * textmodes/remember.el (remember-buffer):
 -      * progmodes/cperl-mode.el (cperl-vc-header-alist):
 -      * calendar/icalendar.el (icalendar-convert-diary-to-ical)
 -      (icalendar-extract-ical-from-buffer):
 -      * net/newst-treeview.el (newsticker-groups-filename):
 -      * net/newst-backend.el (newsticker-cache-filename):
 -      * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
 -      (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
 -      (speedbar-add-ignored-path-regexp, speedbar-line-path)
 -      (speedbar-buffers-line-path, speedbar-path-line)
 -      (speedbar-buffers-line-path):
 -      * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
 -      (epg-sign-keys):
 -      * epa.el (epa-display-verify-result):
 -      * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
 -
 -2009-08-21  Glenn Morris  <rgm@gnu.org>
 -
 -      * progmodes/js.el (inferior-moz-process): Fix declaration.
 -
 -      * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
 -
 -      * obsolete/rnewspost.el (news-mail-reply):
 -      Use goto-char rather than goto-line.
 -
 -      * term/ns-win.el (ns-open-file-select-line):
 -      Use line-beginning-position rather than goto-line.
 -
 -      * apropos.el (apropos-command):
 -      * ehelp.el (electric-helpify):
 -      * printing.el (pr-show-setup):
 -      * strokes.el (strokes-help):
 -      * tutorial.el (tutorial--describe-nonstandard-key)
 -      (tutorial--detailed-help):
 -      * woman.el (woman-mini-help, woman-display-extended-fonts):
 -      * calc/calc-help.el (calc-describe-key):
 -      * emulation/edt.el (edt-electric-helpify):
 -      * international/mule-diag.el (mule-diag):
 -      * play/yow.el (apropos-zippy):
 -      * progmodes/python.el (python-describe-symbol):
 -      * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
 -      * textmodes/table.el (*table--cell-describe-mode)
 -      (*table--cell-describe-bindings):
 -      Use help-print-return-message rather than the now obsolete alias.
 -
 -      * calendar/cal-move.el (calendar-cursor-to-nearest-date)
 -      (calendar-cursor-to-visible-date):
 -      * play/5x5.el (5x5-position-cursor):
 -      * play/decipher.el (decipher):
 -      * play/gomoku.el (gomoku-goto-xy):
 -      * play/landmark.el (lm-goto-xy):
 -      * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
 -      (mpuz-paint-digit):
 -      Use forward-line, not goto-line.
 -
 -      * mail/rmail.el (rmail-obsolete): Delete custom group.
 -      (rmail-pop-password, rmail-pop-password-required): Make into aliases.
 -      (rmail-remote-password, rmail-remote-password-required):
 -      Remove unneeded :set-after and :set properties.
 -
 -2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
 +2011-05-05  Glenn Morris  <rgm@gnu.org>
  
 -2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
 +      * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
  
 -      * loadup.el: Remove leftover macos code.
 +      * simple.el (shell-dynamic-complete-functions)
 +      (comint-dynamic-complete-functions): Declare.
  
 -      * vc-git.el (vc-git-annotate-command): Run asynchronously.
 -      Explicitly pass the date format to git blame so that user local
 -      so that the output format can be parsed.
 +      * net/network-stream.el (gnutls-negotiate):
 +      * simple.el (tabulated-list-print): Fix declarations.
  
 -2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
 +      * progmodes/gud.el (syntax-symbol, syntax-point):
 +      Remove unnecessary and incorrect declarations.
  
 -      * net/dbus.el (top): Don't check for (getenv
 -      "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
 +      * emacs-lisp/check-declare.el (check-declare-scan):
 +      Handle byte-compile-initial-macro-environment in bytecomp.el
  
 -2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
 +2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * log-edit.el (log-edit-strip-single-file-name): New var.
 -      (log-edit-insert-changelog): Use it.  Bug#3571
 +      Fix earlier half-done eieio-defmethod change (bug#8338).
 +      * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
 +      Streamline and change calling convention.
 +      (defmethod): Adjust accordingly and simplify.
 +      (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
 +      new eieio--defmethod.
 +      (slot-boundp): Minor CSE simplification.
  
 -2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2011-05-05  Milan Zamazal  <pdm@zamazal.org>
  
 -      * subr.el (read-passwd): Use read-key so keypad keys work as well.
 -      Bug#3287
 +      * progmodes/glasses.el (glasses-separate-capital-groups): New option.
 +      (glasses-make-readable): Use glasses-separate-capital-groups.
  
 -      * help.el (help-print-return-message): Rename from
 -      print-help-return-message.
 +2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
 -      cvs-mode-map parent hack.
 -      (log-view-mode): Derive from special-mode.
 +      * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
 +      (warning-series): Doc fix.
 +      (display-warning): Don't try to create the buffer if we just found it.
  
 -      * linum.el (linum-mode): window-size-change-functions is redundant.
 -      Adapt to new window-configuration-change-hook behavior.
 -      (linum-after-size, linum-after-config): Remove.
 +2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * imenu.el (imenu-example--name-and-position)
 -      (imenu-example--lisp-extract-index-name)
 -      (imenu-example--create-lisp-index, imenu-example--create-c-index):
 -      Mark as obsolete.
 +      * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
 +      (autoload-find-generated-file): New function.
 +      (generate-file-autoloads): Bind generated-autoload-file to
 +      buffer-file-name.
 +      (update-file-autoloads, update-directory-autoloads):
 +      Use autoload-find-generated-file.  If called interactively, prompt for
 +      output file (Bug#7989).
 +      (batch-update-autoloads): Doc fix.
  
 -      * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
 -      (inferior-prolog-mode): Use it.
 -      (inferior-prolog-load-file): Reset list of errors.
 +2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
  
 -2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
 +      * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
  
 -      * language/tibetan.el ("Tibetan"): Fix sample-text entry.
 +2011-05-04  Glenn Morris  <rgm@gnu.org>
  
 -      * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
 +      * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
 +      function, so it follows changes in calendar-date-style.
 +      (diary-fancy-date-matcher): New function.
 +      (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
 +      (diary-fancy-font-lock-fontify-region-function):
 +      Use diary-fancy-date-pattern as a function.
  
 -2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
 +      * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
 +      non-numbers for `year' etc pseudo-variables.  (Bug#8583)
  
 -      * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
 -      is running already.
 +2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
  
 -2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
 +      instead of positional arguments.  Allow :keylist and :crlfiles
 +      arguments.
 +      (open-gnutls-stream): Call it.
  
 -      * subr.el (listify-key-sequence-1): Use normal syntax since those
 -      integers are nowadays always represented by the same (positive) number
 -      on all platforms.
 -      (read-key-empty-map): New const.
 -      (read-key-delay): New var.
 -      (read-key): New function.
 -      (force-mode-line-update): Use with-current-buffer.
 -      (locate-user-emacs-file): Don't forget to abbreviate the file name.
 -      (start-process-shell-command, start-file-process-shell-command):
 -      Discourage the use of command-args.
 +      * net/network-stream.el (network-stream-open-starttls): Adjust to
 +      call `gnutls-negotiate' with :process and :hostname arguments.
  
 -2009-08-19  Glenn Morris  <rgm@gnu.org>
 +2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
 +      * minibuffer.el (completion--message): New function.
 +      (completion--do-completion, minibuffer-complete)
 +      (minibuffer-force-complete, minibuffer-complete-word): Use it.
 +      (completion--do-completion): Don't ignore completion-auto-help when in
 +      icomplete-mode.
  
 -2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * whitespace.el (whitespace-trailing-regexp): Don't rely on the
 +      internal encoding (e.g. tibetan zero is not whitespace).
 +      (global-whitespace-mode): Prefer save-current-buffer.
 +      (whitespace-trailing-regexp): Remove useless save-match-data.
 +      (whitespace-empty-at-bob-regexp): Minor simplification.
  
 -      * simple.el (choose-completion-string): Don't rely on
 -      minibuffer-completing-file-name and ad-hoc checks to decide whether
 -      to continue completion or not.
 +2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * minibuffer.el (minibuffer-hide-completions): New function.
 -      (completion--do-completion): Use it.
 -      (completions-annotations): New face.
 -      (completion--insert-strings): Use it.
 -      (completion-pcm--delim-wild-regex): Add docstring.
 -      (completion-pcm--string->pattern): Add support for 0-width delimiters
 -      in completion-pcm--delim-wild-regex.
 +      * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
  
 -2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
  
 -      * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
 -      Remove unused var `buffer-modified-p'.
 +      * textmodes/ispell.el (ispell-add-per-file-word-list):
 +      Use `concat' to create string for insertion.
  
 -      * minibuffer.el (completion--do-completion): Move point for the #b001
 -      case as well (bug#4176).
 -      (minibuffer-complete, minibuffer-complete-word): Don't move point.
 +2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
 +      * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
 +      Avoid open-line which runs post-self-insert-hook.
 +      (bibtex-fill-entry): Remove unused `end' var.
  
 -      * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
 -      and :session buses.
 +2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
  
 -2009-08-18  Kenichi Handa  <handa@m17n.org>
 +      * textmodes/ispell.el (ispell-add-per-file-word-list):
 +      Protect against `nil' value of `comment-start' (Bug#8579).
  
 -      * international/ucs-normalize.el (ucs-normalize-version):
 -      Change to 1.1.
 -      (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
 -      (utf-8-hfs): Make it perform normalization on encoding too.
 +2011-05-03  Leo Liu  <sdl.web@gmail.com>
  
 -      * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
 -      (sentence-end-without-space): Delete duplicated chars.
 -      (sentence-end-base): Likewise.
 +      * isearch.el (isearch-yank-pop): New command.
 +      (isearch-mode-map): Bind it to `M-y'.
 +      (isearch-forward): Mention it.
  
 -      * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
 -      (html-mode): Delete duplicated chars from sentence-end-base.
 +2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
 -      (texinfo-mode): Delete duplicated chars from sentence-end-base.
 +      * simple.el (minibuffer-complete-shell-command): Remove.
 +      (minibuffer-local-shell-command-map): Use completion-at-point.
 +      (read-shell-command): Setup completion vars here instead.
 +      (read-expression-map): Bind TAB to symbol completion.
  
 -2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
 +      * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
 +      error directly rather via storing it into `results'.
  
 -      * files.el (hack-one-local-variable): If the mode function is for
 -      a minor mode, pass it an argument (Bug#4148).
 +2011-05-02  Leo Liu  <sdl.web@gmail.com>
  
 -2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
 +      * vc/diff.el: Fix description.
  
 -      * net/tramp.el (tramp-register-completion-file-name-handler):
 -      Check also for (member 'partial-completion completion-styles).
 +2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
 +      * server.el (server-eval-at): New function.
  
 -      * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
 -      abbrev (Bug#3943).
 +2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
 +      * net/network-stream.el (open-network-stream): Take a :nowait
 +      parameter and pass it on to `make-network-process'.
 +      (network-stream-open-plain): Ditto.
  
 -      * progmodes/cperl-mode.el: Merge upstream 6.2.
 -      (cperl-mode-syntax-table): Modify syntax entry for ["'`].
 -      (cperl-forward-re): Check cperl-brace-recursing.
 -      (cperl-highlight-charclass): New function.
 -      (cperl-find-pods-heres): Use it.
 -      (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
 -      (cperl-beautify-regexp-piece): Fix column calculation.
 -      (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
 -      (cperl-beautify-level): Don't process entire regexp.
 -      (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
 -      calling man.
 -      (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
 -      (cperl-init-faces): Build a list in the normal way.
 +2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
  
 -2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
 +      * faces.el (face-spec-set-match-display): Don't match toolkit
 +      options on terminal frames.
  
 -      * calendar/parse-time.el (parse-time-string-chars): Save match
 -      data.
 +2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * progmodes/pascal.el: Use lexical binding.
 +      (pascal-mode-map): Remove author preferences.
  
 -      * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
 -      (sql-product): Use it.
 -      (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
 -      (sql-set-product): Add completion.
 -      (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
 -      (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
 -      (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
 -      (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
 -      (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
 -      (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
 -      (sql-highlight-db2-keywords): Remove.
 -      (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
 -      (sql-highlight-product): Use derived-mode-p.
 -      (sql-set-sqli-buffer): Use with-current-buffer.
 -      (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
 -      Simplify.
 +      * pcomplete.el (pcomplete-std-complete): Don't abuse
 +      completion-at-point.
  
 -      * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
 +2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * term.el: Fix commenting convention, turn comments into docstrings.
 +      * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
 +      removing code that has been dead since 1991 or so.
  
 -2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
 +      * startup.el (command-line): When warning about "_emacs", use a
 +      delayed warning to allow the user to filter it out.
  
 -      * whitespace.el (whitespace-style): Doc fix (Bug#3661).
 +2011-04-28  Deniz Dogan  <deniz@dogan.se>
  
 -2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
 +      * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
 +      user has not joined.
  
 -      * calendar/parse-time.el (parse-time-string-chars): Compute using
 -      character classes, to handle non-ascii characters (Bug#3190).
 +2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
 +      * pcomplete.el (pcomplete-completions-at-point): Return nil if there
 +      aren't any completions at point.
  
 -      * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
 -      another heredoc if the user adds another < (Bug#3226).
 +2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
 -      Don't initialize based on window-system (Bug#4124).
 +      * subr.el (display-delayed-warnings): New function.
 +      (delayed-warnings-hook): New variable.
  
 -      * facemenu.el (facemenu-read-color): Use a completion function
 -      that accepts any defined color, such as RGB triplets (Bug#3677).
 +2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * files.el (get-free-disk-space): Change fallback default
 -      directory to /.  Expand DIR argument before switching to fallback.
 -      Suggested by Kevin Ryde (Bug#2631, Bug#3911).
 +      * minibuffer.el (completion-at-point, completion-help-at-point):
 +      Don't presume that a given completion-at-point-function will always
 +      use the same calling convention.
  
 -2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
 +      * pcomplete.el (pcomplete-completions-at-point):
 +      Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
 +      pcomplete-seen is non-nil.
 +      (pcomplete-comint-setup): Also recognize the new comint/shell
 +      completion functions.
 +      (pcomplete-do-complete): Don't call pcomplete-norm-func unless
 +      pcomplete-seen is non-nil.
  
 -      * files.el (load-library): Doc fix.
 +2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
  
 -2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
 +      * calendar/icalendar.el (diary-lib): Add require statement.
 +      (icalendar--create-uid): Read out a uid from a text-property on
 +      the first character in the entry.  This allows for code to add its
 +      own uid to the entry.
 +      (icalendar--convert-float-to-ical): Add export of
 +      `diary-float'-entries save for those with the optional DAY
 +      argument.
  
 -      * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
 -      (viper-if-string): Redefine C-s in the minibuffer to insert the last
 -      incremental search string.
 +2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
  
 -      * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
 -      XEmacs.
 +      * subr.el (shell-quote-argument): Use alternate escaping strategy
 +      when we spot a variable reference in a string.
  
 -      * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
 -      (ediff-merge-region-is-non-clash)
 -      (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
 -      Also check if the job is really a merge job.
 +2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
  
 -      * ediff.el (ediff-current-file): New function.
 +      * cus-start.el (all): Define customization for debug-on-event.
  
 -2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
 +2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
  
 -      * progmodes/js.el: Edit docstrings throughout to follow Emacs
 -      conventions.
 -      (js-insert-and-indent): Delete function.
 -      (js-mode-map): Don't bind keys to js-insert-and-indent.
 -      (js-beginning-of-defun): Rename from js--beginning-of-defun.
 -      (js-end-of-defun): Rename from js--end-of-defun.
 -      (js-auto-indent-flag): Delete variable.
 +      * subr.el (shell-quote-argument): Escape correctly under Windows.
  
 -2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
 +2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * progmodes/js.el: Remove proclaim statement.
 -      Defvar which-func-imenu-joiner-function to silence compiler.
 +      * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
  
 -      * files.el (auto-mode-alist): Use js-mode for .js files.
 +2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
  
 -      * progmodes/js2-mode.el: Remove file.
 +      * net/tramp.el (tramp-process-actions): Add POS argument.
 +      Delete region between POS and (pos).
  
 -      * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
 +      * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
 +      Use `nil' position in `tramp-process-actions' call.
 +      (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
  
 -      * speedbar.el (speedbar-supported-extension-expressions): Add .js.
 +      * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
 +      position in `tramp-process-actions' call.
  
 -      * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
 +      * net/trampver.el: Update release number.
  
 -2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
 -          Karl Landstrom  <karl.landstrom@brgeight.se>
 +2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * progmodes/js.el: New file.
 +      * custom.el (defcustom): Obey lexical-binding.
  
 -2009-08-14  Mark A. Hershberger  <mah@everybody.org>
 +      Fix octave-inf completion problems reported by Alexander Klimov.
 +      * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
 +      Inherit from octave-mode-syntax-table.
 +      (inferior-octave-mode): Set info-lookup-mode.
 +      (inferior-octave-completion-at-point): New function.
 +      (inferior-octave-complete): Use it and completion-in-region.
 +      (inferior-octave-dynamic-complete-functions): Use it as well, and use
 +      comint-filename-completion.
 +      * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
 +      symbol elements which shouldn't be word elements.
 +      (octave-font-lock-keywords, octave-beginning-of-defun)
 +      (octave-function-header-regexp): Adjust regexps accordingly.
 +      (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
  
 -      * timezone.el (timezone-parse-date): Add ability to understand ISO
 -      basic format (minimal separators) dates in addition to the
 -      already-supported extended format dates.
 +2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
  
 -2009-08-14  Eli Zaretskii  <eliz@gnu.org>
 +      * net/gnutls.el (gnutls-errorp): Declare before first use.
  
 -      * international/ucs-normalize.el: Add a `coding' file variable.
 +2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
  
 -      * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
 +      * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
 +      verify-error, and verify-hostname-error parameters.  Check whether
 +      default trustfile exists before going to use it.  Add missing
 +      argument to gnutls-message-maybe call.  Return return value.
 +      Reported by Claudio Bley <claudio.bley@gmail.com>.
 +      (open-gnutls-stream): Add usage example.
  
 -2009-08-14  Sam Steingold  <sds@gnu.org>
 +      * net/network-stream.el (network-stream-open-starttls): Give host
 +      parameter to `gnutls-negotiate'.
 +      (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
 +      * subr.el (shell-quote-argument): Escape correctly under Windows.
  
 -      * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
 +2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
  
 -2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
 +      * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
 +      Use correct match group (bug#8438).
  
 -      * faces.el (help-argument-name): Define it here instead of
 -      help-fns.el, because in daemon mode help-fns.el may be loaded when
 -      faces are still uninitialized (Bug#1078).
 +2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * help-fns.el (help-argument-name): Move defface to faces.el.
 +      * emacs-lisp/package.el (package-built-in-p): Fix typo.
 +      (package-menu--generate): New arg specifying packages to show.
 +      (package-menu-refresh, package-menu-execute, list-packages):
 +      Callers changed.
 +      (package-show-package-list): New function, replacing deleted
 +      package--list-packages (renamed because it is non-internal).
  
 -2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
 +      * finder.el (finder-list-matches): Use package-show-package-list
 +      instead of deleted package--list-packages.
  
 -      * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
 -      create buffer with a pty but no process so that GDB can make the
 -      inferior the controlling process.
 +      * vc/vc-annotate.el (vc-annotate-goto-line): New command.
 +      Based on a previous implementation by Juanma Barranquero (Bug#8366).
 +      (vc-annotate-mode-map): Bind it to RET.
  
 -2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
 +2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
  
 -      * international/ucs-normalize.el: New file.
 +      * progmodes/etags.el (next-file): Don't use set-buffer to change
 +      buffers (Bug#8478).
  
 -2009-08-13  Richard Stallman  <rms@gnu.org>
 +2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * mail/rmail.el (rmail-get-attr-names):
 -      Accept an attribute header that is too short.
 +      * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
  
 -      * mail/rmail.el (rmail-forget-messages):
 -      Ignore nil elt in rmail-message-vector.  Use dotimes.
 +      * apropos.el (apropos-label-face): Avoid variable-pitch face.
 +      (apropos-accumulator): Doc fix.
 +      (apropos-function, apropos-macro, apropos-command)
 +      (apropos-variable, apropos-face, apropos-group, apropos-widget)
 +      (apropos-plist): Add face property.
 +      (apropos-symbols-internal): Fix indentation.
 +      (apropos-print): Simplify help, and recognize apropos-multi-type.
 +      (apropos-print-doc): Use button-type-get to extract the button's
 +      face property.  Fill docstring (Bug#8352).
  
 -      * progmodes/compile.el (compilation-goto-locus):
 -      Use next-error-move-function.
 +2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * simple.el (next-error-move-function): New variable.
 +      * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
  
 -2009-08-12  Juri Linkov  <juri@jurta.org>
 +      * play/mpuz.el (mpuz-silent): Doc fix.
 +      (mpuz-mode-map): Use mapc.
 +      (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
 +      (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
 +      Fix typos in docstrings.
  
 -      * progmodes/grep.el (lgrep): Ensure that `default-directory' is
 -      always non-nil.  (Bug#4052)
 +      * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
 +      (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
  
 -      * replace.el (read-regexp): Return empty string when
 -      `default-value' is nil.
 -      (keep-lines-read-args): Don't use empty string as the
 -      default value for `read-regexp'.  (Bug#2495)
 +      * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
  
 -2009-08-12  Juri Linkov  <juri@jurta.org>
 +2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * international/mule-cmds.el (ucs-insert): Change arguments
 -      from `arg' to `character', `count', `inherit' to be the same
 -      as in `insert-char'.  Doc fix.  (Bug#4039)
 +      * minibuffer.el (completion--do-completion): Avoid the "Next char
 +      not unique" prompt if icomplete-mode is enabled (Bug#5849).
  
 -      * international/mule-conf.el (utf-16be-with-signature): Doc fix.
 +      * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
 +      mouse-2 into unread-command-events, it is interpreted correctly.
  
 -2009-08-12  Juri Linkov  <juri@jurta.org>
 +      * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
 +      (image-toggle-display): Doc fix.
  
 -      * files-x.el: New file.
 +2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
  
 -      * files.el: Move code that deals with adding/deleting
 -      file/directory-local variables to files-x.el.
 +      * textmodes/page.el (what-page): Use line-number-at-pos to
 +      calculate line number (Bug#6825).
  
 -      * Makefile.in (ELCFILES): Add files-x.elc.
 +2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
  
 -2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
 +      * eshell/esh-mode.el (find-tag-interactive): Declare function.
 +      (eshell-find-tag): Remove `with-no-warnings', unneeded now.
 +      Pass argument NO-DEFAULT to `find-tag-interactive'.
  
 -      * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
 -      to use `goto-line'.
 -      (gdb-place-breakpoints, gdb-get-location): Rewritten without
 -      `goto-line'.
 -      (gdb-invalidate-disassembly): Do not refresh upon receiving
 -      'update signal.  Instead, update all disassembly buffers only after
 -      threads list.
 -      (gdb): Send -target-detach when buffer is killed (Bug#3794).
 -      (gdb-starting): Move -data-list-register-names...
 -      (gdb-stopped): ...here so it's sent when first thread stops.
 -      (gdb-registers-handler-custom): Do nothing if register names are
 -      unknown yet.
 +2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
 -      from `gdb-mi.el' to avoid extra tangling.
 +      Lexical-binding cleanup.
 +
 +      * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
 +      (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
 +      * progmodes/ada-prj.el (ada-prj-initialize-values)
 +      (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
 +      (ada-prj-show-value):
 +      * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
 +      * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
 +      (antlr-invalidate-context-cache, antlr-options-menu-filter)
 +      (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
 +      * progmodes/bug-reference.el (bug-reference-push-button):
 +      * progmodes/fortran.el (fortran-line-length):
 +      * progmodes/glasses.el (glasses-change):
 +      * progmodes/octave-mod.el (octave-fill-paragraph):
 +      * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
 +      (python-pdbtrack-grub-for-buffer, python-sentinel):
 +      * progmodes/sql.el (sql-save-connection):
 +      * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
 +      * progmodes/xscheme.el (xscheme-enter-debugger-mode):
 +      Mark unused parameters.
 +
 +      * progmodes/compile.el (compilation--flush-directory-cache)
 +      (compilation--flush-parse, compile-internal): Mark unused parameters.
 +      (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
 +      (compilation-next-error-function): Remove unused variable `timestamp'.
 +
 +      * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
 +      (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
 +
 +      * progmodes/dcl-mode.el (dcl-end-of-command):
 +      Remove unused variable `start'.
 +      (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
 +      (dcl-option-value-basic, dcl-option-value-offset)
 +      (dcl-option-value-margin-offset, dcl-option-value-comment-line):
 +      Mark unused parameters.
 +      (dcl-save-local-variable): Remove unused variable `val'.
 +      (mode): Declare.
 +
 +      * progmodes/delphi.el (delphi-save-state, delphi-after-change):
 +      Mark unused parameters.
 +      (delphi-ignore-changes): Move before first use.
 +      (delphi-charset-token-at): Remove unused variable `start'.
 +      (delphi-else-start): Remove unused variable `if-count'.
 +      (delphi-comment-block-start, delphi-comment-block-end):
 +      Remove unused variable `kind'.
 +      (delphi-indent-line): Remove unused variable `new-point'.
 +
 +      * progmodes/ebrowse.el (ebrowse-files-list)
 +      (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
 +      Mark unused parameters.  Don't quote `lambda'.
 +      (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
 +      Don't quote `lambda'.
 +      (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
 +      (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
 +      (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
 +      (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
 +      Use `ignore-errors'.
 +      (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
 +      (ebrowse-view/find-file-and-search-pattern)
 +      (ebrowse-view/find-member-declaration/definition):
 +      Rename parameter TAGS-FILE-NAME to TAGS-FILE.
 +      (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
 +      Rename parameter PREFIX-ARG to PREFIX.
 +      (ebrowse-tags-read-name): Remove unused variables `start' and
 +      `member-info'.
 +      (ebrowse-display-member-buffer): Rename variable `tags-file-name'
 +      to `tags-file'.
 +
 +      * progmodes/etags.el (local-find-tag-hook): Declare.
 +      (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
 +      Mark unused parameters.
 +
 +      * progmodes/executable.el (compilation-error-regexp-alist): Declare.
 +      (executable-interpret): Mark unused parameter.
 +
 +      * progmodes/flymake.el (flymake-process-sentinel)
 +      (flymake-after-change-function)
 +      (flymake-create-temp-with-folder-structure)
 +      (flymake-get-include-dirs-dot): Mark unused parameters.
 +      (flymake-safe-delete-directory): Remove unused variable `err'.
 +
 +      * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
 +      (speedbar-timer-fn, speedbar-line-text)
 +      (speedbar-change-expand-button-char, speedbar-delete-subblock)
 +      (speedbar-center-buffer-smartly): Declare functions.
 +      (gdb-find-watch-expression): Remove unused variable `array'.
 +      (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
 +      (gdb-starting): Mark unused parameters.
 +      (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
 +      (gdb-table-string): Remove unused variable `res'.
 +      (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
 +      (gdb-disassembly-handler-custom): Remove unused variable `pos'.
 +      (gdb-display-buffer): Remove unused variable `cur-size'.
 +
 +      * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
 +      allow lexical-binding compilation.
 +      (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
 +      (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
 +      (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
 +      Mark unused parameters.
 +      (gud-gdb-marker-filter): Remove unused variable `match'.
 +      (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
 +      lambda expressions and funcall them, instead of using `fset'.
 +
 +      * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
 +      HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
 +
 +      * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
 +      variable `header-beg'; use `let'.
 +
 +      * progmodes/icon.el (indent-icon-exp): Remove unused variables
 +      `restart', `last-sexp' and `at-do'.
 +
 +      * progmodes/js.el (js--debug): Mark unused parameter.
 +      (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
 +      (js--splice-into-items): Remove unused variable `item'.
 +      (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
 +
 +      * progmodes/make-mode.el (makefile-make-font-lock-keywords):
 +      Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
 +      (makefile-complete): Remove unused variable `try'.
 +      (makefile-fill-paragraph, makefile-match-function-end):
 +      Mark unused parameters.
 +
 +      * progmodes/octave-inf.el (inferior-octave-complete):
 +      Remove unused variable `proc'.
 +      (inferior-octave-output-digest): Mark unused parameter.
 +
 +      * progmodes/perl-mode.el (perl-calculate-indent):
 +      Remove unused variable `err'.
 +
 +      * progmodes/prolog.el (prolog-mode-keybindings-inferior)
 +      (prolog-indent-line): Mark unused parameters.
 +      (prolog-indent-line): Remove unused variable `beg'.
 +
 +      * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
 +      (reporter-dont-compact-list): Declare.
 +
 +      * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
 +      Remove unused variable `char'.
 +      (sh-debug): Mark unused parameter.
 +      (sh-get-indent-info): Remove unused variable `start'.
 +      (sh-calculate-indent): Remove unused variable `var'.
 +
 +      * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
 +      (simula-electric-keyword): Remove unused variable `null'.
 +      (simula-search-backward, simula-search-forward): Remove unused
 +      variables `begin' and `end'.
 +
 +      * progmodes/vera-mode.el (vera-guess-basic-syntax):
 +      Remove unused variable `pos'.
 +      (vera-electric-tab, vera-comment-uncomment-region):
 +      Mark unused parameters.
 +      (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
 +
 +2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * emacs-lisp/package.el (package--builtins, package-alist)
 +      (package-load-descriptor, package-built-in-p, package-activate)
 +      (define-package, package-installed-p)
 +      (package-compute-transaction, package-buffer-info)
 +      (package--push): Doc fix.  Distinguish more clearly between
 +      version strings and version lists.
  
 -      * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
 -      change which breaks `gud-def' definitions used in `gdb'.
 -      (gdb-update-gud-running): No extra fuss for updating frame number.
 +2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
  
 -2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      Lexical-binding cleanup.
  
 -      * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
 -      (describe-language-environment-map, setup-language-environment-map)
 -      (set-coding-system-map): Move initialization into declaration.
 -      (set-language-info-alist): Last arg to define-key-after can be skipped.
 +      * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
 +      (5x5-make-mutate-best):
 +      * play/fortune.el (fortune-in-buffer):
 +      * play/gomoku.el (gomoku-init-display):
 +      * play/solitaire.el (solitaire, solitaire-do-check):
 +      * play/tetris.el (tetris-default-update-speed-function):
 +      Mark unused parameters.
 +
 +      * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
 +      (bubbles--shift): Remove unused variable `char-org'.
 +      (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
 +      (bubbles--show-images): Remove unused variable `char'.
 +
 +      * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
 +      (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
 +      (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
 +      (decipher-analyze-buffer): Use ?\s.
 +      (decipher-make-checkpoint): Remove unused variable `mapping'.
 +
 +      * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
 +
 +      * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
 +      Remove unused variable `result'; use `let'.
 +
 +      * play/gametree.el (gametree-current-layout, gametree-apply-layout):
 +      Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
 +      (gametree-children-shown-p, gametree-compute-reduced-score):
 +      Use `ignore-errors'.
 +
 +      * play/handwrite.el (ps-lpr-switches): Declare.
 +      (handwrite): Remove unused variables `pmin' and `lastp'.
 +
 +      * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
 +
 +      * play/landmark.el (landmark-init-display)
 +      (landmark-update-naught-weights): Mark unused parameters.
 +      (landmark-y): Remove unused variable `noise'.  Simplify.
 +      (landmark-human-plays): Remove unused variable `score'.
 +
 +      * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
 +      (mpuz-try-proposal): Remove unused variable `game'.
 +
 +      * play/zone.el (life-patterns): Declare.
 +
 +2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * vc/vc.el (ediff-vc-internal): Declare function.
 +
 +2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * shell.el: Use lexical-binding and std completion UI.
 +      (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
 +      (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
 +      comint-preoutput-filter-functions rather than on
 +      comint-output-filter-functions.
 +      (shell-command-completion, shell--command-completion-data)
 +      (shell-filename-completion, shell-environment-variable-completion)
 +      (shell-c-a-p-replace-by-expanded-directory): New functions.
 +      (shell-dynamic-complete-functions, shell-dynamic-complete-command)
 +      (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
 +      (shell-dynamic-complete-environment-variable): Use them.
 +      (shell-dynamic-complete-as-environment-variable)
 +      (shell-dynamic-complete-as-command): Remove.
 +      (shell-match-partial-variable): Match past point.
 +      * comint.el: Clean up use of completion-at-point-functions.
 +      (comint-completion-at-point): New function.
 +      (comint-mode): Use it completion-at-point-functions.
 +      (comint-dynamic-complete): Make it obsolete.
 +      (comint-replace-by-expanded-history-before-point): Add dry-run arg.
 +      (comint-c-a-p-replace-by-expanded-history): New function.
 +      (comint-dynamic-complete-functions)
 +      (comint-replace-by-expanded-history): Use it.
 +      * minibuffer.el (completion-table-with-terminator): Allow dynamic
 +      termination strings.  Try harder to avoid second try-completion.
 +      (completion-in-region-mode-map): Disable bindings that don't work yet.
 +
 +      * comint.el: Use lexical-binding.  Require CL.
 +      (comint-dynamic-complete-functions): Use comint-filename-completion.
 +      (comint-completion-addsuffix): Tweak custom type.
 +      (comint-filename-completion, comint--common-suffix)
 +      (comint--common-quoted-suffix, comint--table-subvert)
 +      (comint--complete-file-name-data): New functions.
 +      (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
 +      (comint-dynamic-list-filename-completions): Use them.
 +      (comint-dynamic-simple-complete): Make obsolete.
 +
 +      * minibuffer.el (completion-in-region-mode):
 +      Keep completion-in-region-mode--predicate global.
 +      (completion-in-region--postch):
 +      Assume completion-in-region-mode--predicate is not null.
  
 -      * international/quail.el (quail-completion-1): Simplify.
 -      (quail-define-rules): Use slightly more compact code.
 -      (quail-insert-decode-map): Propertize keys, compact columns.
 +      * progmodes/flymake.el (flymake-start-syntax-check-process):
 +      Obey `dir'.  Simplify.
 +
 +      * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
 +      we're in VC after all.
 +
 +2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
 +
 +      * vc/vc.el (vc-diff-build-argument-list-internal)
 +      (vc-version-ediff, vc-ediff): New commands.
 +      (vc-version-diff): Use vc-diff-build-argument-list-internal.
 +
 +2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
 +      add sanity check.
 +
 +      * obsolete/erc-hecomplete.el: Make obsolete.
 +      * obsolete/: Standardize obsolescence info in the header.
 +
 +2011-04-20  Glenn Morris  <rgm@gnu.org>
 +
 +      * calendar/solar.el (solar-horizontal-coordinates):
 +      Use the longitude argument rather than `calendar-longitude'.
 +      (solar-date-next-longitude): Remove unused locals.
 +
 +2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 +
 +      * whitespace.el: New version 13.2.1.
 +
 +2011-04-20  felix  <EmacsWiki>  (tiny change)
 +
 +      * whitespace.el (global-whitespace-mode): Keep highlight when
 +      switching between major modes on a file.
 +
 +2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
 +      (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
 +      multi-line comments as well.
 +
 +2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      Lexical-binding cleanup.
 +
 +      * arc-mode.el (archive-mode-revert):
 +      * cmuscheme.el (scheme-interactively-start-process):
 +      * custom.el (custom-initialize-delay):
 +      * dnd.el (dnd-open-local-file, dnd-open-remote-url):
 +      * dos-w32.el (direct-print-region-helper, direct-print-region-function):
 +      * emacs-lock.el (emacs-lock-clear-sentinel):
 +      * ezimage.el (defezimage):
 +      * follow.el (follow-avoid-tail-recenter):
 +      * fringe.el (set-fringe-mode-1):
 +      * generic-x.el (bat-generic-mode-compile):
 +      * help-mode.el (help-info-variable, help-do-xref)
 +      (help-mode-revert-buffer):
 +      * help.el (view-emacs-todo):
 +      * iswitchb.el (iswitchb-completion-help):
 +      * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
 +      * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
 +      (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
 +      * locate.el (locate-update):
 +      * longlines.el (longlines-encode-region)
 +      (longlines-after-change-function):
 +      * outline.el (outline-isearch-open-invisible):
 +      * ps-def.el (declare-function, charset-dimension, char-width)
 +      (encode-char):
 +      * ps-mule.el (ps-mule-plot-string):
 +      * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
 +      (recentf-edit-list-select, recentf-edit-list-validate)
 +      (recentf-open-files-action):
 +      * rect.el (delete-whitespace-rectangle-line)
 +      (rectangle-number-line-callback):
 +      * register.el (window-configuration-to-register)
 +      (frame-configuration-to-register):
 +      * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
 +      * select.el (xselect-convert-to-string, xselect-convert-to-length)
 +      (xselect-convert-to-targets, xselect-convert-to-delete)
 +      (xselect-convert-to-filename, xselect-convert-to-charpos)
 +      (xselect-convert-to-lineno, xselect-convert-to-colno)
 +      (xselect-convert-to-os, xselect-convert-to-host)
 +      (xselect-convert-to-user, xselect-convert-to-class)
 +      (xselect-convert-to-name, xselect-convert-to-integer)
 +      (xselect-convert-to-atom, xselect-convert-to-identity):
 +      * subr.el (declare, ignore, process-kill-without-query)
 +      (text-clone-maintain):
 +      * terminal.el (te-get-char, te-tic-sentinel):
 +      * tool-bar.el (tool-bar-make-keymap):
 +      * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
 +      * type-break.el (type-break-mode, type-break-noninteractive-query):
 +      * view.el (View-back-to-mark):
 +      * wid-browse.el (widget-browse-action, widget-browse-widget)
 +      (widget-browse-widgets, widget-browse-sexp):
 +      * widget.el (define-widget-keywords):
 +      * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
 +      Mark unused parameters.
 +
 +      * align.el (align-adjust-col-for-rule): Mark unused parameter.
 +      (align-areas): Remove unused variable `look'.
 +      (align-region): Remove unused variables `real-end' and `pos-list'.
 +
 +      * apropos.el (apropos-score-doc): Remove unused variable `i'.
 +
 +      * bindings.el (mode-line-modified, mode-line-remote):
 +      Mark unused parameters.
 +      (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
 +
 +      * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
 +      (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
 +
 +      * comint.el (comint-history-isearch-pop-state)
 +      (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
 +      (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
 +      (comint-substitute-in-file-name): Doc fix.
 +
 +      * completion.el (cmpl-statistics-block): Mark unused parameter.
 +      (add-completions-from-tags-table, add-completions-from-lisp-buffer)
 +      (save-completions-to-file, load-completions-from-file):
 +      Remove unused local variable `e'.
 +
 +      * composite.el (compose-chars): Remove unused variable `len'.
 +      (lgstring-insert-glyph): Remove unused variable `g'.
 +      (compose-glyph-string): Remove unused variables `ascent',
 +      `descent', `lbearing' and `rbearing'.
 +      (compose-glyph-string-relative): Remove unused variables
 +      `lbearing', `rbearing' and `wadjust'.
 +      (compose-gstring-for-graphic): Remove unused variables `header',
 +      `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
 +      (compose-gstring-for-terminal): Remove unused variables `header'
 +      and `nchars'.  Use `let', not `let*'.
 +
 +      * cus-edit.el (Custom-set, Custom-save, custom-reset)
 +      (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
 +      (Custom-buffer-done, custom-buffer-create-internal)
 +      (custom-browse-visibility-action, custom-browse-group-tag-action)
 +      (custom-browse-variable-tag-action, custom-browse-face-tag-action)
 +      (widget-magic-mouse-down-action, custom-toggle-parent)
 +      (custom-add-parent-links, custom-toggle-hide-variable)
 +      (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
 +      (custom-toggle-hide-face, face, hook, custom-group-link-action)
 +      (custom-face-menu-create, custom-variable-menu-create, get)
 +      (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
 +      (custom-reset-standard-save-and-update): Remove unused variable `value'.
 +      (customize-apropos): Remove unused variable `tests'.
 +      (custom-group-value-create): Remove unused variable `hidden-p'.
 +      (sort-fold-case): Declare.
 +
 +      * cus-theme.el (custom-reset-standard-faces-list)
 +      (custom-reset-standard-variables-list): Declare.
 +      (customize-create-theme, custom-theme-revert, custom-theme-write)
 +      (custom-theme-choose-mode, customize-themes, custom-theme-save):
 +      Mark unused parameters.
 +
 +      * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
 +
 +      * delim-col.el (delimit-columns-max): Move defvar before first use.
 +
 +      * descr-text.el (describe-char-categories): Don't quote `lambda'.
 +      (describe-char): Don't quote `lambda'.  Mark unused parameter.
 +
 +      * desktop.el (desktop-save-buffer-p): Mark unused parameter.
 +      (auto-insert): Declare.
 +      (desktop-restore-file-buffer): Rename desktop-* parameters;
 +      mark unused ones.
 +      (desktop-create-buffer): Rename desktop-* parameters and bind them.
 +      (desktop-buffer): Rename desktop-* parameters.
 +
 +      * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
 +      (dframe-reposition-frame-xemacs, dframe-help-echo)
 +      (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
 +      Mark unused parameters.
 +
 +      * dired-aux.el (backup-extract-version-start, overwrite-query)
 +      (overwrite-backup-query, rename-regexp-query)
 +      (rename-non-directory-query): Declare.
 +      (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
 +      (dired-add-entry): Remove unused variable `orig-file-name'.
 +      (dired-copy-file-recursive): Remove unused variable `dirfailed'.
 +      Use parameter PRESERVE-TIME instead of accessing dynamic variable
 +      `dired-copy-preserve-time' directly.
 +      (dired-do-create-files-regexp): Remove unused variable `fn-count'.
 +      (dired-insert-subdir-newpos): Rename unused variable `pos'.
 +
 +      * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
 +      (dired-virtual-revert, dired-make-relative-symlink):
 +      Mark unused parameters.
 +      (manual-program): Declare.
 +      (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
 +      (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
 +      wrapped in `with-no-warnings' to avoid replacing one warning by another.
 +
 +      * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
 +
 +      * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
 +
 +      * echistory.el (electric-history-in-progress, Helper-return-blurb):
 +      Declare.
 +
 +      * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
 +
 +      * electric.el (Electric-command-loop): Rename parameter
 +      INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
 +
 +      * expand.el (expand-in-literal): Remove unused variable `here'.
 +
 +      * facemenu.el (facemenu-add-new-color):
 +      Remove unused variable `docstring'.
 +
 +      * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
 +      (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
 +      (face-attr-construct): Mark unused parameter.  Doc fix.
 +      (read-color): Remove unused variable `hex-string'.
 +
 +      * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
 +      (locate-dominating-file): Remove unused vars `prev-file' and `user'.
 +      (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
 +      (display-buffer-other-frame): Remove unused variable `old-window'.
 +      (kill-buffer-hook): Declare.
 +      (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
 +      Mark unused parameters.
 +      (after-find-file): Pass 1 to `auto-save-mode', not t.
 +
 +      * files-x.el (auto-insert): Declare.
 +      (modify-file-local-variable-prop-line): Remove unused variable `val'.
 +
 +      * find-lisp.el (find-lisp-find-dired-internal): Remove unused
 +      variable `buf'.  Mark unused parameter.
 +      (find-lisp-insert-directory): Mark unused parameter.
 +
 +      * format.el (format-decode-run-method): Mark unused parameter; doc fix.
 +      (format-encode-region): Remove unused variables `cur-buf' and `result'.
 +      (format-common-tail): Remove, unused.
 +      (format-deannotate-region): Remove unused variable `loc'.
 +      (format-annotate-region): Remove unused variable `p'.
 +      (format-annotate-single-property-change): Remove unused variables
 +      `default' and `tail'.
 +
 +      * forms.el (read-file-filter): Declare.
 +      (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
 +
 +      * frame.el (frame-creation-function-alist): Mark unused parameter.
 +      (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
 +
 +      * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
 +      Remove unused parameters.
 +      (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
 +      (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
 +
 +      * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
 +      (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
 +      (hfy-prepare-tag-map): Mark unused parameters.
 +      (htmlfontify-buffer): Use `called-interactively-p'.
 +
 +      * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
 +      (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
 +      (ibuffer-do-occur): Mark unused parameters.
 +      (ibuffer-forward-next-marked): Remove unused variable `curmark'.
 +      (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
 +
 +      * ibuffer.el: Don't quote `lambda'.
 +      (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
 +      (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
 +      Mark unused parameters.
 +
 +      * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
 +      (ido-completing-read): Mark unused parameters.
 +      (ido-copy-current-word): Mark unused parameters;
 +      remove unused variable `name'.
 +      (ido-sort-merged-list): Remove unused parameter `dirs'.
 +
 +      * ielm.el (ielm-input-sender): Mark unused parameter.
 +      (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
 +      (ielm-output, ielm-wbuf, ielm-pmark): Declare.
 +      (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
 +      `ielm-string' as a dynamic variable accessible from the IELM prompt.
 +      Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
 +
 +      * image-dired.el (image-dired-display-thumbs): Remove unused
 +      variables `curr-file' and `count'.
 +      (image-dired-remove-tag): Remove unused variable `start'.
 +      (image-dired-tag-files, image-dired-create-thumbs): Remove unused
 +      variable `curr-file'
 +      (image-dired-rotate-original): Remove unused variable `temp-file'.
 +      (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
 +      Remove unused variable `file'.
 +      (image-dired-gallery-generate): Remove unused variable `curr'.
 +      (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
 +
 +      * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
 +
 +      * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
 +
 +      * informat.el (texinfo-command-start, texinfo-command-end): Declare.
 +
 +      * isearch.el (minibuffer-history-symbol): Declare.
 +      (isearch-edit-string): Remove unused variable `err'.
 +      (isearch-message-prefix, isearch-message-suffix):
 +      Mark unused parameters.
 +
 +      * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
 +
 +      * macros.el (insert-kbd-macro): Remove unused variable `mods'.
 +
 +      * makesum.el (double-column): Remove unused variable `cnt'.
 +
 +      * misearch.el (multi-isearch-pop-state): Mark unused parameter.
 +      (ido-ignore-item-temp-list): Declare.
 +
 +      * mouse-drag.el (mouse-drag-throw): Remove unused variables
 +      `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
 +      `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
 +      (mouse-drag-drag): Remove unused variables `mouse-delta' and
 +      `mouse-col-delta'.
 +
 +      * mouse-sel.el (mouse-extend-internal):
 +      Remove unused variable `orig-window-frame'.
 +
 +      * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
 +      (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
 +      Move declarations before first use.
 +      (pcomplete-opt): Mark unused parameters; doc fix.
 +
 +      * proced.el (proced-revert): Mark unused parameter.
 +      (proced-send-signal): Remove unused variable `err'.
 +
 +      * ps-print.el (ps-print-preprint-region, ps-print-preprint):
 +      Rename parameter PREFIX-ARG to ARG.
 +      (ps-basic-plot-string, ps-basic-plot-whitespace):
 +      Mark unused parameters.
 +
 +      * replace.el (replace-count): Define.
 +      (occur-revert-function): Mark unused parameters.
 +      (ido-ignore-item-temp-list, isearch-error, isearch-forward)
 +      (isearch-case-fold-search, isearch-string): Declare.
 +      (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
 +      bind `case-fold-search'.  Remove unused variables `beg' and `end',
 +      and simplify.
 +      (replace-eval-replacement): Rename parameter REPLACE-COUNT to
 +      COUNT and bind `replace-count'.
 +      (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
 +      to COUNT.
 +
 +      * savehist.el (print-readably, print-string-length): Declare.
 +
 +      * shadowfile.el (shadow-expand-cluster-in-file-name):
 +      Remove unused variable `cluster'.
 +      (shadow-copy-file): Remove unused variable `i'.
 +      (shadow-noquery, shadow-clusters, shadow-site-cluster)
 +      (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
 +      (shadow-define-literal-group, shadow-define-regexp-group)
 +      (shadow-make-group, shadow-shadows-of): Clean up docstrings.
 +
 +      * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
 +      (shell): Use `called-interactively-p'.
 +      (shell-directory-tracker): Remove unused variable `chdir-failure'.
 +
 +      * simple.el (compilation-context-lines, comint-file-name-quote-list)
 +      (comint-file-name-chars, comint-delimiter-argument-list): Declare.
 +      (delete-backward-char): Remove unused variable `ocol'.
 +      (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
 +      (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
 +      (event-apply-hyper-modifier, event-apply-shift-modifier)
 +      (event-apply-control-modifier, event-apply-meta-modifier):
 +      Mark unused parameters.
 +      (undo-make-selective-list): Remove duplicate variable `undo-elt'.
 +      (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
 +
 +      * speedbar.el (speedbar-ignored-directory-expressions)
 +      (speedbar-supported-extension-expressions, speedbar-directory-buttons)
 +      (speedbar-find-file, speedbar-dir-follow)
 +      (speedbar-directory-buttons-follow, speedbar-tag-find)
 +      (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
 +      (speedbar-buffers-line-directory, speedbar-buffer-click):
 +      Mark unused parameters.
 +      (speedbar-tag-file): Remove unused variable `mode'.
 +      (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
 +
 +      * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
 +
 +      * talk.el (talk): Remove unused variable `display'.
 +
 +      * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
 +      (tar-write-region-annotate): Mark unused parameter.
 +
 +      * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
 +      (minutes, seconds, time-zone, day, year, monthname, month, dayname):
 +      Declare them, wrapped in `with-no-warnings' to avoid replacing one
 +      warning by another.
 +
 +      * time-stamp.el (time-stamp-string-preprocess):
 +      Remove unused variable `require-padding'.
 +
 +      * tree-widget.el (widget-glyph-enable): Declare.
 +      (tree-widget-action): Mark unused parameter.
 +
 +      * w32-fns.el (x-get-selection): Mark unused parameter.
 +      (autoload-make-program, generated-autoload-file): Declare.
 +
 +      * wdired.el (wdired-revert): Mark unused parameters.
 +      (wdired-xcase-word): Remove unused variable `err'.
 +
 +      * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
 +      (whitespace-help-scroll): Remove unused variable `data-help'.
 +
 +      * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
 +      (widget-image-insert, widget-after-change, default)
 +      (widget-default-format-handler, widget-default-notify)
 +      (widget-default-prompt-value, widget-info-link-action)
 +      (widget-url-link-action, widget-function-link-action)
 +      (widget-variable-link-action, widget-file-link-action)
 +      (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
 +      (widget-field-prompt-internal, widget-field-action, widget-field-match)
 +      (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
 +      (widget-insert-button-action, widget-delete-button-action, visibility)
 +      (widget-documentation-link-action, widget-documentation-string-action)
 +      (widget-const-prompt-value, widget-regexp-match, symbol)
 +      (widget-coding-system-prompt-value)
 +      (widget-key-sequence-value-to-external, sexp)
 +      (widget-sexp-value-to-internal, character, vector, cons)
 +      (widget-choice-prompt-value, widget-boolean-prompt-value)
 +      (widget-color--choose-action): Mark unused parameters.
 +      (widget-item-match-inline, widget-choice-match-inline)
 +      (widget-checklist-match, widget-checklist-match-inline)
 +      (widget-group-match): Rename parameter VALUES to VALS.
 +      (widget-field-value-set): Remove unused variable `size'.
 +      (widget-color-action): Remove unused variables `value' and `start'.
 +
 +      * windmove.el (windmove-wrap-loc-for-movement): Remove unused
 +      variable `dir'.  Doc fix.
 +      (windmove-find-other-window): Don't pass it.
 +
 +      * window.el (count-windows): Mark unused parameter.
 +      (bw-adjust-window): Remove unused variable `err'.
 +
 +      * woman.el (woman-file-name): Remove unused variable `default'.
 +      (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
 +      WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
 +      (global-font-lock-mode): Declare.
 +      (woman-decode-region): Mark unused parameter.
 +      (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
 +
 +      * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
 +      (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
 +      (x-dnd-handle-moz-url): Remove unused variable `title'.
 +      (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
 +
 +      * xml.el (xml-parse-tag, xml-parse-attlist):
 +      Remove unused variable `pos'.
 +
 +2011-04-19  Glenn Morris  <rgm@gnu.org>
 +
 +      * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
 +      (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
 +      (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
 +      (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
 +      * calendar/cal-html.el (cal-html-insert-minical):
 +      * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
 +      (calendar-mark-date-pattern):
 +      Prefix "unused" locals.
 +
 +      * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
 +      optional argument `style'.
 +
 +      * calendar/appt.el (appt-make-list):
 +      * calendar/cal-china.el (calendar-chinese-date-string):
 +      * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
 +      (diary-hebrew-yahrzeit):
 +      * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
 +      * calendar/calendar.el (calendar-generate-window):
 +      * calendar/time-date.el (time-to-days):
 +      Remove unused local variables.
 +
 +2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
 +      glyphless-char-display table.
 +      (tabulated-list-glyphless-char-display): New var.
 +
 +2011-04-18  Sam Steingold  <sds@gnu.org>
 +
 +      * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
 +      to acknowledgments.
 +
 +2011-04-17  Glenn Morris  <rgm@gnu.org>
 +
 +      * calendar/diary-lib.el (diary-sexp-entry):
 +      * calendar/holidays.el (holiday-sexp):
 +      Set debug-on-error rather than the removed stack-trace-on-error.
 +
 +2011-04-16  Glenn Morris  <rgm@gnu.org>
 +
 +      * progmodes/f90.el: Use lexical-binding.
 +      (f90-get-correct-indent): Remove unnecessary local variable `cont'.
 +
 +2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * mail/sendmail.el (mail-mode-map): Use completion-at-point.
 +      (mail-mode): Setup mailalias completion here instead.
 +      * mail/mailalias.el: Use lexical-binding.
 +      (pattern, mailalias-done): Declare dynamic.
 +      (mail-completion-at-point-function): New function, from mail-complete.
 +      (mail-complete): Use it.
 +      (mail-completion-expand): New function.
 +      (mail-get-names): Use it.
 +      (mail-directory, mail-directory-process, mail-directory-stream):
 +      Don't use `pattern' for lexically bound arg.
 +
 +      * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
 +
 +      * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
 +      (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
 +      (hfy-etags-cmd-alist): Don't eval-and-compile any more.
 +
 +      * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
 +      (byte-save-window-excursion, byte-temp-output-buffer-setup)
 +      (byte-interactive-p): Define them again, for use when inlining
 +      old code.
  
 -      * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
 -      Add goto-line.
 +2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
  
 -2009-08-10  Miles Bader  <miles@gnu.org>
 +      * loadup.el: Use `string-to-number', not `string-to-int'.
  
 -      * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
 -      (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
 -      (js2-instance-member, js2-private-member, js2-private-function-call)
 -      (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
 -      (js2-magic-paren, js2-external-variable):
 -      Remove "-face" suffix from face names.
 -      (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
 -      (js2-highlight-undeclared-vars, js2-peek-token)
 -      (js2-parse-function-params, js2-mode-show-errors)
 -      (js2-mode-show-warnings, js2-make-magic-delimiter)
 -      (js2-mode-highlight-magic-parens): Update to use new face names.
 +2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
 +      * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
 +      gud-gdb-complete-command.
 +      (gud-gdb-completions): New function, from gud-gdb-complete-command.
 +      (gud-gdb-completion-at-point): New function.
 +      (gud-gdb-completions): Remove.
  
 -      * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
 -      (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
 +2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
  
 -2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
 +      * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
 +      when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
 +      (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
 +      whether `executable-find' is bound.
  
 -      * subr.el: Provide hashtable-print-readable.
 +      * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
  
 -      * progmodes/hideshow.el (hs-special-modes-alist): Don't use
 -      hs-c-like-adjust-block-beginning.
 -      (hs-hide-block-at-point): Stop hiding at the beginning of
 -      hs-block-end-regexp (Bug#700).
 +2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
 -
 -      * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
 -      a macro.
 -      (gdb-registers-handler-custom): Do not fail when register names
 -      are unavailable.
 -
 -2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
 +      * minibuffer.el (completion-in-region-mode-predicate)
 +      (completion-in-region-mode--predicate): New vars.
 +      (completion-in-region, completion-in-region--postch)
 +      (completion-in-region-mode): Use them.
 +      (completion--capf-wrapper): Also return the hook function.
 +      (completion-at-point, completion-help-at-point):
 +      Adjust and provide a predicate.
  
 -      * progmodes/gdb-mi.el (gdb-control-all-threads)
 -      (gdb-control-current-thread): Interactive setters for
 -      `gdb-gud-control-all-threads' to use in menu.
 -      (gdb-show-run-p): Show «Go» when process is not active.
 -      (gud-tool-bar-map): Add non-stop/A,T indicator.
 -      Uses gud/thread.xpm and gud/all.xpm.
 +      Preserve arg names for advice of subr and lexical functions (bug#8457).
 +      * help-fns.el (help-function-arglist): Consolidate the subr and
 +      new-byte-code cases.  Add argument `preserve-names' to extract names
 +      from the docstring when needed.
 +      * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
 +      (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
 +      (ad-arglist): Use help-function-arglist's new arg.
 +      (ad-definition-type): Use cond.
  
 -2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
 -
 -      * net/net-utils.el (net-utils-font-lock-keywords): New var.
 -      (nslookup-font-lock-keywords): Make it a variable.
 -      (net-utils-mode): New mode for viewing diagnostic network output.
 -      (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
 -      (net-utils-run-simple): New function.
 -      (ifconfig, iwconfig, netstat, arp, route): Use it.
 -
 -2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
 -
 -      * progmodes/gdb-mi.el (gdb-read-memory-custom)
 -      (gdb-memory-set-address, def-gdb-set-positive-number)
 -      (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
 -      after changing settings.
 -      (gdb-invalidate-disassembly): Update when first shown.
 -      (gdb-edit-locals-value): Fix.
 -      (gdb-registers-handler-custom): Print registers in right order and
 -      allow changing register values (only for current thread yet).
 -      (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
 -      (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
 -      (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
 -      (gdb-locals-handler-custom, gdb-registers-handler-custom):
 -      Thread info in mode name.
 -      (gdb-registers-mode-map): TAB to switch to locals.
 -
 -2009-08-08  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * mail/rmail.el (rmail-add-mbox-headers)
 -      (rmail-set-message-counters-counter): Search for
 -      rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
 -
 -2009-08-08  Glenn Morris  <rgm@gnu.org>
 -
 -      * Makefile.in (ELCFILES): Update.
 -
 -2009-08-07  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * mail/sendmail.el (mail-yank-original):
 -      Set buffer-file-coding-system from the one used by the message whose
 -      text is yanked.
 -
 -      * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
 -      to "windows" when "pgnuplot" is used.
 -      (calc-graph-command, calc-gnuplot-command, calc-graph-init):
 -      Don't call accept-process-output if "pgnuplot" is used.
 -      (calc-graph-init): Don't send -display and -geometry to
 -      "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
 -      running "pgnuplot -V" with shell-command-to-string.
 -
 -      * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
 -      the default.
 -
 -2009-08-07  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
 -      org/org-latex.elc.
 -
 -2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      * vc-dispatcher.el (vc-resynch-window): Update comment.
 -
 -      * term.el (term-handle-ansi-escape): Add comments with the
 -      terminfo capabilities implemented.
 -
 -2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
 -
 -      * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
 -      (gdb-var-create-handler): Rewritten using JSON parser.
 -      (gdb-propertize-header): Move earlier.
 -      (gdb-set-header): Remove to avoid duplication.
 -      (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
 -      Refresh disassembly buffers only after threads list have been
 -      update.
 -      (gdb-threads-header, gdb-registers-header): Per-buffer header line
 -      variables.
 -
 -2009-08-04  Juri Linkov  <juri@jurta.org>
 -
 -      * files.el: Commands to add/delete file/directory-local variables.
 -      (read-file-local-variable, read-file-local-variable-value)
 -      (read-file-local-variable-mode, modify-file-local-variable)
 -      (modify-file-local-variable-prop-line)
 -      (modify-dir-local-variable): New functions.
 -      (add-file-local-variable, delete-file-local-variable)
 -      (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
 -      (add-dir-local-variable, delete-dir-local-variable)
 -      (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
 -      (copy-dir-locals-to-file-locals-prop-line): New commands.
 -
 -2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * abbrev.el (insert-abbrev-table-description): Prettify output.
 -      Suggested by Karl Chen.
 -
 -2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
 -
 -      * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
 -      (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
 -      (gdb-overlay-arrow-position, gdb-thread-position)
 -      (gdb-disassembly-position): Declare variables.
 -      (gdb-wait-for-pending): Function now.
 -      (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
 -      (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
 -      compilation goes smoothly.
 -      (gdb, gdb-non-stop, gdb-buffers): New customization groups.
 -      (gdb-non-stop-setting): New customization setting which replaces
 -      `gdb-non-stop' so changing it doesn't break active GDB session.
 -      (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
 -      (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
 -      (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
 -      (gdb-show-threads-by-default): New customization options.
 -      (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
 -      routines.
 -      (gdb-get-buffer-create): Send buffers update signal when they are
 -      created.
 -      (gdb-invalidate-locals, gdb-invalidate-registers)
 -      (gdb-invalidate-breakpoints)
 -      (gdb-invalidate-threads, gdb-invalidate-disassembly)
 -      (gdb-invalidate-memory): Accept update signal.
 -      (gdb-current-context-command): Use --frame option.
 -      (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
 -      Implement `gdb-frame-number' selection logic.
 -      (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
 -      whether to show GUD toolbar buttons.
 -      (gdb-thread-exited): Unselect current thread when it exits.
 -      (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
 -      (gdb-mark-line): Routine which sets overlay arrow or inverses
 -      video on fringeless displays.
 -      (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
 -      to build aligned columns of data in GDB buffers and set text
 -      properties line-by-line.
 -      (gdb-invalidate-breakpoints)
 -      (gdb-breakpoints-list-handler-custom)
 -      (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
 -      (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
 -      (gdb-registers-handler-custom): Align data columns.
 -      (gdb-locals-handler-custom): Now prints data like in variable
 -      declarations.
 -      (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
 -      Remove confusing buttons.
 -      (gdb-invalidate-threads): Append --frame.
 -      (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
 -      between breakpoints/threads buffers.
 -      (gdb-set-window-buffer): Now can ignore dedicated windows.
 -      (gdb-propertize-header): Use `gdb-set-window-buffer'.
 -      (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
 -      (def-gdb-thread-buffer-gud-command): Replaces
 -      `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
 -      for fine thread control.
 -      (gdb-preempt-existing-or-display-buffer): New function used to
 -      display bound buffers without breaking window layout.
 -      (gdb-frame-location): Replaces `gdb-insert-frame-location'.
 -      (gdb-select-frame): New version of `gdb-frames-select' which now
 -      sets `gdb-frame-number' so commands may use --frame option instead
 -      of inner debugger state.
 -      (gdb-frame-handler): Do not set `gdb-frame-number'.
 -      (gdb-threads-mode-map): Select threads with mouse.
 -
 -      * progmodes/gud.el (gdb-gud-context-call): Declare function to
 -      avoid compilation warning.
 -      (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
 -      `gdb-show-stop-p`.
 -
 -      * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
 -      Argument `key' renamed to `buffer-type'.
 -      (gdb-current-context-buffer-name): Do not add thread info to
 -      buffer name when no thread is selected.
 -      (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
 -      command (bug 3794).
 -      (gdb-thread-selected): Handle `=thread-selected' notification.
 -      (gdb-wait-for-pending): New macro to deal with congestion problems.
 -      (gdb-breakpoints-list-handler-custom): Don't fail on pending
 -      breakpoints.
 -      (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
 -      This fixes problem similar to one described in bug 3947.
 -      (gud-menu-map): More menu items.
 -      (gdb-init-1): Reset `gdb-thread-number' to nil.
 -
 -      * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
 -      non-stop settings.
 -
 -      * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
 -      (gdb-current-context-command): Do not append --thread if
 -      `gdb-thread-number' is nil.
 -      (gdb-running-threads-count, gdb-stopped-threads-count):
 -      New variables.
 -      (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
 -      (gdb-stopped-hooks, gdb-switch-when-another-stopped):
 -      New customization options.
 -      (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
 -      GUD commands.
 -      (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
 -      (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
 -      (gdb-setq-thread-number, gdb-update-gud-running): New functions to
 -      set `gdb-thread-number' and update `gud-running' properly.
 -      (gdb-running): Update threads list when new threads appear.
 -      (gdb-stopped): Support non-stop operation and new thread switching
 -      logic.
 -      (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
 -      (gdb-json-partial-output): New set of JSON routines.
 -      (def-gdb-auto-update-trigger): New `signal-list' optional
 -      argument.
 -      (gdb-thread-list-handler-custom): Update `gud-running',
 -      `gdb-stopped-threads-count' and `gdb-running-threads-count'.
 -      (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
 -      (gdb-continue-thread, gdb-step-thread): New commands for fine
 -      thread execution control.
 -      (gud-menu-map): New menu items to switch non-stop options.
 -      (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
 -      (gdb-send): Mimic RET properly (bug 3794).
 -
 -      * progmodes/gdb-mi.el (gdb-rules-name-maker)
 -      (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
 -      gdb-buffer-rules.
 -      (def-gdb-auto-update-handler): New nopreserve optional argument.
 -      (gdb-stack-list-frames-custom): Print stack from top to bottom.
 -
 -      * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
 -      (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
 -      (gdb-parent-mode): New mode to derive other GDB modes from.
 -      (gdb-display-disassembly-for-thread)
 -      (gdb-frame-disassembly-for-thread): New commands for threads
 -      buffer.
 -
 -      * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
 -      (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
 -      (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
 -      (gdb-update): We now store all GDB buffers in a list so that they
 -      can be updated by traversing a list instead of calling invalidate
 -      triggers explicitly.
 -      (def-gdb-trigger-and-handler): New macro to define trigger-handler
 -      pair for GDB buffer.
 -      (gdb-stack-buffer-name): Add thread information.
 -      (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
 -      handle pending triggers.
 -      (gdb-threads-mode-map, def-gdb-thread-buffer-command)
 -      (def-gdb-thread-buffer-simple-command)
 -      (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
 -      (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
 -      (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
 -      New commands which show buffers bound to thread.
 -      (gdb-stack-list-locals-regexp): Remove unused regexp.
 -
 -      * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
 -      (gdb-locals-buffer-name, gdb-registers-buffer-name)
 -      (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
 -      to (gud-comint-buffer) in *-buffer-name functions
 -      because (gdb-get-target-string) already does that.
 -      (gdb-locals-handler-custom, gdb-registers-handler-custom)
 -      (gdb-changed-registers-handler): Rewritten without regexps.
 -
 -      * progmodes/gdb-mi.el: Basic thread selection support.
 -      (gdb-thread-number): New variable.
 -      (gdb-current-context-command): New macro which adds --thread
 -      option to command.
 -      (gdb-threads-mode-map): Select thread with SPC.
 -      (gdb-thread-list-handler-custom): Mark current thread with overlay
 -      arrow.  Synchronize GDB thread and Emacs thread.
 -      (gdb-select-thread): New command which selects current thread.
 -      (gdb-invalidate-frames, gdb-invalidate-locals)
 -      (gdb-invalidate-registers): Use --thread option.
 -
 -2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (top): Make check for tramp-gvfs loading more
 -      robust.  (Bug#3977)
 -      (tramp-handle-insert-file-contents): `unwind-protect' must be
 -      inside `with-parsed-tramp-file-name'.
 -
 -      * net/tramp-gvfs.el (top): Remove superfluous message when loading
 -      fails.
 -
 -2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
 -
 -      * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
 -      directory if CLASSPATH is not set.
 -
 -2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
 -      New defconst.
 -      (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
 -
 -2009-08-02  Kevin Ryde  <user42@zip.com.au>
 -
 -      * net/newst-backend.el (newsticker--raw-url-list-defaults):
 -      Update freshmeat link.  Delete newsforge.com as it seems gone.
 -
 -2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * select.el (x-set-selection): Doc fix (Bug#4021).
 -
 -      * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
 -
 -      * help-fns.el (describe-variable): Treat list return values from
 -      dir-locals-find-file properly (Bug#4005).
 -
 -2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
 -
 -      * net/tramp.el (tramp-debug-message): Print also microseconds.
 -
 -2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
 -      or END is non-nil.
 -      (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
 -      (tramp-get-debug-buffer): Change `outline-regexp' according to new
 -      format.
 -
 -      * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
 -      (tramp-get-file-property): Use it.
 +2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
  
        * autorevert.el (auto-revert-handler):
 -      Allow `auto-revert-tail-mode' for remote files.
 -
 -2009-08-02  Jason Rumney  <jasonr@gnu.org>
 +      Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
 +      which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
 +      Don't quote lambda.
  
 -      * minibuffer.el (read-file-name): Treat confirm options to
 -      MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
 +      * image-mode.el (image-transform-set-scale):
 +      Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
  
 -2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
 +2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -      * font-lock.el (font-lock-string-face, font-lock-builtin-face)
 -      (font-lock-variable-name-face, font-lock-constant-face):
 -      Darken the colors for light backgrounds.
 +      * net/network-stream.el (network-stream-open-starttls): Only do
 +      opportunistic STARTTLS upgrades if we have built-in gnutls support.
 +      Upgrades via gnutls-cli are too slow to be done opportunistically.
  
 -2009-08-01  Eli Zaretskii  <eliz@gnu.org>
 +2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
 -      month names.  (Bug#3987)
 +      * dframe.el (dframe-current-frame): Remove spurious quote.
  
 -2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
 +2011-04-12  Glenn Morris  <rgm@gnu.org>
  
 -      * simple.el (line-move-finish): Pass whole number to
 -      line-move-to-column.
 -      (line-move-visual): Perform hscroll to the recorded position.
 +      * calendar/cal-tex.el (cal-tex-end-document):
 +      Try to automatically use latin1 input if needed.
  
 -2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
 +      * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
 +      Don't try to cons a mark onto an empty element.
  
 -      * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
 +2011-04-11  Leo Liu  <sdl.web@gmail.com>
  
 -2009-07-29  Alan Mackenzie  <acm@muc.de>
 +      * ido.el (ido-buffer-internal): Allow method 'kill for virtual
 +      buffers.
 +      (ido-kill-buffer-at-head): Support killing virtual buffers.
  
 -      * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
 +2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
  
 -2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
 +      * minibuffer.el (completion-show-inline-help): New var.
 +      (completion--do-completion, minibuffer-complete)
 +      (minibuffer-force-complete, minibuffer-complete-word):
 +      Inhibit minibuffer messages if completion-show-inline-help is nil.
  
 -      * progmodes/gdb-mi.el (gdb-goto-breakpoint)
 -      (gdb-place-breakpoints): Use full path when setting breakpoints.
 +      * icomplete.el (icomplete-mode): Bind completion-show-inline-help
 +      to avoid interference from inline help (Bug#5849).
  
 -2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
 +2011-04-10  Leo Liu  <sdl.web@gmail.com>
  
 -      * calc/calc.el (calc-mode-map): Add keybinding for
 -      `calc-transpose-lines'.
 +      * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
 +      Fix typo.
  
 -2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
 +2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * calc/calc-misc.el (calc-transpose-lines): New function.
 +      * image-mode.el (image-toggle-display-image): Signal an error if
 +      not in Image mode.
 +      (image-transform-mode, image-transform-resize)
 +      (image-transform-set-rotation): Doc fix.
 +      (image-transform-set-resize): Delete.
 +      (image-transform-set-scale, image-transform-fit-to-height)
 +      (image-transform-fit-to-width): Handle image-toggle-display-image
 +      and image-transform-resize directly.
  
 -2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
 +2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
  
 -      * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
 -      Simplify check for out-of-band methods.
 -      (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
 -      remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
 +      * doc-view.el (doc-view-fit-width-to-window)
 +      (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
 +      New functions for fitting the shown image to the Emacs window size.
 +      (doc-view-mode-map): Add bindings for the new functions.
  
 -2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
 +2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * vc-git.el (vc-git-checkin): Fix typo.
 +      * vc-annotate.el (vc-annotate-show-log-revision-at-line):
 +      Fix typo in docstring.
  
 -2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
 +2011-04-08  Eli Zaretskii  <eliz@gnu.org>
  
 -      * progmodes/js2-mode.el: New file.
 +      * files.el (file-size-human-readable): Produce one digit after
 +      decimal, like "ls -lh" does.
  
 -2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
 +      * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
 +      the file size representation.
  
 -      * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
 -      (gud-menu-map): Adjust tooltip accordingly.
 +      * simple.el (list-processes): If async subprocesses are not
 +      available, error out with a clear error message.
  
 -2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
 +2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
 -      (vc-bzr-log-view-mode): Adjust log-view-file-re.
 +      * help.el (help-form-show): New function, to be called from C.
 +      Put help-form output in a buffer named differently than *Help*.
  
 -      * add-log.el (change-log-mode-map): Add a menu.
 +2011-04-08  Eli Zaretskii  <eliz@gnu.org>
  
 -2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
 +      * files.el (file-size-human-readable): New function.
  
 -      * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
 -      function returns nil.
 -      (dbus-handle-event): Handle special return value :ignore.
 -      Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
 +      * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
 +      computing the representation inline.  Don't require `cl'.
  
 -2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
 +2011-04-08  Glenn Morris  <rgm@gnu.org>
  
 -      * view.el (view-mode-enable): Don't define Helper-return-blurb if
 -      it's not needed.
 +      * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
  
 -2009-07-25  Eli Zaretskii  <eliz@gnu.org>
 +      * net/browse-url.el (browse-url-firefox):
 +      Test system-type, not system-configuration.
  
 -      Fix Bug#3888:
 +      * vc/log-edit.el (log-edit-empty-buffer-p): New function.
 +      (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
 +      Use log-edit-empty-buffer-p.  (Bug#7598)
  
 -      * w32-vars.el (x-select-enable-clipboard): Doc fix.
 +      * net/rlogin.el (rlogin-process-connection-type): Simplify.
 +      (rlogin-mode-map): Initialize in the defvar.
 +      (rlogin): Use ignore-errors.
  
 -      * term/pc-win.el (x-display-name, x-colors)
 -      (x-select-enable-clipboard, x-select-text): Doc fix.
 +      * replace.el (occur-mode-map): Some fixes for menu items.
  
 -      * term/common-win.el (x-display-name, x-colors): Doc fix.
 +2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
  
 -      * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
 -      (xw-defined-colors): Doc fix.
 +      * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
  
 -      * w32-fns.el (x-select-text, x-setup-function-keys)
 -      (x-get-selection, x-set-selection): Doc fix.
 +2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * term/x-win.el (x-select-text, x-setup-function-keys)
 -      (x-select-enable-clipboard, xw-defined-colors): Doc fix.
 +      * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
 +      issuing unused warnings.
  
 -      * select.el (x-set-selection): Doc fix.
 +      * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
 +      macro directly.
  
 -2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
 +      * simple.el: Lisp reimplement of list-processes.  Based on an
 +      earlier reimplementation by Leo Liu, but using tabulated-list.el.
 +      (process-menu-mode): New major mode.
 +      (list-processes--refresh, list-processes):
 +      (process-menu-visit-buffer): New functions.
  
 -      * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
 -      instead of "IsNSSSupportAvailable".  Avahi ought to work also when
 -      "IsNSSSupportAvailable" method is not available.
 -      Reported by Steve Youngs <steve@sxemacs.org>.
 +      * files.el (save-buffers-kill-emacs): Don't assume any return
 +      value of list-processes, which is undocumented anyway.
  
 -2009-07-24  Kenichi Handa  <handa@m17n.org>
 +2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * international/characters.el: Fix setting of category ?C, ?|, ?K,
 -      and ?H.  Fix setting of case for Latin Extended and Greek Extended.
 -      (build-unicode-category-table): Fix range checks.
 +      * emacs-lisp/tabulated-list.el: New file.
  
 -2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
 +      * emacs-lisp/package.el: Use Tabulated List mode.
 +      (package-menu-mode-map): Inherit from tabulated-list-mode-map.
 +      (package-menu-mode): Derive from tabulated-list-mode.  Set up the
 +      table format using Tabulated List mode variables.
 +      (package--push): New macro, replacing package-list-maybe-add.
 +      (package-menu--generate): Use package--push.  Renamed from
 +      package--generate-package-list.
 +      (package-menu-refresh, list-packages): Use it.
 +      (package-menu--print-info): Rename from package-print-package.
 +      Return insertion data instead of inserting it directly.
 +      (package-menu-describe-package, package-menu-execute):
 +      Use tabulated-list-get-id.
 +      (package-menu-mark-delete, package-menu-mark-install)
 +      (package-menu-mark-unmark, package-menu-backup-unmark)
 +      (package-menu-mark-obsolete-for-deletion):
 +      Use tabulated-list-put-tag.
 +      (package--list-packages, package-menu-revert)
 +      (package-menu-get-package, package-menu-get-version)
 +      (package-menu-sort-by-column): Functions deleted.
 +      (package-menu-package-list, package-menu-sort-key): Vars deleted.
 +      (package-menu--status-predicate, package-menu--version-predicate)
 +      (package-menu--name-predicate)
 +      (package-menu--description-predicate): Handle arguments in the
 +      Tabulated List format.
 +      (package-list-packages-no-fetch): Call list-packages.
  
 -      * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
 -      the buffer we try to sync is current when calling
 -      vc-resynch-buffer.
 +2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
 -      not show up to date files.
 +      * files.el (after-find-file-from-revert-buffer): Remove variable.
 +      (after-find-file): Don't bind it.
 +      (revert-buffer-in-progress-p): New variable.
 +      (revert-buffer): Bind it.
 +      Pass nil for `after-find-file-from-revert-buffer'.
  
 -2009-07-24  Glenn Morris  <rgm@gnu.org>
 +      * saveplace.el (save-place-find-file-hook): Use new variable
 +      `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
  
 -      * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
 -      Add autoload cookies.  If necessary, initialize.
 -      (elint-log): Handle non-file buffers.
 -      (elint-initialize): Add optional argument to reinitialize.
 -      (elint-find-builtin-variables): Save excursion.
 +2011-04-06  Glenn Morris  <rgm@gnu.org>
  
 -2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
 +      * Makefile.in (AUTOGEN_VCS): New variable.
 +      (autoloads): Use $AUTOGEN_VCS.
  
 -      * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
 -      for Lint.
 +      * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
 +      * calendar/calendar.el (calendar-mode-map):
 +      Check for toolkit scroll bars.  (Bug#8305)
  
 -2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
 +2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * vc.el (vc-print-log-internal): New function, split out from ...
 -      (vc-print-log): ... here.
 -      (vc-dir-move-to-goal-column): Declare.
 +      * minibuffer.el (completion-in-region--postch)
 +      (completion-in-region-mode): Remove unnecessary messages.
  
 -      * vc-git.el (vc-git-add-signoff): New variable.
 -      (vc-git-checkin): Use it.
 -      (vc-git-toggle-signoff): New function.
 -      (vc-git-extra-menu-map): Bind it to menu.
 -      (vc-git--run-command-string): Accept a nil FILE argument.
 -      (vc-git-stash-list): New function.
 -      (vc-git-dir-extra-headers): Use it.
 +2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
  
 -2009-07-23  Glenn Morris  <rgm@gnu.org>
 +      * font-lock.el (font-lock-refresh-defaults):
 +      Don't bind `hi-lock--inhibit-font-lock-hook', removed in
 +      2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
  
 -      * help-fns.el (describe-variable): Describe ignored and risky local
 -      variables in a similar way to that in which we describe safe ones.
 +      * info.el (Info-directory-list, Info-read-node-name-2)
 +      (Info-split-parameter-string): Doc fixes.
 +      (Info-virtual-nodes): Reflow docstring.
 +      (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
 +      (Info-apropos-toc-nodes, info-finder, Info-get-token)
 +      (Info-find-emacs-command-nodes, Info-speedbar-key-map):
 +      Fix typos in docstrings.
 +      (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
 +      (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
 +      (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
 +      (Info-restore-desktop-buffer): Mark unused parameters.
 +      (Info-directory-find-file, Info-directory-find-node)
 +      (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
 +      (Info-virtual-index-find-node, Info-apropos-find-file)
 +      (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
 +      Mark unused parameters; fix typos in docstrings.
 +      (Info-virtual-index): Remove unused local variable `nodename'.
  
 -      * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
 -      (byte-compile-output-file-form, byte-compile-output-docform)
 -      (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
 -      Give some more local variables with common names a "bytecomp-" prefix,
 -      so as not to shadow things during compilation.
 -      * emacs-lisp/cl-macs.el (load-time-value)
 -      * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
 -      `outbuffer' to `bytecomp-outbuffer'.
 -
 -      * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
 -      since the next two variables cover them automatically now.
 -      (elint-builtin-variables, elint-autoloaded-variables): New.
 -      (elint-unknown-builtin-args): Remove all members, since they can be
 -      parsed automatically now.
 -      (elint-extra-errors): New.
 -      (elint-env-add-env, elint-env-add-macro): Use cadr.
 -      (elint-current-buffer): Use or.  Change final message.
 -      (elint-get-top-forms): Use line-end-position.
 -      (elint-init-env): Use cadr.  Handle autoload, declare-function,
 -      and defalias.
 -      (elint-add-required-env): Doc fix.  Use or.  Standardize error.
 -      (regexp-assoc): Remove unused function.
 -      (elint-top-form): Set elint-current-pos, to record the start of the
 -      top-level form, for compilation-mode.
 -      (elint-form): Trap errors in macro expansion.  Use dolist.
 -      (elint-unbound-variable): Use elint-builtin-variables and
 -      elint-autoloaded-variables.
 -      (elint-get-args): Use cadr, or.
 -      (elint-check-cond-form): Use dolist, cadr.
 -      (elint-check-condition-case-form): Doc fix.  Use cadr.
 -      Use elint-extra-errors.
 -      (elint-log): New function.
 -      (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
 -      Distinguish errors and warnings.
 -      (elint-log-message): Use with-current-buffer.  Inhibit read-only.
 -      Use a bytecomp-style format.
 -      (elint-clear-log): Preserve default-directory.  Inhibit read-only.
 -      (elint-get-log-buffer): Use compilation mode.  Disable undo.
 -      Don't truncate lines.
 -      (elint-initialize): Set builtin and autoloaded variable lists.
 -      Only process elint-unknown-builtin-args if non-nil.
 -      (elint-find-builtin-variables, elint-find-autoloaded-variables):
 -      New functions.
 -      (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
 +2011-04-05  Deniz Dogan  <deniz@dogan.se>
  
 -2009-07-22  Kevin Ryde  <user42@zip.com.au>
 +      * net/rcirc.el: Update my e-mail address.
 +      (rcirc-mode-map): Remove M-o binding.
  
 -      * net/newst-backend.el (newsticker--parse-atom-1.0)
 -      (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
 -      (newsticker--parse-rss-1.0):
 -      * progmodes/idlwave.el (idlwave-mode):
 -      * progmodes/idlw-shell.el (idlwave-shell-mode):
 -      * progmodes/vera-mode.el (vera-mode):
 -      * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
 -      * progmodes/vhdl-mode.el (vhdl-mode):
 -      * textmodes/table.el (table-generate-source)
 -      (table--warn-incompatibility):
 -      Hyperlink urls in docstrings with URL `...'.
 +2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
  
 -2009-07-22  Glenn Morris  <rgm@gnu.org>
 +      * startup.el (command-line): Save the cursor's theme-face
 +      directly, instead of using face-override-spec.
  
 -      * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
 -      * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
 -      * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
 -      Remove leading * from defcustom docs.
 +      * custom.el (load-theme): Minor optimization in assigning faces.
  
 -      * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
 +2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
 -      defcustom doc.
 -      (list-load-path-shadows): Optionally, just return shadows as a string.
 +      * help-fns.el (describe-variable): Complete all variables having
 +      documentation, including keywords.
 +      http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
  
 -      * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
 +2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
  
 -2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
 +      Convert to lexical-binding.
  
 -      * mail/rmailedit.el (rmail-edit-mode):
 -      Use auto-save-include-big-deletions.
 +      * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
 +      (bs--get-marked-string, bs--get-modified-string)
 +      (bs--get-readonly-string, bs--get-size-string, bs--get-name)
 +      (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
 +      (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
  
 -      * mail/rmail.el (rmail-variables):
 -      Use auto-save-include-big-deletions.
 +      * ehelp.el (electric-help-execute-extended)
 +      (electric-help-ctrl-x-prefix):
 +      * hexl.el (hexl-revert-buffer-function):
 +      * linum.el (linum-after-change, linum-after-scroll):
 +      * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
  
 -      * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
 -      changes.
 +      * help-fns.el (help-describe-category-set): Remove unused ERR variable.
  
 -2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
 +2011-04-04  Daiki Ueno  <ueno@unixuser.org>
  
 -      * calc/calc.el (calc-undo-length): New variable.
 -      (calc-quit): Truncate rather than eliminate `calc-undo-list'.
 +      * epa-dired.el:
 +      * epa-mail.el:
 +      * epa-hook.el:
 +      * epa-file.el:
 +      * epa.el:
 +      * epg.el: Use lexical binding.
  
 -2009-07-21  Richard Stallman  <rms@gnu.org>
 +2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * files.el (auto-save-mode): Handle buffer-save-size = -2
 -      for toggling mode.
 +      * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
  
 -2009-07-21  Glenn Morris  <rgm@gnu.org>
 +      * textmodes/flyspell.el (flyspell-word): Recognize default
 +      dictionary case for flyspell-mark-duplications-exceptions.
 +      Use regexp matching for languages.
 +      (flyspell-mark-duplications-exceptions): Add "that" and "had" for
 +      default dictionary (Bug#7926).
  
 -      * textmodes/ispell.el (ispell-looking-back): Update declaration.
 +2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * calendar/todo-mode.el (calendar-current-date): Update declaration.
 +      * emacs-lisp/package.el (package--with-work-buffer):
 +      Recognize https URLs.
  
 -      * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
 -      silence compiler.  Instead...
 -      (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
 -      (ps-print-ensure-fontified): Update for above function name changes.
 +      * net/network-stream.el: Move from gnus/proto-stream.el.
 +      Change prefix to network-stream throughout.
 +      (open-protocol-stream): Merge into open-network-stream, leaving
 +      open-protocol-stream as an alias.  Handle nil BUFFER args.
  
 -      * printing.el (pr-mh-get-msg-num, pr-mh-show)
 -      (pr-mh-start-of-uncleaned-message): Remove aliases only used to
 -      silence compiler.  Instead...
 -      (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
 -      (mh-show-buffer): Only define for compiler.
 -      (pr-mh-current-message): Update for above function name changes.
 +      * subr.el (open-network-stream): Move to net/network-stream.el.
  
 -      * files.el (abort-if-file-too-large): Explicitly pass `filename'
 -      as an argument.
 -      (find-file-noselect, insert-file-1): Update for above change.
 +2011-04-02  Glenn Morris  <rgm@gnu.org>
  
 -      * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
 +      * find-dired.el (find-exec-terminator): New option.
 +      (find-ls-option): Test for -ls support.
 +      (find-ls-subdir-switches): Test for -b in find-ls-option.
 +      (find-dired, find-grep-dired): Doc fixes.
 +      (find-dired): Use find-exec-terminator.
  
 -      * mail/mailclient.el (mailclient-send-it): Fix message.
 +      * find-dired.el (find-ls-option, find-ls-subdir-switches)
 +      (find-grep-options): Do not autoload these defcustoms, remove purecopy.
 +      (find-name-arg): Remove purecopy.
  
 -      * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
 -      (edebug-eval): Check cl-debug-env is bound.
 -      (print-level, print-circle): Don't redefine built-in variables.
 +      * progmodes/grep.el (grep-find-use-xargs): Doc fix.
 +      (grep-compute-defaults): Check for `-exec COMMAND +' support.
 +      Set grep-find-use-xargs, grep-find-command, and grep-find-template
 +      accordingly.  Don't add the null-device if not needed.
  
 -      * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
 -      (custom-print-vectors): Remove old comments from doc.
 +      * files.el (save-some-buffers): Doc fix.
  
 -      * emerge.el (menu-bar-emerge-menu): Remove unused variable.
 -      (emerge-version): Make the variable an obsolete alias for the
 -      emacs-version variable.  Make the function obsolete.
 -      (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
 -      Emerge options, rather than merging in into the main Options menu.
 -      (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
 -      and auto advance modes.  Disable edit/fast items when not relevant.
 +2011-04-02  Eli Zaretskii  <eliz@gnu.org>
  
 -2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
 +      * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
  
 -      * term/vt420.el (terminal-init-vt420): Fix typo.
 +2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
  
 -2009-07-20  Sam Steingold  <sds@gnu.org>
 +      * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
 +      Use `dolist' rather than `mapcar'.
  
 -      * progmodes/ada-mode.el (compile-auto-highlight): Remove the
 -      variable (removed from compile.el on 2004-03-11).
 +2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
 +      Add lexical binding.
  
 -      * files.el (hack-local-variables-filter): Fix last change.
 +      * subr.el (apply-partially): Use new closures rather than CL.
 +      (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
 +      (dolist, dotimes): Use slightly different expansion for lexical code.
 +      (functionp): Move to C.
 +      (letrec): New macro.
 +      (with-wrapper-hook): Use it and apply-partially instead of CL.
 +      (eval-after-load): Preserve lexical-binding.
 +      (save-window-excursion, with-output-to-temp-buffer): Turn them
 +      into macros.
  
 -2009-07-19  Juri Linkov  <juri@jurta.org>
 +      * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
  
 -      * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
 -      (dir-local-variables-alist): New buffer-local variable.
 -      (hack-local-variables-filter): If variable is not dir-local,
 -      i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
 -      because file-local overrides dir-local.
 -      (c-postprocess-file-styles) <declare-function>:
 -      Remove obsolete declaration.
 -      (hack-dir-local-variables): Add dir-local variable/value pair to
 -      `dir-local-variables-alist' and remove duplicates.  Doc fix.
 +      * help-fns.el (help-split-fundoc): Return nil if there's nothing else
 +      than the arglist.
 +      (help-add-fundoc-usage): Don't add `Not documented'.
 +      (help-function-arglist): Handle closures, subroutines, and new
 +      byte-code-functions.
 +      (help-make-usage): Remove leading underscores.
 +      (describe-function-1): Handle closures.
 +      (describe-variable): Use special-variable-p for completion.
  
 -      * help-fns.el (describe-variable): Add information about
 -      file-local and dir-local variables.
 +      * files.el (lexical-binding): Declare safe.
  
 -2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
 +      * emacs-lisp/pcase.el: Don't use destructuring-bind.
 +      (pcase--memoize): Rename from pcase-memoize.  Change weakness.
 +      (pcase): Add `let' pattern.
 +      Change memoization so it actually works.
 +      (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
 +      (pcase--u1) <guard, pred>: Fix possible shadowing problem.
 +      <let>: New case.
  
 -      * files.el (hack-local-variables-filter): Rewrite.
 +      * emacs-lisp/macroexp.el: Use lexical binding.
 +      (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
 +      Don't convert ' to #' without checking that it's indeed quoting
 +      a lambda.
  
 -2009-07-19  Glenn Morris  <rgm@gnu.org>
 +      * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
 +      Use eval-sexp-add-defvars.
 +      (eval-sexp-add-defvars): New fun.
  
 -      * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
 -      Silence compiler by only defining on XEmacs.
 +      * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
  
 -      * international/mule.el (auto-coding-regexp-alist): Only match
 -      BABYL... at the start of buffer, not of lines.  (Bug#3790)
 +      * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
 +      Don't autoload.
 +      (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
 +      than the internal `byte-compile-lambda'.
 +      (defmethod): Don't hide code under quotes.
 +      (eieio-defmethod): New `code' argument.
 +
 +      * emacs-lisp/eieio-comp.el: Remove.
 +
 +      * emacs-lisp/edebug.el (edebug-eval-defun)
 +      (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
 +      (edebug-toggle): Avoid `eval'.
 +
 +      * emacs-lisp/disass.el (disassemble-internal): Handle new
 +      `closure' objects.
 +      (disassemble-1): Handle new byte codes.
 +
 +      * emacs-lisp/cl.el (pushnew): Silence warning.
 +
 +      * emacs-lisp/cl-macs.el (cl-byte-compile-block)
 +      (cl-byte-compile-throw): Remove.
 +      (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
 +
 +      * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
 +      closures.
 +
 +      * emacs-lisp/cconv.el: New file.
 +
 +      * emacs-lisp/bytecomp.el: Use lexical binding instead of
 +      a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
 +      (byte-compile-initial-macro-environment):
 +      Handle declare-function here.
 +      (byte-compile--lexical-environment): New var.
 +      (byte-stack-ref, byte-stack-set, byte-discardN)
 +      (byte-discardN-preserve-tos): New lap codes.
 +      (byte-interactive-p): Don't use any more.
 +      (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
 +      New macros.
 +      (byte-compile-lapcode): Use them and handle new lap codes.
 +      (byte-compile-obsolete): Remove.
 +      (byte-compile-arglist-signature): Handle new byte-code arg"lists".
 +      (byte-compile-arglist-warn): Check late def of inlinable funs.
 +      (byte-compile-cl-warn): Don't silence warnings for compiler-macros
 +      since they should have been expanded by now.
 +      (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
 +      (byte-compile-from-buffer): Remove unused second arg.
 +      (byte-compile-preprocess): New function.
 +      (byte-compile-toplevel-file-form): New function to distinguish
 +      file-form calls from outside from file-form calls from hunk-handlers.
 +      (byte-compile-file-form): Simplify.
 +      (byte-compile-file-form-defsubst): Remove.
 +      (byte-compile-file-form-defmumble): Simplify now that
 +      byte-compile-lambda always returns a byte-code-function.
 +      (byte-compile): Preprocess.
 +      (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
 +      Remove, not used any more.
 +      (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
 +      (byte-compile-make-args-desc): New funs.
 +      (byte-compile-lambda): Handle lexical functions.  Always return
 +      a byte-code-function.
 +      (byte-compile-reserved-constants): New var, to make up room for
 +      closed-over variables.
 +      (byte-compile-constants-vector): Obey it.
 +      (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
 +      (byte-compile-macroexpand-declare-function): New function.
 +      (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
 +      byte-code-functions.
 +      (byte-compile-form): Check obsolescence here.
 +      (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
 +      (byte-compile-variable-ref): Remove.
 +      (byte-compile-dynamic-variable-op): New fun.
 +      (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
 +      (byte-compile-variable-set): New funs.
 +      (byte-compile-discard): Add 2 args.
 +      (byte-compile-stack-ref, byte-compile-stack-set)
 +      (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
 +      (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
 +      macroexpand-all instead.
 +      (byte-compile-quote-form): Remove.
 +      (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
 +      (byte-compile-bind, byte-compile-unbind): New funs.
 +      (byte-compile-let): Handle let* and lexical binding.
 +      (byte-compile-let*): Remove.
 +      (byte-compile-catch, byte-compile-unwind-protect)
 +      (byte-compile-track-mouse, byte-compile-condition-case):
 +      Handle a new :fun-body form, used for lexical scoping.
 +      (byte-compile-save-window-excursion)
 +      (byte-compile-with-output-to-temp-buffer): Remove.
 +      (byte-compile-defun): Simplify.
 +      (byte-compile-stack-adjustment): New fun.
 +      (byte-compile-out): Use it.
 +      (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
 +
 +      * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
 +      handler any more.
 +
 +      * emacs-lisp/byte-opt.el: Use lexical binding.
 +      (byte-inline-lapcode): Remove (to bytecomp).
 +      (byte-compile-inline-expand): Pay attention to inlining to/from
 +      lexically bound code.
 +      (byte-compile-unfold-lambda): Don't handle byte-code-functions
 +      any more.
 +      (byte-optimize-form-code-walker): Don't handle save-window-excursion
 +      any more and don't call compiler-macros.
 +      (byte-compile-splice-in-already-compiled-code): Remove.
 +      (byte-code): Don't inline any more.
 +      (disassemble-offset): Receive `bytes' as argument rather than via
 +      dynamic scoping.
 +      (byte-compile-tag-number): Declare before first use.
 +      (byte-decompile-bytecode-1): Handle new byte-codes, don't change
 +      `return' even if make-spliceable.
 +      (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
 +      obsolete interactive-p.
 +      (byte-optimize-lapcode): Optimize new lap-codes.
 +      Don't trip up on new form of `byte-constant' lap code.
 +
 +      * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
 +
 +      * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
 +
 +      * custom.el (custom-initialize-default, custom-declare-variable):
 +      Use `defvar'.
 +
 +      * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
 +      New variables.
 +      (compile-onefile, .el.elc, compile-calc, recompile): Use them.
 +      (COMPILE_FIRST): Add macroexp and cconv.
 +      * makefile.w32-in: Mirror changes in Makefile.in.
  
 -      * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
 -      non-calendar buffers (Bug#3862).  Restore "not on a date" message.
 -      (cal-menu-context-mouse-menu): Doc fix.
 +      * vc/cvs-status.el:
 +      * vc/diff-mode.el:
 +      * vc/log-edit.el:
 +      * vc/log-view.el:
 +      * vc/smerge-mode.el:
 +      * textmodes/bibtex-style.el:
 +      * textmodes/css.el:
 +      * startup.el:
 +      * uniquify.el:
 +      * minibuffer.el:
 +      * newcomment.el:
 +      * reveal.el:
 +      * server.el:
 +      * mpc.el:
 +      * emacs-lisp/smie.el:
 +      * doc-view.el:
 +      * dired.el:
 +      * abbrev.el: Use lexical binding.
  
 -      * desktop.el (desktop-buffers-not-to-save): Set :version tag.
 +2011-04-01  Eli Zaretskii  <eliz@gnu.org>
  
 -      * simple.el (mail-user-agent): Doc fix.  Set :version tag.
 +      * info.el (info-display-manual): New function.
  
 -2009-07-18  Juri Linkov  <juri@jurta.org>
 +2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * info.el: Virtual Info keyword finder.
 -      (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
 -      (Info-finder-file): New variable.
 -      (Info-finder-find-file): New function.
 -      (finder-known-keywords, finder-package-info)
 -      (find-library-name, lm-commentary): Use defvar and
 -      declare-function to silence compiler warnings.
 -      (Info-finder-find-node): New function.
 -      (info-finder): New command.
 +      * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
  
 -      * subr.el (process-kill-buffer-query-function): New function.
 -      (add-hook)<kill-buffer-query-functions>: Add hook
 -      `process-kill-buffer-query-function'.
 +2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
  
 -2009-07-18  Alan Mackenzie  <acm@muc.de>
 +      * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
 +      an entry for that server in rcirc-authinfo.  (Bug#8385)
  
 -      * progmodes/cc-mode.el (c-before-hack-hook)
 -      (c-postprocess-file-styles): Give invocation of `c-set-style'
 -      DONT-OVERRIDE parameter of t.  Already set style variables will
 -      thus not be overridden by style settings given by `c-file-syle'.
 +2011-03-31  Glenn Morris  <rgm@gnu.org>
  
 -      * files.el (hack-local-variables-filter): Remove entries with
 -      duplicate keys from `file-local-variables-alist'.
 +      * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
  
 -2009-07-18  Eli Zaretskii  <eliz@gnu.org>
 +      * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
  
 -      * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
 -      x-set-selection if display-selections-p returns nil for the
 -      current frame.
 +2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
  
 -2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
 +      * progmodes/python.el (python-default-interpreter)
 +      (python-python-command-args, python-jython-command-args)
 +      (python-which-shell, python-which-args, python-which-bufname)
 +      (python-file-queue, python-comint-output-filter-function)
 +      (python-toggle-shells, python-shell): Remove obsolete defcustoms,
 +      variables and functions.
  
 -      * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
 +2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2009-07-18  Eli Zaretskii  <eliz@gnu.org>
 +      * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
 +      (completion-in-region-mode): New minor mode.
 +      (completion-in-region): Use it.
 +      (completion-in-region--data, completion-in-region-mode-map): New vars.
 +      (completion-in-region--postch): New function.
 +      (completion--capf-misbehave-funs, completion--capf-safe-funs):
 +      New vars.
 +      (completion--capf-wrapper): New function.
 +      (completion-at-point): Use it to track well-behavedness of
 +      hook functions.
 +      (completion-help-at-point): New command.
  
 -      * desktop.el (desktop-buffers-not-to-save): Default value is nil.
 -      Accept nil in addition to a regexp.
 -      (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
 -      Accept nil in addition to a regexp.
 -      (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
 -      buffers that have an associated file.  Handle nil values of
 -      desktop-buffers-not-to-save and desktop-files-not-to-save.
 -      (Bug#3833)
 +2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
  
 -      * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
 -      (x-disown-selection-internal): New functions.
 +      * vc/add-log.el (add-change-log-entry): Don't use whitespace
 +      syntax class to search for whitespace on a single line
 +      (Message-ID: <4D938140.4030905@redhat.com>).
  
 -2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
 +2011-03-30  Leo Liu  <sdl.web@gmail.com>
  
 -      * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
 -      warning.
 -      (gdb-breakpoints-header): Move forward to avoid compiler warning.
 -      (gdb-make-header-line-mouse-map): Remove duplicate definition.
 +      * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
 +      New commands.
 +      (edit-abbrevs-map): Bind them here.
 +      (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
  
 -2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
 +2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
  
 -      * simple.el (set-mark): Revert last change.
 +      * allout.el (allout-hide-by-annotation, allout-flag-region):
 +      Reduce possibility of overlay leakage by making them volatile.
  
 -2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
 +      * allout-widgets.el (allout-widgets-tally): Define as nil so the
 +      hash is not shared between buffers.  Mode initialization is
 +      responsible for giving it a useful starting value.
 +      (allout-item-span): Reduce possibility of overlay leakage by
 +      making them volatile.
 +      (allout-widgets-count-buttons-in-region): Add diagnostic function
 +      for tracking down button overlay leaks.
  
 -      * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
 -      rendering of pngs is not possible instead of messaging a long
 -      description.
 +2011-03-29  Leo Liu  <sdl.web@gmail.com>
  
 -2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
 +      * ido.el (ido-read-internal): Use the default history var
 +      minibuffer-history if no HISTORY is specified.
  
 -      * w32-fns.el (x-selection-owner-p): New function.
 +2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
  
 -      * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
 -      (mouse-yank-at-click, mouse-yank-primary):
 -      If select-active-regions is non-nil, deactivate the mark before
 -      insertion.
 +      * net/imap.el (imap-shell-open, imap-process-connection-type):
 +      Use imap-process-connection-type for 'shell' streams as well as
 +      Kerberos, SSL, other subprocesses.
  
 -      * simple.el (deactivate-mark, set-mark): Only save selection if we
 -      own it.
 +2011-03-28  Leo Liu  <sdl.web@gmail.com>
  
 -2009-07-17  Kenichi Handa  <handa@m17n.org>
 +      * abbrev.el (abbrev-table-empty-p): New function.
 +      (prepare-abbrev-list-buffer): Place empty abbrev tables after
 +      nonempty ones.  (Bug#5937)
  
 -      * case-table.el (describe-buffer-case-table): Fix for the case
 -      that KEY is a cons.
 +2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
  
 -2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
 +      * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
  
 -      * vc-rcs.el (vc-rcs-find-file-hook):
 -      * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
 +2011-03-27  Leo Liu  <sdl.web@gmail.com>
  
 -2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
 +      * ansi-color.el (ansi-color-names-vector): Allow cons cell value
 +      for foreground and background colors.
 +      (ansi-color-make-color-map): Adapt.
  
 -      * net/tramp.el (tramp-wait-for-output): Handle the case when
 -      commands do not return a newline but a null byte before the shell
 -      prompt.  (Bug#3858)
 +2011-03-25  Leo Liu  <sdl.web@gmail.com>
  
 -2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 +      * midnight.el (midnight-time-float): Remove.  Note it calculates
 +      the microsecond component incorrectly and seconds-to-time does the
 +      same job.
 +      Remove redundant (require 'timer).
  
 -      * term/ns-win.el (ns-set-alpha): Don't declare.
 -      (ns-set-background-alpha): Remove function.
 +      * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
 +      (ido-completions): Remove unused arguments.  (Bug#8329)
  
 -2009-07-16  Kevin Ryde  <user42@zip.com.au>
 +2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * emacs-lisp/copyright.el (copyright-update): Save match-data across
 -      y-or-n-p, for safety.
 +      * minibuffer.el (completion--flush-all-sorted-completions):
 +      Remove itself from hook.
 +      (completion-at-point): Let the functions perform the completion
 +      immediately and return nil or t.
 +      * comint.el (comint-dynamic-complete-functions): Now identical to
 +      completion-at-point-functions.
 +      (comint-dynamic-list-input-ring): Remove unused var `index'.
 +      (comint--match-partial-filename, comint--unquote&expand-filename):
 +      New funs, split from comint-match-partial-filename.
 +      (comint-dynamic-complete): Use completion-at-point.
 +      (comint-dynamic-complete-filename): Use comint--match-partial-filename.
  
 -2009-07-16  Richard Stallman  <rms@gnu.org>
 +2011-03-24  Drew Adams  <drew.adams@oracle.com>
  
 -      * files.el (auto-save-mode): If buffer-saved-size is -2,
 -      don't clobber it.
 +      * thingatpt.el: Support `defun'.
  
 -      * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
 -      (rmail-retry-ignored-headers): Add more uninteresting fields.
 +2011-03-23  Leo Liu  <sdl.web@gmail.com>
  
 -2009-07-15  Jari Aalto  <jari.aalto@cante.net>
 +      * abbrevlist.el: Move to obsolete/abbrevlist.el.
  
 -      * net/rcirc.el (rcirc): Use history variables.
 -      (rcirc-server-name-history, rcirc-nick-name-history)
 -      (rcirc-server-port-history): New variables.
 +      * help-mode.el (help-mode-finish): Tweak regexp.
  
 -2009-07-15  Kenichi Handa  <handa@m17n.org>
 +2011-03-23  Glenn Morris  <rgm@gnu.org>
  
 -      * international/mule-cmds.el (set-language-environment-charset):
 -      If coding-system-charset-list returns `iso-2022' or `emacs-mule',
 -      ignore them.
 +      * eshell/esh-opt.el (eshell-eval-using-options):
 +      Do not bind unused local variable `eshell-option-stub'.
  
 -      * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
 -      Delete unibyte-display.
 +      * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
  
 -2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
 +2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
 +      * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
 +      keymap variable in `with-no-warnings' to avoid a warning when the
 +      keymap has been already `defconst'ed.
  
 -2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
 +2011-03-22  Leo Liu  <sdl.web@gmail.com>
  
 -      * simple.el (deactivate-mark): Optional argument FORCE.
 -      (set-mark): Use deactivate-mark.
 +      * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
 +      encode all chars in abbrevs; otherwise use emacs-mule or
 +      utf-8-emacs.  (Bug#8308)
  
 -      * info.el (Info-search): No need to check transient-mark-mode
 -      before calling deactivate-mark.
 +2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * select.el (x-set-selection): Doc fix.
 -      (x-valid-simple-selection-p): Allow buffer values.
 -      (xselect--selection-bounds): Handle buffer values.
 -      Suggested by David De La Harpe Golden.
 +      * simple.el (backward-delete-char-untabify):
 +      Avoid warning about using `delete-backward-char'.
  
 -      * mouse.el (mouse-set-region, mouse-drag-track):
 -      Call copy-region-as-kill before setting the mark, to let
 -      select-active-regions work.
 +      * image.el (image-type-file-name-regexps): Make it variable.
 +      `imagemagick-register-types' modifies it, and the user may want
 +      to add new extensions for known image types.
 +      (imagemagick-register-types): Throw error if not using ImageMagick.
  
 -2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
 +2011-03-22  Leo Liu  <sdl.web@gmail.com>
  
 -      * simple.el (deactivate-mark): If select-active-regions is
 -      non-nil, copy the selection data into a string.
 -      (activate-mark): If select-active-regions is non-nil, set the
 -      selection to the current buffer.
 -      (set-mark): Update selection if select-active-regions is non-nil.
 +      * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
 +      located before rcirc-prompt-end-marker.
 +      (rcirc-complete): Error if point is not after rcirc prompt.
 +      Handle the case when table is nil.
 +      (rcirc-user-authenticated): Define to fix compiler warning.
  
 -      * select.el (x-valid-simple-selection-p): Allow buffer values.
 +2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
  
 -2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * custom.el (custom--inhibit-theme-enable): Make it affect only
 +      custom-theme-set-variables and custom-theme-set-faces.
 +      (provide-theme): Ignore custom--inhibit-theme-enable.
 +      (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
 +      (custom-enabling-themes): Delete variable.
 +      (enable-theme): Accept only loaded themes as arguments.
 +      Ignore the special custom-enabled-themes variable.
 +      (custom-enabled-themes): Forbid themes from setting this.
 +      Eliminate use of custom-enabling-themes.
 +      (custom-push-theme): Quote "changed" custom var entry.
  
 -      * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
 -      and more featureful message-mode.
 +2011-03-21  Leo Liu  <sdl.web@gmail.com>
  
 -2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
 +      * ido.el (ido-read-internal): Add ido-selected to history instead
 +      of user input.
  
 -      * select.el (x-set-selection): Doc fix.
 -      (x-valid-simple-selection-p): Disallow selection data consisting
 -      of a list or cons of integers, since that is not used.
 -      (xselect--selection-bounds, xselect--int-to-cons): New functions.
 -      (xselect-convert-to-string, xselect-convert-to-length)
 -      (xselect-convert-to-filename, xselect-convert-to-charpos)
 -      (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
 +2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
 +      * subr.el (deferred-action-list, deferred-action-function):
 +      Mark obsolete.
  
 -      * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
 -      output in -break-info command (Emacs bug #3794).
 +2011-03-21  Leo Liu  <sdl.web@gmail.com>
  
 -2009-07-14  Glenn Morris  <rgm@gnu.org>
 +      * vc/log-view.el: Remove (require 'wid-edit), not needed after the
 +      change on 2011-02-13 (bug#8309).
  
 -      * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
 -      (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
 -      (edebug-print-length, edebug-print-level, edebug-print-circle)
 -      (edebug-sit-for-seconds, edebug-view-outside)
 -      (edebug-bounce-point, edebug-set-global-break-condition)
 -      (edebug-Go-nonstop-mode, edebug-trace-mode)
 -      (edebug-Trace-fast-mode, edebug-continue-mode)
 -      (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
 -      (edebug-visit-eval-list): Doc fixes.
 +      * minibuffer.el (read-file-name-function): Change default value.
 +      (read-file-name--defaults): Rename from read-file-name-defaults.
 +      (read-file-name-default): Rename from read-file-name.
 +      (read-file-name): Call read-file-name-function.
  
 -      * subr.el (def-edebug-spec): Doc fix.
 +2011-03-21  Glenn Morris  <rgm@gnu.org>
  
 -2009-07-14  Kenichi Handa  <handa@m17n.org>
 +      * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
 +      Doc fixes.
  
 -      * international/characters.el: Fix setting of category ?C.
 +2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
  
 -2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
 +      * cus-theme.el: Add missing provide statement.
 +      (customize-create-theme): Extract theme value correctly.
 +      (custom-theme-visit-theme): Autoload.
 +      (customize-create-theme): Prompt before inserting default faces.
  
 -      * term/ns-win.el (x-select-font): defalias x-select-font to
 -      ns-popup-font-panel instead of generate-fontset-menu.
 +2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
  
 -2009-07-12  Eli Zaretskii  <eliz@gnu.org>
 +      * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
 +      units and musical notes.
  
 -      * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
 +2011-03-20  Leo  <sdl.web@gmail.com>
  
 -2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
 +      * ido.el (ido-read-internal): Use completing-read-default.
 +      (ido-completing-read): Fix compatibility with completing-read.
  
 -      * arc-mode.el (archive-find-type): Allow for a PK00 string before
 -      the PK\003\004 header (Bug#3770).
 +2011-03-20  Christian Ohler  <ohler@gnu.org>
  
 -2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
 +      * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
 +      (ert-delete-all-tests): Use `called-interactively-p' rather than
 +      `interactive-p'.
 +      (ert--make-xrefs-region): Respect END.
  
 -      * pcomplete.el (pcomplete-comint-setup): Check for
 -      shell-dynamic-complete-filename too.
 +2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
  
 -2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
 +      * dired-aux.el (dired-create-directory): Signal an error if the
 +      directory already exists (Bug#8246).
  
 -      * simple.el (temporary-goal-column): Change the value for
 -      line-move-visual to a cons cell.
 -      (line-move-visual): Record or set the window hscroll, if
 -      necessary (Bug#3494).
 -      (line-move-1): Handle cons value of temporary-goal-column.
 +      * facemenu.el (list-colors-display): Call list-faces-display
 +      inside with-help-window.
 +      (list-colors-print): Use display property to align the final
 +      column, instead of checking window-width.
  
 -2009-07-11  Kenichi Handa  <handa@m17n.org>
 +2011-03-19  Eli Zaretskii  <eliz@gnu.org>
  
 -      * international/mule-diag.el (describe-character-set): Don't show
 -      width.
 +      * emerge.el (emerge-metachars): Separate value for ms-dos and
 +      windows-nt systems.
 +      (emerge-protect-metachars): Quote correctly for ms-dos and
 +      windows-nt systems.
  
 -2009-07-10  Sam Steingold  <sds@gnu.org>
 +2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
  
 -      * progmodes/compile.el (compilation-mode-font-lock-keywords):
 -      Omake sometimes indents the errors it prints, so allow all
 -      regexps to start with spaces.
 +      * info.el (info-initialize): Replace all uses of `:' with
 +      path-separator for compatibility with non-Unix systems.
 +      Cache quoting of path-separator.  (Bug#8258)
  
 -2009-07-10  Eli Zaretskii  <eliz@gnu.org>
 +2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * cus-edit.el (customize-changed-options-previous-release):
 -      Bump value to 22.1.  (Bug#3804)
 +      * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
 +      (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
 +      (mouse-avoidance-mode): Fix typos in docstrings.
  
 -2009-07-08  Sam Steingold  <sds@gnu.org>
 +2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
 -      to be a cons cell (test . ignored-directory) to selectively ignore
 -      some directories depending on the location of the search.
 +      * startup.el (package-subdirectory-regexp): Move from package.el.
 +      Omit \\` and \\', and let callers add them.
  
 -2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
 +      * emacs-lisp/package.el (package-strip-version)
 +      (package-load-all-descriptors): Add \\` and \\' to
 +      package-subdirectory-regexp before using it.
 +      (package-untar-buffer): New arg DIR; ensure that file untars only
 +      into this expected directory.  Remove superfluous delete-region.
 +      (package-unpack): Caller changed.
 +      (package-tar-file-info): Use package-subdirectory-regexp.
  
 -      * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
 -      remote user is root, on the local host.
 -      (tramp-local-host-p): Either the local user or the remote user
 -      must be root.  (Bug#3771)
 +2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
 +      * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
 +      diff-mode-shared-map (bug#8284).
 +      (diff-mode-shared-map): Re-introduce some bindings that were problematic.
  
 -      * progmodes/gdb-mi.el (gdb): Remove description of
 -      gdb-use-separate-io-buffer.
 -      (menu): Don't allow toggling of or enable
 -      gdb-use-separate-io-buffer from menubar.
 +2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
  
 -2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
 +      * calendar/time-date.el (format-seconds): Use assoc instead of
 +      assoc-string, since assoc-string doesn't exist in XEmacs.
  
 -      * mail/unrmail.el (unrmail): Make sure the message ends with two
 -      newlines (Bug#3769).
 +2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
  
 -2009-07-08  Glenn Morris  <rgm@gnu.org>
 +      * custom.el (custom-known-themes): Reflow docstring.
 +      (custom-theme-load-path): Fix typo in docstring.
 +      (load-theme): Fix typo in error message.
 +      (custom-available-themes, custom-variable-theme-value):
 +      Use `let', not `let*'.
  
 -      * calendar/calendar.el (calendar-current-date): Rework previous change.
 +2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
  
 -2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
 +      * calc/README: Mention inclusion of musical notes.
  
 -      * calendar/calendar.el (calendar-current-date):
 -      Add an optional argument giving an offset from today.
 +      * calc/calc-units.el (calc-lu-quant): Rename from
 +      `calc-logunits-quantity'.
 +      (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
 +      (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
 +      (calc-db): Rename from `calc-dblevel'.
 +      (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
 +      (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
 +      (calc-np): Rename from `calc-nplevel'.
 +      (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
 +      (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
 +      (calc-lu-plus): Rename from `calc-logunits-add'.
 +      (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
 +      (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
 +      (calc-lu-minus): Rename from `calc-logunits-sub'.
 +      (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
 +      (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
 +      (calc-lu-times): Rename from `calc-logunits-mul'.
 +      (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
 +      (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
 +      (calc-lu-divide): Rename from `calc-logunits-div'.
 +      (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
 +      (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
  
 -2009-07-08  Glenn Morris  <rgm@gnu.org>
 +      * calc/calc-ext.el (calc-init-extensions): Update the names of the
 +      functions being autoloaded.
  
 -      * tutorial.el (tutorial--describe-nonstandard-key):
 -      Adjust the message for when a key has been unbound.
 -      (help-with-tutorial): Hide the arch-tag.
 +      * calc/calc.el (calc-lu-power-reference): Rename from
 +      `calc-logunits-power-reference'.
 +      (calc-lu-field-reference): Rename from
 +      `calc-logunits-field-reference'.
  
 -2009-07-08  Kenichi Handa  <handa@m17n.org>
 +      * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
  
 -      * international/fontset.el (setup-default-fontset): For each
 -      script, append (not set) font-specs.
 +2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
 -      docstring.
 +      * minibuffer.el (completion-all-sorted-completions):
 +      Use :completion-cycle-penalty text property if present.
  
 -2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
 +2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
  
 -      * progmodes/gdb-mi.el (gdb-init-1): Move sending
 -      -data-list-register-names to ...
 -      (gdb-starting): ... here because GDB 7.0 requires execution to
 -      have started when using this MI command.
 -      (gdb-set-header): New function to distinguish select and
 -      unselected tabs in gdb buffers.
 -      (gdb-propertize-header): New macro that uses gdb-set-header.
 -      (gdb-breakpoints-header, gdb-locals-header): Use it.
 -      (gdb-disassembly-mode-map): Add keybinding to kill buffer.
 +      * allout.el (allout-yank-processing): Adjust for new rebulleting
 +      regime so bullet being yanked is used without prompting the user
 +      for a choice.
  
 -2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
 +2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * Makefile.in (ELCFILES): Remove fadr.elc.
 +      * startup.el (command-line): Warn the user that _emacs is deprecated.
  
 -2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
 +2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
 -      may contain frame information, so `string-match' should be used.
 -      (gdb-update): Disassembly is invalidated through
 -      `gdb-get-selected-frame'.
 -      (gdb-pad-string): New function to pad string with spaces.
 -      (gdb-invalidate-disassembly): Invalidate only if the buffer
 -      exists.
 -      (gdb-disassembly-handler-custom): Column alignment.
 -      (gdb-disassembly-place-breakpoints): Clear old breakpoints before
 -      placing new ones.
 -      (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
 -      end of line, too.
 -      (gdb-frame-handler): Match convention to for disassembly buffer
 -      mode name.
 -      (gdb-stack-list-frames-handler): Rewritten without regexps.
 -      (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
 -      not highlight breakpoints without line information.
 -      (gdb-input): Add trailing newline to command.
 +      * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
 +      (delphi-verbose, delphi-comment-face, delphi-string-face)
 +      (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
 +      (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
 +      (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
 +      (delphi-new-comment-line, delphi-font-lock-defaults)
 +      (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
 +      Fix typos in docstrings.
  
 -      * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
 -      buffer properly.
 -      (gdb-breakpoints-list-handler-custom): Replacement for
 -      `gdb-break-list-handler'.  Using real parser instead of regexps
 -      now.
 -      (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
 -      Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
 -      to place breakpoints.
 -      (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
 -      functions.
 -      (gdb-disassembly-handler-custom): Show overlay arrow.
 -      (gdb-disassembly-place-breakpoints): Show breakpoints in
 -      disassembly buffer.
 -      (gdb-toggle-breakpoint, gdb-delete-breakpoint)
 -      (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
 -      instead of parsing breakpoints buffer.  Fixed old menu references
 -      in `gud-menu-map'.
 +2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
  
 -      * fadr.el: Remove.
 +      * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
 +      Invert the roles of character and string values for INSTEAD, so a
 +      string is used for the more common case of a defaulting prompt.
  
 -      * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
 -      (gdb-memory-address): New variable which holds top address of
 -      memory page shown in memory buffer.
 -      (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
 -      New customization variables.
 -      New functions:
 -      (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
 -      display the memory buffer.
 -      (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
 -      buffer display parameters.
 -      (def-gdb-memory-format, gdb-memory-format-binary)
 -      (gdb-memory-format-octal, gdb-memory-format-unsigned)
 -      (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
 -      Functions for setting memory buffer format.
 -      (gdb-memory-unit-word, gdb-memory-unit-halfword)
 -      (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
 -      unit size used in memory buffer.
 -      (gdb-memory-show-next-page, gdb-memory-show-previous-page):
 -      Switch to next/previous page of memory buffer.
 -      Now using (bindat-get-field) instead of fadr functions.
 +2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2009-07-07  Sam Steingold  <sds@gnu.org>
 +      * progmodes/ruby-mode.el (ruby-backward-sexp):
 +      * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
 +      * play/gamegrid.el (gamegrid-make-face):
 +      * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
 +      (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
 +      * notifications.el (notifications-notify):
 +      * net/xesam.el (xesam-search-engines):
 +      * net/quickurl.el (quickurl-list-insert):
 +      * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
  
 -      * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
 -      non-top-level files.
 +2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
  
 -2009-07-07  Kenichi Handa  <handa@m17n.org>
 +      * startup.el (command-line): Update package subdirectory regexp.
  
 -      * international/mule-cmds.el (reset-language-environment):
 -      Put the highset priority to the charset iso-8859-1.
 +2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
 -      to the end of the line when locating the block (Bug#700).
 -
 -2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-handle-write-region): Flush file properties
 -      in case of short track.
 -
 -2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
 -
 -      * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
 -      Coded custom representation of verilog error regular expressions
 -      to work with Emacs-22's new format.
 -      (verilog-error-regexp-xemacs-alist): Coded custom representation
 -      of verilog error regular expressions to work with XEmacs format.
 -      (verilog-error-regexp-add-xemacs): Hook routine to install verilog
 -      error recognition into XEmacs.
 -      (verilog-error-regexp-add-emacs): Hook routine to install verilog
 -      error recognition into Emacs-22.
 -
 -2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
 +      * allout.el (allout-abbreviate-flattened-numbering)
 +      (allout-mode-deactivate-hook): Fix up obsolescence "date".
  
 -      * woman.el: Remove stand-alone closing parentheses.
 -      (woman-file-name, woman2-format-paragraphs)
 -      (woman-leave-blank-lines): Code cleanup.
 -      (woman-use-own-frame): Change default to nil.
 -      (woman-italic, woman-bold, woman-unknown, woman-addition):
 -      Change defaults to inherit from default faces.
 -      (woman2-process-escapes): Consume the newline after a stand-alone
 -      filler character (Bug#3651).
 -
 -2009-07-06  Glenn Morris  <rgm@gnu.org>
 -
 -      * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
 -      (top-level): Move provide to the end.
 -      (ffap): Remove defunct URL from custom group.
 -
 -      * subr.el (eval-after-load): Doc fix.
 +      * subr.el (read-char-choice): Only show the cursor after the prompt,
 +      not after the answer.
  
 -2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
 +2011-03-15  Kevin Ryde  <user42@zip.com.au>
  
 -      * calc/calc-embed.el (calc-embedded-make-info): Don't force when
 -      `calc-embedded-word' is called twice.
 +      * help-fns.el (variable-at-point): Skip leading quotes, if any
 +      (bug#8253).
  
 -2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * files.el (find-alternate-file-other-window, find-alternate-file):
 -      Obey confirm-nonexistent-file-or-buffer.
 +      * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
 +      warning message.
  
 -2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
 +2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
  
 -      * dired-aux.el (dired-show-file-type): Handle remote files.
 +      * shell.el (shell): When called interactively, offer to change the
 +      shell file name on remote hosts.
  
 -2009-07-05  Jari Aalto  <jari.aalto@cante.net>
 +2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
  
 -      * desktop.el (desktop-globals-to-save):
 -      Add file-name-history (Bug#2750).
 +      * net/ldap.el (ldap-search-internal): Add `auth-source-search'
 +      integration for LDAP parameters.  The host, base, user or binddn,
 +      and secret tokens can be specified in a netrc file, for instance.
 +      This is optional because an `auth-source' parameter must be
 +      specified in the search attributes.
  
 -2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
 +2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
 +      * help.el (describe-mode): Link to the mode's definition (bug#8185).
  
 -2009-07-04  Johan Bockgård  <bojohan@gnu.org>
 +2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
 -      property on entire argument since this is what eshell-lisp-command
 -      expects.
 +      * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
 +      into declaration.  Remove redundant and harmful binding.
  
 -2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
 +2011-03-12  Eli Zaretskii  <eliz@gnu.org>
  
 -      * net/tramp-gvfs.el (tramp-gvfs-methods)
 -      (tramp-gvfs-zeroconf-domain)
 -      (tramp-bluez-discover-devices-timeout): Add version flag.
 -      (tramp-gvfs-handler-mounted-unmounted)
 -      (tramp-gvfs-connection-mounted-p): Polish handling of
 -      incompatibilities between GVFS 0.2 and 1.0.
 +      * files.el (file-ownership-preserved-p): Pass `integer' as an
 +      explicit 2nd argument to `file-attributes'.  If the file's owner
 +      is the Administrators group on Windows, and the current user is
 +      Administrator, consider that a match.
  
 -2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
 +      * server.el (server-ensure-safe-dir): Consider server directory
 +      safe on MS-Windows if its owner is the Administrators group while
 +      the current Emacs user is Administrator.  Use `=' to compare
 +      numerical UIDs, since they could be integers or floats.
  
 -      * cus-start.el (all): Add make-pointer-invisible.
 +2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
  
 -2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
 +      * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
  
 -      * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
 -      formatted correctly.
 +2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
  
 -2009-07-02  Juri Linkov  <juri@jurta.org>
 +      Sync with Tramp 2.2.1.
  
 -      * info.el: Virtual Info files and nodes.
 -      (Info-virtual-files, Info-virtual-nodes): New variables.
 -      (Info-current-node-virtual): New variable.
 -      (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
 -      New functions.
 -      (Info-file-supports-index-cookies): Use Info-virtual-file-p
 -      to check for a virtual file instead of checking a fixed list
 -      of node names.
 -      (Info-find-file): Use Info-virtual-fun and Info-virtual-call
 -      instead of ad-hoc processing of "dir" and (apropos history toc).
 -      (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
 -      instead of ad-hoc processing of "dir" and (apropos history toc).
 -      Reread a file when moving from a virtual node.
 -      (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
 -      (Info-directory-toc-nodes, Info-directory-find-file)
 -      (Info-directory-find-node): New functions.
 -      (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
 -      (Info-history): Move part of code to
 -      `Info-history-find-node'.
 -      (Info-history-toc-nodes, Info-history-find-file)
 -      (Info-history-find-node): New functions.
 -      (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
 -      (Info-toc): Move part of code to `Info-toc-find-node'.
 -      (Info-toc-find-node): New function.
 -      (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
 -      the current Info file name to references because now the node
 -      "*TOC*" belongs to the same Info manual.
 -      (Info-toc-build): Rename from `Info-build-toc'.
 -      (Info-toc-nodes): Rename input argument `file' to `filename'.
 -      Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
 -      instead of ad-hoc processing of ("dir" apropos history toc).
 -      (Info-index-nodes): Use Info-virtual-file-p
 -      to check for a virtual file instead of checking a fixed list
 -      of node names.
 -      (Info-index-node): Add check for `Info-current-node-virtual'.
 -      Raise `save-match-data' higher up the tree to contain
 -      `search-forward' too (bug fix).
 -      (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
 -      (Info-virtual-index-nodes): New variable.
 -      (Info-virtual-index-find-node, Info-virtual-index): New functions.
 -      (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
 -      (Info-apropos-file, Info-apropos-nodes): New variables.
 -      (Info-apropos-toc-nodes, Info-apropos-find-file)
 -      (Info-apropos-find-node, Info-apropos-matches): New functions.
 -      (info-apropos): Move part of code to `Info-apropos-find-node' and
 -      `Info-apropos-matches'.
 -      (Info-mode-map): Bind "I" to `Info-virtual-index'.
 -      (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
 -      for a virtual file instead of checking a fixed list of node names.
 -
 -      * simple.el (async-shell-command): New command.
 -
 -      * bindings.el (esc-map): Bind "&" to `async-shell-command'.
 -
 -      * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
 -      instead of `mount-info'.
 -
 -2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
 -      (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
 -
 -2009-07-02  Kenichi Handa  <handa@m17n.org>
 -
 -      * international/mule.el (set-keyboard-coding-system): Force *-unix
 -      coding-system to avoid eol conversion.
 -
 -2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
 -      Add handler for `process-file', `shell-command' and
 -      `start-file-process'.
 -      (tramp-gvfs-handle-shell-command)
 -      (tramp-gvfs-handle-start-file-process)
 -      (tramp-gvfs-handle-process-file): New defuns.
 -      (tramp-synce-list-devices): Simplify check for existence of property.
 -
 -2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
 -
 -      * startup.el (command-line-x-option-alist): Add -mm and --maximized.
 -
 -2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
 -
 -      * language/korean.el (set-language-info-alist): Add korean-cp949,
 -      cp949 to spec.
 -
 -2009-07-01  Kenichi Handa  <handa@m17n.org>
 -
 -      * Makefile.in (ELCFILES): Delete encoded-kb.elc.
 -
 -      * international/encoded-kb.el: Deleted.
 -
 -      * international/mule.el (set-keyboard-coding-system): Perform the
 -      necessary setup here instead of calling encoded-kbd-setup-display.
 -
 -2009-07-01  Glenn Morris  <rgm@gnu.org>
 -
 -      * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
 -
 -2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
 -
 -      * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
 -
 -2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-do-copy-or-rename-file-directly):
 -      Handle also the 'rename case, when setting file modes.  (Bug#3712)
 -      (tramp-default-file-modes): Remove execute permissions.
 -
 -      * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
 -      (top): Add a default for "synce" in `tramp-default-user-alist'.
 -      Add completion function for "synce" method.
 -      (tramp-hal-service, tramp-hal-path-manager)
 -      (tramp-hal-interface-manager, tramp-hal-interface-device):
 -      New defconst.
 -      (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
 -      (tramp-synce-list-devices, tramp-synce-parse-device-names):
 -      New defuns.
 +      * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
  
        * net/trampver.el: Update release number.
  
 -2009-06-30  Kenichi Handa  <handa@m17n.org>
 -
 -      * international/fontset.el (setup-default-fontset): Add CJK fonts
 -      for symbols and the other miscellaneous characters.
 -
 -      * language/korea-util.el (setup-korean-environment-internal):
 -      Make char-width-table suitable for Korean environments.
 -      (exit-korean-environment): Cancel above.
 -
 -      * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
 -      ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
 -      setup-function to make char-width-table suitable for respective
 -      environments, and an exit-function to cancel that.
 -
 -      * language/japan-util.el (setup-japanese-environment-internal):
 -      Call use-cjk-char-width-table with arg `ja_JP'.
 -
 -      * international/characters.el (cjk-char-width-table): Delete it.
 -      (cjk-char-width-table-list): New variable.
 -      (use-cjk-char-width-table): New arg local-name.
 -      (use-default-char-width-table): Fix for the case that Emacs is
 -      already using the default char-width-table.
 -
 -2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
 -      modes mandatory.  (Bug#3712)
 -
 -2009-06-29  Alan Mackenzie  <acm@muc.de>
 -
 -      * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
 -      correction between the visible width of TABs and their number of bytes.
 -
 -2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * server.el (server-buffer-done): Prevent kill-buffer from
 -      prompting by clearing the buffer modification flag (Bug#3696).
 -
 -2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
 -
 -      * progmodes/verilog-mode.el (verilog-beg-of-statement)
 -      (verilog-endcomment-reason-re): Support unique case and priority case.
 -      (verilog-basic-complete-re): Support localparam lineup.
 -      (verilog-beg-of-statement-1): Fix for robustness, unique case.
 -      (verilog-set-auto-endcomments): Fix for unique case, always_comb
 -      commenting.
 -      (verilog-leap-to-case-head): Now support *nested* unique &
 -      priority case statements.
 -      (verilog-auto-lineup): Make just declarations the default (as it
 -      had been).
 -      (verilog-leap-to-case-head): Support priority/unique case statements.
 -      (verilog-auto-lineup): Rework to give users radio buttons to
 -      select the various styles of automatic lineup.
 -      (verilog-error-regexp-alist): Rework to support the XEmacs style
 -      of error regular expressions from compilers, lint tools &
 -      simulators.  Note that GNU Emacs has made it impossible for a mode
 -      to load such things.
 -      (electric-verilog-terminate-line, verilog-indent-declaration)
 -      (verilog-auto-wiure): Rework for radio button selection of
 -      auto-lineup selection of specification of auto lineup.
 -      (verilog-beg-of-statement-1): Redesign to support proper operation
 -      in additional code, based on testing with auto-lineup.
 -      (verilog-calculate-indent, assignments & declarations)
 -      (verilog-backward-token): Enhance to support auto-lineup of
 -      assignments & declarations.
 -      (verilog-in-directive-p, verilog-at-struct-p): New function for
 -      easy test of whether we are.
 -      (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
 -      to support safe execution at almost anyline.
 -      (verilog-calc-1): Properly support indenting deep inside generate
 -      blocks.
 -      (verilog-init-font): Remove definition & use of verilog-init-font,
 -      as it is redundant with font-lock-defaults.
 -      (verilog-mode): Alter the definition of verilog-font-lock-defaults
 -      to avoid circular calls if syntax-ppss is a function (as is the
 -      case now in 22.x GNU Emacs) as that function would sometimes call
 -      itself, leading to (nearly) infinite recursion.
 -      (verilog-ovm-begin-re, verilog-ovm-end-re)
 -      (verilog-ovm-statement-re, verilog-leap-to-head)
 -      (verilog-backward-token): Add support for OVM macros.  Some are
 -      complete statements, and others open and close scopes like begin
 -      and end.
 -      (verilog-defun-level-not-generate-re, verilog-defun-level-re)
 -      (verilog-defun-level-generate-only-re): Really fix the defun-list
 -      compilation issue.
 -      (verilog-calc-1, verilog-beg-of-statement): Enhance support for
 -      coverpoint, constraint and cross statements.
 -      (verilog-defun-level-list, verilog-generate-defun-level-list)
 -      (verilog-all-defun-level-list): Redo these specifications - it is
 -      too hard to support eval-when compile aggregation of lists also
 -      built at when-compile time.
 -      (verilog-defun-level-list): Place defconsts of variables used in
 -      building regular expressions which are built in eval-when-compile
 -      bodies in the same eval-when-compile body to facilitate compile
 -      without load.
 -      (verilog-beg-block-re-ordered): Support indenting
 -      virtual/protected tasks and functions.
 -      (verilog-defun-level-list, verilog-in-generate-region-p)
 -      (verilog-backward-ws&directives, verilog-calc-1): Speed up
 -      indentation of some module items (generate items).
 -      (verilog-forward-sexp, verilog-leap-to-head): Support stepping
 -      across virtual/protected tasks and functions.
 -
 -2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
 -
 -      * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
 -      Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
 -      (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
 -      in concatenations.  Reported by Yishay Belkind.
 -      (verilog-auto-ascii-enum): Support one-hot state machines in
 -      AUTOASCIIENUM.  Suggested by Lloyd Gomez.
 -      (verilog-auto-inst, verilog-auto-inst-port): Include interface
 -      modport in AUTOINST and add vl-modport for users.
 -      Reported by David Rogoff.
 -      (verilog-auto-inout-module, verilog-auto-inst)
 -      (verilog-decls-get-interfaces, verilog-insert-definition)
 -      (verilog-insert-one-definition, verilog-read-decls)
 -      (verilog-read-sub-decls, verilog-read-sub-decls-sig)
 -      (verilog-sig-modport, verilog-signals-combine-bus)
 -      (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
 -      interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
 -      Suggested by David Rogoff.
 -      (verilog-repair-open-comma): Fix non-insertion of comma when
 -      `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
 -      (verilog-make-width-expression): Simplify [A-1:0] expression
 -      widths to just {A{1'b0}}.
 -      (verilog-mode): Cleanup checkdoc warnings.
 -      (verilog-auto-inout-module, verilog-signals-matching-dir-re):
 -      Add third optional regexp to AUTOINOUTMODULE to allow selecting only
 -      inputs/outputs or data type.  Suggested by Vasu Kandadi.
 -      (next-error-last-buffer): Fix byte-compiler warning.
 -      (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
 -      (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
 -      or shell command text during AUTO expansion.  Suggested by Tad Truex.
 -      (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
 -      (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
 -      Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
 -      in AUTOINOUT.  Reported by Matthew Lovell.
 -      (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
 -      causing use of <= assignments.  Reported by Alex Reed.
 -      (verilog-read-decls): Fix triand, trior, wand, wor to be
 -      recognized by AUTOWIRE.  Reported by Spencer Isaacson.
 -      (verilog-extended-complete-re): Support import "DPI-C" functions.
 -      (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
 -      y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
 -      (verilog-insert-date, verilog-insert-year)
 -      (verilog-sk-header-tmpl): Fix verilog-header inserting error on
 -      Windows systems.  Reported by Michael Potts.
 -      (verilog-read-module-name): Fix AUTOINST when the child module
 -      declaration's name is a tick define.  Reported by Elliot Mednick.
 -      (verilog-read-decls): Fix V2K parameter bit subscripts getting
 -      passed to next parameter's definition.  Reported by Bruce T.
 -      (verilog-read-decls): Fix detecting "parameter int" when using
 -      AUTOINSTPARAM.  Reported by Bruce T.
 -      (verilog-goto-defun): Fix goto not finding modules unless first
 -      perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
 -      (verilog-mode): Expand -f flag arguments on entry to mode so
 -      verilog-goto-defun will work.  Reported by Lawrence Butcher.
 -      (verilog-getopt): Expand environment variables in -f file
 -      arguments.  Suggested by Lawrence Butcher.
 -      (verilog-set-define): Fix "Symbol's value as variable is void"
 -      when reading enumerations.
 -      (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
 -      Suggested by Stephen Peltan.
 -      (verilog-read-defines): Fix reading of enumerations in include
 -      files.  Reported by Steve Peltan.
 -
 -2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
 -
 -      * files.el (trash-directory): Fix defcustom type.
 -
 -2009-06-28  Juri Linkov  <juri@jurta.org>
 -
 -      * help-fns.el (describe-function-1): Correctly locate adviced
 -      functions in hyperlink (Bug#2438).
 -
 -2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * files.el (trash-directory): Change default to nil.
 -      (move-file-to-trash): If trash-directory is nil and
 -      system-move-file-to-trash is unbound, perform freedesktop-style
 -      trashing.
 -
 -2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
 -
 -      * files.el (move-file-to-trash): Add freedesktop trash
 -      support (Bug#973).
 -
 -2009-06-28  Glenn Morris  <rgm@gnu.org>
 -
 -      * autorevert.el (global-auto-revert-non-file-buffers)
 -      (global-auto-revert-mode): Doc fixes.
 -
 -2009-06-27  Johan Bockgård  <bojohan@gnu.org>
 -
 -      * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
 -
 -2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
 -
 -      * faces.el (x-handle-named-frame-geometry): Ensure that we have
 -      opened an X connection before calling x-get-resource (Bug#3194).
 -
 -      * play/doctor.el: Remove reference to obsolete website.
 -      (make-doctor-variables): Correct grammar mistake (Bug#2633).
 -
 -2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
 -
 -      Remove find-file-not-found-hook VC method.  (Bug#2757)
 -      * vc-hooks.el (vc-file-not-found-hook)
 -      (vc-default-find-file-not-found-hook): Remove functions.
 -      (find-file-not-found-functions): Do not add vc-file-not-found-hook.
 -      * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
 -      * vc.el:
 -      * vc-hg.el:
 -      * vc-git.el: Do not mention find-file-not-found-hook VC method.
 -
 -2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
 -
 -      * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
 -      compatibility function for `looking-back'.
 -
 -      * textmodes/flyspell.el (sgml-mode-flyspell-verify):
 -      Use `ispell-looking-back'.
 -
 -2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
 -
 -      * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
 -      rather than `filename'.
 -
 -2009-06-23  Miles Bader  <miles@gnu.org>
 -
 -      * face-remap.el (text-scale-set): New function.
 -
 -2009-06-23  Glenn Morris  <rgm@gnu.org>
 -
 -      * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
 -
 -      * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
 -
 -      * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
 +2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
 +      * progmodes/compile.el (compilation--previous-directory): Fix up
 +      various nil/dead-marker mismatches (bug#8014).
 +      (compilation-directory-properties, compilation-error-properties):
 +      Don't call it at a position past the one we're about to change.
  
 -      * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
 -      Simplify Persian conditionals.
 +      * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
 +      Disable obsolescence warnings in the file that declares it.
  
 -      * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
 -      variable `filename'.
 +2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
  
 -      * comint.el (comint-insert-input): Doc fix.
 +      * allout-widgets.el (allout-widgets-tally):
 +      Initialize allout-widgets-tally as a hash table rather than nil to
 +      prevent mode-line redisplay warnings.  Also, clarify the module
 +      description and fix a comment typo.
  
 -      * Makefile.in (ELCFILES): Fix typo in previous change.
 +2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
  
 -2009-06-23  Miles Bader  <miles@gnu.org>
 +      * help-fns.el (describe-variable): Don't complete keywords.
 +      Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
  
 -      * cus-start.el: Add entry for `recenter-redisplay'.
 +2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
  
 -2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
 +      * emacs-lisp/package.el (package-version-join): Impose a standard
 +      string representation for pre/alpha/beta version lists.
 +      (package-unpack-single): Standardize the directory name by passing
 +      it through package-version-join.
 +      (package-strip-rcs-id): Accept any version string that does not
 +      signal an error in version-to-list.
  
 -      * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
 -      Add an optional argument for the backend, use it instead of
 -      calling vc-backend.
 -      (vc-mode-line): Add an optional argument for the backend.
 -      Pass the backend to vc-state and vc-working-revision.  Move code for
 -      special handling for vc-state being a buffer to ...
 +2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
  
 -      * vc-rcs.el (vc-rcs-find-file-hook):
 -      * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
 +      * simple.el (delete-trailing-whitespace): Return nil for the
 +      benefit of `write-file-functions'.
  
 -      * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
 -      (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
 -      vc-stay-local-p and vc-mode-line calls.
 +2011-03-10  Glenn Morris  <rgm@gnu.org>
  
 -      * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
 -      (vc-cvs-diff, vc-cvs-annotate-command)
 -      (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
 -      (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
 -      vc-mode-line calls.
 +      * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
  
 -      * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
 -      direct comparison.
 -      (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
 -      backend when calling vc-mode-line.
 -      (vc-register): Do not create a closure for calling the vc register
 -      function, call it directly.
 +      * vc/vc-git.el (vc-git-program): New option.
 +      (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
 +      (vc-git--call): Use it.
  
 -2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
 +      * eshell/esh-util.el (eshell-condition-case): Doc fix.
  
 -      * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
 -      to make it obvious item can be clicked.
 +      * cus-edit.el (Custom-newline): If no button at point, look
 +      for a subgroup button at start-of-line.  (Bug#2298)
  
 -      * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
 +      * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
  
 -2009-06-23  Kenichi Handa  <handa@m17n.org>
 +2011-03-10  Julien Danjou  <julien@danjou.info>
  
 -      * language/korea-util.el (korean-key-bindings): Change the binding
 -      of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
 -      same command.
 +      * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
 +      `cursor-type' is nil.
  
 -2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
 +2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
  
 -      Sync with Tramp 2.1.16.
 +      * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
  
 -      * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
 +2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
  
 -      * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
 -      when a loading of a package fails.  Completion function for rsync
 -      is `tramp-completion-function-alist-ssh'.
 -      (all): Replace all calls of `split-string' and
 -      `tramp-split-string' by `tramp-compat-split-string'.
 -      (tramp-default-method): Use `tramp-compat-process-running-p'.
 -      (tramp-default-proxies-alist): Allow also Lisp forms.
 -      (tramp-remote-path): Add choice "Private Directories".
 -      (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
 -      (tramp-domain-regexp): Allow also "-", "_" and ".".
 -      (tramp-end-of-output): Remove newlines, and add "$" at the end.
 -      (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
 -      (tramp-debug-message): Insert header line in debug buffer.
 -      (tramp-handle-directory-files-and-attributes-with-stat):
 -      Care about filenames with spaces, or starting with "-".
 -      (tramp-handle-dired-uncache): New defun.
 -      (tramp-handle-insert-directory): Don't flush the directory from
 -      cache, this is handled by `dired-uncache' now.
 -      (tramp-handle-insert-file-contents): Improve error handling.
 -      (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
 -      Quote `tramp-end-of-output'.
 -      (tramp-action-password): Improve trace message.
 -      (tramp-check-for-regexp): Both echoes must be present, before removing.
 -      (tramp-open-connection-setup-interactive-shell): Trace coding system.
 -      (tramp-compute-multi-hops): Eval cons cells of
 -      `tramp-default-proxies-alist'.
 -      (tramp-maybe-open-connection): Use the same command pattern for
 -      first hop and further hops.
 -      (tramp-wait-for-output): Remove handling of newlines.
 -      (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
 -      (tramp-split-string): Remove function.  It is handled in
 -      tramp-compat now.
 +      * allout.el Summary: Change so yank of distinctive-bullet items
 +      preserves the existing header prefix, rebulleting it if necessary,
 +      rather than replacing it.  This is necessary for proper operation
 +      of cooperative addons like allout-widgets.
 +      (allout-make-topic-prefix, allout-rebullet-heading): Change
 +      SOLICIT arg to INSTEAD, and interpret additionally a string value
 +      as alternate bullet to be used, instead of prompting the user for
 +      a bullet character.
  
 -      * net/tramp-cmds.el (tramp-bug):
 -      Recommend `tramp-cleanup-all-connections' in the bug mail.
 +2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
  
 -      * net/tramp-compat.el (tramp-compat-split-string)
 -      (tramp-compat-process-running-p): New defuns.
 +      * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
 +      Do not use `tramp-file-name-port', because this returns also
 +      `tramp-default-port'.
  
 -      * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
 -      for `dired-uncache'.
 +2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
  
 -      * net/tramp-gvfs.el: New package.
 +      * net/rcirc.el (rcirc-handler-001): Remove useless
 +      with-rcirc-process-buffer.
 +      (rcirc-check-auth-status): Swap arguments to string-match.
  
 -      * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
 -      Add handler for `dired-uncache'.
 -      (tramp-smb-handle-file-local-copy): Cleanup in case of error.
 +2011-03-09  Glenn Morris  <rgm@gnu.org>
  
 -      * net/trampver.el: Update release number.  Make version check fit
 -      for SXEmacs 22.
 +      * shell.el (shell-mode):
 +      Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
  
 -2009-06-22  Jim Meyering  <meyering@redhat.com>
 +      * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
 +      Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
  
 -      Automatically handle .xz suffix (XZ-compressed files), too.
 -      * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
 -      XZ is the successor to LZMA: <http://tukaani.org/xz/>
 +2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
  
 -2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
 -          Nick Roberts  <nickrob@snap.net.nz>
 +      * emacs-lisp/package.el (package-refresh-contents)
 +      (package-menu-execute): Use condition-case-no-debug.
  
 -      * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
 -      repository (http://sphinx.net.ru/hg/gdb-mi/).
 +2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
  
 -2009-06-22  Glenn Morris  <rgm@gnu.org>
 +      * simple.el (shell-command-to-string): Use `process-file'.
  
 -      * files.el (dir-locals-collect-mode-variables): Allow for any number of
 -      `mode' and `eval' entries.  (Bug#3430)
 +      * emacs-lisp/package.el (package-tar-file-info): Handle also
 +      remote files.
  
 -      * Makefile.in (ELCFILES): Add fadr.elc.
 +      * emacs-lisp/package-x.el (package-upload-buffer-internal):
 +      Use `equal' for upload base check.
  
 -      * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
 -      differing behavior of \n and ^ in strings.  (Bug#3385)
 +2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
  
 -      * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
 +      * textmodes/texinfo.el (texinfo-environments):
 +      Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
  
 -      * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
 -      property.
 -      (lisp-indent-function): Make it a defcustom.
 +2011-03-08  Glenn Morris  <rgm@gnu.org>
  
 -2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
 +      * cus-start.el (cursor-in-non-selected-windows):
 +      Fix :set quoting oddness.  (Bug#8192)
  
 -      * progmodes/gdb-ui.el: Replace with ...
 -      * progmodes/gdb-mi.el: ... this file.
 -      * progmodes/gud.el: Modify for gdb-mi.el.
 +      * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
 +      in some setf expressions.  (Bug#2159)
  
 -2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
 +2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
  
 -      * fadr.el: New file.
 +      * custom.el (custom-available-themes): Return themes in
 +      alphabetical order.
  
 -See ChangeLog.14 for earlier changes.
 +See ChangeLog.15 for earlier changes.
  
  ;; Local Variables:
  ;; coding: utf-8
  ;; End:
  
 -  Copyright (C) 2009, 2010, 2011  Free Software Foundation, Inc.
 +  Copyright (C) 2011  Free Software Foundation, Inc.
  
    This file is part of GNU Emacs.
  
diff --combined lisp/info.el
index dca3df21d5cc1e89d1173f33e2cb9424d47018ee,cb07ef59df1374612b543cac134f1099b37e1d36..047a1b340a0e2ebd38d914f7c56fbd515b887a7f
@@@ -1,6 -1,8 +1,6 @@@
  ;; info.el --- info package for Emacs
  
 -;; Copyright (C) 1985, 1986, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
 -;;   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
 -;;   Free Software Foundation, Inc.
 +;; Copyright (C) 1985-1986, 1992-2011  Free Software Foundation, Inc.
  
  ;; Maintainer: FSF
  ;; Keywords: help
@@@ -165,7 -167,7 +165,7 @@@ A header-line does not scroll with the 
  If nil, meaning not yet initialized, Info uses the environment
  variable INFOPATH to initialize it, or `Info-default-directory-list'
  if there is no INFOPATH variable in the environment, or the
 -concatenation of the two if INFOPATH ends with a colon.
 +concatenation of the two if INFOPATH ends with a `path-separator'.
  
  When `Info-directory-list' is initialized from the value of
  `Info-default-directory-list', and Emacs is installed in one of the
@@@ -236,9 -238,7 +236,9 @@@ This only has an effect if `Info-hide-n
  (defcustom Info-breadcrumbs-depth 4
    "Depth of breadcrumbs to display.
  0 means do not display breadcrumbs."
 -  :type 'integer)
 +  :version "23.1"
 +  :type 'integer
 +  :group 'info)
  
  (defcustom Info-search-whitespace-regexp "\\s-+"
    "If non-nil, regular expression to match a sequence of whitespace chars.
@@@ -266,8 -266,6 +266,8 @@@ with wrapping around the current Info n
    :group 'info)
  
  (defvar Info-isearch-initial-node nil)
 +(defvar Info-isearch-initial-history nil)
 +(defvar Info-isearch-initial-history-list nil)
  
  (defcustom Info-mode-hook
    ;; Try to obey obsolete Info-fontify settings.
@@@ -343,8 -341,9 +343,8 @@@ Each element of the list has the forma
  where NODENAME is a regexp that matches a class of virtual Info node names.
  It should be carefully chosen to not cause node name clashes with
  existing node names.  OPERATION is one of the following operation
 -symbols `find-node' that define what HANDLER
 -function to call instead of calling the default corresponding function
 -to override it.")
 +symbols `find-node' that define what HANDLER function to call instead
 +of calling the default corresponding function to override it.")
  
  (defvar Info-current-node-virtual nil
    "Non-nil if the current Info node is virtual.")
@@@ -378,50 -377,46 +378,50 @@@ or `Info-virtual-nodes'.
    ;; The MS-DOS list should work both when long file names are
    ;; supported (Windows 9X), and when only 8+3 file names are available.
    (if (eq system-type 'ms-dos)
 -      '( (".gz"      . "gunzip")
 -       (".z"       . "gunzip")
 -       (".bz2"     . ("bzip2" "-dc"))
 -       (".inz"     . "gunzip")
 -       (".igz"     . "gunzip")
 -       (".info.Z"  . "gunzip")
 -       (".info.gz" . "gunzip")
 -       ("-info.Z"  . "gunzip")
 -       ("-info.gz" . "gunzip")
 -       ("/index.gz". "gunzip")
 -       ("/index.z" . "gunzip")
 -       (".inf"     . nil)
 -       (".info"    . nil)
 -       ("-info"    . nil)
 -       ("/index"   . nil)
 -       (""         . nil))
 -    '( (".info.Z".    "uncompress")
 -       (".info.Y".    "unyabba")
 -       (".info.gz".   "gunzip")
 -       (".info.z".    "gunzip")
 -       (".info.bz2" . ("bzip2" "-dc"))
 -       (".info".      nil)
 -       ("-info.Z".   "uncompress")
 -       ("-info.Y".   "unyabba")
 -       ("-info.gz".  "gunzip")
 -       ("-info.bz2" . ("bzip2" "-dc"))
 -       ("-info.z".   "gunzip")
 -       ("-info".     nil)
 -       ("/index.Z".   "uncompress")
 -       ("/index.Y".   "unyabba")
 -       ("/index.gz".  "gunzip")
 -       ("/index.z".   "gunzip")
 -       ("/index.bz2". ("bzip2" "-dc"))
 -       ("/index".     nil)
 -       (".Z".         "uncompress")
 -       (".Y".         "unyabba")
 -       (".gz".        "gunzip")
 -       (".z".         "gunzip")
 -       (".bz2" .      ("bzip2" "-dc"))
 -       ("".           nil)))
 +      '( (".gz"       . "gunzip")
 +       (".z"        . "gunzip")
 +       (".bz2"      . ("bzip2" "-dc"))
 +       (".inz"      . "gunzip")
 +       (".igz"      . "gunzip")
 +       (".info.Z"   . "gunzip")
 +       (".info.gz"  . "gunzip")
 +       ("-info.Z"   . "gunzip")
 +       ("-info.gz"  . "gunzip")
 +       ("/index.gz" . "gunzip")
 +       ("/index.z"  . "gunzip")
 +       (".inf"      . nil)
 +       (".info"     . nil)
 +       ("-info"     . nil)
 +       ("/index"    . nil)
 +       (""          . nil))
 +    '( (".info.Z"    . "uncompress")
 +       (".info.Y"    . "unyabba")
 +       (".info.gz"   . "gunzip")
 +       (".info.z"    . "gunzip")
 +       (".info.bz2"  . ("bzip2" "-dc"))
 +       (".info.xz"   . "unxz")
 +       (".info"      . nil)
 +       ("-info.Z"    . "uncompress")
 +       ("-info.Y"    . "unyabba")
 +       ("-info.gz"   . "gunzip")
 +       ("-info.bz2"  . ("bzip2" "-dc"))
 +       ("-info.z"    . "gunzip")
 +       ("-info.xz"   . "unxz")
 +       ("-info"      . nil)
 +       ("/index.Z"   . "uncompress")
 +       ("/index.Y"   . "unyabba")
 +       ("/index.gz"  . "gunzip")
 +       ("/index.z"   . "gunzip")
 +       ("/index.bz2" . ("bzip2" "-dc"))
 +       ("/index.xz"  . "unxz")
 +       ("/index"     . nil)
 +       (".Z"         . "uncompress")
 +       (".Y"         . "unyabba")
 +       (".gz"        . "gunzip")
 +       (".z"         . "gunzip")
 +       (".bz2"       . ("bzip2" "-dc"))
 +       (".xz"        . "unxz")
 +       (""           . nil)))
    "List of file name suffixes and associated decoding commands.
  Each entry should be (SUFFIX . STRING); the file is given to
  the command as standard input.
@@@ -704,7 -699,7 +704,7 @@@ In standalone mode, \\<Info-mode-map>\\
         (re-search-backward regexp beg t))))
  
  (defun Info-find-file (filename &optional noerror)
 -  "Return expanded FILENAME, or t, if FILENAME is \"dir\".
 +  "Return expanded FILENAME, or t if FILENAME is \"dir\".
  Optional second argument NOERROR, if t, means if file is not found
  just return nil (no error)."
    ;; Convert filename to lower case if not found as specified.
@@@ -803,22 -798,17 +803,22 @@@ otherwise, that defaults to `Top'.
    "Go to an Info node FILENAME and NODENAME, re-reading disk contents.
  When *info* is already displaying FILENAME and NODENAME, the window position
  is preserved, if possible."
 -  (pop-to-buffer "*info*")
 +  (or (eq major-mode 'Info-mode) (pop-to-buffer "*info*"))
    (let ((old-filename Info-current-file)
        (old-nodename Info-current-node)
 +      (old-buffer-name (buffer-name))
        (pcolumn      (current-column))
        (pline        (count-lines (point-min) (line-beginning-position)))
        (wline        (count-lines (point-min) (window-start)))
 +      (old-history-forward Info-history-forward)
        (old-history  Info-history)
        (new-history  (and Info-current-file
                           (list Info-current-file Info-current-node (point)))))
      (kill-buffer (current-buffer))
 +    (pop-to-buffer (or old-buffer-name "*info*"))
 +    (Info-mode)
      (Info-find-node filename nodename)
 +    (setq Info-history-forward old-history-forward)
      (setq Info-history old-history)
      (if (and (equal old-filename Info-current-file)
             (equal old-nodename Info-current-node))
        (if new-history
          (setq Info-history (cons new-history Info-history))))))
  
 -(defun Info-revert-buffer-function (ignore-auto noconfirm)
 +(defun Info-revert-buffer-function (_ignore-auto noconfirm)
    (when (or noconfirm (y-or-n-p "Revert info buffer? "))
      (Info-revert-find-node Info-current-file Info-current-node)
      (message "Reverted %s" Info-current-file)))
@@@ -885,16 -875,17 +885,16 @@@ Value is the position at which a match 
    (let ((case-fold-search case-fold)
        found)
      (save-excursion
 -      (when (Info-node-at-bob-matching regexp)
 -      (setq found (point)))
 -      (while (and (not found)
 -                (search-forward "\n\^_" nil t))
 -      (forward-line 1)
 -      (let ((beg (point)))
 -        (forward-line 1)
 -        (when (re-search-backward regexp beg t)
 -          (beginning-of-line)
 -          (setq found (point)))))
 -      found)))
 +      (if (Info-node-at-bob-matching regexp)
 +          (setq found (point))
 +        (while (and (not found)
 +                    (search-forward "\n\^_" nil t))
 +          (forward-line 1)
 +          (let ((beg (point)))
 +            (forward-line 1)
 +            (if (re-search-backward regexp beg t)
 +                (setq found (line-beginning-position)))))))
 +    found))
  
  (defun Info-find-node-in-buffer (regexp)
    "Find a node or anchor in the current buffer.
@@@ -1393,11 -1384,10 +1393,11 @@@ a case-insensitive match is tried.
  ;;   \0\h[image param=value ...\h\0]
  ;; into the Info file for handling images.
  (defun Info-split-parameter-string (parameter-string)
 -  "Return alist of (\"KEY\" . \"VALUE\") from PARAMETER-STRING; a
 -whitespace separated list of KEY=VALUE pairs.  If VALUE contains
 -whitespace or double quotes, it must be quoted in double quotes and
 -any double quotes or backslashes must be escaped (\\\",\\\\)."
 +  "Return alist of (\"KEY\" . \"VALUE\") from PARAMETER-STRING.
 +PARAMETER-STRING is a whitespace separated list of KEY=VALUE pairs.
 +If VALUE contains whitespace or double quotes, it must be quoted
 +in double quotes and any double quotes or backslashes must be
 +escaped (\\\",\\\\)."
    (let ((start 0)
        (parameter-alist))
      (while (string-match
@@@ -1572,7 -1562,8 +1572,7 @@@ If FORK is a string, it is the name to 
  (defvar Info-read-node-completion-table)
  
  (defun Info-read-node-name-2 (dirs suffixes string pred action)
 -  "Virtual completion table for file names input in Info node names.
 -PATH-AND-SUFFIXES is a pair of lists, (DIRECTORIES . SUFFIXES)."
 +  "Virtual completion table for file names input in Info node names."
    (setq suffixes (remove "" suffixes))
    (when (file-name-absolute-p string)
      (setq dirs (list (file-name-directory string))))
  (defvar Info-search-case-fold nil
    "The value of `case-fold-search' from previous `Info-search' command.")
  
 -(defun Info-search (regexp &optional bound noerror count direction)
 +(defun Info-search (regexp &optional bound _noerror _count direction)
    "Search for REGEXP, starting from point, and select node it's found in.
  If DIRECTION is `backward', search in the reverse direction."
    (interactive (list (read-string
    `(lambda (cmd)
       (Info-isearch-pop-state cmd ',Info-current-file ',Info-current-node)))
  
 -(defun Info-isearch-pop-state (cmd file node)
 +(defun Info-isearch-pop-state (_cmd file node)
    (or (and (equal Info-current-file file)
             (equal Info-current-node node))
        (progn (Info-find-node file node) (sit-for 0))))
    (setq Info-isearch-initial-node
        ;; Don't stop at initial node for nonincremental search.
        ;; Otherwise this variable is set after first search failure.
 -      (and isearch-nonincremental Info-current-node)))
 +      (and isearch-nonincremental Info-current-node))
 +  (setq Info-isearch-initial-history      Info-history
 +      Info-isearch-initial-history-list Info-history-list)
 +  (add-hook 'isearch-mode-end-hook 'Info-isearch-end nil t))
 +
 +(defun Info-isearch-end ()
 +  ;; Remove intermediate nodes (visited while searching)
 +  ;; from the history.  Add only the last node (where Isearch ended).
 +  (if (> (length Info-history)
 +       (length Info-isearch-initial-history))
 +      (setq Info-history
 +          (nthcdr (- (length Info-history)
 +                     (length Info-isearch-initial-history)
 +                     1)
 +                  Info-history)))
 +  (if (> (length Info-history-list)
 +       (length Info-isearch-initial-history-list))
 +      (setq Info-history-list
 +          (cons (car Info-history-list)
 +                Info-isearch-initial-history-list)))
 +  (remove-hook 'isearch-mode-end-hook  'Info-isearch-end t))
  
  (defun Info-isearch-filter (beg-found found)
    "Test whether the current search hit is a visible useful text.
@@@ -2092,16 -2063,16 +2092,16 @@@ If SAME-FILE is non-nil, do not move t
               ))
  
  (defun Info-directory-toc-nodes (filename)
-   "Directory-specific implementation of `Info-directory-toc-nodes'."
+   "Directory-specific implementation of `Info-toc-nodes'."
    `(,filename
      ("Top" nil nil nil)))
  
 -(defun Info-directory-find-file (filename &optional noerror)
 -  "Directory-specific implementation of Info-find-file."
 +(defun Info-directory-find-file (filename &optional _noerror)
 +  "Directory-specific implementation of `Info-find-file'."
    filename)
  
 -(defun Info-directory-find-node (filename nodename &optional no-going-back)
 -  "Directory-specific implementation of Info-find-node-2."
 +(defun Info-directory-find-node (_filename _nodename &optional _no-going-back)
 +  "Directory-specific implementation of `Info-find-node-2'."
    (Info-insert-dir))
  
  ;;;###autoload
               ))
  
  (defun Info-history-toc-nodes (filename)
 -  "History-specific implementation of Info-history-toc-nodes."
 +  "History-specific implementation of `Info-history-toc-nodes'."
    `(,filename
      ("Top" nil nil nil)))
  
 -(defun Info-history-find-file (filename &optional noerror)
 -  "History-specific implementation of Info-find-file."
 +(defun Info-history-find-file (filename &optional _noerror)
 +  "History-specific implementation of `Info-find-file'."
    filename)
  
 -(defun Info-history-find-node (filename nodename &optional no-going-back)
 -  "History-specific implementation of Info-find-node-2."
 +(defun Info-history-find-node (filename nodename &optional _no-going-back)
 +  "History-specific implementation of `Info-find-node-2'."
    (insert (format "\n\^_\nFile: %s,  Node: %s,  Up: (dir)\n\n"
                  (or filename Info-current-file) nodename))
    (insert "Recently Visited Nodes\n")
               (find-node . Info-toc-find-node)
               ))
  
 -(defun Info-toc-find-node (filename nodename &optional no-going-back)
 -  "Toc-specific implementation of Info-find-node-2."
 +(defun Info-toc-find-node (filename nodename &optional _no-going-back)
 +  "Toc-specific implementation of `Info-find-node-2'."
    (let* ((curr-file (substring-no-properties (or filename Info-current-file)))
         (curr-node (substring-no-properties (or nodename Info-current-node)))
         (node-list (Info-toc-nodes curr-file)))
@@@ -2319,8 -2290,11 +2319,8 @@@ new buffer.
         completions default alt-default (start-point (point)) str i bol eol)
       (save-excursion
         ;; Store end and beginning of line.
 -       (end-of-line)
 -       (setq eol (point))
 -       (beginning-of-line)
 -       (setq bol (point))
 -
 +       (setq eol (line-end-position)
 +             bol (line-beginning-position))
         (goto-char (point-min))
         (while (re-search-forward "\\*note[ \n\t]+\\([^:]*\\):" nil t)
         (setq str (match-string-no-properties 1))
@@@ -2836,9 -2810,12 +2836,9 @@@ parent node.
         (virtual-end
          (and Info-scroll-prefer-subnodes
               (save-excursion
 -               (beginning-of-line)
 -               (setq current-point (point))
 +               (setq current-point (line-beginning-position))
                 (goto-char (point-min))
 -               (search-forward "\n* Menu:"
 -                               current-point
 -                               t)))))
 +               (search-forward "\n* Menu:" current-point t)))))
      (if (or virtual-end
            (pos-visible-in-window-p (point-min) nil t))
        (Info-last-preorder)
@@@ -3127,7 -3104,6 +3127,7 @@@ Give an empty topic name to go to the I
  (add-to-list 'Info-virtual-nodes
             '("\\`\\*Index.*\\*\\'"
               (find-node . Info-virtual-index-find-node)
 +             (slow . t)
               ))
  
  (defvar Info-virtual-index-nodes nil
@@@ -3137,8 -3113,8 +3137,8 @@@ FILENAME is the file name of the manual
  TOPIC is the search string given as an argument to `Info-virtual-index',
  MATCHES is a list of index matches found by `Info-index'.")
  
 -(defun Info-virtual-index-find-node (filename nodename &optional no-going-back)
 -  "Index-specific implementation of Info-find-node-2."
 +(defun Info-virtual-index-find-node (filename nodename &optional _no-going-back)
 +  "Index-specific implementation of `Info-find-node-2'."
    ;; Generate Index-like menu of matches
    (if (string-match "^\\*Index for `\\(.+\\)'\\*$" nodename)
        ;; Generate Index-like menu of matches
@@@ -3200,7 -3176,8 +3200,7 @@@ search results.
        (Info-find-node Info-current-file "*Index*")
      (unless (assoc (cons Info-current-file topic) Info-virtual-index-nodes)
        (let ((orignode Info-current-node)
 -          (ohist-list Info-history-list)
 -          nodename)
 +          (ohist-list Info-history-list))
        ;; Reuse `Info-index' to set `Info-index-alternatives'.
        (Info-index topic)
        (push (cons (cons Info-current-file topic) Info-index-alternatives)
               (toc-nodes . Info-apropos-toc-nodes)
               (find-file . Info-apropos-find-file)
               (find-node . Info-apropos-find-node)
 +             (slow . t)
               ))
  
  (defvar Info-apropos-file "*Apropos*"
@@@ -3230,18 -3206,18 +3230,18 @@@ STRING is the search string given as a
  MATCHES is a list of index matches found by `Info-apropos-matches'.")
  
  (defun Info-apropos-toc-nodes (filename)
 -  "Apropos-specific implementation of Info-apropos-toc-nodes."
 +  "Apropos-specific implementation of `Info-toc-nodes'."
    (let ((nodes (mapcar 'car (reverse Info-apropos-nodes))))
      `(,filename
        ("Top" nil nil ,nodes)
        ,@(mapcar (lambda (node) `(,node "Top" nil nil)) nodes))))
  
 -(defun Info-apropos-find-file (filename &optional noerror)
 -  "Apropos-specific implementation of Info-find-file."
 +(defun Info-apropos-find-file (filename &optional _noerror)
 +  "Apropos-specific implementation of `Info-find-file'."
    filename)
  
 -(defun Info-apropos-find-node (filename nodename &optional no-going-back)
 -  "Apropos-specific implementation of Info-find-node-2."
 +(defun Info-apropos-find-node (_filename nodename &optional _no-going-back)
 +  "Apropos-specific implementation of `Info-find-node-2'."
    (if (equal nodename "Top")
        ;; Generate Top menu
        (let ((nodes (reverse Info-apropos-nodes)))
    "Collect STRING matches from all known Info files on your system.
  Return a list of matches where each element is in the format
  \((FILENAME INDEXTEXT NODENAME LINENUMBER))."
 -  (interactive "sIndex apropos: ")
    (unless (string= string "")
      (let ((pattern (format "\n\\* +\\([^\n]*%s[^\n]*\\):[ \t]+\\([^\n]+\\)\\.\\(?:[ \t\n]*(line +\\([0-9]+\\))\\)?"
                           (regexp-quote string)))
@@@ -3359,20 -3336,17 +3359,20 @@@ Build a menu of the possible matches.
  (defvar Info-finder-file "*Finder*"
    "Info file name of the virtual Info keyword finder manual.")
  
 -(defun Info-finder-find-file (filename &optional noerror)
 -  "Finder-specific implementation of Info-find-file."
 +(defun Info-finder-find-file (filename &optional _noerror)
 +  "Finder-specific implementation of `Info-find-file'."
    filename)
  
  (defvar finder-known-keywords)
 -(defvar finder-package-info)
  (declare-function find-library-name "find-func" (library))
 +(declare-function finder-unknown-keywords "finder" ())
  (declare-function lm-commentary "lisp-mnt" (&optional file))
 +(defvar finder-keywords-hash)
 +(defvar package-alist)                  ; finder requires package
  
 -(defun Info-finder-find-node (filename nodename &optional no-going-back)
 -  "Finder-specific implementation of Info-find-node-2."
 +(defun Info-finder-find-node (_filename nodename &optional _no-going-back)
 +  "Finder-specific implementation of `Info-find-node-2'."
 +  (require 'finder)
    (cond
     ((equal nodename "Top")
      ;; Display Top menu with descriptions of the keywords
      (insert "Finder Keywords\n")
      (insert "***************\n\n")
      (insert "* Menu:\n\n")
 +    (dolist (assoc (append '((all . "All package info")
 +                           (unknown . "unknown keywords"))
 +                         finder-known-keywords))
 +      (let ((keyword (car assoc)))
 +      (insert (format "* %s %s.\n"
 +                      (concat (symbol-name keyword) ": "
 +                              "kw:" (symbol-name keyword) ".")
 +                      (cdr assoc))))))
 +   ((equal nodename "unknown")
 +    ;; Display unknown keywords
 +    (insert (format "\n\^_\nFile: %s,  Node: %s,  Up: Top\n\n"
 +                  Info-finder-file nodename))
 +    (insert "Finder Unknown Keywords\n")
 +    (insert "***********************\n\n")
 +    (insert "* Menu:\n\n")
      (mapc
       (lambda (assoc)
 -       (let ((keyword (car assoc)))
 -       (insert (format "* %-14s %s.\n"
 -                       (concat (symbol-name keyword) "::")
 -                       (cdr assoc)))))
 -     finder-known-keywords))
 -   ((string-match-p "\\.el\\'" nodename)
 +       (insert (format "* %-14s %s.\n"
 +                     (concat (symbol-name (car assoc)) "::")
 +                     (cdr assoc))))
 +     (finder-unknown-keywords)))
 +   ((equal nodename "all")
 +    ;; Display all package info.
 +    (insert (format "\n\^_\nFile: %s,  Node: %s,  Up: Top\n\n"
 +                  Info-finder-file nodename))
 +    (insert "Finder Package Info\n")
 +    (insert "*******************\n\n")
 +    (dolist (package package-alist)
 +      (insert (format "%s - %s\n"
 +                    (format "*Note %s::" (nth 0 package))
 +                    (nth 1 package)))))
 +   ((string-match "\\`kw:" nodename)
 +    (setq nodename (substring nodename (match-end 0)))
 +    ;; Display packages that match the keyword
 +    ;; or the list of keywords separated by comma.
 +    (insert (format "\n\^_\nFile: %s,  Node: kw:%s,  Up: Top\n\n"
 +                  Info-finder-file nodename))
 +    (insert "Finder Packages\n")
 +    (insert "***************\n\n")
 +    (insert
 +     "The following packages match the keyword `" nodename "':\n\n")
 +    (insert "* Menu:\n\n")
 +    (let ((keywords
 +         (mapcar 'intern (if (string-match-p "," nodename)
 +                             (split-string nodename ",[ \t\n]*" t)
 +                           (list nodename))))
 +        hits desc)
 +      (dolist (kw keywords)
 +      (push (copy-tree (gethash kw finder-keywords-hash)) hits))
 +      (setq hits (delete-dups (apply 'append hits)))
 +      (dolist (package hits)
 +      (setq desc (cdr-safe (assq package package-alist)))
 +      (when (vectorp desc)
 +        (insert (format "* %-16s %s.\n"
 +                        (concat (symbol-name package) "::")
 +                        (aref desc 2)))))))
 +   (t
      ;; Display commentary section
      (insert (format "\n\^_\nFile: %s,  Node: %s,  Up: Top\n\n"
                    Info-finder-file nodename))
           (goto-char (point-min))
           (while (re-search-forward "^;+ ?" nil t)
             (replace-match "" nil nil))
 -         (buffer-string))))))
 -   (t
 -    ;; Display packages that match the keyword
 -    (insert (format "\n\^_\nFile: %s,  Node: %s,  Up: Top\n\n"
 -                  Info-finder-file nodename))
 -    (insert "Finder Packages\n")
 -    (insert "***************\n\n")
 -    (insert
 -     "The following packages match the keyword `" nodename "':\n\n")
 -    (insert "* Menu:\n\n")
 -    (let ((id (intern nodename)))
 -      (mapc
 -       (lambda (x)
 -       (when (memq id (cadr (cdr x)))
 -         (insert (format "* %-16s %s.\n"
 -                         (concat (car x) "::")
 -                         (cadr x)))))
 -       finder-package-info)))))
 +         (buffer-string))))))))
  
  ;;;###autoload
 -(defun info-finder ()
 -  "Display descriptions of the keywords in the Finder virtual manual."
 -  (interactive)
 +(defun info-finder (&optional keywords)
 +  "Display descriptions of the keywords in the Finder virtual manual.
 +In interactive use, a prefix argument directs this command to read
 +a list of keywords separated by comma.  After that, it displays a node
 +with a list of packages that contain all specified keywords."
 +  (interactive
 +   (when current-prefix-arg
 +     (require 'finder)
 +     (list
 +      (completing-read-multiple
 +       "Keywords (separated by comma): "
 +       (mapcar 'symbol-name (mapcar 'car (append finder-known-keywords
 +                                               (finder-unknown-keywords))))
 +       nil t))))
    (require 'finder)
 -  (Info-find-node Info-finder-file "Top"))
 +  (if keywords
 +      (Info-find-node Info-finder-file (mapconcat 'identity keywords ", "))
 +    (Info-find-node Info-finder-file "Top")))
 +
  \f
  (defun Info-undefined ()
    "Make command be undefined in Info."
  \f
  (defun Info-get-token (pos start all &optional errorstring)
    "Return the token around POS.
 -POS must be somewhere inside the token
 +POS must be somewhere inside the token.
  START is a regular expression which will match the
 -    beginning of the tokens delimited string
 +    beginning of the tokens delimited string.
  ALL is a regular expression with a single
      parenthesized subpattern which is the token to be
      returned.  E.g. '{\(.*\)}' would return any string
      enclosed in braces around POS.
 -ERRORSTRING optional fourth argument, controls action on no match
 +ERRORSTRING optional fourth argument, controls action on no match:
      nil: return nil
      t: beep
      a string: signal an error, using that string."
@@@ -3757,31 -3685,19 +3757,31 @@@ If FORK is non-nil, it is passed to `In
  (defvar info-tool-bar-map
    (let ((map (make-sparse-keymap)))
      (tool-bar-local-item-from-menu 'Info-history-back "left-arrow" map Info-mode-map
 -                                 :rtl "right-arrow")
 +                                 :rtl "right-arrow"
 +                                 :label "Back"
 +                                 :vert-only t)
      (tool-bar-local-item-from-menu 'Info-history-forward "right-arrow" map Info-mode-map
 -                                 :rtl "left-arrow")
 +                                 :rtl "left-arrow"
 +                                 :label "Forward"
 +                                 :vert-only t)
 +    (define-key-after map [separator-1] menu-bar-separator)
      (tool-bar-local-item-from-menu 'Info-prev "prev-node" map Info-mode-map
                                   :rtl "next-node")
      (tool-bar-local-item-from-menu 'Info-next "next-node" map Info-mode-map
                                   :rtl "prev-node")
 -    (tool-bar-local-item-from-menu 'Info-up "up-node" map Info-mode-map)
 -    (tool-bar-local-item-from-menu 'Info-top-node "home" map Info-mode-map)
 +    (tool-bar-local-item-from-menu 'Info-up "up-node" map Info-mode-map
 +                                 :vert-only t)
 +    (define-key-after map [separator-2] menu-bar-separator)
 +    (tool-bar-local-item-from-menu 'Info-top-node "home" map Info-mode-map
 +                                 :vert-only t)
      (tool-bar-local-item-from-menu 'Info-goto-node "jump-to" map Info-mode-map)
 -    (tool-bar-local-item-from-menu 'Info-index "index" map Info-mode-map)
 -    (tool-bar-local-item-from-menu 'Info-search "search" map Info-mode-map)
 -    (tool-bar-local-item-from-menu 'Info-exit "exit" map Info-mode-map)
 +    (define-key-after map [separator-3] menu-bar-separator)
 +    (tool-bar-local-item-from-menu 'Info-index "index" map Info-mode-map
 +                                 :label "Index")
 +    (tool-bar-local-item-from-menu 'Info-search "search" map Info-mode-map
 +                                 :vert-only t)
 +    (tool-bar-local-item-from-menu 'Info-exit "exit" map Info-mode-map
 +                                 :vert-only t)
      map))
  
  (defvar Info-menu-last-node nil)
@@@ -3879,7 -3795,7 +3879,7 @@@ With a zero prefix arg, put the name in
  
  ;; Autoload cookie needed by desktop.el
  ;;;###autoload
 -(defun Info-mode ()
 +(define-derived-mode Info-mode nil "Info"
    "Info mode provides commands for browsing through the Info documentation tree.
  Documentation in Info is divided into \"nodes\", each of which discusses
  one topic and contains references to other nodes which discuss related
@@@ -3941,17 -3857,23 +3941,17 @@@ Advanced commands
  \\[clone-buffer]      Select a new cloned Info buffer in another window.
  \\[universal-argument] \\[info]       Move to new Info file with completion.
  \\[universal-argument] N \\[info]     Select Info buffer with prefix number in the name *info*<N>."
 -  (kill-all-local-variables)
 -  (setq major-mode 'Info-mode)
 -  (setq mode-name "Info")
 +  :syntax-table text-mode-syntax-table
 +  :abbrev-table text-mode-abbrev-table
    (setq tab-width 8)
 -  (use-local-map Info-mode-map)
    (add-hook 'activate-menubar-hook 'Info-menu-update nil t)
 -  (set-syntax-table text-mode-syntax-table)
 -  (setq local-abbrev-table text-mode-abbrev-table)
    (setq case-fold-search t)
    (setq buffer-read-only t)
    (make-local-variable 'Info-current-file)
    (make-local-variable 'Info-current-subfile)
    (make-local-variable 'Info-current-node)
 -  (make-local-variable 'Info-tag-table-marker)
 -  (setq Info-tag-table-marker (make-marker))
 -  (make-local-variable 'Info-tag-table-buffer)
 -  (setq Info-tag-table-buffer nil)
 +  (set (make-local-variable 'Info-tag-table-marker) (make-marker))
 +  (set (make-local-variable 'Info-tag-table-buffer) nil)
    (make-local-variable 'Info-history)
    (make-local-variable 'Info-history-forward)
    (make-local-variable 'Info-index-alternatives)
            '(:eval (get-text-property (point-min) 'header-line))))
    (set (make-local-variable 'tool-bar-map) info-tool-bar-map)
    ;; This is for the sake of the invisible text we use handling titles.
 -  (make-local-variable 'line-move-ignore-invisible)
 -  (setq line-move-ignore-invisible t)
 -  (make-local-variable 'desktop-save-buffer)
 -  (make-local-variable 'widen-automatically)
 -  (setq widen-automatically nil)
 -  (setq desktop-save-buffer 'Info-desktop-buffer-misc-data)
 +  (set (make-local-variable 'line-move-ignore-invisible) t)
 +  (set (make-local-variable 'desktop-save-buffer)
 +       'Info-desktop-buffer-misc-data)
 +  (set (make-local-variable 'widen-automatically) nil)
    (add-hook 'kill-buffer-hook 'Info-kill-buffer nil t)
    (add-hook 'clone-buffer-hook 'Info-clone-buffer nil t)
    (add-hook 'change-major-mode-hook 'font-lock-defontify nil t)
         'Info-revert-buffer-function)
    (Info-set-mode-line)
    (set (make-local-variable 'bookmark-make-record-function)
 -       'Info-bookmark-make-record)
 -  (run-mode-hooks 'Info-mode-hook))
 +       'Info-bookmark-make-record))
  
  ;; When an Info buffer is killed, make sure the associated tags buffer
  ;; is killed too.
@@@ -4086,7 -4011,7 +4086,7 @@@ The `info-file' property of COMMAND say
  If COMMAND has no property, the variable `Info-file-list-for-emacs'
  defines heuristics for which Info manual to try.
  The locations are of the format used in `Info-history', i.e.
 -\(FILENAME NODENAME BUFFERPOS\), where BUFFERPOS is the line number
 +\(FILENAME NODENAME BUFFERPOS), where BUFFERPOS is the line number
  in the first element of the returned list (which is treated specially in
  `Info-goto-emacs-command-node'), and 0 for the rest elements of a list."
    (let ((where '()) line-number
@@@ -4671,7 -4596,7 +4671,7 @@@ the variable `Info-file-list-for-emacs'
  (eval-when-compile (require 'speedbar))
  
  (defvar Info-speedbar-key-map nil
 -  "Keymap used when in the info display mode.")
 +  "Keymap used when in the Info display mode.")
  
  (defun Info-install-speedbar-variables ()
    "Install those variables used by speedbar to enhance Info."
@@@ -4719,7 -4644,7 +4719,7 @@@ This will add a speedbar major display 
    (speedbar-change-initial-expansion-list "Info")
    )
  
 -(defun Info-speedbar-hierarchy-buttons (directory depth &optional node)
 +(defun Info-speedbar-hierarchy-buttons (_directory depth &optional node)
    "Display an Info directory hierarchy in speedbar.
  DIRECTORY is the current directory in the attached frame.
  DEPTH is the current indentation depth.
@@@ -4753,7 -4678,7 +4753,7 @@@ specific node to expand.
           t)
        nil))))
  
 -(defun Info-speedbar-goto-node (text node indent)
 +(defun Info-speedbar-goto-node (_text node _indent)
    "When user clicks on TEXT, go to an info NODE.
  The INDENT level is ignored."
    (speedbar-select-attached-frame)
@@@ -4832,7 -4757,7 +4832,7 @@@ NODESPEC is a string of the form: (file
  
  ;;; Info mode node listing
  ;; This is called by `speedbar-add-localized-speedbar-support'
 -(defun Info-speedbar-buttons (buffer)
 +(defun Info-speedbar-buttons (_buffer)
    "Create a speedbar display to help navigation in an Info file.
  BUFFER is the buffer speedbar is requesting buttons for."
    (if (save-excursion (goto-char (point-min))
  
  ;;;;  Desktop support
  
 -(defun Info-desktop-buffer-misc-data (desktop-dirname)
 +(defun Info-desktop-buffer-misc-data (_desktop-dirname)
    "Auxiliary information to be saved in desktop file."
 -  (unless (Info-virtual-file-p Info-current-file)
 -    (list Info-current-file Info-current-node)))
 -
 -(defun Info-restore-desktop-buffer (desktop-buffer-file-name
 +  (list Info-current-file
 +      Info-current-node
 +      ;; Additional data as an association list.
 +      (delq nil (list
 +                 (and Info-history
 +                      (cons 'history Info-history))
 +                 (and (Info-virtual-fun
 +                       'slow Info-current-file Info-current-node)
 +                      (cons 'slow t))))))
 +
 +(defun Info-restore-desktop-buffer (_desktop-buffer-file-name
                                      desktop-buffer-name
                                      desktop-buffer-misc)
    "Restore an Info buffer specified in a desktop file."
 -  (let ((first (nth 0 desktop-buffer-misc))
 -        (second (nth 1 desktop-buffer-misc)))
 -  (when (and first second)
 -    (when desktop-buffer-name
 -      (set-buffer (get-buffer-create desktop-buffer-name))
 -      (Info-mode))
 -    (Info-find-node first second)
 -    (current-buffer))))
 +  (let* ((file (nth 0 desktop-buffer-misc))
 +       (node (nth 1 desktop-buffer-misc))
 +       (data (nth 2 desktop-buffer-misc))
 +       (hist (assq 'history data))
 +       (slow (assq 'slow data)))
 +    ;; Don't restore nodes slow to regenerate.
 +    (unless slow
 +      (when (and file node)
 +      (when desktop-buffer-name
 +        (set-buffer (get-buffer-create desktop-buffer-name))
 +        (Info-mode))
 +      (Info-find-node file node)
 +      (when hist
 +        (setq Info-history (cdr hist)))
 +      (current-buffer)))))
  
  (add-to-list 'desktop-buffer-mode-handlers
             '(Info-mode . Info-restore-desktop-buffer))
  
  ;;;; Bookmark support
 -(declare-function bookmark-make-record-default "bookmark" (&optional pos-only))
 +(declare-function bookmark-make-record-default
 +                  "bookmark" (&optional no-file no-context posn))
  (declare-function bookmark-prop-get "bookmark" (bookmark prop))
  (declare-function bookmark-default-handler "bookmark" (bmk))
  (declare-function bookmark-get-bookmark-record "bookmark" (bmk))
    "This implements the `bookmark-make-record-function' type (which see)
  for Info nodes."
    `(,Info-current-node
 -    ,@(bookmark-make-record-default 'point-only)
 +    ,@(bookmark-make-record-default 'no-file)
      (filename . ,Info-current-file)
      (info-node . ,Info-current-node)
      (handler . Info-bookmark-jump)))
@@@ -4927,27 -4837,7 +4927,27 @@@ type returned by `Info-bookmark-make-re
      (bookmark-default-handler
       `("" (buffer . ,buf) . ,(bookmark-get-bookmark-record bmk)))))
  
 +\f
 +;;;###autoload
 +(defun info-display-manual (manual)
 +  "Go to Info buffer that displays MANUAL, creating it if none already exists."
 +  (interactive "sManual name: ")
 +  (let ((blist (buffer-list))
 +      (manual-re (concat "\\(/\\|\\`\\)" manual "\\(\\.\\|\\'\\)"))
 +      (case-fold-search t)
 +      found)
 +    (dolist (buffer blist)
 +      (with-current-buffer buffer
 +      (when (and (eq major-mode 'Info-mode)
 +                 (stringp Info-current-file)
 +                 (string-match manual-re Info-current-file))
 +        (setq found buffer
 +              blist nil))))
 +    (if found
 +      (pop-to-buffer found)
 +      (info-initialize)
 +      (info (Info-find-file manual)))))
 +
  (provide 'info)
  
 -;; arch-tag: f2480fe2-2139-40c1-a49b-6314991164ac
  ;;; info.el ends here
diff --combined lisp/progmodes/gud.el
index 259ee81c9baab91272ca1e341160c2454b8629e7,9db36f7727db1e68c4ead1d68b969da2bb11bbe3..a54d1438368c82acbd6e0b9fee0ee39404146230
@@@ -1,6 -1,7 +1,6 @@@
  ;;; gud.el --- Grand Unified Debugger mode for running GDB and other debuggers
  
 -;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 2000, 2001, 2002, 2003,
 -;;  2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
 +;; Copyright (C) 1992-1996, 1998, 2000-2011 Free Software Foundation, Inc.
  
  ;; Author: Eric S. Raymond <esr@snark.thyrsus.com>
  ;; Maintainer: FSF
  (require 'comint)
  
  (defvar gdb-active-process)
 -(defvar gdb-recording)
  (defvar gdb-define-alist)
  (defvar gdb-macro-info)
 -(defvar gdb-server-prefix)
  (defvar gdb-show-changed-values)
  (defvar gdb-source-window)
  (defvar gdb-var-list)
@@@ -116,59 -119,84 +116,59 @@@ Used to grey out relevant toolbar icons
        (display-buffer-reuse-frames t))
      (catch 'info-found
        (walk-windows
 -       '(lambda (window)
 -        (if (eq (window-buffer window) (get-buffer "*info*"))
 -            (progn
 -              (setq same-window-regexps nil)
 -              (throw 'info-found nil))))
 +       (lambda (window)
 +         (if (eq (window-buffer window) (get-buffer "*info*"))
 +             (progn
 +               (setq same-window-regexps nil)
 +               (throw 'info-found nil))))
         nil 0)
        (select-frame (make-frame)))
 -    (if (memq gud-minor-mode '(gdbmi gdba))
 +    (if (eq gud-minor-mode 'gdbmi)
        (info "(emacs)GDB Graphical Interface")
        (info "(emacs)Debuggers"))))
  
  (defun gud-tool-bar-item-visible-no-fringe ()
    (not (or (eq (buffer-local-value 'major-mode (window-buffer)) 'speedbar-mode)
 -         (and (memq gud-minor-mode '(gdbmi gdba))
 +         (eq (buffer-local-value 'major-mode (window-buffer)) 'gdb-memory-mode)
 +         (and (eq gud-minor-mode 'gdbmi)
                (> (car (window-fringes)) 0)))))
  
 +(declare-function gdb-gud-context-command "gdb-mi.el")
 +
  (defun gud-stop-subjob ()
    (interactive)
    (with-current-buffer gud-comint-buffer
 -    (if (string-equal gud-target-name "emacs")
 -      (comint-stop-subjob)
 -      (if (eq gud-minor-mode 'jdb)
 -        (gud-call "suspend")
 -      (comint-interrupt-subjob)))))
 +    (cond ((string-equal gud-target-name "emacs")
 +           (comint-stop-subjob))
 +          ((eq gud-minor-mode 'jdb)
 +           (gud-call "suspend"))
 +          ((eq gud-minor-mode 'gdbmi)
 +           (gud-call (gdb-gud-context-command "-exec-interrupt")))
 +          (t
 +           (comint-interrupt-subjob)))))
  
  (easy-mmode-defmap gud-menu-map
    '(([help]     "Info (debugger)" . gud-goto-info)
 -    ([rfinish]        menu-item "Reverse Finish Function" gud-rfinish
 -                  :enable (not gud-running)
 -                :visible (and gdb-recording
 -                              (eq gud-minor-mode 'gdba)))
 -    ([rstepi] menu-item "Reverse Step Instruction" gud-rstepi
 -                  :enable (not gud-running)
 -                :visible (and gdb-recording
 -                              (eq gud-minor-mode 'gdba)))
 -    ([rnexti] menu-item "Reverse Next Instruction" gud-rnexti
 -                  :enable (not gud-running)
 -                :visible (and gdb-recording
 -                              (eq gud-minor-mode 'gdba)))
 -    ([rstep]  menu-item "Reverse Step Line" gud-rstep
 -                  :enable (not gud-running)
 -                :visible (and gdb-recording
 -                              (eq gud-minor-mode 'gdba)))
 -    ([rnext]  menu-item "Reverse Next Line" gud-rnext
 -                  :enable (not gud-running)
 -                :visible (and gdb-recording
 -                              (eq gud-minor-mode 'gdba)))
 -    ([rcont]  menu-item "Reverse Continue" gud-rcont
 -                  :enable (not gud-running)
 -                :visible (and gdb-recording
 -                              (eq gud-minor-mode 'gdba)))
 -    ([recstart] menu-item "Start Recording" gdb-toggle-recording-1
 -                :visible (and (not gdb-recording)
 -                              (eq gud-minor-mode 'gdba)))
 -    ([recstop] menu-item "Stop Recording" gdb-toggle-recording
 -                :visible (and gdb-recording
 -                              (eq gud-minor-mode 'gdba)))
      ([tooltips] menu-item "Show GUD tooltips" gud-tooltip-mode
                    :enable (and (not emacs-basic-display)
                               (display-graphic-p)
                               (fboundp 'x-show-tip))
                  :visible (memq gud-minor-mode
 -                              '(gdbmi gdba dbx sdb xdb pdb))
 +                              '(gdbmi dbx sdb xdb pdb))
                  :button (:toggle . gud-tooltip-mode))
      ([refresh]        "Refresh" . gud-refresh)
      ([run]    menu-item "Run" gud-run
                    :enable (not gud-running)
                  :visible (memq gud-minor-mode '(gdbmi gdb dbx jdb)))
      ([go]     menu-item (if gdb-active-process "Continue" "Run") gud-go
 -                :visible (and (not gud-running)
 -                              (eq gud-minor-mode 'gdba)))
 +                :visible (and (eq gud-minor-mode 'gdbmi)
 +                                (gdb-show-run-p)))
      ([stop]   menu-item "Stop" gud-stop-subjob
 -                :visible (or (not (memq gud-minor-mode '(gdba pdb)))
 -                             (and gud-running
 -                                  (eq gud-minor-mode 'gdba))))
 +                :visible (or (not (memq gud-minor-mode '(gdbmi pdb)))
 +                             (gdb-show-stop-p)))
      ([until]  menu-item "Continue to selection" gud-until
                    :enable (not gud-running)
 -                :visible (and (memq gud-minor-mode '(gdbmi gdba gdb perldb))
 +                :visible (and (memq gud-minor-mode '(gdbmi gdb perldb))
                                (gud-tool-bar-item-visible-no-fringe)))
      ([remove] menu-item "Remove Breakpoint" gud-remove
                    :enable (not gud-running)
      ([tbreak] menu-item "Temporary Breakpoint" gud-tbreak
                    :enable (not gud-running)
                  :visible (memq gud-minor-mode
 -                              '(gdbmi gdba gdb sdb xdb)))
 +                              '(gdbmi gdb sdb xdb)))
      ([break]  menu-item "Set Breakpoint" gud-break
                    :enable (not gud-running)
                  :visible (gud-tool-bar-item-visible-no-fringe))
      ([up]     menu-item "Up Stack" gud-up
                  :enable (not gud-running)
                  :visible (memq gud-minor-mode
 -                               '(gdbmi gdba gdb dbx xdb jdb pdb)))
 +                               '(gdbmi gdb dbx xdb jdb pdb)))
      ([down]   menu-item "Down Stack" gud-down
                  :enable (not gud-running)
                  :visible (memq gud-minor-mode
 -                               '(gdbmi gdba gdb dbx xdb jdb pdb)))
 +                               '(gdbmi gdb dbx xdb jdb pdb)))
      ([pp]     menu-item "Print S-expression" gud-pp
                    :enable (and (not gud-running)
                                  gdb-active-process)
                  :visible (and (string-equal
                                 (buffer-local-value
                                  'gud-target-name gud-comint-buffer) "emacs")
 -                              (eq gud-minor-mode 'gdba)))
 -    ([print*] menu-item "Print Dereference" gud-pstar
 +                              (eq gud-minor-mode 'gdbmi)))
 +    ([print*] menu-item (if (eq gud-minor-mode 'jdb)
 +                            "Dump object"
 +                          "Print Dereference") gud-pstar
                    :enable (not gud-running)
 -                :visible (memq gud-minor-mode '(gdbmi gdba gdb)))
 +                :visible (memq gud-minor-mode '(gdbmi gdb jdb)))
      ([print]  menu-item "Print Expression" gud-print
                    :enable (not gud-running))
      ([watch]  menu-item "Watch Expression" gud-watch
                  :enable (not gud-running)
 -                :visible (memq gud-minor-mode '(gdbmi gdba)))
 +                :visible (eq gud-minor-mode 'gdbmi))
      ([finish] menu-item "Finish Function" gud-finish
                    :enable (not gud-running)
                  :visible (memq gud-minor-mode
 -                               '(gdbmi gdba gdb xdb jdb pdb)))
 +                               '(gdbmi gdb xdb jdb pdb)))
      ([stepi]  menu-item "Step Instruction" gud-stepi
                    :enable (not gud-running)
 -                :visible (memq gud-minor-mode '(gdbmi gdba gdb dbx)))
 +                :visible (memq gud-minor-mode '(gdbmi gdb dbx)))
      ([nexti]  menu-item "Next Instruction" gud-nexti
                    :enable (not gud-running)
 -                :visible (memq gud-minor-mode '(gdbmi gdba gdb dbx)))
 +                :visible (memq gud-minor-mode '(gdbmi gdb dbx)))
      ([step]   menu-item "Step Line" gud-step
                    :enable (not gud-running))
      ([next]   menu-item "Next Line" gud-next
                    :enable (not gud-running))
      ([cont]   menu-item "Continue" gud-cont
                    :enable (not gud-running)
 -                :visible (not (eq gud-minor-mode 'gdba))))
 +                :visible (not (eq gud-minor-mode 'gdbmi))))
    "Menu for `gud-mode'."
    :name "Gud")
  
        . (,(propertize "next" 'face 'font-lock-doc-face) . gud-next))
         ([menu-bar until] menu-item
        ,(propertize "until" 'face 'font-lock-doc-face) gud-until
 -                :visible (memq gud-minor-mode '(gdbmi gdba gdb perldb)))
 +                :visible (memq gud-minor-mode '(gdbmi gdb perldb)))
         ([menu-bar cont] menu-item
        ,(propertize "cont" 'face 'font-lock-doc-face) gud-cont
 -      :visible (not (eq gud-minor-mode 'gdba)))
 +      :visible (not (eq gud-minor-mode 'gdbmi)))
         ([menu-bar run] menu-item
        ,(propertize "run" 'face 'font-lock-doc-face) gud-run
        :visible (memq gud-minor-mode '(gdbmi gdb dbx jdb)))
         ([menu-bar go] menu-item
        ,(propertize " go " 'face 'font-lock-doc-face) gud-go
 -      :visible (and (not gud-running)
 -                    (eq gud-minor-mode 'gdba)))
 +      :visible (and (eq gud-minor-mode 'gdbmi)
 +                      (gdb-show-run-p)))
         ([menu-bar stop] menu-item
        ,(propertize "stop" 'face 'font-lock-doc-face) gud-stop-subjob
 -      :visible (and gud-running
 -                   (eq gud-minor-mode 'gdba)))
 +      :visible (or (and (eq gud-minor-mode 'gdbmi)
 +                          (gdb-show-stop-p))
 +                   (not (eq gud-minor-mode 'gdbmi))))
         ([menu-bar print]
        . (,(propertize "print" 'face 'font-lock-doc-face) . gud-print))
         ([menu-bar tools] . undefined)
                 (gud-stepi . "gud/stepi")
                 (gud-up . "gud/up")
                 (gud-down . "gud/down")
 -               (gdb-toggle-recording-1 . "gud/recstart")
 -               (gdb-toggle-recording . "gud/recstop")
 -               (gud-rcont . "gud/rcont")
 -               (gud-rnext . "gud/rnext")
 -               (gud-rstep . "gud/rstep")
 -               (gud-rfinish . "gud/rfinish")
 -               (gud-rnexti . "gud/rnexti")
 -               (gud-rstepi . "gud/rstepi")
                 (gud-goto-info . "info"))
               map)
        (tool-bar-local-item-from-menu
@@@ -321,7 -354,7 +321,7 @@@ Uses `gud-<MINOR-MODE>-directories' to 
        (setq directories (cdr directories)))
        result)))
  
 -(declare-function gdb-create-define-alist "gdb-ui" ())
 +(declare-function gdb-create-define-alist "gdb-mi" ())
  
  (defun gud-find-file (file)
    ;; Don't get confused by double slashes in the name that comes from GDB.
        (set (make-local-variable 'gud-minor-mode) minor-mode)
        (set (make-local-variable 'tool-bar-map) gud-tool-bar-map)
        (when (and gud-tooltip-mode
 -                 (memq gud-minor-mode '(gdbmi gdba)))
 +                 (eq gud-minor-mode 'gdbmi))
          (make-local-variable 'gdb-define-alist)
          (unless  gdb-define-alist (gdb-create-define-alist))
          (add-hook 'after-save-hook 'gdb-create-define-alist nil t))
@@@ -379,13 -412,13 +379,13 @@@ step (if we're in the GUD buffer)
  source file) or the source line number at the last break or step (if
  we're in the GUD buffer)."
    `(progn
 -     (defun ,func (arg)
 +     (defalias ',func (lambda (arg)
         ,@(if doc (list doc))
         (interactive "p")
         (if (not gud-running)
         ,(if (stringp cmd)
              `(gud-call ,cmd arg)
 -          cmd)))
 +          cmd))))
       ,(if key `(local-set-key ,(concat "\C-c" key) ',func))
       ,(if key `(global-set-key (vconcat gud-key-prefix ,key) ',func))))
  
@@@ -466,21 -499,21 +466,21 @@@ The value t means that there is no stac
  
  (defvar gud-speedbar-menu-items
    '(["Jump to stack frame" speedbar-edit-line
 -     :visible (not (memq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
 -                  '(gdbmi gdba)))]
 +     :visible (not (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
 +                  'gdbmi))]
      ["Edit value" speedbar-edit-line
 -     :visible (memq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
 -                  '(gdbmi gdba))]
 +     :visible (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
 +                  'gdbmi)]
      ["Delete expression" gdb-var-delete
 -     :visible (memq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
 -                  '(gdbmi gdba))]
 +     :visible (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
 +                  'gdbmi)]
      ["Auto raise frame" gdb-speedbar-auto-raise
       :style toggle :selected gdb-speedbar-auto-raise
 -     :visible (memq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
 -                  '(gdbmi gdba))]
 +     :visible (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
 +                  'gdbmi)]
      ("Output Format"
 -     :visible (memq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
 -                  '(gdbmi gdba))
 +     :visible (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
 +                  'gdbmi)
       ["Binary" (gdb-var-set-format "binary") t]
       ["Natural" (gdb-var-set-format  "natural") t]
       ["Hexadecimal" (gdb-var-set-format "hexadecimal") t]))
      (gud-install-speedbar-variables)
    (add-hook 'speedbar-load-hook 'gud-install-speedbar-variables))
  
 -(defun gud-expansion-speedbar-buttons (directory zero)
 +(defun gud-expansion-speedbar-buttons (_directory _zero)
    "Wrapper for call to `speedbar-add-expansion-list'.
  DIRECTORY and ZERO are not used, but are required by the caller."
    (gud-speedbar-buttons gud-comint-buffer))
@@@ -509,7 -542,7 +509,7 @@@ required by the caller.
          (start (window-start window))
          (p (window-point window)))
        (cond
 -       ((memq minor-mode '(gdbmi gdba))
 +       ((eq minor-mode 'gdbmi)
        (erase-buffer)
        (insert "Watch Expressions:\n")
        (let ((var-list gdb-var-list) parent)
                 (car frame)
                 'speedbar-file-face
                 'speedbar-highlight-face
 -               (cond ((memq minor-mode '(gdbmi gdba gdb))
 +               (cond ((memq minor-mode '(gdbmi gdb))
                        'gud-gdb-goto-stackframe)
                       (t (error "Should never be here")))
                 frame t))))
@@@ -656,16 -689,20 +656,16 @@@ The option \"--fullname\" must be inclu
         ;; Set the accumulator to the remaining text.
         gud-marker-acc (substring gud-marker-acc (match-end 0))))
  
 -    ;; Check for annotations and change gud-minor-mode to 'gdba if
 -    ;; they are found.
      (while (string-match "\n\032\032\\(.*\\)\n" gud-marker-acc)
 -      (let ((match (match-string 1 gud-marker-acc)))
 -
 -      (setq
 -       ;; Append any text before the marker to the output we're going
 -       ;; to return - we don't include the marker in this text.
 -       output (concat output
 -                      (substring gud-marker-acc 0 (match-beginning 0)))
 +      (setq
 +       ;; Append any text before the marker to the output we're going
 +       ;; to return - we don't include the marker in this text.
 +       output (concat output
 +                    (substring gud-marker-acc 0 (match-beginning 0)))
  
 -       ;; Set the accumulator to the remaining text.
 +       ;; Set the accumulator to the remaining text.
  
 -       gud-marker-acc (substring gud-marker-acc (match-end 0)))))
 +       gud-marker-acc (substring gud-marker-acc (match-end 0))))
  
      ;; Does the remaining text look like it might end with the
      ;; beginning of another marker?  If it does, then keep it in
  (defvar gud-filter-pending-text nil
    "Non-nil means this is text that has been saved for later in `gud-filter'.")
  
 -;; If in gdba mode, gdb-ui is loaded.
 -(declare-function gdb-restore-windows "gdb-ui" ())
 +;; If in gdb mode, gdb-mi is loaded.
 +(declare-function gdb-restore-windows "gdb-mi" ())
  
 -;; The old gdb command (text command mode).  The new one is in gdb-ui.el.
 +;; The old gdb command (text command mode).  The new one is in gdb-mi.el.
  ;;;###autoload
  (defun gud-gdb (command-line)
    "Run gdb on program FILE in buffer *gud-FILE*.
@@@ -731,10 -768,10 +731,10 @@@ directory and source-file directory fo
    (when (and gud-comint-buffer
           (buffer-name gud-comint-buffer)
           (get-buffer-process gud-comint-buffer)
 -         (with-current-buffer gud-comint-buffer (eq gud-minor-mode 'gdba)))
 -      (gdb-restore-windows)
 -      (error
 -       "Multiple debugging requires restarting in text command mode"))
 +         (with-current-buffer gud-comint-buffer (eq gud-minor-mode 'gdbmi)))
 +    (gdb-restore-windows)
 +    (error
 +     "Multiple debugging requires restarting in text command mode"))
  
    (gud-common-init command-line nil 'gud-gdb-marker-filter)
    (set (make-local-variable 'gud-minor-mode) 'gdb)
    (gud-def gud-until  "until %l" "\C-u" "Continue to current line.")
    (gud-def gud-run    "run"    nil    "Run the program.")
  
 -  (local-set-key "\C-i" 'gud-gdb-complete-command)
 +  (add-hook 'completion-at-point-functions #'gud-gdb-completion-at-point
 +            nil 'local)
 +  (local-set-key "\C-i" 'completion-at-point)
    (setq comint-prompt-regexp "^(.*gdb[+]?) *")
    (setq paragraph-start comint-prompt-regexp)
    (setq gdb-first-prompt t)
  ;; The completion list is constructed by the process filter.
  (defvar gud-gdb-fetched-lines)
  
 -(defun gud-gdb-complete-command (&optional command a b)
 -  "Perform completion on the GDB command preceding point.
 -This is implemented using the GDB `complete' command which isn't
 -available with older versions of GDB."
 -  (interactive)
 -  (if command
 -      ;; Used by gud-watch in mini-buffer.
 -      (setq command (concat "p " command))
 -    ;; Used in GUD buffer.
 -    (let ((end (point)))
 -      (setq command (buffer-substring (comint-line-beginning-position) end))))
 -  (let* ((command-word
 -        ;; Find the word break.  This match will always succeed.
 -        (and (string-match "\\(\\`\\| \\)\\([^ ]*\\)\\'" command)
 -             (substring command (match-beginning 2))))
 -       (complete-list
 -        (gud-gdb-run-command-fetch-lines (concat "complete " command)
 +(defun gud-gdb-completions (context command)
 +  "Completion table for GDB commands.
 +COMMAND is the prefix for which we seek completion.
 +CONTEXT is the text before COMMAND on the line."
 +  (let* ((start (- (point) (field-beginning)))
 +         (complete-list
 +        (gud-gdb-run-command-fetch-lines (concat "complete " context command)
                                           (current-buffer)
                                           ;; From string-match above.
 -                                         (match-beginning 2))))
 +                                         (length context))))
 +    ;; `gud-gdb-run-command-fetch-lines' has some nasty side-effects on the
 +    ;; buffer (via `gud-delete-prompt-marker'): it removes the prompt and then
 +    ;; re-adds it later, thus messing up markers and overlays along the way.
 +    ;; This is a problem for completion-in-region which uses an overlay to
 +    ;; create a field.
 +    ;; So we restore completion-in-region's field if needed.
 +    ;; FIXME: change gud-gdb-run-command-fetch-lines so it doesn't modify the
 +    ;; buffer at all.
 +    (when (/= start (- (point) (field-beginning)))
 +      (dolist (ol (overlays-at (1- (point))))
 +        (when (eq (overlay-get ol 'field) 'completion)
 +          (move-overlay ol (- (point) start) (overlay-end ol)))))
      ;; Protect against old versions of GDB.
      (and complete-list
         (string-match "^Undefined command: \"complete\"" (car complete-list))
                   pos (match-end 0)))
           (and (= (mod count 2) 1)
                (setq complete-list (list (concat str "'"))))))
 -    ;; Let comint handle the rest.
 -    (comint-dynamic-simple-complete command-word complete-list)))
 +    complete-list))
 +
 +(defun gud-gdb-completion-at-point ()
 +  "Return the data to complete the GDB command before point."
 +  (let ((end (point))
 +        (start
 +         (save-excursion
 +           (skip-chars-backward "^ " (comint-line-beginning-position))
 +           (point))))
 +    (list start end
 +          (completion-table-dynamic
 +           (apply-partially #'gud-gdb-completions
 +                            (buffer-substring (comint-line-beginning-position)
 +                                              start))))))
 +
 +;; (defun gud-gdb-complete-command ()
 +;;   "Perform completion on the GDB command preceding point.
 +;; This is implemented using the GDB `complete' command which isn't
 +;; available with older versions of GDB."
 +;;   (interactive)
 +;;   (apply #'completion-in-region (gud-gdb-completion-at-point)))
  
  ;; The completion process filter is installed temporarily to slurp the
  ;; output of GDB up to the next prompt and build the completion list.
@@@ -882,7 -896,7 +882,7 @@@ It is passed through FILTER before we l
  
  ;; gdb speedbar functions
  
 -(defun gud-gdb-goto-stackframe (text token indent)
 +(defun gud-gdb-goto-stackframe (_text token _indent)
    "Goto the stackframe described by TEXT, TOKEN, and INDENT."
    (speedbar-with-attached-buffer
     (gud-basic-call (concat "server frame " (nth 1 token)))
@@@ -1072,7 -1086,7 +1072,7 @@@ containing the executable being debugge
                         directory))
    :group 'gud)
  
 -(defun gud-dbx-massage-args (file args)
 +(defun gud-dbx-massage-args (_file args)
    (nconc (let ((directories gud-dbx-directories)
               (result nil))
           (while directories
@@@ -1384,7 -1398,7 +1384,7 @@@ containing the executable being debugge
                         directory))
    :group 'gud)
  
 -(defun gud-xdb-massage-args (file args)
 +(defun gud-xdb-massage-args (_file args)
    (nconc (let ((directories gud-xdb-directories)
               (result nil))
           (while directories
@@@ -1448,7 -1462,7 +1448,7 @@@ directories if your program contains so
  ;; History of argument lists passed to perldb.
  (defvar gud-perldb-history nil)
  
 -(defun gud-perldb-massage-args (file args)
 +(defun gud-perldb-massage-args (_file args)
    "Convert a command line as would be typed normally to run perldb
  into one that invokes an Emacs-enabled debugging session.
  \"-emacs\" is inserted where it will be $ARGV[0] (see perl5db.pl)."
@@@ -1581,7 -1595,8 +1581,8 @@@ and source-file directory for your debu
  ;; Last group is for return value, e.g. "> test.py(2)foo()->None"
  ;; Either file or function name may be omitted: "> <string>(0)?()"
  (defvar gud-pdb-marker-regexp
-   "^> \\([-a-zA-Z0-9_/.:\\]*\\|<string>\\)(\\([0-9]+\\))\\([a-zA-Z0-9_]*\\|\\?\\|<module>\\)()\\(->[^\n]*\\)?\n")
+   "^> \\([-a-zA-Z0-9_/.:\\]*\\|<string>\\)(\\([0-9]+\\))\\([a-zA-Z0-9_]*\\|\\?\\|<module>\\)()\\(->[^\n\r]*\\)?[\n\r]")
  (defvar gud-pdb-marker-regexp-file-group 1)
  (defvar gud-pdb-marker-regexp-line-group 2)
  (defvar gud-pdb-marker-regexp-fnname-group 3)
@@@ -2070,7 -2085,7 +2071,7 @@@ extension EXTN.  Normally EXTN is give
  
  ;; Change what was given in the minibuffer to something that can be used to
  ;; invoke the debugger.
 -(defun gud-jdb-massage-args (file args)
 +(defun gud-jdb-massage-args (_file args)
    ;; The jdb executable must have whitespace between "-classpath" and
    ;; its value while gud-common-init expects all switch values to
    ;; follow the switch keyword without intervening whitespace.  We
@@@ -2149,7 -2164,7 +2150,7 @@@ relative to a classpath directory.
        (setq cplist (cdr cplist)))
      (if found-file (concat (car cplist) "/" filename)))))
  
 -(defun gud-jdb-find-source (string)
 +(defun gud-jdb-find-source (_string)
    "Alias for function used to locate source files.
  Set to `gud-jdb-find-source-using-classpath' or `gud-jdb-find-source-file'
  during jdb initialization depending on the value of
@@@ -2533,7 -2548,7 +2534,7 @@@ comint mode, which see.
        (setq w (cdr w)))
        (if w
          (setcar w
 -                (if (file-remote-p default-directory)
 +                (if (file-remote-p file)
                      ;; Tramp has already been loaded if we are here.
                      (setq file (tramp-file-name-localname
                                  (tramp-dissect-file-name file)))
    (gud-set-buffer))
  
  (defun gud-set-buffer ()
 -  (when (eq major-mode 'gud-mode)
 +  (when (derived-mode-p 'gud-mode)
      (setq gud-comint-buffer (current-buffer))))
  
  (defvar gud-filter-defer-flag nil
@@@ -2628,7 -2643,7 +2629,7 @@@ It is saved for when this flag is not s
  (defvar gud-overlay-arrow-position nil)
  (add-to-list 'overlay-arrow-variable-list 'gud-overlay-arrow-position)
  
 -(declare-function gdb-reset "gdb-ui" ())
 +(declare-function gdb-reset "gdb-mi" ())
  
  (defun gud-sentinel (proc msg)
    (cond ((null (buffer-name (process-buffer proc)))
                  (string-equal speedbar-initial-expansion-list-name "GUD"))
             (speedbar-change-initial-expansion-list
              speedbar-previously-used-expansion-list-name))
 -       (if (memq gud-minor-mode-type '(gdbmi gdba))
 +       (if (eq gud-minor-mode-type 'gdbmi)
             (gdb-reset)
           (gud-reset)))
        ((memq (process-status proc) '(signal exit))
         ;; Stop displaying an arrow in a source file.
         (setq gud-overlay-arrow-position nil)
 -       (if (memq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
 -                 '(gdba gdbmi))
 +       (if (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
 +                 'gdbmi)
             (gdb-reset)
           (gud-reset))
         (let* ((obuf (current-buffer)))
  (defun gud-kill-buffer-hook ()
    (setq gud-minor-mode-type gud-minor-mode)
    (condition-case nil
 -      (kill-process (get-buffer-process (current-buffer)))
 +      (progn
 +      (kill-process (get-buffer-process (current-buffer)))
 +      (delete-process (get-process "gdb-inferior")))
      (error nil)))
  
  (defun gud-reset ()
@@@ -2703,8 -2716,8 +2704,8 @@@ Obeying it means displaying in another 
  
  (declare-function global-hl-line-highlight  "hl-line" ())
  (declare-function hl-line-highlight         "hl-line" ())
 -(declare-function gdb-display-source-buffer "gdb-ui"  (buffer))
 -(declare-function gdb-display-buffer "gdb-ui" (buf dedicated &optional size))
 +(declare-function gdb-display-source-buffer "gdb-mi"  (buffer))
 +(declare-function gdb-display-buffer "gdb-mi" (buf dedicated &optional size))
  
  ;; Make sure the file named TRUE-FILE is in a buffer that appears on the screen
  ;; and that its line LINE is visible.
            (gud-find-file true-file)))
         (window (and buffer
                      (or (get-buffer-window buffer)
 -                        (if (memq gud-minor-mode '(gdbmi gdba))
 +                        (if (eq gud-minor-mode 'gdbmi)
                              (or (if (get-buffer-window buffer 'visible)
                                      (display-buffer buffer nil 'visible))
                                  (unless (gdb-display-source-buffer buffer)
                   (goto-char pos))))
          (when window
            (set-window-point window gud-overlay-arrow-position)
 -          (if (memq gud-minor-mode '(gdbmi gdba))
 +          (if (eq gud-minor-mode 'gdbmi)
                (setq gdb-source-window window)))))))
  
  ;; The gud-call function must do the right thing whether its invoking
              (forward-line 0))
            (if (looking-at comint-prompt-regexp)
                (set-marker gud-delete-prompt-marker (point)))
 -          (if (memq gud-minor-mode '(gdbmi gdba))
 +          (if (eq gud-minor-mode 'gdbmi)
                (apply comint-input-sender (list proc command))
              (process-send-string proc (concat command "\n"))))))))
  
@@@ -3042,8 -3055,10 +3043,8 @@@ Link exprs of the form
  
  (declare-function c-langelem-sym "cc-defs" (langelem))
  (declare-function c-langelem-pos "cc-defs" (langelem))
 -(declare-function syntax-symbol  "gud"     (x))
 -(declare-function syntax-point   "gud"     (x))
  
 -(defun gud-find-class (f line)
 +(defun gud-find-class (f _line)
    "Find fully qualified class in file F at line LINE.
  This function uses the `gud-jdb-classpath' (and optional
  `gud-jdb-sourcepath') list(s) to derive a file
@@@ -3059,13 -3074,13 +3060,13 @@@ class of the file (using s to separate 
        (save-match-data
          (let ((cplist (append gud-jdb-sourcepath gud-jdb-classpath))
                (fbuffer (get-file-buffer f))
 -              syntax-symbol syntax-point class-found)
 +              class-found
 +              ;; Syntax-symbol returns the symbol of the *first* element
 +              ;; in the syntactical analysis result list, syntax-point
 +              ;; returns the buffer position of same
 +              (syntax-symbol (lambda (x) (c-langelem-sym (car x))))
 +              (syntax-point (lambda (x) (c-langelem-pos (car x)))))
            (setq f (file-name-sans-extension (file-truename f)))
 -          ;; Syntax-symbol returns the symbol of the *first* element
 -          ;; in the syntactical analysis result list, syntax-point
 -          ;; returns the buffer position of same
 -          (fset 'syntax-symbol (lambda (x) (c-langelem-sym (car x))))
 -          (fset 'syntax-point (lambda (x) (c-langelem-pos (car x))))
            ;; Search through classpath list for an entry that is
            ;; contained in f
            (while (and cplist (not class-found))
            ;; syntactic information chain and collect any 'inclass
            ;; symbols until 'topmost-intro is reached to find out if
            ;; point is within a nested class
 +        ;; FIXME: Yuck!!!  cc-mode should provide a function instead.
            (if (and fbuffer (equal (symbol-file 'java-mode) "cc-mode"))
                (with-current-buffer fbuffer
                  (let ((nclass) (syntax))
                    ;; with the 'topmost-intro symbol, there may be
                    ;; nested classes...
                    (while (not (eq 'topmost-intro
 -                                  (syntax-symbol (c-guess-basic-syntax))))
 +                                  (funcall syntax-symbol (c-guess-basic-syntax))))
                      ;; Check if the current position c-syntactic
                      ;; analysis has 'inclass
                      (setq syntax (c-guess-basic-syntax))
                      (while
 -                        (and (not (eq 'inclass (syntax-symbol syntax)))
 +                        (and (not (eq 'inclass (funcall syntax-symbol syntax)))
                               (cdr syntax))
                        (setq syntax (cdr syntax)))
 -                    (if (eq 'inclass (syntax-symbol syntax))
 +                    (if (eq 'inclass (funcall syntax-symbol syntax))
                          (progn
 -                          (goto-char (syntax-point syntax))
 +                          (goto-char (funcall syntax-point syntax))
                            ;; Now we're at the beginning of a class
                            ;; definition.  Find class name
                            (looking-at
                                  (append (list (match-string-no-properties 1))
                                          nclass)))
                        (setq syntax (c-guess-basic-syntax))
 -                      (while (and (not (syntax-point syntax)) (cdr syntax))
 +                      (while (and (not (funcall syntax-point syntax)) (cdr syntax))
                          (setq syntax (cdr syntax)))
 -                      (goto-char (syntax-point syntax))
 +                      (goto-char (funcall syntax-point syntax))
                        ))
                    (string-match (concat (car nclass) "$") class-found)
                    (setq class-found
      ("\\$\\(\\w+\\)" (1 font-lock-variable-name-face))
      ("^\\s-*\\(\\w\\(\\w\\|\\s_\\)*\\)" (1 font-lock-keyword-face))))
  
 -(defvar gdb-script-font-lock-syntactic-keywords
 -  '(("^document\\s-.*\\(\n\\)" (1 "< b"))
 -    ("^end\\>"
 -     (0 (unless (eq (match-beginning 0) (point-min))
 +(defconst gdb-script-syntax-propertize-function
 +  (syntax-propertize-rules
 +   ("^document\\s-.*\\(\n\\)" (1 "< b"))
 +   ("^end\\(\\>\\)"
 +    (1 (ignore
 +        (when (and (> (match-beginning 0) (point-min))
 +                   (eq 1 (nth 7 (save-excursion
 +                                  (syntax-ppss (1- (match-beginning 0)))))))
            ;; We change the \n in front, which is more difficult, but results
            ;; in better highlighting.  If the doc is empty, the single \n is
            ;; both the beginning and the end of the docstring, which can't be
                               'syntax-table (eval-when-compile
                                               (string-to-syntax "> b")))
            ;; Make sure that rehighlighting the previous line won't erase our
 -          ;; syntax-table property.
 +          ;; syntax-table property and that modifying `end' will.
            (put-text-property (1- (match-beginning 0)) (match-end 0)
 -                             'font-lock-multiline t)
 -          nil)))))
 +                             'syntax-multiline t)))))))
  
  (defun gdb-script-font-lock-syntactic-face (state)
    (cond
@@@ -3239,8 -3250,15 +3240,8 @@@ Treats actions as defuns.
      (goto-char (point-max)))
    t)
  
 -;; Besides .gdbinit, gdb documents other names to be usable for init
 -;; files, cross-debuggers can use something like
 -;; .PROCESSORNAME-gdbinit so that the host and target gdbinit files
 -;; don't interfere with each other.
 -;;;###autoload
 -(add-to-list 'auto-mode-alist (cons (purecopy "/\\.[a-z0-9-]*gdbinit") 'gdb-script-mode))
 -
  ;;;###autoload
 -(define-derived-mode gdb-script-mode nil "GDB-Script"
 +(define-derived-mode gdb-script-mode prog-mode "GDB-Script"
    "Major mode for editing GDB scripts."
    (set (make-local-variable 'comment-start) "#")
    (set (make-local-variable 'comment-start-skip) "#+\\s-*")
         #'gdb-script-end-of-defun)
    (set (make-local-variable 'font-lock-defaults)
         '(gdb-script-font-lock-keywords nil nil ((?_ . "w")) nil
 -       (font-lock-syntactic-keywords
 -        . gdb-script-font-lock-syntactic-keywords)
         (font-lock-syntactic-face-function
 -        . gdb-script-font-lock-syntactic-face))))
 +        . gdb-script-font-lock-syntactic-face)))
 +  ;; Recognize docstrings.
 +  (set (make-local-variable 'syntax-propertize-function)
 +       gdb-script-syntax-propertize-function)
 +  (add-hook 'syntax-propertize-extend-region-functions
 +            #'syntax-propertize-multiline 'append 'local))
  
  \f
  ;;; tooltips for GUD
    (gud-tooltip-activate-mouse-motions-if-enabled)
    (if (and gud-comint-buffer
           (buffer-name gud-comint-buffer); gud-comint-buffer might be killed
 -         (memq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
 -               '(gdbmi gdba)))
 +         (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
 +               'gdbmi))
        (if gud-tooltip-mode
          (progn
            (dolist (buffer (buffer-list))
              (unless (eq buffer gud-comint-buffer)
                (with-current-buffer buffer
 -                (when (and (memq gud-minor-mode '(gdbmi gdba))
 +                (when (and (eq gud-minor-mode 'gdbmi)
                             (not (string-match "\\`\\*.+\\*\\'"
                                                (buffer-name))))
                    (make-local-variable 'gdb-define-alist)
@@@ -3365,8 -3380,10 +3366,8 @@@ only tooltips in the buffer containing 
  ACTIVATEP non-nil means activate mouse motion events."
    (if activatep
        (progn
 -      (make-local-variable 'gud-tooltip-mouse-motions-active)
 -      (setq gud-tooltip-mouse-motions-active t)
 -      (make-local-variable 'track-mouse)
 -      (setq track-mouse t))
 +        (set (make-local-variable 'gud-tooltip-mouse-motions-active) t)
 +        (set (make-local-variable 'track-mouse) t))
      (when gud-tooltip-mouse-motions-active
        (kill-local-variable 'gud-tooltip-mouse-motions-active)
        (kill-local-variable 'track-mouse))))
@@@ -3417,8 -3434,8 +3418,8 @@@ With arg, dereference expr if ARG is po
  ; Larger arrays (say 400 elements) are displayed in
  ; the tooltip incompletely and spill over into the gud buffer.
  ; Switching the process-filter creates timing problems and
 -; it may be difficult to do better. Using annotations as in
 -; gdb-ui.el gets round this problem.
 +; it may be difficult to do better. Using GDB/MI as in
 +; gdb-mi.el gets round this problem.
  (defun gud-tooltip-process-output (process output)
    "Process debugger output and show it in a tooltip window."
    (set-process-filter process gud-tooltip-original-filter)
  (defun gud-tooltip-print-command (expr)
    "Return a suitable command to print the expression EXPR."
    (case gud-minor-mode
 -      (gdba (concat "server print " expr))
 -      ((dbx gdbmi) (concat "print " expr))
 +      (gdbmi (concat "-data-evaluate-expression " expr))
 +      (dbx (concat "print " expr))
        ((xdb pdb) (concat "p " expr))
        (sdb (concat expr "/"))))
  
 -(declare-function gdb-enqueue-input "gdb-ui" (item))
 +(declare-function gdb-input "gdb-mi" (item))
  (declare-function tooltip-expr-to-print "tooltip" (event))
  (declare-function tooltip-event-buffer "tooltip" (event))
  
@@@ -3453,12 -3470,12 +3454,12 @@@ This function must return nil if it doe
               (buffer-name gud-comint-buffer); might be killed
               (setq process (get-buffer-process gud-comint-buffer))
               (posn-point (event-end event))
 -             (or (and (eq gud-minor-mode 'gdba) (not gdb-active-process))
 +             (or (and (eq gud-minor-mode 'gdbmi) (not gdb-active-process))
                   (progn (setq gud-tooltip-event event)
                          (eval (cons 'and gud-tooltip-display)))))
        (let ((expr (tooltip-expr-to-print event)))
        (when expr
 -        (if (and (eq gud-minor-mode 'gdba)
 +        (if (and (eq gud-minor-mode 'gdbmi)
                   (not gdb-active-process))
              (progn
                (with-current-buffer (tooltip-event-buffer event)
                (message-box "Using GUD tooltips in this mode is unsafe\n\
  so they have been disabled."))
              (unless (null cmd) ; CMD can be nil if unknown debugger
 -              (if (memq gud-minor-mode '(gdba gdbmi))
 -                    (if gdb-macro-info
 -                        (gdb-enqueue-input
 -                         (list (concat
 -                                gdb-server-prefix "macro expand " expr "\n")
 -                               `(lambda () (gdb-tooltip-print-1 ,expr))))
 -                      (gdb-enqueue-input
 -                       (list  (concat cmd "\n")
 -                               `(lambda () (gdb-tooltip-print ,expr)))))
 +              (if (eq gud-minor-mode 'gdbmi)
 +                    (if gdb-macro-info
 +                        (gdb-input
 +                         (list (concat
 +                                "server macro expand " expr "\n")
 +                               `(lambda () (gdb-tooltip-print-1 ,expr))))
 +                      (gdb-input
 +                       (list  (concat cmd "\n")
 +                              `(lambda () (gdb-tooltip-print ,expr)))))
                  (setq gud-tooltip-original-filter (process-filter process))
                  (set-process-filter process 'gud-tooltip-process-output)
                  (gud-basic-call cmd))
  
  (provide 'gud)
  
 -;; arch-tag: 6d990948-df65-461a-be39-1c7fb83ac4c4
  ;;; gud.el ends here
diff --combined lisp/window.el
index f8b7abbb2bf39d28cc373e875a6a44fca1e2a775,e8e1c6149fd77e285b8dfb96dcf45ca58dc5057f..37a3863ae087432201de8010973f879d4ec907c8
@@@ -1,11 -1,11 +1,11 @@@
  ;;; window.el --- GNU Emacs window commands aside from those written in C
  
 -;; Copyright (C) 1985, 1989, 1992, 1993, 1994, 2000, 2001, 2002,
 -;;   2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
 +;; Copyright (C) 1985, 1989, 1992-1994, 2000-2011
  ;;   Free Software Foundation, Inc.
  
  ;; Maintainer: FSF
  ;; Keywords: internal
 +;; Package: emacs
  
  ;; This file is part of GNU Emacs.
  
  
  (eval-when-compile (require 'cl))
  
 -(defvar window-size-fixed nil
 - "*Non-nil in a buffer means windows displaying the buffer are fixed-size.
 -If the value is `height', then only the window's height is fixed.
 -If the value is `width', then only the window's width is fixed.
 -Any other non-nil value fixes both the width and the height.
 -Emacs won't change the size of any window displaying that buffer,
 -unless you explicitly change the size, or Emacs has no other choice.")
 -(make-variable-buffer-local 'window-size-fixed)
 -
  (defmacro save-selected-window (&rest body)
    "Execute BODY, then select the previously selected window.
  The value returned is the value of the last form in BODY.
@@@ -45,7 -54,6 +45,7 @@@ This macro saves and restores the curre
  its normal operation could make a different buffer current.  The
  order of recently selected windows and the buffer list ordering
  are not altered by this macro (unless they are altered in BODY)."
 +  (declare (indent 0) (debug t))
    `(let ((save-selected-window-window (selected-window))
         ;; It is necessary to save all of these, because calling
         ;; select-window changes frame-selected-window for whatever
         (when (window-live-p save-selected-window-window)
           (select-window save-selected-window-window 'norecord))))))
  
 -(defun window-body-height (&optional window)
 -  "Return number of lines in WINDOW available for actual buffer text.
 -WINDOW defaults to the selected window.
 +;; The following two functions are like `window-next-sibling' and
 +;; `window-prev-sibling' but the WINDOW argument is _not_ optional (so
 +;; they don't substitute the selected window for nil), and they return
 +;; nil when WINDOW doesn't have a parent (like a frame's root window or
 +;; a minibuffer window).
 +(defsubst window-right (window)
 +  "Return WINDOW's right sibling.
 +Return nil if WINDOW is the root window of its frame.  WINDOW can
 +be any window."
 +  (and window (window-parent window) (window-next-sibling window)))
 +
 +(defsubst window-left (window)
 +  "Return WINDOW's left sibling.
 +Return nil if WINDOW is the root window of its frame.  WINDOW can
 +be any window."
 +  (and window (window-parent window) (window-prev-sibling window)))
 +
 +(defsubst window-child (window)
 +  "Return WINDOW's first child window."
 +  (or (window-top-child window) (window-left-child window)))
 +
 +(defun window-child-count (window)
 +  "Return number of WINDOW's child windows."
 +  (let ((count 0))
 +    (when (and (windowp window) (setq window (window-child window)))
 +      (while window
 +      (setq count (1+ count))
 +      (setq window (window-next-sibling window))))
 +    count))
 +
 +(defun window-last-child (window)
 +  "Return last child window of WINDOW."
 +  (when (and (windowp window) (setq window (window-child window)))
 +    (while (window-next-sibling window)
 +      (setq window (window-next-sibling window))))
 +  window)
 +
 +(defsubst window-any-p (object)
 +  "Return t if OBJECT denotes a live or internal window."
 +  (and (windowp object)
 +       (or (window-buffer object) (window-child object))
 +       t))
 +
 +(defsubst window-normalize-buffer (buffer-or-name)
 +  "Return buffer specified by BUFFER-OR-NAME.
 +BUFFER-OR-NAME must be either a buffer or a string naming a live
 +buffer and defaults to the current buffer."
 +  (cond
 +   ((not buffer-or-name)
 +    (current-buffer))
 +   ((bufferp buffer-or-name)
 +    (if (buffer-live-p buffer-or-name)
 +      buffer-or-name
 +      (error "Buffer %s is not a live buffer" buffer-or-name)))
 +   ((get-buffer buffer-or-name))
 +   (t
 +    (error "No such buffer %s" buffer-or-name))))
 +
 +(defsubst window-normalize-frame (frame)
 +  "Return frame specified by FRAME.
 +FRAME must be a live frame and defaults to the selected frame."
 +  (if frame
 +      (if (frame-live-p frame)
 +        frame
 +      (error "%s is not a live frame" frame))
 +    (selected-frame)))
 +
 +(defsubst window-normalize-any-window (window)
 +  "Return window specified by WINDOW.
 +WINDOW must be a window that has not been deleted and defaults to
 +the selected window."
 +  (if window
 +      (if (window-any-p window)
 +        window
 +      (error "%s is not a window" window))
 +    (selected-window)))
 +
 +(defsubst window-normalize-live-window (window)
 +  "Return live window specified by WINDOW.
 +WINDOW must be a live window and defaults to the selected one."
 +  (if window
 +      (if (and (windowp window) (window-buffer window))
 +        window
 +      (error "%s is not a live window" window))
 +    (selected-window)))
 +
 +(defvar ignore-window-parameters nil
 +  "If non-nil, standard functions ignore window parameters.
 +The functions currently affected by this are `split-window',
 +`delete-window', `delete-other-windows' and `other-window'.
 +
 +An application may bind this to a non-nil value around calls to
 +these functions to inhibit processing of window parameters.")
 +
 +(defconst window-safe-min-height 1
 +  "The absolut minimum number of lines of a window.
 +Anything less might crash Emacs.")
 +
 +(defcustom window-min-height 4
 +  "The minimum number of lines of any window.
 +The value has to accommodate a mode- or header-line if present.
 +A value less than `window-safe-min-height' is ignored.  The value
 +of this variable is honored when windows are resized or split.
 +
 +Applications should never rebind this variable.  To resize a
 +window to a height less than the one specified here, an
 +application should instead call `window-resize' with a non-nil
 +IGNORE argument.  In order to have `split-window' make a window
 +shorter, explictly specify the SIZE argument of that function."
 +  :type 'integer
 +  :version "24.1"
 +  :group 'windows)
  
 -The return value does not include the mode line or the header
 -line, if any.  If a line at the bottom of the window is only
 -partially visible, that line is included in the return value.
 -If you do not want to include a partially visible bottom line
 -in the return value, use `window-text-height' instead."
 -  (or window (setq window (selected-window)))
 -  (if (window-minibuffer-p window)
 -      (window-height window)
 -    (with-current-buffer (window-buffer window)
 -      (max 1 (- (window-height window)
 -              (if mode-line-format 1 0)
 -              (if header-line-format 1 0))))))
 +(defconst window-safe-min-width 2
 +  "The absolut minimum number of columns of a window.
 +Anything less might crash Emacs.")
 +
 +(defcustom window-min-width 10
 +  "The minimum number of columns of any window.
 +The value has to accomodate margins, fringes, or scrollbars if
 +present.  A value less than `window-safe-min-width' is ignored.
 +The value of this variable is honored when windows are resized or
 +split.
 +
 +Applications should never rebind this variable.  To resize a
 +window to a width less than the one specified here, an
 +application should instead call `window-resize' with a non-nil
 +IGNORE argument.  In order to have `split-window' make a window
 +narrower, explictly specify the SIZE argument of that function."
 +  :type 'integer
 +  :version "24.1"
 +  :group 'windows)
 +
 +(defun window-iso-combination-p (&optional window horizontal)
 +  "If WINDOW is a vertical combination return WINDOW's first child.
 +WINDOW can be any window and defaults to the selected one.
 +Optional argument HORIZONTAL non-nil means return WINDOW's first
 +child if WINDOW is a horizontal combination."
 +  (setq window (window-normalize-any-window window))
 +  (if horizontal
 +      (window-left-child window)
 +    (window-top-child window)))
 +
 +(defsubst window-iso-combined-p (&optional window horizontal)
 +  "Return non-nil if and only if WINDOW is vertically combined.
 +WINDOW can be any window and defaults to the selected one.
 +Optional argument HORIZONTAL non-nil means return non-nil if and
 +only if WINDOW is horizontally combined."
 +  (setq window (window-normalize-any-window window))
 +  (let ((parent (window-parent window)))
 +    (and parent (window-iso-combination-p parent horizontal))))
 +
 +(defun window-iso-combinations (&optional window horizontal)
 +  "Return largest number of vertically arranged subwindows of WINDOW.
 +WINDOW can be any window and defaults to the selected one.
 +Optional argument HORIZONTAL non-nil means to return the largest
 +number of horizontally arranged subwindows of WINDOW."
 +  (setq window (window-normalize-any-window window))
 +  (cond
 +   ((window-live-p window)
 +    ;; If WINDOW is live, return 1.
 +    1)
 +   ((window-iso-combination-p window horizontal)
 +    ;; If WINDOW is iso-combined, return the sum of the values for all
 +    ;; subwindows of WINDOW.
 +    (let ((child (window-child window))
 +        (count 0))
 +      (while child
 +      (setq count
 +            (+ (window-iso-combinations child horizontal)
 +               count))
 +      (setq child (window-right child)))
 +      count))
 +   (t
 +    ;; If WINDOW is not iso-combined, return the maximum value of any
 +    ;; subwindow of WINDOW.
 +    (let ((child (window-child window))
 +        (count 1))
 +      (while child
 +      (setq count
 +            (max (window-iso-combinations child horizontal)
 +                 count))
 +      (setq child (window-right child)))
 +      count))))
 +
 +(defun walk-window-tree-1 (proc walk-window-tree-window any &optional sub-only)
 +  "Helper function for `walk-window-tree' and `walk-window-subtree'."
 +  (let (walk-window-tree-buffer)
 +    (while walk-window-tree-window
 +      (setq walk-window-tree-buffer
 +          (window-buffer walk-window-tree-window))
 +      (when (or walk-window-tree-buffer any)
 +      (funcall proc walk-window-tree-window))
 +      (unless walk-window-tree-buffer
 +      (walk-window-tree-1
 +       proc (window-left-child walk-window-tree-window) any)
 +      (walk-window-tree-1
 +       proc (window-top-child walk-window-tree-window) any))
 +      (if sub-only
 +        (setq walk-window-tree-window nil)
 +      (setq walk-window-tree-window
 +            (window-right walk-window-tree-window))))))
 +
 +(defun walk-window-tree (proc &optional frame any)
 +  "Run function PROC on each live window of FRAME.
 +PROC must be a function with one argument - a window.  FRAME must
 +be a live frame and defaults to the selected one.  ANY, if
 +non-nil means to run PROC on all live and internal windows of
 +FRAME.
 +
 +This function performs a pre-order, depth-first traversal of the
 +window tree.  If PROC changes the window tree, the result is
 +unpredictable."
 +  (let ((walk-window-tree-frame (window-normalize-frame frame)))
 +    (walk-window-tree-1
 +     proc (frame-root-window walk-window-tree-frame) any)))
 +
 +(defun walk-window-subtree (proc &optional window any)
 +  "Run function PROC on each live subwindow of WINDOW.
 +WINDOW defaults to the selected window.  PROC must be a function
 +with one argument - a window.  ANY, if non-nil means to run PROC
 +on all live and internal subwindows of WINDOW.
 +
 +This function performs a pre-order, depth-first traversal of the
 +window tree rooted at WINDOW.  If PROC changes that window tree,
 +the result is unpredictable."
 +  (setq window (window-normalize-any-window window))
 +  (walk-window-tree-1 proc window any t))
 +
 +(defun windows-with-parameter (parameter &optional value frame any values)
 +  "Return a list of all windows on FRAME with PARAMETER non-nil.
 +FRAME defaults to the selected frame.  Optional argument VALUE
 +non-nil means only return windows whose window-parameter value of
 +PARAMETER equals VALUE \(comparison is done using `equal').
 +Optional argument ANY non-nil means consider internal windows
 +too.  Optional argument VALUES non-nil means return a list of cons
 +cells whose car is the value of the parameter and whose cdr is
 +the window."
 +  (let (this-value windows)
 +    (walk-window-tree
 +     (lambda (window)
 +       (when (and (setq this-value (window-parameter window parameter))
 +                (or (not value) (or (equal value this-value))))
 +         (setq windows
 +               (if values
 +                   (cons (cons this-value window) windows)
 +                 (cons window windows)))))
 +     frame any)
 +
 +    (nreverse windows)))
 +
 +(defun window-with-parameter (parameter &optional value frame any)
 +  "Return first window on FRAME with PARAMETER non-nil.
 +FRAME defaults to the selected frame.  Optional argument VALUE
 +non-nil means only return a window whose window-parameter value
 +for PARAMETER equals VALUE \(comparison is done with `equal').
 +Optional argument ANY non-nil means consider internal windows
 +too."
 +  (let (this-value windows)
 +    (catch 'found
 +      (walk-window-tree
 +       (lambda (window)
 +       (when (and (setq this-value (window-parameter window parameter))
 +                  (or (not value) (equal value this-value)))
 +         (throw 'found window)))
 +       frame any))))
 +
 +;;; Atomic windows.
 +(defun window-atom-root (&optional window)
 +  "Return root of atomic window WINDOW is a part of.
 +WINDOW can be any window and defaults to the selected one.
 +Return nil if WINDOW is not part of a atomic window."
 +  (setq window (window-normalize-any-window window))
 +  (let (root)
 +    (while (and window (window-parameter window 'window-atom))
 +      (setq root window)
 +      (setq window (window-parent window)))
 +    root))
 +
 +(defun window-make-atom (window)
 +  "Make WINDOW an atomic window.
 +WINDOW must be an internal window.  Return WINDOW."
 +  (if (not (window-child window))
 +      (error "Window %s is not an internal window" window)
 +    (walk-window-subtree
 +     (lambda (window)
 +       (set-window-parameter window 'window-atom t))
 +     window t)
 +    window))
 +
 +(defun window-atom-check-1 (window)
 +  "Subroutine of `window-atom-check'."
 +  (when window
 +    (if (window-parameter window 'window-atom)
 +      (let ((count 0))
 +        (when (or (catch 'reset
 +                    (walk-window-subtree
 +                     (lambda (window)
 +                       (if (window-parameter window 'window-atom)
 +                           (setq count (1+ count))
 +                         (throw 'reset t)))
 +                     window t))
 +                  ;; count >= 1 must hold here.  If there's no other
 +                  ;; window around dissolve this atomic window.
 +                  (= count 1))
 +          ;; Dissolve atomic window.
 +          (walk-window-subtree
 +           (lambda (window)
 +             (set-window-parameter window 'window-atom nil))
 +           window t)))
 +      ;; Check children.
 +      (unless (window-buffer window)
 +      (window-atom-check-1 (window-left-child window))
 +      (window-atom-check-1 (window-top-child window))))
 +    ;; Check right sibling
 +    (window-atom-check-1 (window-right window))))
 +
 +(defun window-atom-check (&optional frame)
 +  "Check atomicity of all windows on FRAME.
 +FRAME defaults to the selected frame.  If an atomic window is
 +wrongly configured, reset the atomicity of all its subwindows to
 +nil.  An atomic window is wrongly configured if it has no
 +subwindows or one of its subwindows is not atomic."
 +  (window-atom-check-1 (frame-root-window frame)))
 +
 +;; Side windows.
 +(defvar window-sides '(left top right bottom)
 +  "Window sides.")
 +
 +(defcustom window-sides-vertical nil
 +  "If non-nil, left and right side windows are full height.
 +Otherwise, top and bottom side windows are full width."
 +  :type 'boolean
 +  :group 'windows
 +  :version "24.1")
 +
 +(defcustom window-sides-slots '(nil nil nil nil)
 +  "Maximum number of side window slots.
 +The value is a list of four elements specifying the number of
 +side window slots on \(in this order) the left, top, right and
 +bottom side of each frame.  If an element is a number, this means
 +to display at most that many side windows on the corresponding
 +side.  If an element is nil, this means there's no bound on the
 +number of slots on that side."
 +  :risky t
 +  :type
 +  '(list
 +    :value (nil nil nil nil)
 +    (choice
 +     :tag "Left"
 +     :help-echo "Maximum slots of left side window."
 +     :value nil
 +     :format "%[Left%] %v\n"
 +     (const :tag "Unlimited" :format "%t" nil)
 +     (integer :tag "Number" :value 2 :size 5))
 +    (choice
 +     :tag "Top"
 +     :help-echo "Maximum slots of top side window."
 +     :value nil
 +     :format "%[Top%] %v\n"
 +     (const :tag "Unlimited" :format "%t" nil)
 +     (integer :tag "Number" :value 3 :size 5))
 +    (choice
 +     :tag "Right"
 +     :help-echo "Maximum slots of right side window."
 +     :value nil
 +     :format "%[Right%] %v\n"
 +     (const :tag "Unlimited" :format "%t" nil)
 +     (integer :tag "Number" :value 2 :size 5))
 +    (choice
 +     :tag "Bottom"
 +     :help-echo "Maximum slots of bottom side window."
 +     :value nil
 +     :format "%[Bottom%] %v\n"
 +     (const :tag "Unlimited" :format "%t" nil)
 +     (integer :tag "Number" :value 3 :size 5)))
 +  :group 'windows)
 +
 +(defun window-side-check (&optional frame)
 +  "Check the window-side parameter of all windows on FRAME.
 +FRAME defaults to the selected frame.  If the configuration is
 +invalid, reset all window-side parameters to nil.
 +
 +A valid configuration has to preserve the following invariant:
 +
 +- If a window has a non-nil window-side parameter, it must have a
 +  parent window and the parent window's window-side parameter
 +  must be either nil or the same as for window.
 +
 +- If windows with non-nil window-side parameters exist, there
 +  must be at most one window of each side and non-side with a
 +  parent whose window-side parameter is nil and there must be no
 +  leaf window whose window-side parameter is nil."
 +  (let (normal none left top right bottom
 +      side parent parent-side code)
 +    (when (or (catch 'reset
 +              (walk-window-tree
 +               (lambda (window)
 +                 (setq side (window-parameter window 'window-side))
 +                 (setq parent (window-parent window))
 +                 (setq parent-side
 +                       (and parent (window-parameter parent 'window-side)))
 +                 ;; The following `cond' seems a bit tedious, but I'd
 +                 ;; rather stick to using just the stack.
 +                 (cond
 +                  (parent-side
 +                   (when (not (eq parent-side side))
 +                     ;; A parent whose window-side is non-nil must
 +                     ;; have a child with the same window-side.
 +                     (throw 'reset t)))
 +                  ;; Now check that there's more than one main window
 +                  ;; for any of none, left, top, right and bottom.
 +                  ((eq side 'none)
 +                   (if none
 +                       (throw 'reset t)
 +                     (setq none t)))
 +                  ((eq side 'left)
 +                   (if left
 +                       (throw 'reset t)
 +                     (setq left t)))
 +                  ((eq side 'top)
 +                   (if top
 +                       (throw 'reset t)
 +                     (setq top t)))
 +                  ((eq side 'right)
 +                   (if right
 +                       (throw 'reset t)
 +                     (setq right t)))
 +                  ((eq side 'bottom)
 +                   (if bottom
 +                       (throw 'reset t)
 +                     (setq bottom t)))
 +                  ((window-buffer window)
 +                   ;; A leaf window without window-side parameter,
 +                   ;; record its existence.
 +                   (setq normal t))))
 +               frame t))
 +            (if none
 +                ;; At least one non-side window exists, so there must
 +                ;; be at least one side-window and no normal window.
 +                (or (not (or left top right bottom)) normal)
 +              ;; No non-side window exists, so there must be no side
 +              ;; window either.
 +              (or left top right bottom)))
 +      (walk-window-tree
 +       (lambda (window)
 +       (set-window-parameter window 'window-side nil))
 +       frame t))))
 +
 +(defun window-check (&optional frame)
 +  "Check atomic and side windows on FRAME.
 +FRAME defaults to the selected frame."
 +  (window-side-check frame)
 +  (window-atom-check frame))
 +
 +;;; Window sizes.
 +(defvar window-size-fixed nil
 +  "Non-nil in a buffer means windows displaying the buffer are fixed-size.
 +If the value is `height', then only the window's height is fixed.
 +If the value is `width', then only the window's width is fixed.
 +Any other non-nil value fixes both the width and the height.
 +
 +Emacs won't change the size of any window displaying that buffer,
 +unless it has no other choice \(like when deleting a neighboring
 +window).")
 +(make-variable-buffer-local 'window-size-fixed)
 +
 +(defsubst window-size-ignore (window ignore)
 +  "Return non-nil if IGNORE says to ignore size restrictions for WINDOW."
 +  (if (window-any-p ignore) (eq window ignore) ignore))
 +
 +(defun window-min-size (&optional window horizontal ignore)
 +  "Return the minimum number of lines of WINDOW.
 +WINDOW can be an arbitrary window and defaults to the selected
 +one.  Optional argument HORIZONTAL non-nil means return the
 +minimum number of columns of WINDOW.
 +
 +Optional argument IGNORE non-nil means ignore any restrictions
 +imposed by fixed size windows, `window-min-height' or
 +`window-min-width' settings.  IGNORE equal `safe' means live
 +windows may get as small as `window-safe-min-height' lines and
 +`window-safe-min-width' columns.  IGNORE a window means ignore
 +restrictions for that window only."
 +  (window-min-size-1
 +   (window-normalize-any-window window) horizontal ignore))
 +
 +(defun window-min-size-1 (window horizontal ignore)
 +  "Internal function of `window-min-size'."
 +  (let ((sub (window-child window)))
 +    (if sub
 +      (let ((value 0))
 +        ;; WINDOW is an internal window.
 +        (if (window-iso-combined-p sub horizontal)
 +            ;; The minimum size of an iso-combination is the sum of
 +            ;; the minimum sizes of its subwindows.
 +            (while sub
 +              (setq value (+ value
 +                             (window-min-size-1 sub horizontal ignore)))
 +              (setq sub (window-right sub)))
 +          ;; The minimum size of an ortho-combination is the maximum of
 +          ;; the minimum sizes of its subwindows.
 +          (while sub
 +            (setq value (max value
 +                             (window-min-size-1 sub horizontal ignore)))
 +            (setq sub (window-right sub))))
 +        value)
 +      (with-current-buffer (window-buffer window)
 +      (cond
 +       ((and (not (window-size-ignore window ignore))
 +             (window-size-fixed-p window horizontal))
 +        ;; The minimum size of a fixed size window is its size.
 +        (window-total-size window horizontal))
 +       ((or (eq ignore 'safe) (eq ignore window))
 +        ;; If IGNORE equals `safe' or WINDOW return the safe values.
 +        (if horizontal window-safe-min-width window-safe-min-height))
 +       (horizontal
 +        ;; For the minimum width of a window take fringes and
 +        ;; scroll-bars into account.  This is questionable and should
 +        ;; be removed as soon as we are able to split (and resize)
 +        ;; windows such that the new (or resized) windows can get a
 +        ;; size less than the user-specified `window-min-height' and
 +        ;; `window-min-width'.
 +        (let ((frame (window-frame window))
 +              (fringes (window-fringes window))
 +              (scroll-bars (window-scroll-bars window)))
 +          (max
 +           (+ window-safe-min-width
 +              (ceiling (car fringes) (frame-char-width frame))
 +              (ceiling (cadr fringes) (frame-char-width frame))
 +              (cond
 +               ((memq (nth 2 scroll-bars) '(left right))
 +                (nth 1 scroll-bars))
 +               ((memq (frame-parameter frame 'vertical-scroll-bars)
 +                      '(left right))
 +                (ceiling (or (frame-parameter frame 'scroll-bar-width) 14)
 +                         (frame-char-width)))
 +               (t 0)))
 +           (if (and (not (window-size-ignore window ignore))
 +                    (numberp window-min-width))
 +               window-min-width
 +             0))))
 +       (t
 +        ;; For the minimum height of a window take any mode- or
 +        ;; header-line into account.
 +        (max (+ window-safe-min-height
 +                (if header-line-format 1 0)
 +                (if mode-line-format 1 0))
 +             (if (and (not (window-size-ignore window ignore))
 +                      (numberp window-min-height))
 +                 window-min-height
 +               0))))))))
 +
 +(defun window-sizable (window delta &optional horizontal ignore)
 +  "Return DELTA if DELTA lines can be added to WINDOW.
 +Optional argument HORIZONTAL non-nil means return DELTA if DELTA
 +columns can be added to WINDOW.  A return value of zero means
 +that no lines (or columns) can be added to WINDOW.
 +
 +This function looks only at WINDOW and its subwindows.  The
 +function `window-resizable' looks at other windows as well.
 +
 +DELTA positive means WINDOW shall be enlarged by DELTA lines or
 +columns.  If WINDOW cannot be enlarged by DELTA lines or columns
 +return the maximum value in the range 0..DELTA by which WINDOW
 +can be enlarged.
 +
 +DELTA negative means WINDOW shall be shrunk by -DELTA lines or
 +columns.  If WINDOW cannot be shrunk by -DELTA lines or columns,
 +return the minimum value in the range DELTA..0 by which WINDOW
 +can be shrunk.
 +
 +Optional argument IGNORE non-nil means ignore any restrictions
 +imposed by fixed size windows, `window-min-height' or
 +`window-min-width' settings.  IGNORE equal `safe' means live
 +windows may get as small as `window-safe-min-height' lines and
 +`window-safe-min-width' columns.  IGNORE any window means ignore
 +restrictions for that window only."
 +  (setq window (window-normalize-any-window window))
 +  (cond
 +   ((< delta 0)
 +    (max (- (window-min-size window horizontal ignore)
 +          (window-total-size window horizontal))
 +       delta))
 +   ((window-size-ignore window ignore)
 +    delta)
 +   ((> delta 0)
 +    (if (window-size-fixed-p window horizontal)
 +      0
 +      delta))
 +   (t 0)))
 +
 +(defsubst window-sizable-p (window delta &optional horizontal ignore)
 +  "Return t if WINDOW can be resized by DELTA lines.
 +For the meaning of the arguments of this function see the
 +doc-string of `window-sizable'."
 +  (setq window (window-normalize-any-window window))
 +  (if (> delta 0)
 +      (>= (window-sizable window delta horizontal ignore) delta)
 +    (<= (window-sizable window delta horizontal ignore) delta)))
 +
 +(defun window-size-fixed-1 (window horizontal)
 +  "Internal function for `window-size-fixed-p'."
 +  (let ((sub (window-child window)))
 +    (catch 'fixed
 +      (if sub
 +        ;; WINDOW is an internal window.
 +        (if (window-iso-combined-p sub horizontal)
 +            ;; An iso-combination is fixed size if all its subwindows
 +            ;; are fixed-size.
 +            (progn
 +              (while sub
 +                (unless (window-size-fixed-1 sub horizontal)
 +                  ;; We found a non-fixed-size subwindow, so WINDOW's
 +                  ;; size is not fixed.
 +                  (throw 'fixed nil))
 +                (setq sub (window-right sub)))
 +              ;; All subwindows are fixed-size, so WINDOW's size is
 +              ;; fixed.
 +              (throw 'fixed t))
 +          ;; An ortho-combination is fixed-size if at least one of its
 +          ;; subwindows is fixed-size.
 +          (while sub
 +            (when (window-size-fixed-1 sub horizontal)
 +              ;; We found a fixed-size subwindow, so WINDOW's size is
 +              ;; fixed.
 +              (throw 'fixed t))
 +            (setq sub (window-right sub))))
 +      ;; WINDOW is a live window.
 +      (with-current-buffer (window-buffer window)
 +        (if horizontal
 +            (memq window-size-fixed '(width t))
 +          (memq window-size-fixed '(height t))))))))
 +
 +(defun window-size-fixed-p (&optional window horizontal)
 +  "Return non-nil if WINDOW's height is fixed.
 +WINDOW can be an arbitrary window and defaults to the selected
 +window.  Optional argument HORIZONTAL non-nil means return
 +non-nil if WINDOW's width is fixed.
 +
 +If this function returns nil, this does not necessarily mean that
 +WINDOW can be resized in the desired direction.  The functions
 +`window-resizable' and `window-resizable-p' will tell that."
 +  (window-size-fixed-1
 +   (window-normalize-any-window window) horizontal))
 +
 +(defun window-min-delta-1 (window delta &optional horizontal ignore trail noup)
 +  "Internal function for `window-min-delta'."
 +  (if (not (window-parent window))
 +      ;; If we can't go up, return zero.
 +      0
 +    ;; Else try to find a non-fixed-size sibling of WINDOW.
 +    (let* ((parent (window-parent window))
 +         (sub (window-child parent)))
 +      (catch 'done
 +      (if (window-iso-combined-p sub horizontal)
 +          ;; In an iso-combination throw DELTA if we find at least one
 +          ;; subwindow and that subwindow is either not of fixed-size
 +          ;; or we can ignore fixed-sizeness.
 +          (let ((skip (eq trail 'after)))
 +            (while sub
 +              (cond
 +               ((eq sub window)
 +                (setq skip (eq trail 'before)))
 +               (skip)
 +               ((and (not (window-size-ignore window ignore))
 +                     (window-size-fixed-p sub horizontal)))
 +               (t
 +                ;; We found a non-fixed-size subwindow.
 +                (throw 'done delta)))
 +              (setq sub (window-right sub))))
 +        ;; In an ortho-combination set DELTA to the minimum value by
 +        ;; which other subwindows can shrink.
 +        (while sub
 +          (unless (eq sub window)
 +            (setq delta
 +                  (min delta
 +                       (- (window-total-size sub horizontal)
 +                          (window-min-size sub horizontal ignore)))))
 +          (setq sub (window-right sub))))
 +      (if noup
 +          delta
 +        (window-min-delta-1 parent delta horizontal ignore trail))))))
 +
 +(defun window-min-delta (&optional window horizontal ignore trail noup nodown)
 +  "Return number of lines by which WINDOW can be shrunk.
 +WINDOW can be an arbitrary window and defaults to the selected
 +window.  Return zero if WINDOW cannot be shrunk.
 +
 +Optional argument HORIZONTAL non-nil means return number of
 +columns by which WINDOW can be shrunk.
 +
 +Optional argument IGNORE non-nil means ignore any restrictions
 +imposed by fixed size windows, `window-min-height' or
 +`window-min-width' settings.  IGNORE a window means ignore
 +restrictions for that window only.  IGNORE equal `safe' means
 +live windows may get as small as `window-safe-min-height' lines
 +and `window-safe-min-width' columns.
 +
 +Optional argument TRAIL `before' means only windows to the left
 +of or above WINDOW can be enlarged.  Optional argument TRAIL
 +`after' means only windows to the right of or below WINDOW can be
 +enlarged.
 +
 +Optional argument NOUP non-nil means don't go up in the window
 +tree but try to enlarge windows within WINDOW's combination only.
 +
 +Optional argument NODOWN non-nil means don't check whether WINDOW
 +itself \(and its subwindows) can be shrunk; check only whether at
 +least one other windows can be enlarged appropriately."
 +  (setq window (window-normalize-any-window window))
 +  (let ((size (window-total-size window horizontal))
 +      (minimum (window-min-size window horizontal ignore)))
 +    (cond
 +     (nodown
 +      ;; If NODOWN is t, try to recover the entire size of WINDOW.
 +      (window-min-delta-1 window size horizontal ignore trail noup))
 +     ((= size minimum)
 +      ;; If NODOWN is nil and WINDOW's size is already at its minimum,
 +      ;; there's nothing to recover.
 +      0)
 +     (t
 +      ;; Otherwise, try to recover whatever WINDOW is larger than its
 +      ;; minimum size.
 +      (window-min-delta-1
 +       window (- size minimum) horizontal ignore trail noup)))))
 +
 +(defun window-max-delta-1 (window delta &optional horizontal ignore trail noup)
 +  "Internal function of `window-max-delta'."
 +  (if (not (window-parent window))
 +      ;; Can't go up.  Return DELTA.
 +      delta
 +    (let* ((parent (window-parent window))
 +         (sub (window-child parent)))
 +      (catch 'fixed
 +      (if (window-iso-combined-p sub horizontal)
 +          ;; For an iso-combination calculate how much we can get from
 +          ;; other subwindows.
 +          (let ((skip (eq trail 'after)))
 +            (while sub
 +              (cond
 +               ((eq sub window)
 +                (setq skip (eq trail 'before)))
 +               (skip)
 +               (t
 +                (setq delta
 +                      (+ delta
 +                         (- (window-total-size sub horizontal)
 +                            (window-min-size sub horizontal ignore))))))
 +              (setq sub (window-right sub))))
 +        ;; For an ortho-combination throw DELTA when at least one
 +        ;; subwindow is fixed-size.
 +        (while sub
 +          (when (and (not (eq sub window))
 +                     (not (window-size-ignore sub ignore))
 +                     (window-size-fixed-p sub horizontal))
 +            (throw 'fixed delta))
 +          (setq sub (window-right sub))))
 +      (if noup
 +          ;; When NOUP is nil, DELTA is all we can get.
 +          delta
 +        ;; Else try with parent of WINDOW, passing the DELTA we
 +        ;; recovered so far.
 +        (window-max-delta-1 parent delta horizontal ignore trail))))))
 +
 +(defun window-max-delta (&optional window horizontal ignore trail noup nodown)
 +  "Return maximum number of lines WINDOW by which WINDOW can be enlarged.
 +WINDOW can be an arbitrary window and defaults to the selected
 +window.  The return value is zero if WINDOW cannot be enlarged.
 +
 +Optional argument HORIZONTAL non-nil means return maximum number
 +of columns by which WINDOW can be enlarged.
 +
 +Optional argument IGNORE non-nil means ignore any restrictions
 +imposed by fixed size windows, `window-min-height' or
 +`window-min-width' settings.  IGNORE a window means ignore
 +restrictions for that window only.  IGNORE equal `safe' means
 +live windows may get as small as `window-safe-min-height' lines
 +and `window-safe-min-width' columns.
 +
 +Optional argument TRAIL `before' means only windows to the left
 +of or below WINDOW can be shrunk.  Optional argument TRAIL
 +`after' means only windows to the right of or above WINDOW can be
 +shrunk.
 +
 +Optional argument NOUP non-nil means don't go up in the window
 +tree but try to obtain the entire space from windows within
 +WINDOW's combination.
 +
 +Optional argument NODOWN non-nil means do not check whether
 +WINDOW itself \(and its subwindows) can be enlarged; check only
 +whether other windows can be shrunk appropriately."
 +  (setq window (window-normalize-any-window window))
 +  (if (and (not (window-size-ignore window ignore))
 +         (not nodown) (window-size-fixed-p window horizontal))
 +      ;; With IGNORE and NOWDON nil return zero if WINDOW has fixed
 +      ;; size.
 +      0
 +    ;; WINDOW has no fixed size.
 +    (window-max-delta-1 window 0 horizontal ignore trail noup)))
 +
 +;; Make NOUP also inhibit the min-size check.
 +(defun window-resizable (window delta &optional horizontal ignore trail noup nodown)
 +  "Return DELTA if WINDOW can be resized vertically by DELTA lines.
 +Optional argument HORIZONTAL non-nil means return DELTA if WINDOW
 +can be resized horizontally by DELTA columns.  A return value of
 +zero means that WINDOW is not resizable.
 +
 +DELTA positive means WINDOW shall be enlarged by DELTA lines or
 +columns.  If WINDOW cannot be enlarged by DELTA lines or columns
 +return the maximum value in the range 0..DELTA by which WINDOW
 +can be enlarged.
 +
 +DELTA negative means WINDOW shall be shrunk by -DELTA lines or
 +columns.  If WINDOW cannot be shrunk by -DELTA lines or columns,
 +return the minimum value in the range DELTA..0 that can be used
 +for shrinking WINDOW.
 +
 +Optional argument IGNORE non-nil means ignore any restrictions
 +imposed by fixed size windows, `window-min-height' or
 +`window-min-width' settings.  IGNORE a window means ignore
 +restrictions for that window only.  IGNORE equal `safe' means
 +live windows may get as small as `window-safe-min-height' lines
 +and `window-safe-min-width' columns.
 +
 +Optional argument TRAIL `before' means only windows to the left
 +of or below WINDOW can be shrunk.  Optional argument TRAIL
 +`after' means only windows to the right of or above WINDOW can be
 +shrunk.
 +
 +Optional argument NOUP non-nil means don't go up in the window
 +tree but try to distribute the space among the other windows
 +within WINDOW's combination.
 +
 +Optional argument NODOWN non-nil means don't check whether WINDOW
 +and its subwindows can be resized."
 +  (setq window (window-normalize-any-window window))
 +  (cond
 +   ((< delta 0)
 +    (max (- (window-min-delta window horizontal ignore trail noup nodown))
 +       delta))
 +   ((> delta 0)
 +    (min (window-max-delta window horizontal ignore trail noup nodown)
 +       delta))
 +   (t 0)))
 +
 +(defun window-resizable-p (window delta &optional horizontal ignore trail noup nodown)
 +  "Return t if WINDOW can be resized vertically by DELTA lines.
 +For the meaning of the arguments of this function see the
 +doc-string of `window-resizable'."
 +  (setq window (window-normalize-any-window window))
 +  (if (> delta 0)
 +      (>= (window-resizable window delta horizontal ignore trail noup nodown)
 +        delta)
 +    (<= (window-resizable window delta horizontal ignore trail noup nodown)
 +      delta)))
 +
 +(defsubst window-total-height (&optional window)
 +  "Return the total number of lines of WINDOW.
 +WINDOW can be any window and defaults to the selected one.  The
 +return value includes WINDOW's mode line and header line, if any.
 +If WINDOW is internal the return value is the sum of the total
 +number of lines of WINDOW's child windows if these are vertically
 +combined and the height of WINDOW's first child otherwise.
 +
 +Note: This function does not take into account the value of
 +`line-spacing' when calculating the number of lines in WINDOW."
 +  (window-total-size window))
 +
 +;; Eventually we should make `window-height' obsolete.
 +(defalias 'window-height 'window-total-height)
  
  ;; See discussion in bug#4543.
 -(defun window-full-height-p (&optional window)
 -  "Return non-nil if WINDOW is not the result of a vertical split.
 -WINDOW defaults to the selected window.  (This function is not
 -appropriate for minibuffers.)"
 -  (unless window
 -    (setq window (selected-window)))
 -  (= (window-height window)
 -     (window-height (frame-root-window (window-frame window)))))
 +(defsubst window-full-height-p (&optional window)
 +  "Return t if WINDOW is as high as the containing frame.
 +More precisely, return t if and only if the total height of
 +WINDOW equals the total height of the root window of WINDOW's
 +frame.  WINDOW can be any window and defaults to the selected
 +one."
 +  (setq window (window-normalize-any-window window))
 +  (= (window-total-size window)
 +     (window-total-size (frame-root-window window))))
 +
 +(defsubst window-total-width (&optional window)
 +  "Return the total number of columns of WINDOW.
 +WINDOW can be any window and defaults to the selected one.  The
 +return value includes any vertical dividers or scrollbars of
 +WINDOW.  If WINDOW is internal, the return value is the sum of
 +the total number of columns of WINDOW's child windows if these
 +are horizontally combined and the width of WINDOW's first child
 +otherwise."
 +  (window-total-size window t))
 +
 +(defsubst window-full-width-p (&optional window)
 +  "Return t if WINDOW is as wide as the containing frame.
 +More precisely, return t if and only if the total width of WINDOW
 +equals the total width of the root window of WINDOW's frame.
 +WINDOW can be any window and defaults to the selected one."
 +  (setq window (window-normalize-any-window window))
 +  (= (window-total-size window t)
 +     (window-total-size (frame-root-window window) t)))
 +
 +(defsubst window-body-height (&optional window)
 +  "Return the number of lines of WINDOW's body.
 +WINDOW must be a live window and defaults to the selected one.
 +
 +The return value does not include WINDOW's mode line and header
 +line, if any.  If a line at the bottom of the window is only
 +partially visible, that line is included in the return value.  If
 +you do not want to include a partially visible bottom line in the
 +return value, use `window-text-height' instead."
 +  (window-body-size window))
  
 -(defun one-window-p (&optional nomini all-frames)
 -  "Return non-nil if the selected window is the only window.
 -Optional arg NOMINI non-nil means don't count the minibuffer
 -even if it is active.  Otherwise, the minibuffer is counted
 -when it is active.
 +(defsubst window-body-width (&optional window)
 +  "Return the number of columns of WINDOW's body.
 +WINDOW must be a live window and defaults to the selected one.
  
 -The optional arg ALL-FRAMES t means count windows on all frames.
 -If it is `visible', count windows on all visible frames.
 -ALL-FRAMES nil or omitted means count only the selected frame,
 -plus the minibuffer it uses (which may be on another frame).
 -ALL-FRAMES 0 means count all windows in all visible or iconified frames.
 -If ALL-FRAMES is anything else, count only the selected frame."
 -  (let ((base-window (selected-window)))
 -    (if (and nomini (eq base-window (minibuffer-window)))
 -      (setq base-window (next-window base-window)))
 -    (eq base-window
 -      (next-window base-window (if nomini 'arg) all-frames))))
 +The return value does not include any vertical dividers or scroll
 +bars owned by WINDOW.  On a window-system the return value does
 +not include the number of columns used for WINDOW's fringes or
 +display margins either."
 +  (window-body-size window t))
 +
 +;; Eventually we should make `window-height' obsolete.
 +(defalias 'window-width 'window-body-width)
  
  (defun window-current-scroll-bars (&optional window)
    "Return the current scroll bar settings for WINDOW.
 -WINDOW defaults to the selected window.
 +WINDOW must be a live window and defaults to the selected one.
  
  The return value is a cons cell (VERTICAL . HORIZONTAL) where
  VERTICAL specifies the current location of the vertical scroll
@@@ -1001,11 -129,11 +1001,11 @@@ or nil)
  Unlike `window-scroll-bars', this function reports the scroll bar
  type actually used, once frame defaults and `scroll-bar-mode' are
  taken into account."
 +  (setq window (window-normalize-live-window window))
    (let ((vert (nth 2 (window-scroll-bars window)))
        (hor nil))
      (when (or (eq vert t) (eq hor t))
 -      (let ((fcsb (frame-current-scroll-bars
 -                 (window-frame (or window (selected-window))))))
 +      (let ((fcsb (frame-current-scroll-bars (window-frame window))))
        (if (eq vert t)
            (setq vert (car fcsb)))
        (if (eq hor t)
      (cons vert hor)))
  
  (defun walk-windows (proc &optional minibuf all-frames)
 -  "Cycle through all windows, calling PROC for each one.
 +  "Cycle through all live windows, calling PROC for each one.
  PROC must specify a function with a window as its sole argument.
  The optional arguments MINIBUF and ALL-FRAMES specify the set of
 -windows to include in the walk, see also `next-window'.
 +windows to include in the walk.
  
  MINIBUF t means include the minibuffer window even if the
  minibuffer is not active.  MINIBUF nil or omitted means include
@@@ -1024,24 -152,29 +1024,24 @@@ the minibuffer window only if the minib
  other value means do not include the minibuffer window even if
  the minibuffer is active.
  
 -Several frames may share a single minibuffer; if the minibuffer
 -is active, all windows on all frames that share that minibuffer
 -are included too.  Therefore, if you are using a separate
 -minibuffer frame and the minibuffer is active and MINIBUF says it
 -counts, `walk-windows' includes the windows in the frame from
 -which you entered the minibuffer, as well as the minibuffer
 -window.
 +ALL-FRAMES nil or omitted means consider all windows on the
 +selected frame, plus the minibuffer window if specified by the
 +MINIBUF argument.  If the minibuffer counts, consider all windows
 +on all frames that share that minibuffer too.  The following
 +non-nil values of ALL-FRAMES have special meanings:
 +
 +- t means consider all windows on all existing frames.
  
 -ALL-FRAMES nil or omitted means cycle through all windows on the
 - selected frame, plus the minibuffer window if specified by the
 - MINIBUF argument, see above.  If the minibuffer counts, cycle
 - through all windows on all frames that share that minibuffer
 - too.
 -ALL-FRAMES t means cycle through all windows on all existing
 - frames.
 -ALL-FRAMES `visible' means cycle through all windows on all
 - visible frames.
 -ALL-FRAMES 0 means cycle through all windows on all visible and
 - iconified frames.
 -ALL-FRAMES a frame means cycle through all windows on that frame
 - only.
 -Anything else means cycle through all windows on the selected
 - frame and no others.
 +- `visible' means consider all windows on all visible frames on
 +  the current terminal.
 +
 +- 0 (the number zero) means consider all windows on all visible
 +  and iconified frames on the current terminal.
 +
 +- A frame means consider all windows on that frame only.
 +
 +Anything else means consider all windows on the selected frame
 +and no others.
  
  This function changes neither the order of recently selected
  windows nor the buffer list."
    (save-selected-window
      (when (framep all-frames)
        (select-window (frame-first-window all-frames) 'norecord))
 -    (let* (walk-windows-already-seen
 -         (walk-windows-current (selected-window)))
 -      (while (progn
 -             (setq walk-windows-current
 -                   (next-window walk-windows-current minibuf all-frames))
 -             (not (memq walk-windows-current walk-windows-already-seen)))
 -      (setq walk-windows-already-seen
 -            (cons walk-windows-current walk-windows-already-seen))
 -      (funcall proc walk-windows-current)))))
 -
 -(defun get-window-with-predicate (predicate &optional minibuf
 -                                          all-frames default)
 -  "Return a window satisfying PREDICATE.
 -More precisely, cycle through all windows using `walk-windows',
 -calling the function PREDICATE on each one of them with the
 -window as its sole argument.  Return the first window for which
 -PREDICATE returns non-nil.  If no window satisfies PREDICATE,
 -return DEFAULT.
 +    (dolist (walk-windows-window (window-list-1 nil minibuf all-frames))
 +      (funcall proc walk-windows-window))))
 +
 +(defun window-in-direction-2 (window posn &optional horizontal)
 +  "Support function for `window-in-direction'."
 +  (if horizontal
 +      (let ((top (window-top-line window)))
 +      (if (> top posn)
 +          (- top posn)
 +        (- posn top (window-total-height window))))
 +    (let ((left (window-left-column window)))
 +      (if (> left posn)
 +        (- left posn)
 +      (- posn left (window-total-width window))))))
 +
 +(defun window-in-direction (direction &optional window ignore)
 +  "Return window in DIRECTION as seen from WINDOW.
 +DIRECTION must be one of `above', `below', `left' or `right'.
 +WINDOW must be a live window and defaults to the selected one.
 +IGNORE, when non-nil means a window can be returned even if its
 +`no-other-window' parameter is non-nil."
 +  (setq window (window-normalize-live-window window))
 +  (unless (memq direction '(above below left right))
 +    (error "Wrong direction %s" direction))
 +  (let* ((frame (window-frame window))
 +       (hor (memq direction '(left right)))
 +       (first (if hor
 +                  (window-left-column window)
 +                (window-top-line window)))
 +       (last (+ first (if hor
 +                          (window-total-width window)
 +                        (window-total-height window))))
 +       (posn-cons (nth 6 (posn-at-point (window-point window) window)))
 +       ;; The column / row value of `posn-at-point' can be nil for the
 +       ;; mini-window, guard against that.
 +       (posn (if hor
 +                 (+ (or (cdr posn-cons) 1) (window-top-line window))
 +               (+ (or (car posn-cons) 1) (window-left-column window))))
 +       (best-edge
 +        (cond
 +         ((eq direction 'below) (frame-height frame))
 +         ((eq direction 'right) (frame-width frame))
 +         (t -1)))
 +       (best-edge-2 best-edge)
 +       (best-diff-2 (if hor (frame-height frame) (frame-width frame)))
 +       best best-2 best-diff-2-new)
 +    (walk-window-tree
 +     (lambda (w)
 +       (let* ((w-top (window-top-line w))
 +            (w-left (window-left-column w)))
 +       (cond
 +        ((or (eq window w)
 +             ;; Ignore ourselves.
 +             (and (window-parameter w 'no-other-window)
 +                  ;; Ignore W unless IGNORE is non-nil.
 +                  (not ignore))))
 +        (hor
 +         (cond
 +          ((and (<= w-top posn)
 +                (< posn (+ w-top (window-total-height w))))
 +           ;; W is to the left or right of WINDOW and covers POSN.
 +           (when (or (and (eq direction 'left)
 +                          (<= w-left first) (> w-left best-edge))
 +                     (and (eq direction 'right)
 +                          (>= w-left last) (< w-left best-edge)))
 +             (setq best-edge w-left)
 +             (setq best w)))
 +          ((and (or (and (eq direction 'left)
 +                         (<= (+ w-left (window-total-width w)) first))
 +                    (and (eq direction 'right) (<= last w-left)))
 +                ;; W is to the left or right of WINDOW but does not
 +                ;; cover POSN.
 +                (setq best-diff-2-new
 +                      (window-in-direction-2 w posn hor))
 +                (or (< best-diff-2-new best-diff-2)
 +                    (and (= best-diff-2-new best-diff-2)
 +                         (if (eq direction 'left)
 +                             (> w-left best-edge-2)
 +                           (< w-left best-edge-2)))))
 +           (setq best-edge-2 w-left)
 +           (setq best-diff-2 best-diff-2-new)
 +           (setq best-2 w))))
 +        (t
 +         (cond
 +          ((and (<= w-left posn)
 +                (< posn (+ w-left (window-total-width w))))
 +           ;; W is above or below WINDOW and covers POSN.
 +           (when (or (and (eq direction 'above)
 +                          (<= w-top first) (> w-top best-edge))
 +                     (and (eq direction 'below)
 +                          (>= w-top first) (< w-top best-edge)))
 +             (setq best-edge w-top)
 +             (setq best w)))
 +          ((and (or (and (eq direction 'above)
 +                         (<= (+ w-top (window-total-height w)) first))
 +                    (and (eq direction 'below) (<= last w-top)))
 +                ;; W is above or below WINDOW but does not cover POSN.
 +                (setq best-diff-2-new
 +                      (window-in-direction-2 w posn hor))
 +                (or (< best-diff-2-new best-diff-2)
 +                    (and (= best-diff-2-new best-diff-2)
 +                         (if (eq direction 'above)
 +                             (> w-top best-edge-2)
 +                           (< w-top best-edge-2)))))
 +           (setq best-edge-2 w-top)
 +           (setq best-diff-2 best-diff-2-new)
 +           (setq best-2 w)))))))
 +     (window-frame window))
 +    (or best best-2)))
 +
 +(defun get-window-with-predicate (predicate &optional minibuf all-frames default)
 +  "Return a live window satisfying PREDICATE.
 +More precisely, cycle through all windows calling the function
 +PREDICATE on each one of them with the window as its sole
 +argument.  Return the first window for which PREDICATE returns
 +non-nil.  Windows are scanned starting with the window following
 +the selcted window.  If no window satisfies PREDICATE, return
 +DEFAULT.
  
 -The optional arguments MINIBUF and ALL-FRAMES specify the set of
 -windows to include.  See `walk-windows' for the meaning of these
 -arguments."
 +MINIBUF t means include the minibuffer window even if the
 +minibuffer is not active.  MINIBUF nil or omitted means include
 +the minibuffer window only if the minibuffer is active.  Any
 +other value means do not include the minibuffer window even if
 +the minibuffer is active.
 +
 +ALL-FRAMES nil or omitted means consider all windows on the selected
 +frame, plus the minibuffer window if specified by the MINIBUF
 +argument.  If the minibuffer counts, consider all windows on all
 +frames that share that minibuffer too.  The following non-nil
 +values of ALL-FRAMES have special meanings:
 +
 +- t means consider all windows on all existing frames.
 +
 +- `visible' means consider all windows on all visible frames on
 +  the current terminal.
 +
 +- 0 (the number zero) means consider all windows on all visible
 +  and iconified frames on the current terminal.
 +
 +- A frame means consider all windows on that frame only.
 +
 +Anything else means consider all windows on the selected frame
 +and no others."
    (catch 'found
 -    (walk-windows #'(lambda (window)
 -                    (when (funcall predicate window)
 -                      (throw 'found window)))
 -                minibuf all-frames)
 +    (dolist (window (window-list-1
 +                   (next-window nil minibuf all-frames)
 +                   minibuf all-frames))
 +      (when (funcall predicate window)
 +      (throw 'found window)))
      default))
  
  (defalias 'some-window 'get-window-with-predicate)
  
 -;; This should probably be written in C (i.e., without using `walk-windows').
 +(defun get-lru-window (&optional all-frames dedicated)
 +   "Return the least recently used window on frames specified by ALL-FRAMES.
 +Return a full-width window if possible.  A minibuffer window is
 +never a candidate.  A dedicated window is never a candidate
 +unless DEDICATED is non-nil, so if all windows are dedicated, the
 +value is nil.  Avoid returning the selected window if possible.
 +
 +The following non-nil values of the optional argument ALL-FRAMES
 +have special meanings:
 +
 +- t means consider all windows on all existing frames.
 +
 +- `visible' means consider all windows on all visible frames on
 +  the current terminal.
 +
 +- 0 (the number zero) means consider all windows on all visible
 +  and iconified frames on the current terminal.
 +
 +- A frame means consider all windows on that frame only.
 +
 +Any other value of ALL-FRAMES means consider all windows on the
 +selected frame and no others."
 +   (let (best-window best-time second-best-window second-best-time time)
 +    (dolist (window (window-list-1 nil 'nomini all-frames))
 +      (when (or dedicated (not (window-dedicated-p window)))
 +      (setq time (window-use-time window))
 +      (if (or (eq window (selected-window))
 +              (not (window-full-width-p window)))
 +          (when (or (not second-best-time) (< time second-best-time))
 +            (setq second-best-time time)
 +            (setq second-best-window window))
 +        (when (or (not best-time) (< time best-time))
 +          (setq best-time time)
 +          (setq best-window window)))))
 +    (or best-window second-best-window)))
 +
 +(defun get-mru-window (&optional all-frames)
 +   "Return the most recently used window on frames specified by ALL-FRAMES.
 +Do not return a minibuffer window.
 +
 +The following non-nil values of the optional argument ALL-FRAMES
 +have special meanings:
 +
 +- t means consider all windows on all existing frames.
 +
 +- `visible' means consider all windows on all visible frames on
 +  the current terminal.
 +
 +- 0 (the number zero) means consider all windows on all visible
 +  and iconified frames on the current terminal.
 +
 +- A frame means consider all windows on that frame only.
 +
 +Any other value of ALL-FRAMES means consider all windows on the
 +selected frame and no others."
 +   (let (best-window best-time time)
 +    (dolist (window (window-list-1 nil 'nomini all-frames))
 +      (setq time (window-use-time window))
 +      (when (or (not best-time) (> time best-time))
 +      (setq best-time time)
 +      (setq best-window window)))
 +    best-window))
 +
 +(defun get-largest-window (&optional all-frames dedicated)
 +  "Return the largest window on frames specified by ALL-FRAMES.
 +A minibuffer window is never a candidate.  A dedicated window is
 +never a candidate unless DEDICATED is non-nil, so if all windows
 +are dedicated, the value is nil.
 +
 +The following non-nil values of the optional argument ALL-FRAMES
 +have special meanings:
 +
 +- t means consider all windows on all existing frames.
 +
 +- `visible' means consider all windows on all visible frames on
 +  the current terminal.
 +
 +- 0 (the number zero) means consider all windows on all visible
 +  and iconified frames on the current terminal.
 +
 +- A frame means consider all windows on that frame only.
 +
 +Any other value of ALL-FRAMES means consider all windows on the
 +selected frame and no others."
 +  (let ((best-size 0)
 +      best-window size)
 +    (dolist (window (window-list-1 nil 'nomini all-frames))
 +      (when (or dedicated (not (window-dedicated-p window)))
 +      (setq size (* (window-total-size window)
 +                    (window-total-size window t)))
 +      (when (> size best-size)
 +        (setq best-size size)
 +        (setq best-window window))))
 +    best-window))
 +
  (defun get-buffer-window-list (&optional buffer-or-name minibuf all-frames)
    "Return list of all windows displaying BUFFER-OR-NAME, or nil if none.
  BUFFER-OR-NAME may be a buffer or the name of an existing buffer
 -and defaults to the current buffer.
 +and defaults to the current buffer.  Windows are scanned starting
 +with the selected window.
  
 -The optional arguments MINIBUF and ALL-FRAMES specify the set of
 -windows to consider.  See `walk-windows' for the precise meaning
 -of these arguments."
 -  (let ((buffer (cond
 -               ((not buffer-or-name) (current-buffer))
 -               ((bufferp buffer-or-name) buffer-or-name)
 -               (t (get-buffer buffer-or-name))))
 +MINIBUF t means include the minibuffer window even if the
 +minibuffer is not active.  MINIBUF nil or omitted means include
 +the minibuffer window only if the minibuffer is active.  Any
 +other value means do not include the minibuffer window even if
 +the minibuffer is active.
 +
 +ALL-FRAMES nil or omitted means consider all windows on the
 +selected frame, plus the minibuffer window if specified by the
 +MINIBUF argument.  If the minibuffer counts, consider all windows
 +on all frames that share that minibuffer too.  The following
 +non-nil values of ALL-FRAMES have special meanings:
 +
 +- t means consider all windows on all existing frames.
 +
 +- `visible' means consider all windows on all visible frames on
 +  the current terminal.
 +
 +- 0 (the number zero) means consider all windows on all visible
 +  and iconified frames on the current terminal.
 +
 +- A frame means consider all windows on that frame only.
 +
 +Anything else means consider all windows on the selected frame
 +and no others."
 +  (let ((buffer (window-normalize-buffer buffer-or-name))
        windows)
 -    (walk-windows (function (lambda (window)
 -                            (if (eq (window-buffer window) buffer)
 -                                (setq windows (cons window windows)))))
 -                minibuf all-frames)
 -    windows))
 +    (dolist (window (window-list-1 (selected-window) minibuf all-frames))
 +      (when (eq (window-buffer window) buffer)
 +      (setq windows (cons window windows))))
 +    (nreverse windows)))
  
  (defun minibuffer-window-active-p (window)
    "Return t if WINDOW is the currently active minibuffer window."
    (eq window (active-minibuffer-window)))
 -\f
 +
  (defun count-windows (&optional minibuf)
 -   "Return the number of visible windows.
 +   "Return the number of live windows on the selected frame.
  The optional argument MINIBUF specifies whether the minibuffer
  window shall be counted.  See `walk-windows' for the precise
  meaning of this argument."
 -   (let ((count 0))
 -     (walk-windows (lambda (w) (setq count (+ count 1)))
 -                 minibuf)
 -     count))
 +   (length (window-list-1 nil minibuf)))
  \f
 -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 -;;; `balance-windows' subroutines using `window-tree'
 -
 -;;; Translate from internal window tree format
 -
 -(defun bw-get-tree (&optional window-or-frame)
 -  "Get a window split tree in our format.
 -
 -WINDOW-OR-FRAME must be nil, a frame, or a window.  If it is nil,
 -then the whole window split tree for `selected-frame' is returned.
 -If it is a frame, then this is used instead.  If it is a window,
 -then the smallest tree containing that window is returned."
 -  (when window-or-frame
 -    (unless (or (framep window-or-frame)
 -                (windowp window-or-frame))
 -      (error "Not a frame or window: %s" window-or-frame)))
 -  (let ((subtree (bw-find-tree-sub window-or-frame)))
 -    (when subtree
 -      (if (integerp subtree)
 -        nil
 -      (bw-get-tree-1 subtree)))))
 -
 -(defun bw-get-tree-1 (split)
 -  (if (windowp split)
 -      split
 -    (let ((dir (car split))
 -          (edges (car (cdr split)))
 -          (childs (cdr (cdr split))))
 -      (list
 -       (cons 'dir (if dir 'ver 'hor))
 -       (cons 'b (nth 3 edges))
 -       (cons 'r (nth 2 edges))
 -       (cons 't (nth 1 edges))
 -       (cons 'l (nth 0 edges))
 -       (cons 'childs (mapcar #'bw-get-tree-1 childs))))))
 -
 -(defun bw-find-tree-sub (window-or-frame &optional get-parent)
 -  (let* ((window (when (windowp window-or-frame) window-or-frame))
 -         (frame (when (windowp window) (window-frame window)))
 -         (wt (car (window-tree frame))))
 -    (when (< 1 (length (window-list frame 0)))
 -      (if window
 -          (bw-find-tree-sub-1 wt window get-parent)
 -        wt))))
 -
 -(defun bw-find-tree-sub-1 (tree win &optional get-parent)
 -  (unless (windowp win) (error "Not a window: %s" win))
 -  (if (memq win tree)
 -      (if get-parent
 -          get-parent
 -        tree)
 -    (let ((childs (cdr (cdr tree)))
 -          child
 -          subtree)
 -      (while (and childs (not subtree))
 -        (setq child (car childs))
 -        (setq childs (cdr childs))
 -        (when (and child (listp child))
 -          (setq subtree (bw-find-tree-sub-1 child win get-parent))))
 -      (if (integerp subtree)
 -          (progn
 -            (if (= 1 subtree)
 -                tree
 -              (1- subtree)))
 -        subtree
 -        ))))
 -
 -;;; Window or object edges
 -
 -(defun bw-l (obj)
 -  "Left edge of OBJ."
 -  (if (windowp obj) (nth 0 (window-edges obj)) (cdr (assq 'l obj))))
 -(defun bw-t (obj)
 -  "Top edge of OBJ."
 -  (if (windowp obj) (nth 1 (window-edges obj)) (cdr (assq 't obj))))
 -(defun bw-r (obj)
 -  "Right edge of OBJ."
 -  (if (windowp obj) (nth 2 (window-edges obj)) (cdr (assq 'r obj))))
 -(defun bw-b (obj)
 -  "Bottom edge of OBJ."
 -  (if (windowp obj) (nth 3 (window-edges obj)) (cdr (assq 'b obj))))
 -
 -;;; Split directions
 -
 -(defun bw-dir (obj)
 -  "Return window split tree direction if OBJ.
 -If OBJ is a window return 'both.  If it is a window split tree
 -then return its direction."
 -  (if (symbolp obj)
 -      obj
 -    (if (windowp obj)
 -        'both
 -      (let ((dir (cdr (assq 'dir obj))))
 -        (unless (memq dir '(hor ver both))
 -          (error "Can't find dir in %s" obj))
 -        dir))))
 -
 -(defun bw-eqdir (obj1 obj2)
 -  "Return t if window split tree directions are equal.
 -OBJ1 and OBJ2 should be either windows or window split trees in
 -our format.  The directions returned by `bw-dir' are compared and
 -t is returned if they are `eq' or one of them is 'both."
 -  (let ((dir1 (bw-dir obj1))
 -        (dir2 (bw-dir obj2)))
 -    (or (eq dir1 dir2)
 -        (eq dir1 'both)
 -        (eq dir2 'both))))
 -
 -;;; Building split tree
 -
 -(defun bw-refresh-edges (obj)
 -  "Refresh the edge information of OBJ and return OBJ."
 -  (unless (windowp obj)
 -    (let ((childs (cdr (assq 'childs obj)))
 -          (ol 1000)
 -          (ot 1000)
 -          (or -1)
 -          (ob -1))
 -      (dolist (o childs)
 -        (when (> ol (bw-l o)) (setq ol (bw-l o)))
 -        (when (> ot (bw-t o)) (setq ot (bw-t o)))
 -        (when (< or (bw-r o)) (setq or (bw-r o)))
 -        (when (< ob (bw-b o)) (setq ob (bw-b o))))
 -      (setq obj (delq 'l obj))
 -      (setq obj (delq 't obj))
 -      (setq obj (delq 'r obj))
 -      (setq obj (delq 'b obj))
 -      (add-to-list 'obj (cons 'l ol))
 -      (add-to-list 'obj (cons 't ot))
 -      (add-to-list 'obj (cons 'r or))
 -      (add-to-list 'obj (cons 'b ob))
 -      ))
 -  obj)
 -
 -;;; Balance windows
 +;;; Resizing windows.
 +(defun window--resize-reset (&optional frame horizontal)
 +  "Reset resize values for all windows on FRAME.
 +FRAME defaults to the selected frame.
 +
 +This function stores the current value of `window-total-size' applied
 +with argument HORIZONTAL in the new total size of all windows on
 +FRAME.  It also resets the new normal size of each of these
 +windows."
 +  (window--resize-reset-1
 +   (frame-root-window (window-normalize-frame frame)) horizontal))
 +
 +(defun window--resize-reset-1 (window horizontal)
 +  "Internal function of `window--resize-reset'."
 +  ;; Register old size in the new total size.
 +  (set-window-new-total window (window-total-size window horizontal))
 +  ;; Reset new normal size.
 +  (set-window-new-normal window)
 +  (when (window-child window)
 +    (window--resize-reset-1 (window-child window) horizontal))
 +  (when (window-right window)
 +    (window--resize-reset-1 (window-right window) horizontal)))
 +
 +;; The following routine is used to manually resize the minibuffer
 +;; window and is currently used, for example, by ispell.el.
 +(defun window--resize-mini-window (window delta)
 +  "Resize minibuffer window WINDOW by DELTA lines.
 +If WINDOW cannot be resized by DELTA lines make it as large \(or
 +as small) as possible but don't signal an error."
 +  (when (window-minibuffer-p window)
 +    (let* ((frame (window-frame window))
 +         (root (frame-root-window frame))
 +         (height (window-total-size window))
 +         (min-delta
 +          (- (window-total-size root)
 +             (window-min-size root))))
 +      ;; Sanitize DELTA.
 +      (cond
 +       ((<= (+ height delta) 0)
 +      (setq delta (- (- height 1))))
 +       ((> delta min-delta)
 +      (setq delta min-delta)))
 +
 +      ;; Resize now.
 +      (window--resize-reset frame)
 +      ;; Ideally we should be able to resize just the last subwindow of
 +      ;; root here.  See the comment in `resize-root-window-vertically'
 +      ;; for why we do not do that.
 +      (window--resize-this-window root (- delta) nil nil t)
 +      (set-window-new-total window (+ height delta))
 +      ;; The following routine catches the case where we want to resize
 +      ;; a minibuffer-only frame.
 +      (resize-mini-window-internal window))))
 +
 +(defun window-resize (window delta &optional horizontal ignore)
 +  "Resize WINDOW vertically by DELTA lines.
 +WINDOW can be an arbitrary window and defaults to the selected
 +one.  An attempt to resize the root window of a frame will raise
 +an error though.
 +
 +DELTA a positive number means WINDOW shall be enlarged by DELTA
 +lines.  DELTA negative means WINDOW shall be shrunk by -DELTA
 +lines.
 +
 +Optional argument HORIZONTAL non-nil means resize WINDOW
 +horizontally by DELTA columns.  In this case a positive DELTA
 +means enlarge WINDOW by DELTA columns.  DELTA negative means
 +WINDOW shall be shrunk by -DELTA columns.
 +
 +Optional argument IGNORE non-nil means ignore any restrictions
 +imposed by fixed size windows, `window-min-height' or
 +`window-min-width' settings.  IGNORE any window means ignore
 +restrictions for that window only.  IGNORE equal `safe' means
 +live windows may get as small as `window-safe-min-height' lines
 +and `window-safe-min-width' columns.
 +
 +This function resizes other windows proportionally and never
 +deletes any windows.  If you want to move only the low (right)
 +edge of WINDOW consider using `adjust-window-trailing-edge'
 +instead."
 +  (setq window (window-normalize-any-window window))
 +  (let* ((frame (window-frame window))
 +       sibling)
 +    (cond
 +     ((eq window (frame-root-window frame))
 +      (error "Cannot resize the root window of a frame"))
 +     ((window-minibuffer-p window)
 +      (window--resize-mini-window window delta))
 +     ((window-resizable-p window delta horizontal ignore)
 +      (window--resize-reset frame horizontal)
 +      (window--resize-this-window window delta horizontal ignore t)
 +      (if (and (not (window-splits window))
 +             (window-iso-combined-p window horizontal)
 +             (setq sibling (or (window-right window) (window-left window)))
 +             (window-sizable-p sibling (- delta) horizontal ignore))
 +        ;; If window-splits returns nil for WINDOW, WINDOW is part of
 +        ;; an iso-combination, and WINDOW's neighboring right or left
 +        ;; sibling can be resized as requested, resize that sibling.
 +        (let ((normal-delta
 +               (/ (float delta)
 +                  (window-total-size (window-parent window) horizontal))))
 +          (window--resize-this-window sibling (- delta) horizontal nil t)
 +          (set-window-new-normal
 +           window (+ (window-normal-size window horizontal)
 +                     normal-delta))
 +          (set-window-new-normal
 +           sibling (- (window-normal-size sibling horizontal)
 +                      normal-delta)))
 +      ;; Otherwise, resize all other windows in the same combination.
 +      (window--resize-siblings window delta horizontal ignore))
 +      (window-resize-apply frame horizontal))
 +     (t
 +      (error "Cannot resize window %s" window)))))
 +
 +(defsubst window--resize-subwindows-skip-p (window)
 +  "Return non-nil if WINDOW shall be skipped by resizing routines."
 +  (memq (window-new-normal window) '(ignore stuck skip)))
 +
 +(defun window--resize-subwindows-normal (parent horizontal window this-delta &optional trail other-delta)
 +  "Set the new normal height of subwindows of window PARENT.
 +HORIZONTAL non-nil means set the new normal width of these
 +windows.  WINDOW specifies a subwindow of PARENT that has been
 +resized by THIS-DELTA lines \(columns).
 +
 +Optional argument TRAIL either 'before or 'after means set values
 +for windows before or after WINDOW only.  Optional argument
 +OTHER-DELTA a number specifies that this many lines \(columns)
 +have been obtained from \(or returned to) an ancestor window of
 +PARENT in order to resize WINDOW."
 +  (let* ((delta-normal
 +        (if (and (= (- this-delta) (window-total-size window horizontal))
 +                 (zerop other-delta))
 +            ;; When WINDOW gets deleted and we can return its entire
 +            ;; space to its siblings, use WINDOW's normal size as the
 +            ;; normal delta.
 +            (- (window-normal-size window horizontal))
 +          ;; In any other case calculate the normal delta from the
 +          ;; relation of THIS-DELTA to the total size of PARENT.
 +          (/ (float this-delta) (window-total-size parent horizontal))))
 +       (sub (window-child parent))
 +       (parent-normal 0.0)
 +       (skip (eq trail 'after)))
 +
 +    ;; Set parent-normal to the sum of the normal sizes of all
 +    ;; subwindows of PARENT that shall be resized, excluding only WINDOW
 +    ;; and any windows specified by the optional TRAIL argument.
 +    (while sub
 +      (cond
 +       ((eq sub window)
 +      (setq skip (eq trail 'before)))
 +       (skip)
 +       (t
 +      (setq parent-normal
 +            (+ parent-normal (window-normal-size sub horizontal)))))
 +      (setq sub (window-right sub)))
 +
 +    ;; Set the new normal size of all subwindows of PARENT from what
 +    ;; they should have contributed for recovering THIS-DELTA lines
 +    ;; (columns).
 +    (setq sub (window-child parent))
 +    (setq skip (eq trail 'after))
 +    (while sub
 +      (cond
 +       ((eq sub window)
 +      (setq skip (eq trail 'before)))
 +       (skip)
 +       (t
 +      (let ((old-normal (window-normal-size sub horizontal)))
 +        (set-window-new-normal
 +         sub (min 1.0 ; Don't get larger than 1.
 +                  (max (- old-normal
 +                          (* (/ old-normal parent-normal)
 +                             delta-normal))
 +                       ;; Don't drop below 0.
 +                       0.0))))))
 +      (setq sub (window-right sub)))
 +
 +    (when (numberp other-delta)
 +      ;; Set the new normal size of windows from what they should have
 +      ;; contributed for recovering OTHER-DELTA lines (columns).
 +      (setq delta-normal (/ (float (window-total-size parent horizontal))
 +                          (+ (window-total-size parent horizontal)
 +                             other-delta)))
 +      (setq sub (window-child parent))
 +      (setq skip (eq trail 'after))
 +      (while sub
 +      (cond
 +       ((eq sub window)
 +        (setq skip (eq trail 'before)))
 +       (skip)
 +       (t
 +        (set-window-new-normal
 +         sub (min 1.0 ; Don't get larger than 1.
 +                  (max (* (window-new-normal sub) delta-normal)
 +                       ;; Don't drop below 0.
 +                       0.0)))))
 +      (setq sub (window-right sub))))
 +
 +    ;; Set the new normal size of WINDOW to what is left by the sum of
 +    ;; the normal sizes of its siblings.
 +    (set-window-new-normal
 +     window
 +     (let ((sum 0))
 +       (setq sub (window-child parent))
 +       (while sub
 +       (cond
 +        ((eq sub window))
 +        ((not (numberp (window-new-normal sub)))
 +         (setq sum (+ sum (window-normal-size sub horizontal))))
 +        (t
 +         (setq sum (+ sum (window-new-normal sub)))))
 +       (setq sub (window-right sub)))
 +       ;; Don't get larger than 1 or smaller than 0.
 +       (min 1.0 (max (- 1.0 sum) 0.0))))))
 +
 +(defun window--resize-subwindows (parent delta &optional horizontal window ignore trail edge)
 +  "Resize subwindows of window PARENT vertically by DELTA lines.
 +PARENT must be a vertically combined internal window.
 +
 +Optional argument HORIZONTAL non-nil means resize subwindows of
 +PARENT horizontally by DELTA columns.  In this case PARENT must
 +be a horizontally combined internal window.
 +
 +WINDOW, if specified, must denote a child window of PARENT that
 +is resized by DELTA lines.
 +
 +Optional argument IGNORE non-nil means ignore any restrictions
 +imposed by fixed size windows, `window-min-height' or
 +`window-min-width' settings.  IGNORE equal `safe' means live
 +windows may get as small as `window-safe-min-height' lines and
 +`window-safe-min-width' columns.  IGNORE any window means ignore
 +restrictions for that window only.
 +
 +Optional arguments TRAIL and EDGE, when non-nil, restrict the set
 +of windows that shall be resized.  If TRAIL equals `before',
 +resize only windows on the left or above EDGE.  If TRAIL equals
 +`after', resize only windows on the right or below EDGE.  Also,
 +preferably only resize windows adjacent to EDGE.
 +
 +Return the symbol `normalized' if new normal sizes have been
 +already set by this routine."
 +  (let* ((first (window-child parent))
 +       (sub first)
 +       (parent-total (+ (window-total-size parent horizontal) delta))
 +       best-window best-value)
 +
 +    (if (and edge (memq trail '(before after))
 +           (progn
 +             (setq sub first)
 +             (while (and (window-right sub)
 +                         (or (and (eq trail 'before)
 +                                  (not (window--resize-subwindows-skip-p
 +                                        (window-right sub))))
 +                             (and (eq trail 'after)
 +                                  (window--resize-subwindows-skip-p sub))))
 +               (setq sub (window-right sub)))
 +             sub)
 +           (if horizontal
 +               (if (eq trail 'before)
 +                   (= (+ (window-left-column sub)
 +                         (window-total-size sub t))
 +                      edge)
 +                 (= (window-left-column sub) edge))
 +             (if (eq trail 'before)
 +                 (= (+ (window-top-line sub)
 +                       (window-total-size sub))
 +                    edge)
 +               (= (window-top-line sub) edge)))
 +           (window-sizable-p sub delta horizontal ignore))
 +      ;; Resize only windows adjacent to EDGE.
 +      (progn
 +        (window--resize-this-window
 +         sub delta horizontal ignore t trail edge)
 +        (if (and window (eq (window-parent sub) parent))
 +            (progn
 +              ;; Assign new normal sizes.
 +              (set-window-new-normal
 +               sub (/ (float (window-new-total sub)) parent-total))
 +              (set-window-new-normal
 +               window (- (window-normal-size window horizontal)
 +                         (- (window-new-normal sub)
 +                            (window-normal-size sub horizontal)))))
 +          (window--resize-subwindows-normal
 +           parent horizontal sub 0 trail delta))
 +        ;; Return 'normalized to notify `window--resize-siblings' that
 +        ;; normal sizes have been already set.
 +        'normalized)
 +      ;; Resize all windows proportionally.
 +      (setq sub first)
 +      (while sub
 +      (cond
 +       ((or (window--resize-subwindows-skip-p sub)
 +            ;; Ignore windows to skip and fixed-size subwindows - in
 +            ;; the latter case make it a window to skip.
 +            (and (not ignore)
 +                 (window-size-fixed-p sub horizontal)
 +                 (set-window-new-normal sub 'ignore))))
 +       ((< delta 0)
 +        ;; When shrinking store the number of lines/cols we can get
 +        ;; from this window here together with the total/normal size
 +        ;; factor.
 +        (set-window-new-normal
 +         sub
 +         (cons
 +          ;; We used to call this with NODOWN t, "fixed" 2011-05-11.
 +          (window-min-delta sub horizontal ignore trail t) ; t)
 +          (- (/ (float (window-total-size sub horizontal))
 +                parent-total)
 +             (window-normal-size sub horizontal)))))
 +       ((> delta 0)
 +        ;; When enlarging store the total/normal size factor only
 +        (set-window-new-normal
 +         sub
 +         (- (/ (float (window-total-size sub horizontal))
 +               parent-total)
 +            (window-normal-size sub horizontal)))))
 +
 +      (setq sub (window-right sub)))
 +
 +      (cond
 +       ((< delta 0)
 +      ;; Shrink windows by delta.
 +      (setq best-window t)
 +      (while (and best-window (not (zerop delta)))
 +        (setq sub first)
 +        (setq best-window nil)
 +        (setq best-value most-negative-fixnum)
 +        (while sub
 +          (when (and (consp (window-new-normal sub))
 +                     (not (zerop (car (window-new-normal sub))))
 +                     (> (cdr (window-new-normal sub)) best-value))
 +            (setq best-window sub)
 +            (setq best-value (cdr (window-new-normal sub))))
 +
 +          (setq sub (window-right sub)))
 +
 +        (when best-window
 +          (setq delta (1+ delta)))
 +        (set-window-new-total best-window -1 t)
 +        (set-window-new-normal
 +         best-window
 +         (if (= (car (window-new-normal best-window)) 1)
 +             'skip ; We can't shrink best-window any further.
 +           (cons (1- (car (window-new-normal best-window)))
 +                 (- (/ (float (window-new-total best-window))
 +                       parent-total)
 +                    (window-normal-size best-window horizontal)))))))
 +       ((> delta 0)
 +      ;; Enlarge windows by delta.
 +      (setq best-window t)
 +      (while (and best-window (not (zerop delta)))
 +        (setq sub first)
 +        (setq best-window nil)
 +        (setq best-value most-positive-fixnum)
 +        (while sub
 +          (when (and (numberp (window-new-normal sub))
 +                     (< (window-new-normal sub) best-value))
 +            (setq best-window sub)
 +            (setq best-value (window-new-normal sub)))
 +
 +          (setq sub (window-right sub)))
 +
 +        (when best-window
 +          (setq delta (1- delta)))
 +        (set-window-new-total best-window 1 t)
 +        (set-window-new-normal
 +         best-window
 +         (- (/ (float (window-new-total best-window))
 +               parent-total)
 +            (window-normal-size best-window horizontal))))))
 +
 +      (when best-window
 +      (setq sub first)
 +      (while sub
 +        (when (or (consp (window-new-normal sub))
 +                  (numberp (window-new-normal sub)))
 +          ;; Reset new normal size fields so `window-resize-apply'
 +          ;; won't use them to apply new sizes.
 +          (set-window-new-normal sub))
 +
 +        (unless (eq (window-new-normal sub) 'ignore)
 +          ;; Resize this subwindow's subwindows (back-engineering
 +          ;; delta from sub's old and new total sizes).
 +          (let ((delta (- (window-new-total sub)
 +                          (window-total-size sub horizontal))))
 +            (unless (and (zerop delta) (not trail))
 +              ;; For the TRAIL non-nil case we have to resize SUB
 +              ;; recursively even if it's size does not change.
 +              (window--resize-this-window
 +               sub delta horizontal ignore nil trail edge))))
 +        (setq sub (window-right sub)))))))
 +
 +(defun window--resize-siblings (window delta &optional horizontal ignore trail edge)
 +  "Resize other windows when WINDOW is resized vertically by DELTA lines.
 +Optional argument HORIZONTAL non-nil means resize other windows
 +when WINDOW is resized horizontally by DELTA columns.  WINDOW
 +itself is not resized by this function.
 +
 +Optional argument IGNORE non-nil means ignore any restrictions
 +imposed by fixed size windows, `window-min-height' or
 +`window-min-width' settings.  IGNORE equal `safe' means live
 +windows may get as small as `window-safe-min-height' lines and
 +`window-safe-min-width' columns.  IGNORE any window means ignore
 +restrictions for that window only.
 +
 +Optional arguments TRAIL and EDGE, when non-nil, refine the set
 +of windows that shall be resized.  If TRAIL equals `before',
 +resize only windows on the left or above EDGE.  If TRAIL equals
 +`after', resize only windows on the right or below EDGE.  Also,
 +preferably only resize windows adjacent to EDGE."
 +  (when (window-parent window)
 +    (let* ((parent (window-parent window))
 +         (sub (window-child parent)))
 +      (if (window-iso-combined-p sub horizontal)
 +        ;; In an iso-combination try to extract DELTA from WINDOW's
 +        ;; siblings.
 +        (let ((first sub)
 +              (skip (eq trail 'after))
 +              this-delta other-delta)
 +          ;; Decide which windows shall be left alone.
 +          (while sub
 +            (cond
 +             ((eq sub window)
 +              ;; Make sure WINDOW is left alone when
 +              ;; resizing its siblings.
 +              (set-window-new-normal sub 'ignore)
 +              (setq skip (eq trail 'before)))
 +             (skip
 +              ;; Make sure this sibling is left alone when
 +              ;; resizing its siblings.
 +              (set-window-new-normal sub 'ignore))
 +             ((or (window-size-ignore sub ignore)
 +                  (not (window-size-fixed-p sub horizontal)))
 +              ;; Set this-delta to t to signal that we found a sibling
 +              ;; of WINDOW whose size is not fixed.
 +              (setq this-delta t)))
 +
 +            (setq sub (window-right sub)))
 +
 +          ;; Set this-delta to what we can get from WINDOW's siblings.
 +          (if (= (- delta) (window-total-size window horizontal))
 +              ;; A deletion, presumably.  We must handle this case
 +              ;; specially since `window-resizable' can't be used.
 +              (if this-delta
 +                  ;; There's at least one resizable sibling we can
 +                  ;; give WINDOW's size to.
 +                  (setq this-delta delta)
 +                ;; No resizable sibling exists.
 +                (setq this-delta 0))
 +            ;; Any other form of resizing.
 +            (setq this-delta
 +                  (window-resizable window delta horizontal ignore trail t)))
 +
 +          ;; Set other-delta to what we still have to get from
 +          ;; ancestor windows of parent.
 +          (setq other-delta (- delta this-delta))
 +          (unless (zerop other-delta)
 +            ;; Unless we got everything from WINDOW's siblings, PARENT
 +            ;; must be resized by other-delta lines or columns.
 +            (set-window-new-total parent other-delta 'add))
 +
 +          (if (zerop this-delta)
 +              ;; We haven't got anything from WINDOW's siblings but we
 +              ;; must update the normal sizes to respect other-delta.
 +              (window--resize-subwindows-normal
 +               parent horizontal window this-delta trail other-delta)
 +            ;; We did get something from WINDOW's siblings which means
 +            ;; we have to resize their subwindows.
 +            (unless (eq (window--resize-subwindows
 +                         parent (- this-delta) horizontal
 +                         window ignore trail edge)
 +                        ;; If `window--resize-subwindows' returns
 +                        ;; 'normalized, this means it has set the
 +                        ;; normal sizes already.
 +                        'normalized)
 +              ;; Set the normal sizes.
 +              (window--resize-subwindows-normal
 +               parent horizontal window this-delta trail other-delta))
 +            ;; Set DELTA to what we still have to get from ancestor
 +            ;; windows.
 +            (setq delta other-delta)))
 +
 +      ;; In an ortho-combination all siblings of WINDOW must be
 +      ;; resized by DELTA.
 +      (set-window-new-total parent delta 'add)
 +      (while sub
 +        (unless (eq sub window)
 +          (window--resize-this-window sub delta horizontal ignore t))
 +        (setq sub (window-right sub))))
 +
 +      (unless (zerop delta)
 +      ;; "Go up."
 +      (window--resize-siblings
 +       parent delta horizontal ignore trail edge)))))
 +
 +(defun window--resize-this-window (window delta &optional horizontal ignore add trail edge)
 +  "Resize WINDOW vertically by DELTA lines.
 +Optional argument HORIZONTAL non-nil means resize WINDOW
 +horizontally by DELTA columns.
 +
 +Optional argument IGNORE non-nil means ignore any restrictions
 +imposed by fixed size windows, `window-min-height' or
 +`window-min-width' settings.  IGNORE equal `safe' means live
 +windows may get as small as `window-safe-min-height' lines and
 +`window-safe-min-width' columns.  IGNORE any window means ignore
 +restrictions for that window only.
 +
 +Optional argument ADD non-nil means add DELTA to the new total
 +size of WINDOW.
 +
 +Optional arguments TRAIL and EDGE, when non-nil, refine the set
 +of windows that shall be resized.  If TRAIL equals `before',
 +resize only windows on the left or above EDGE.  If TRAIL equals
 +`after', resize only windows on the right or below EDGE.  Also,
 +preferably only resize windows adjacent to EDGE.
 +
 +This function recursively resizes WINDOW's subwindows to fit the
 +new size.  Make sure that WINDOW is `window-resizable' before
 +calling this function.  Note that this function does not resize
 +siblings of WINDOW or WINDOW's parent window.  You have to
 +eventually call `window-resize-apply' in order to make resizing
 +actually take effect."
 +  (when add
 +    ;; Add DELTA to the new total size of WINDOW.
 +    (set-window-new-total window delta t))
 +
 +  (let ((sub (window-child window)))
 +    (cond
 +     ((not sub))
 +     ((window-iso-combined-p sub horizontal)
 +      ;; In an iso-combination resize subwindows according to their
 +      ;; normal sizes.
 +      (window--resize-subwindows
 +       window delta horizontal nil ignore trail edge))
 +     ;; In an ortho-combination resize each subwindow by DELTA.
 +     (t
 +      (while sub
 +      (window--resize-this-window
 +       sub delta horizontal ignore t trail edge)
 +      (setq sub (window-right sub)))))))
 +
 +(defun window--resize-root-window (window delta horizontal ignore)
 +  "Resize root window WINDOW vertically by DELTA lines.
 +HORIZONTAL non-nil means resize root window WINDOW horizontally
 +by DELTA columns.
 +
 +IGNORE non-nil means ignore any restrictions imposed by fixed
 +size windows, `window-min-height' or `window-min-width' settings.
 +
 +This function is only called by the frame resizing routines.  It
 +resizes windows proportionally and never deletes any windows."
 +  (when (and (windowp window) (numberp delta)
 +           (window-sizable-p window delta horizontal ignore))
 +    (window--resize-reset (window-frame window) horizontal)
 +    (window--resize-this-window window delta horizontal ignore t)))
 +
 +(defun window--resize-root-window-vertically (window delta)
 +  "Resize root window WINDOW vertically by DELTA lines.
 +If DELTA is less than zero and we can't shrink WINDOW by DELTA
 +lines, shrink it as much as possible.  If DELTA is greater than
 +zero, this function can resize fixed-size subwindows in order to
 +recover the necessary lines.
 +
 +Return the number of lines that were recovered.
 +
 +This function is only called by the minibuffer window resizing
 +routines.  It resizes windows proportionally and never deletes
 +any windows."
 +  (when (numberp delta)
 +    (let (ignore)
 +      (cond
 +       ((< delta 0)
 +      (setq delta (window-sizable window delta)))
 +       ((> delta 0)
 +      (unless (window-sizable window delta)
 +        (setq ignore t))))
 +
 +      (window--resize-reset (window-frame window))
 +      ;; Ideally, we would resize just the last window in a combination
 +      ;; but that's not feasible for the following reason: If we grow
 +      ;; the minibuffer window and the last window cannot be shrunk any
 +      ;; more, we shrink another window instead.  But if we then shrink
 +      ;; the minibuffer window again, the last window might get enlarged
 +      ;; and the state after shrinking is not the state before growing.
 +      ;; So, in practice, we'd need a history variable to record how to
 +      ;; proceed.  But I'm not sure how such a variable could work with
 +      ;; repeated minibuffer window growing steps.
 +      (window--resize-this-window window delta nil ignore t)
 +      delta)))
 +
 +(defun adjust-window-trailing-edge (window delta &optional horizontal)
 +  "Move WINDOW's bottom edge by DELTA lines.
 +Optional argument HORIZONTAL non-nil means move WINDOW's right
 +edge by DELTA columns.  WINDOW defaults to the selected window.
 +
 +If DELTA is greater zero, then move the edge downwards or to the
 +right.  If DELTA is less than zero, move the edge upwards or to
 +the left.  If the edge can't be moved by DELTA lines or columns,
 +move it as far as possible in the desired direction."
 +  (setq window (window-normalize-any-window window))
 +  (let ((frame (window-frame window))
 +      (right window)
 +      left this-delta min-delta max-delta failed)
 +    ;; Find the edge we want to move.
 +    (while (and (or (not (window-iso-combined-p right horizontal))
 +                  (not (window-right right)))
 +              (setq right (window-parent right))))
 +    (cond
 +     ((and (not right) (not horizontal) (not resize-mini-windows)
 +         (eq (window-frame (minibuffer-window frame)) frame))
 +      (window--resize-mini-window (minibuffer-window frame) (- delta)))
 +     ((or (not (setq left right)) (not (setq right (window-right right))))
 +      (if horizontal
 +        (error "No window on the right of this one")
 +      (error "No window below this one")))
 +     (t
 +      ;; Set LEFT to the first resizable window on the left.  This step is
 +      ;; needed to handle fixed-size windows.
 +      (while (and left (window-size-fixed-p left horizontal))
 +      (setq left
 +            (or (window-left left)
 +                (progn
 +                  (while (and (setq left (window-parent left))
 +                              (not (window-iso-combined-p left horizontal))))
 +                  (window-left left)))))
 +      (unless left
 +      (if horizontal
 +          (error "No resizable window on the left of this one")
 +        (error "No resizable window above this one")))
 +
 +      ;; Set RIGHT to the first resizable window on the right.  This step
 +      ;; is needed to handle fixed-size windows.
 +      (while (and right (window-size-fixed-p right horizontal))
 +      (setq right
 +            (or (window-right right)
 +                (progn
 +                  (while (and (setq right (window-parent right))
 +                              (not (window-iso-combined-p right horizontal))))
 +                  (window-right right)))))
 +      (unless right
 +      (if horizontal
 +          (error "No resizable window on the right of this one")
 +        (error "No resizable window below this one")))
 +
 +      ;; LEFT and RIGHT (which might be both internal windows) are now the
 +      ;; two windows we want to resize.
 +      (cond
 +       ((> delta 0)
 +      (setq max-delta (window-max-delta-1 left 0 horizontal nil 'after))
 +      (setq min-delta (window-min-delta-1 right (- delta) horizontal nil 'before))
 +      (when (or (< max-delta delta) (> min-delta (- delta)))
 +        ;; We can't get the whole DELTA - move as far as possible.
 +        (setq delta (min max-delta (- min-delta))))
 +      (unless (zerop delta)
 +        ;; Start resizing.
 +        (window--resize-reset frame horizontal)
 +        ;; Try to enlarge LEFT first.
 +        (setq this-delta (window-resizable left delta horizontal))
 +        (unless (zerop this-delta)
 +          (window--resize-this-window
 +           left this-delta horizontal nil t 'before
 +           (if horizontal
 +               (+ (window-left-column left) (window-total-size left t))
 +             (+ (window-top-line left) (window-total-size left)))))
 +        ;; Shrink windows on right of LEFT.
 +        (window--resize-siblings
 +         left delta horizontal nil 'after
 +         (if horizontal
 +             (window-left-column right)
 +           (window-top-line right)))))
 +       ((< delta 0)
 +      (setq max-delta (window-max-delta-1 right 0 horizontal nil 'before))
 +      (setq min-delta (window-min-delta-1 left delta horizontal nil 'after))
 +      (when (or (< max-delta (- delta)) (> min-delta delta))
 +        ;; We can't get the whole DELTA - move as far as possible.
 +        (setq delta (max (- max-delta) min-delta)))
 +      (unless (zerop delta)
 +        ;; Start resizing.
 +        (window--resize-reset frame horizontal)
 +        ;; Try to enlarge RIGHT.
 +        (setq this-delta (window-resizable right (- delta) horizontal))
 +        (unless (zerop this-delta)
 +          (window--resize-this-window
 +           right this-delta horizontal nil t 'after
 +           (if horizontal
 +               (window-left-column right)
 +             (window-top-line right))))
 +        ;; Shrink windows on left of RIGHT.
 +        (window--resize-siblings
 +         right (- delta) horizontal nil 'before
 +         (if horizontal
 +             (+ (window-left-column left) (window-total-size left t))
 +           (+ (window-top-line left) (window-total-size left)))))))
 +      (unless (zerop delta)
 +      ;; Don't report an error in the standard case.
 +      (unless (window-resize-apply frame horizontal)
 +        ;; But do report an error if applying the changes fails.
 +        (error "Failed adjusting window %s" window)))))))
 +
 +(defun enlarge-window (delta &optional horizontal)
 +  "Make selected window DELTA lines taller.
 +Interactively, if no argument is given, make the selected window
 +one line taller.  If optional argument HORIZONTAL is non-nil,
 +make selected window wider by DELTA columns.  If DELTA is
 +negative, shrink selected window by -DELTA lines or columns.
 +Return nil."
 +  (interactive "p")
 +  (cond
 +   ((zerop delta))
 +   ((window-size-fixed-p nil horizontal)
 +    (error "Selected window has fixed size"))
 +   ((window-resizable-p nil delta horizontal)
 +    (window-resize nil delta horizontal))
 +   (t
 +    (window-resize
 +     nil (if (> delta 0)
 +           (window-max-delta nil horizontal)
 +         (- (window-min-delta nil horizontal)))
 +     horizontal))))
 +
 +(defun shrink-window (delta &optional horizontal)
 +  "Make selected window DELTA lines smaller.
 +Interactively, if no argument is given, make the selected window
 +one line smaller.  If optional argument HORIZONTAL is non-nil,
 +make selected window narrower by DELTA columns.  If DELTA is
 +negative, enlarge selected window by -DELTA lines or columns.
 +Return nil."
 +  (interactive "p")
 +  (cond
 +   ((zerop delta))
 +   ((window-size-fixed-p nil horizontal)
 +    (error "Selected window has fixed size"))
 +   ((window-resizable-p nil (- delta) horizontal)
 +    (window-resize nil (- delta) horizontal))
 +   (t
 +    (window-resize
 +     nil (if (> delta 0)
 +           (- (window-min-delta nil horizontal))
 +         (window-max-delta nil horizontal))
 +     horizontal))))
 +
 +(defun maximize-window (&optional window)
 +  "Maximize WINDOW.
 +Make WINDOW as large as possible without deleting any windows.
 +WINDOW can be any window and defaults to the selected window."
 +  (interactive)
 +  (setq window (window-normalize-any-window window))
 +  (window-resize window (window-max-delta window))
 +  (window-resize window (window-max-delta window t) t))
 +
 +(defun minimize-window (&optional window)
 +  "Minimize WINDOW.
 +Make WINDOW as small as possible without deleting any windows.
 +WINDOW can be any window and defaults to the selected window."
 +  (interactive)
 +  (setq window (window-normalize-any-window window))
 +  (window-resize window (- (window-min-delta window)))
 +  (window-resize window (- (window-min-delta window t)) t))
 +\f
 +(defsubst frame-root-window-p (window)
 +  "Return non-nil if WINDOW is the root window of its frame."
 +  (eq window (frame-root-window window)))
 +
 +(defun window-tree-1 (window &optional next)
 +  "Return window tree rooted at WINDOW.
 +Optional argument NEXT non-nil means include windows right
 +siblings in the return value.
 +
 +See the documentation of `window-tree' for a description of the
 +return value."
 +  (let (list)
 +    (while window
 +      (setq list
 +          (cons
 +           (cond
 +            ((window-top-child window)
 +             (cons t (cons (window-edges window)
 +                           (window-tree-1 (window-top-child window) t))))
 +            ((window-left-child window)
 +             (cons nil (cons (window-edges window)
 +                             (window-tree-1 (window-left-child window) t))))
 +            (t window))
 +           list))
 +      (setq window (when next (window-next-sibling window))))
 +    (nreverse list)))
 +
 +(defun window-tree (&optional frame)
 +  "Return the window tree of frame FRAME.
 +FRAME must be a live frame and defaults to the selected frame.
 +The return value is a list of the form (ROOT MINI), where ROOT
 +represents the window tree of the frame's root window, and MINI
 +is the frame's minibuffer window.
 +
 +If the root window is not split, ROOT is the root window itself.
 +Otherwise, ROOT is a list (DIR EDGES W1 W2 ...) where DIR is nil
 +for a horizontal split, and t for a vertical split.  EDGES gives
 +the combined size and position of the subwindows in the split,
 +and the rest of the elements are the subwindows in the split.
 +Each of the subwindows may again be a window or a list
 +representing a window split, and so on.  EDGES is a list \(LEFT
 +TOP RIGHT BOTTOM) as returned by `window-edges'."
 +  (setq frame (window-normalize-frame frame))
 +  (window-tree-1 (frame-root-window frame) t))
 +\f
 +(defun other-window (count &optional all-frames)
 +  "Select another window in cyclic ordering of windows.
 +COUNT specifies the number of windows to skip, starting with the
 +selected window, before making the selection.  If COUNT is
 +positive, skip COUNT windows forwards.  If COUNT is negative,
 +skip -COUNT windows backwards.  COUNT zero means do not skip any
 +window, so select the selected window.  In an interactive call,
 +COUNT is the numeric prefix argument.  Return nil.
 +
 +If the `other-window' parameter of WINDOW is a function and
 +`ignore-window-parameters' is nil, call that function with the
 +arguments COUNT and ALL-FRAMES.
 +
 +This function does not select a window whose `no-other-window'
 +window parameter is non-nil.
 +
 +This function uses `next-window' for finding the window to
 +select.  The argument ALL-FRAMES has the same meaning as in
 +`next-window', but the MINIBUF argument of `next-window' is
 +always effectively nil."
 +  (interactive "p")
 +  (let* ((window (selected-window))
 +       (function (and (not ignore-window-parameters)
 +                      (window-parameter window 'other-window)))
 +       old-window old-count)
 +    (if (functionp function)
 +      (funcall function count all-frames)
 +      ;; `next-window' and `previous-window' may return a window we are
 +      ;; not allowed to select.  Hence we need an exit strategy in case
 +      ;; all windows are non-selectable.
 +      (catch 'exit
 +      (while (> count 0)
 +        (setq window (next-window window nil all-frames))
 +        (cond
 +         ((eq window old-window)
 +          (when (= count old-count)
 +            ;; Keep out of infinite loops.  When COUNT has not changed
 +            ;; since we last looked at `window' we're probably in one.
 +            (throw 'exit nil)))
 +         ((window-parameter window 'no-other-window)
 +          (unless old-window
 +            ;; The first non-selectable window `next-window' got us:
 +            ;; Remember it and the current value of COUNT.
 +            (setq old-window window)
 +            (setq old-count count)))
 +         (t
 +          (setq count (1- count)))))
 +      (while (< count 0)
 +        (setq window (previous-window window nil all-frames))
 +        (cond
 +         ((eq window old-window)
 +          (when (= count old-count)
 +            ;; Keep out of infinite loops.  When COUNT has not changed
 +            ;; since we last looked at `window' we're probably in one.
 +            (throw 'exit nil)))
 +         ((window-parameter window 'no-other-window)
 +          (unless old-window
 +            ;; The first non-selectable window `previous-window' got
 +            ;; us: Remember it and the current value of COUNT.
 +            (setq old-window window)
 +            (setq old-count count)))
 +         (t
 +          (setq count (1+ count)))))
 +
 +      (select-window window)
 +      ;; Always return nil.
 +      nil))))
 +
 +;; This should probably return non-nil when the selected window is part
 +;; of an atomic window whose root is the frame's root window.
 +(defun one-window-p (&optional nomini all-frames)
 +  "Return non-nil if the selected window is the only window.
 +Optional arg NOMINI non-nil means don't count the minibuffer
 +even if it is active.  Otherwise, the minibuffer is counted
 +when it is active.
  
 -(defun balance-windows (&optional window-or-frame)
 -  "Make windows the same heights or widths in window split subtrees.
 +Optional argument ALL-FRAMES specifies the set of frames to
 +consider, see also `next-window'.  ALL-FRAMES nil or omitted
 +means consider windows on the selected frame only, plus the
 +minibuffer window if specified by the NOMINI argument.  If the
 +minibuffer counts, consider all windows on all frames that share
 +that minibuffer too.  The remaining non-nil values of ALL-FRAMES
 +with a special meaning are:
 +
 +- t means consider all windows on all existing frames.
 +
 +- `visible' means consider all windows on all visible frames on
 +  the current terminal.
  
 -When called non-interactively WINDOW-OR-FRAME may be either a
 -window or a frame.  It then balances the windows on the implied
 -frame.  If the parameter is a window only the corresponding window
 -subtree is balanced."
 +- 0 (the number zero) means consider all windows on all visible
 +  and iconified frames on the current terminal.
 +
 +- A frame means consider all windows on that frame only.
 +
 +Anything else means consider all windows on the selected frame
 +and no others."
 +  (let ((base-window (selected-window)))
 +    (if (and nomini (eq base-window (minibuffer-window)))
 +      (setq base-window (next-window base-window)))
 +    (eq base-window
 +      (next-window base-window (if nomini 'arg) all-frames))))
 +\f
 +;;; Deleting windows.
 +(defcustom frame-auto-delete 'automatic
 +  "If non-nil, quitting a window can delete it's frame.
 +If this variable is nil, functions that quit a window never
 +delete the associated frame.  If this variable equals the symbol
 +`automatic', a frame is deleted only if it the window is
 +dedicated or was created by `display-buffer'.  If this variable
 +is t, a frame can be always deleted, even if it was created by
 +`make-frame-command'.  Other values should not be used.
 +
 +Note that a frame will be effectively deleted if and only if
 +another frame still exists.
 +
 +Functions quitting a window and consequently affected by this
 +variable are `switch-to-prev-buffer', `delete-windows-on',
 +`replace-buffer-in-windows' and `quit-restore-window'."
 +  :type '(choice
 +        (const :tag "Never" nil)
 +        (const :tag "Automatic" automatic)
 +        (const :tag "Always" t))
 +  :group 'windows
 +  :group 'frames)
 +
 +(defun window-deletable-p (&optional window)
 +  "Return t if WINDOW can be safely deleted from its frame.
 +Return `frame' if deleting WINDOW should delete its frame
 +instead."
 +  (setq window (window-normalize-any-window window))
 +  (unless ignore-window-parameters
 +    ;; Handle atomicity.
 +    (when (window-parameter window 'window-atom)
 +      (setq window (window-atom-root window))))
 +  (let ((parent (window-parent window))
 +      (frame (window-frame window))
 +      (dedicated (and (window-buffer window) (window-dedicated-p window)))
 +      (quit-restore (window-parameter window 'quit-restore)))
 +    (cond
 +     ((frame-root-window-p window)
 +      (when (and (or (eq frame-auto-delete t)
 +                   (and (eq frame-auto-delete 'automatic)
 +                        (or dedicated
 +                            (and (eq (car-safe quit-restore) 'new-frame)
 +                                 (eq (nth 1 quit-restore)
 +                                     (window-buffer window))))))
 +               (other-visible-frames-p frame))
 +      ;; WINDOW is the root window of its frame.  Return `frame' but
 +      ;; only if WINDOW is (1) either dedicated or quit-restore's car
 +      ;; is new-frame and the window still displays the same buffer
 +      ;; and (2) there are other frames left.
 +      'frame))
 +     ((and (not ignore-window-parameters)
 +         (eq (window-parameter window 'window-side) 'none)
 +         (or (not parent)
 +             (not (eq (window-parameter parent 'window-side) 'none))))
 +      ;; Can't delete last main window.
 +      nil)
 +     (t))))
 +
 +(defun window-or-subwindow-p (subwindow window)
 +  "Return t if SUBWINDOW is either WINDOW or a subwindow of WINDOW."
 +  (or (eq subwindow window)
 +      (let ((parent (window-parent subwindow)))
 +      (catch 'done
 +        (while parent
 +          (if (eq parent window)
 +              (throw 'done t)
 +            (setq parent (window-parent parent))))))))
 +
 +(defun delete-window (&optional window)
 +  "Delete WINDOW.
 +WINDOW can be an arbitrary window and defaults to the selected
 +one.  Return nil.
 +
 +If the variable `ignore-window-parameters' is non-nil or the
 +`delete-window' parameter of WINDOW equals t, do not process any
 +parameters of WINDOW.  Otherwise, if the `delete-window'
 +parameter of WINDOW specifies a function, call that function with
 +WINDOW as its sole argument and return the value returned by that
 +function.
 +
 +Otherwise, if WINDOW is part of an atomic window, call
 +`delete-window' with the root of the atomic window as its
 +argument.  If WINDOW is the only window on its frame or the last
 +non-side window, signal an error."
    (interactive)
 -  (let (
 -        (wt (bw-get-tree window-or-frame))
 -        (w)
 -        (h)
 -        (tried-sizes)
 -        (last-sizes)
 -        (windows (window-list nil 0)))
 -    (when wt
 -      (while (not (member last-sizes tried-sizes))
 -        (when last-sizes (setq tried-sizes (cons last-sizes tried-sizes)))
 -        (setq last-sizes (mapcar (lambda (w)
 -                                   (window-edges w))
 -                                 windows))
 -        (when (eq 'hor (bw-dir wt))
 -          (setq w (- (bw-r wt) (bw-l wt))))
 -        (when (eq 'ver (bw-dir wt))
 -          (setq h (- (bw-b wt) (bw-t wt))))
 -        (bw-balance-sub wt w h)))))
 -
 -(defun bw-adjust-window (window delta horizontal)
 -  "Wrapper around `adjust-window-trailing-edge' with error checking.
 -Arguments WINDOW, DELTA and HORIZONTAL are passed on to that function."
 -  ;; `adjust-window-trailing-edge' may fail if delta is too large.
 -  (while (>= (abs delta) 1)
 -    (condition-case err
 -        (progn
 -          (adjust-window-trailing-edge window delta horizontal)
 -          (setq delta 0))
 -      (error
 -       ;;(message "adjust: %s" (error-message-string err))
 -       (setq delta (/ delta 2))))))
 +  (setq window (window-normalize-any-window window))
 +  (let* ((frame (window-frame window))
 +       (function (window-parameter window 'delete-window))
 +       (parent (window-parent window))
 +       atom-root)
 +    (window-check frame)
 +    (catch 'done
 +      ;; Handle window parameters.
 +      (cond
 +       ;; Ignore window parameters if `ignore-window-parameters' tells
 +       ;; us so or `delete-window' equals t.
 +       ((or ignore-window-parameters (eq function t)))
 +       ((functionp function)
 +      ;; The `delete-window' parameter specifies the function to call.
 +      ;; If that function is `ignore' nothing is done.  It's up to the
 +      ;; function called here to avoid infinite recursion.
 +      (throw 'done (funcall function window)))
 +       ((and (window-parameter window 'window-atom)
 +           (setq atom-root (window-atom-root window))
 +           (not (eq atom-root window)))
 +      (throw 'done (delete-window atom-root)))
 +       ((and (eq (window-parameter window 'window-side) 'none)
 +           (or (not parent)
 +               (not (eq (window-parameter parent 'window-side) 'none))))
 +      (error "Attempt to delete last non-side window"))
 +       ((not parent)
 +      (error "Attempt to delete minibuffer or sole ordinary window")))
 +
 +      (let* ((horizontal (window-left-child parent))
 +           (size (window-total-size window horizontal))
 +           (frame-selected
 +            (window-or-subwindow-p (frame-selected-window frame) window))
 +           ;; Emacs 23 preferably gives WINDOW's space to its left
 +           ;; sibling.
 +           (sibling (or (window-left window) (window-right window))))
 +      (window--resize-reset frame horizontal)
 +      (cond
 +       ((and (not (window-splits window))
 +             sibling (window-sizable-p sibling size))
 +        ;; Resize WINDOW's sibling.
 +        (window--resize-this-window sibling size horizontal nil t)
 +        (set-window-new-normal
 +         sibling (+ (window-normal-size sibling horizontal)
 +                    (window-normal-size window horizontal))))
 +       ((window-resizable-p window (- size) horizontal nil nil nil t)
 +        ;; Can do without resizing fixed-size windows.
 +        (window--resize-siblings window (- size) horizontal))
 +       (t
 +        ;; Can't do without resizing fixed-size windows.
 +        (window--resize-siblings window (- size) horizontal t)))
 +      ;; Actually delete WINDOW.
 +      (delete-window-internal window)
 +      (when (and frame-selected
 +                 (window-parameter
 +                  (frame-selected-window frame) 'no-other-window))
 +        ;; `delete-window-internal' has selected a window that should
 +        ;; not be selected, fix this here.
 +        (other-window -1 frame))
 +      (run-window-configuration-change-hook frame)
 +      (window-check frame)
 +      ;; Always return nil.
 +      nil))))
 +
 +(defun delete-other-windows (&optional window)
 +  "Make WINDOW fill its frame.
 +WINDOW may be any window and defaults to the selected one.
 +Return nil.
 +
 +If the variable `ignore-window-parameters' is non-nil or the
 +`delete-other-windows' parameter of WINDOW equals t, do not
 +process any parameters of WINDOW.  Otherwise, if the
 +`delete-other-windows' parameter of WINDOW specifies a function,
 +call that function with WINDOW as its sole argument and return
 +the value returned by that function.
 +
 +Otherwise, if WINDOW is part of an atomic window, call this
 +function with the root of the atomic window as its argument.  If
 +WINDOW is a non-side window, make WINDOW the only non-side window
 +on the frame.  Side windows are not deleted. If WINDOW is a side
 +window signal an error."
 +  (interactive)
 +  (setq window (window-normalize-any-window window))
 +  (let* ((frame (window-frame window))
 +       (function (window-parameter window 'delete-other-windows))
 +       (window-side (window-parameter window 'window-side))
 +       atom-root side-main)
 +    (window-check frame)
 +    (catch 'done
 +      (cond
 +       ;; Ignore window parameters if `ignore-window-parameters' is t or
 +       ;; `delete-other-windows' is t.
 +       ((or ignore-window-parameters (eq function t)))
 +       ((functionp function)
 +      ;; The `delete-other-windows' parameter specifies the function
 +      ;; to call.  If the function is `ignore' no windows are deleted.
 +      ;; It's up to the function called to avoid infinite recursion.
 +      (throw 'done (funcall function window)))
 +       ((and (window-parameter window 'window-atom)
 +           (setq atom-root (window-atom-root window))
 +           (not (eq atom-root window)))
 +      (throw 'done (delete-other-windows atom-root)))
 +       ((eq window-side 'none)
 +      ;; Set side-main to the major non-side window.
 +      (setq side-main (window-with-parameter 'window-side 'none nil t)))
 +       ((memq window-side window-sides)
 +      (error "Cannot make side window the only window")))
 +      ;; If WINDOW is the main non-side window, do nothing.
 +      (unless (eq window side-main)
 +      (delete-other-windows-internal window side-main)
 +      (run-window-configuration-change-hook frame)
 +      (window-check frame))
 +      ;; Always return nil.
 +      nil)))
 +
 +(defun delete-other-windows-vertically (&optional window)
 +  "Delete the windows in the same column with WINDOW, but not WINDOW itself.
 +This may be a useful alternative binding for \\[delete-other-windows]
 + if you often split windows horizontally."
 +  (interactive)
 +  (let* ((window (or window (selected-window)))
 +         (edges (window-edges window))
 +         (w window) delenda)
 +    (while (not (eq (setq w (next-window w 1)) window))
 +      (let ((e (window-edges w)))
 +        (when (and (= (car e) (car edges))
 +                   (= (caddr e) (caddr edges)))
 +          (push w delenda))))
 +    (mapc 'delete-window delenda)))
 +
 +;;; Windows and buffers.
 +
 +;; `prev-buffers' and `next-buffers' are two reserved window slots used
 +;; for (1) determining which buffer to show in the window when its
 +;; buffer shall be buried or killed and (2) which buffer to show for
 +;; `switch-to-prev-buffer' and `switch-to-next-buffer'.
 +
 +;; `prev-buffers' consists of <buffer, window-start, window-point>
 +;; triples.  The entries on this list are ordered by the time their
 +;; buffer has been removed from the window, the most recently removed
 +;; buffer's entry being first.  The window-start and window-point
 +;; components are `window-start' and `window-point' at the time the
 +;; buffer was removed from the window which implies that the entry must
 +;; be added when `set-window-buffer' removes the buffer from the window.
 +
 +;; `next-buffers' is the list of buffers that have been replaced
 +;; recently by `switch-to-prev-buffer'.  These buffers are the least
 +;; preferred candidates of `switch-to-prev-buffer' and the preferred
 +;; candidates of `switch-to-next-buffer' to switch to.  This list is
 +;; reset to nil by any action changing the window's buffer with the
 +;; exception of `switch-to-prev-buffer' and `switch-to-next-buffer'.
 +;; `switch-to-prev-buffer' pushes the buffer it just replaced on it,
 +;; `switch-to-next-buffer' pops the last pushed buffer from it.
 +
 +;; Both `prev-buffers' and `next-buffers' may reference killed buffers
 +;; if such a buffer was killed while the window was hidden within a
 +;; window configuration.  Such killed buffers get removed whenever
 +;; `switch-to-prev-buffer' or `switch-to-next-buffer' encounter them.
 +
 +;; The following function is called by `set-window-buffer' _before_ it
 +;; replaces the buffer of the argument window with the new buffer.
 +(defun record-window-buffer (&optional window)
 +  "Record WINDOW's buffer.
 +WINDOW must be a live window and defaults to the selected one."
 +  (let* ((window (window-normalize-live-window window))
 +       (buffer (window-buffer window))
 +       (entry (assq buffer (window-prev-buffers window))))
 +    ;; Reset WINDOW's next buffers.  If needed, they are resurrected by
 +    ;; `switch-to-prev-buffer' and `switch-to-next-buffer'.
 +    (set-window-next-buffers window nil)
 +
 +    (when entry
 +      ;; Remove all entries for BUFFER from WINDOW's previous buffers.
 +      (set-window-prev-buffers
 +       window (assq-delete-all buffer (window-prev-buffers window))))
 +
 +    ;; Don't record insignificant buffers.
 +    (unless (eq (aref (buffer-name buffer) 0) ?\s)
 +      ;; Add an entry for buffer to WINDOW's previous buffers.
 +      (with-current-buffer buffer
 +      (let ((start (window-start window))
 +            (point (window-point window)))
 +        (setq entry
 +              (cons buffer
 +                    (if entry
 +                        ;; We have an entry, update marker positions.
 +                        (list (set-marker (nth 1 entry) start)
 +                              (set-marker (nth 2 entry) point))
 +                      ;; Make new markers.
 +                      (list (copy-marker start)
 +                            (copy-marker point)))))
 +
 +        (set-window-prev-buffers
 +         window (cons entry (window-prev-buffers window))))))))
 +
 +(defun unrecord-window-buffer (&optional window buffer)
 +  "Unrecord BUFFER in WINDOW.
 +WINDOW must be a live window and defaults to the selected one.
 +BUFFER must be a live buffer and defaults to the buffer of
 +WINDOW."
 +  (let* ((window (window-normalize-live-window window))
 +       (buffer (or buffer (window-buffer window))))
 +    (set-window-prev-buffers
 +     window (assq-delete-all buffer (window-prev-buffers window)))
 +    (set-window-next-buffers
 +     window (delq buffer (window-next-buffers window)))))
 +
 +(defun set-window-buffer-start-and-point (window buffer &optional start point)
 +  "Set WINDOW's buffer to BUFFER.
 +Optional argument START non-nil means set WINDOW's start position
 +to START.  Optional argument POINT non-nil means set WINDOW's
 +point to POINT.  If WINDOW is selected this also sets BUFFER's
 +`point' to POINT.  If WINDOW is selected and the buffer it showed
 +before was current this also makes BUFFER the current buffer."
 +  (let ((selected (eq window (selected-window)))
 +      (current (eq (window-buffer window) (current-buffer))))
 +    (set-window-buffer window buffer)
 +    (when (and selected current)
 +      (set-buffer buffer))
 +    (when start
 +      (set-window-start window start))
 +    (when point
 +      (if selected
 +        (with-current-buffer buffer
 +          (goto-char point))
 +      (set-window-point window point)))))
 +
 +(defun switch-to-prev-buffer (&optional window bury-or-kill)
 +  "In WINDOW switch to previous buffer.
 +WINDOW must be a live window and defaults to the selected one.
 +
 +Optional argument BURY-OR-KILL non-nil means the buffer currently
 +shown in WINDOW is about to be buried or killed and consequently
 +shall not be switched to in future invocations of this command."
 +  (interactive)
 +  (let* ((window (window-normalize-live-window window))
 +       (old-buffer (window-buffer window))
 +       ;; Save this since it's destroyed by `set-window-buffer'.
 +       (next-buffers (window-next-buffers window))
 +       entry new-buffer killed-buffers deletable visible)
 +    (cond
 +     ;; When BURY-OR-KILL is non-nil, there's no previous buffer for
 +     ;; this window, and we can delete the window (or the frame) do
 +     ;; that.
 +     ((and bury-or-kill
 +         (or (not (window-prev-buffers window))
 +             (and (eq (caar (window-prev-buffers window)) old-buffer)
 +                  (not (cdr (car (window-prev-buffers window))))))
 +         (setq deletable (window-deletable-p window)))
 +      (if (eq deletable 'frame)
 +        (delete-frame (window-frame window))
 +      (delete-window window)))
 +     ((window-dedicated-p window)
 +      (error "Window %s is dedicated to buffer %s" window old-buffer)))
 +
 +    (unless deletable
 +      (catch 'found
 +      ;; Scan WINDOW's previous buffers first, skipping entries of next
 +      ;; buffers.
 +      (dolist (entry (window-prev-buffers window))
 +        (when (and (setq new-buffer (car entry))
 +                   (or (buffer-live-p new-buffer)
 +                       (not (setq killed-buffers
 +                                  (cons new-buffer killed-buffers))))
 +                   (not (eq new-buffer old-buffer))
 +                   (or bury-or-kill
 +                       (not (memq new-buffer next-buffers))))
 +          (set-window-buffer-start-and-point
 +           window new-buffer (nth 1 entry) (nth 2 entry))
 +          (throw 'found t)))
 +      ;; Scan reverted buffer list of WINDOW's frame next, skipping
 +      ;; entries of next buffers.  Note that when we bury or kill a
 +      ;; buffer we don't reverse the global buffer list to avoid showing
 +      ;; a buried buffer instead.  Otherwise, we must reverse the global
 +      ;; buffer list in order to make sure that switching to the
 +      ;; previous/next buffer traverse it in opposite directions.
 +      (dolist (buffer (if bury-or-kill
 +                          (buffer-list (window-frame window))
 +                        (nreverse (buffer-list (window-frame window)))))
 +        (when (and (buffer-live-p buffer)
 +                   (not (eq buffer old-buffer))
 +                   (not (eq (aref (buffer-name buffer) 0) ?\s))
 +                   (or bury-or-kill (not (memq buffer next-buffers))))
 +          (if (get-buffer-window buffer)
 +              ;; Try to avoid showing a buffer visible in some other window.
 +              (setq visible buffer)
 +          (setq new-buffer buffer)
 +          (set-window-buffer-start-and-point window new-buffer)
 +          (throw 'found t))))
 +      (unless bury-or-kill
 +        ;; Scan reverted next buffers last (must not use nreverse
 +        ;; here!).
 +        (dolist (buffer (reverse next-buffers))
 +          ;; Actually, buffer _must_ be live here since otherwise it
 +          ;; would have been caught in the scan of previous buffers.
 +          (when (and (or (buffer-live-p buffer)
 +                         (not (setq killed-buffers
 +                                    (cons buffer killed-buffers))))
 +                     (not (eq buffer old-buffer))
 +                     (setq entry (assq buffer (window-prev-buffers window))))
 +            (setq new-buffer buffer)
 +            (set-window-buffer-start-and-point
 +             window new-buffer (nth 1 entry) (nth 2 entry))
 +            (throw 'found t))))
 +
 +      ;; Show a buffer visible in another window.
 +      (when visible
 +        (setq new-buffer visible)
 +        (set-window-buffer-start-and-point window new-buffer)))
 +
 +      (if bury-or-kill
 +        ;; Remove `old-buffer' from WINDOW's previous and (restored list
 +        ;; of) next buffers.
 +        (progn
 +          (set-window-prev-buffers
 +           window (assq-delete-all old-buffer (window-prev-buffers window)))
 +          (set-window-next-buffers window (delq old-buffer next-buffers)))
 +      ;; Move `old-buffer' to head of WINDOW's restored list of next
 +      ;; buffers.
 +      (set-window-next-buffers
 +       window (cons old-buffer (delq old-buffer next-buffers)))))
 +
 +    ;; Remove killed buffers from WINDOW's previous and next buffers.
 +    (when killed-buffers
 +      (dolist (buffer killed-buffers)
 +      (set-window-prev-buffers
 +       window (assq-delete-all buffer (window-prev-buffers window)))
 +      (set-window-next-buffers
 +       window (delq buffer (window-next-buffers window)))))
 +
 +    ;; Return new-buffer.
 +    new-buffer))
 +
 +(defun switch-to-next-buffer (&optional window)
 +  "In WINDOW switch to next buffer.
 +WINDOW must be a live window and defaults to the selected one."
 +  (interactive)
 +  (let* ((window (window-normalize-live-window window))
 +       (old-buffer (window-buffer window))
 +       (next-buffers (window-next-buffers window))
 +       new-buffer entry killed-buffers visible)
 +    (when (window-dedicated-p window)
 +      (error "Window %s is dedicated to buffer %s" window old-buffer))
 +
 +    (catch 'found
 +      ;; Scan WINDOW's next buffers first.
 +      (dolist (buffer next-buffers)
 +      (when (and (or (buffer-live-p buffer)
 +                     (not (setq killed-buffers
 +                                (cons buffer killed-buffers))))
 +                 (not (eq buffer old-buffer))
 +                 (setq entry (assq buffer (window-prev-buffers window))))
 +        (setq new-buffer buffer)
 +        (set-window-buffer-start-and-point
 +         window new-buffer (nth 1 entry) (nth 2 entry))
 +        (throw 'found t)))
 +      ;; Scan the buffer list of WINDOW's frame next, skipping previous
 +      ;; buffers entries.
 +      (dolist (buffer (buffer-list (window-frame window)))
 +      (when (and (buffer-live-p buffer) (not (eq buffer old-buffer))
 +                 (not (eq (aref (buffer-name buffer) 0) ?\s))
 +                 (not (assq buffer (window-prev-buffers window))))
 +        (if (get-buffer-window buffer)
 +            ;; Try to avoid showing a buffer visible in some other window.
 +            (setq visible buffer)
 +          (setq new-buffer buffer)
 +          (set-window-buffer-start-and-point window new-buffer)
 +          (throw 'found t))))
 +      ;; Scan WINDOW's reverted previous buffers last (must not use
 +      ;; nreverse here!)
 +      (dolist (entry (reverse (window-prev-buffers window)))
 +      (when (and (setq new-buffer (car entry))
 +                 (or (buffer-live-p new-buffer)
 +                     (not (setq killed-buffers
 +                                (cons new-buffer killed-buffers))))
 +                 (not (eq new-buffer old-buffer)))
 +        (set-window-buffer-start-and-point
 +         window new-buffer (nth 1 entry) (nth 2 entry))
 +        (throw 'found t)))
 +
 +      ;; Show a buffer visible in another window.
 +      (when visible
 +      (setq new-buffer visible)
 +      (set-window-buffer-start-and-point window new-buffer)))
 +
 +    ;; Remove `new-buffer' from and restore WINDOW's next buffers.
 +    (set-window-next-buffers window (delq new-buffer next-buffers))
 +
 +    ;; Remove killed buffers from WINDOW's previous and next buffers.
 +    (when killed-buffers
 +      (dolist (buffer killed-buffers)
 +      (set-window-prev-buffers
 +       window (assq-delete-all buffer (window-prev-buffers window)))
 +      (set-window-next-buffers
 +       window (delq buffer (window-next-buffers window)))))
 +
 +    ;; Return new-buffer.
 +    new-buffer))
 +
 +(defun get-next-valid-buffer (list &optional buffer visible-ok frame)
 +  "Search LIST for a valid buffer to display in FRAME.
 +Return nil when all buffers in LIST are undesirable for display,
 +otherwise return the first suitable buffer in LIST.
 +
 +Buffers not visible in windows are preferred to visible buffers,
 +unless VISIBLE-OK is non-nil.
 +If the optional argument FRAME is nil, it defaults to the selected frame.
 +If BUFFER is non-nil, ignore occurrences of that buffer in LIST."
 +  ;; This logic is more or less copied from other-buffer.
 +  (setq frame (or frame (selected-frame)))
 +  (let ((pred (frame-parameter frame 'buffer-predicate))
 +      found buf)
 +    (while (and (not found) list)
 +      (setq buf (car list))
 +      (if (and (not (eq buffer buf))
 +             (buffer-live-p buf)
 +             (or (null pred) (funcall pred buf))
 +             (not (eq (aref (buffer-name buf) 0) ?\s))
 +             (or visible-ok (null (get-buffer-window buf 'visible))))
 +        (setq found buf)
 +      (setq list (cdr list))))
 +    (car list)))
 +
 +(defun last-buffer (&optional buffer visible-ok frame)
 +  "Return the last buffer in FRAME's buffer list.
 +If BUFFER is the last buffer, return the preceding buffer
 +instead.  Buffers not visible in windows are preferred to visible
 +buffers, unless optional argument VISIBLE-OK is non-nil.
 +Optional third argument FRAME nil or omitted means use the
 +selected frame's buffer list.  If no such buffer exists, return
 +the buffer `*scratch*', creating it if necessary."
 +  (setq frame (or frame (selected-frame)))
 +  (or (get-next-valid-buffer (nreverse (buffer-list frame))
 +                           buffer visible-ok frame)
 +      (get-buffer "*scratch*")
 +      (let ((scratch (get-buffer-create "*scratch*")))
 +      (set-buffer-major-mode scratch)
 +      scratch)))
 +
 +(defun bury-buffer (&optional buffer-or-name)
 +  "Put BUFFER-OR-NAME at the end of the list of all buffers.
 +There it is the least likely candidate for `other-buffer' to
 +return; thus, the least likely buffer for \\[switch-to-buffer] to
 +select by default.
 +
 +You can specify a buffer name as BUFFER-OR-NAME, or an actual
 +buffer object.  If BUFFER-OR-NAME is nil or omitted, bury the
 +current buffer.  Also, if BUFFER-OR-NAME is nil or omitted,
 +remove the current buffer from the selected window if it is
 +displayed there."
 +  (interactive)
 +  (let* ((buffer (window-normalize-buffer buffer-or-name)))
 +    ;; If `buffer-or-name' is not on the selected frame we unrecord it
 +    ;; although it's not "here" (call it a feature).
 +    (unrecord-buffer buffer)
 +    ;; Handle case where `buffer-or-name' is nil and the current buffer
 +    ;; is shown in the selected window.
 +    (cond
 +     ((or buffer-or-name (not (eq buffer (window-buffer)))))
 +     ((not (window-dedicated-p))
 +      (switch-to-prev-buffer nil 'bury))
 +     ((and (frame-root-window-p (selected-window))
 +           ;; Don't iconify if it's the only frame.
 +           (not (eq (next-frame nil 0) (selected-frame))))
 +      (iconify-frame (window-frame (selected-window))))
 +     ((window-deletable-p)
 +      (delete-window)))
 +    ;; Always return nil.
 +    nil))
 +
 +(defun unbury-buffer ()
 +  "Switch to the last buffer in the buffer list."
 +  (interactive)
 +  (switch-to-buffer (last-buffer)))
 +
 +(defun next-buffer ()
 +  "In selected window switch to next buffer."
 +  (interactive)
 +  (switch-to-next-buffer))
 +
 +(defun previous-buffer ()
 +  "In selected window switch to previous buffer."
 +  (interactive)
 +  (switch-to-prev-buffer))
 +
 +(defun delete-windows-on (&optional buffer-or-name frame)
 +  "Delete all windows showing BUFFER-OR-NAME.
 +BUFFER-OR-NAME may be a buffer or the name of an existing buffer
 +and defaults to the current buffer.
 +
 +The following non-nil values of the optional argument FRAME
 +have special meanings:
 +
 +- t means consider all windows on the selected frame only.
 +
 +- `visible' means consider all windows on all visible frames on
 +  the current terminal.
 +
 +- 0 (the number zero) means consider all windows on all visible
 +  and iconified frames on the current terminal.
 +
 +- A frame means consider all windows on that frame only.
 +
 +Any other value of FRAME means consider all windows on all
 +frames.
 +
 +When a window showing BUFFER-OR-NAME is dedicated and the only
 +window of its frame, that frame is deleted when there are other
 +frames left."
 +  (interactive "BDelete windows on (buffer):\nP")
 +  (let ((buffer (window-normalize-buffer buffer-or-name))
 +      ;; Handle the "inverted" meaning of the FRAME argument wrt other
 +      ;; `window-list-1' based function.
 +      (all-frames (cond ((not frame) t) ((eq frame t) nil) (t frame))))
 +    (dolist (window (window-list-1 nil nil all-frames))
 +      (if (eq (window-buffer window) buffer)
 +        (let ((deletable (window-deletable-p window)))
 +          (cond
 +           ((eq deletable 'frame)
 +            ;; Delete frame.
 +            (delete-frame (window-frame window)))
 +           (deletable
 +            ;; Delete window only.
 +            (delete-window window))
 +           (t
 +            ;; In window switch to previous buffer.
 +            (set-window-dedicated-p window nil)
 +            (switch-to-prev-buffer window 'bury))))
 +      ;; If a window doesn't show BUFFER, unrecord BUFFER in it.
 +      (unrecord-window-buffer window buffer)))))
 +
 +(defun replace-buffer-in-windows (&optional buffer-or-name)
 +  "Replace BUFFER-OR-NAME with some other buffer in all windows showing it.
 +BUFFER-OR-NAME may be a buffer or the name of an existing buffer
 +and defaults to the current buffer.
 +
 +When a window showing BUFFER-OR-NAME is either dedicated, or the
 +window has no previous buffer, that window is deleted.  If that
 +window is the only window on its frame, the frame is deleted too
 +when there are other frames left.  If there are no other frames
 +left, some other buffer is displayed in that window.
 +
 +This function removes the buffer denoted by BUFFER-OR-NAME from
 +all window-local buffer lists."
 +  (let ((buffer (window-normalize-buffer buffer-or-name)))
 +    (dolist (window (window-list-1 nil nil t))
 +      (if (eq (window-buffer window) buffer)
 +        (let ((deletable (window-deletable-p window)))
 +          (cond
 +           ((eq deletable 'frame)
 +            ;; Delete frame.
 +            (delete-frame (window-frame window)))
 +           ((and (window-dedicated-p window) deletable)
 +            ;; Delete window.
 +            (delete-window window))
 +           (t
 +            ;; Switch to another buffer in window.
 +            (set-window-dedicated-p window nil)
 +            (switch-to-prev-buffer window 'kill))))
 +      ;; Unrecord BUFFER in WINDOW.
 +      (unrecord-window-buffer window buffer)))))
 +
 +(defun quit-restore-window (&optional window kill)
 +  "Quit WINDOW in some way.
 +WINDOW must be a live window and defaults to the selected window.
 +Return nil.
 +
 +According to information stored in WINDOW's `quit-restore' window
 +parameter either \(1) delete WINDOW and its frame, \(2) delete
 +WINDOW, \(3) restore the buffer previously displayed in WINDOW,
 +or \(4) make WINDOW display some other buffer than the present
 +one.  If non-nil, reset `quit-restore' parameter to nil.
 +
 +Optional argument KILL non-nil means in addition kill WINDOW's
 +buffer.  If KILL is nil, put WINDOW's buffer at the end of the
 +buffer list.  Interactively, KILL is the prefix argument."
 +  (interactive "i\nP")
 +  (setq window (window-normalize-live-window window))
 +  (let ((buffer (window-buffer window))
 +      (quit-restore (window-parameter window 'quit-restore))
 +      deletable resize)
 +    (cond
 +     ((and (or (and (memq (car-safe quit-restore) '(new-window new-frame))
 +                  ;; Check that WINDOW's buffer is still the same.
 +                  (eq (window-buffer window) (nth 1 quit-restore)))
 +             (window-dedicated-p window))
 +         (setq deletable (window-deletable-p window)))
 +      ;; WINDOW can be deleted.
 +      (unrecord-buffer buffer)
 +      (if (eq deletable 'frame)
 +        ;; WINDOW's frame can be deleted.
 +        (delete-frame (window-frame window))
 +      ;; Just delete WINDOW.
 +      (delete-window window))
 +      ;; If the previously selected window is still alive, select it.
 +      (when (window-live-p (nth 2 quit-restore))
 +      (select-window (nth 2 quit-restore))))
 +     ((and (buffer-live-p (nth 0 quit-restore))
 +         ;; The buffer currently shown in WINDOW must still be the
 +         ;; buffer shown when its `quit-restore' parameter was created
 +         ;; in the first place.
 +         (eq (window-buffer window) (nth 3 quit-restore)))
 +      (setq resize (with-current-buffer buffer temp-buffer-resize-mode))
 +      ;; Unrecord buffer.
 +      (unrecord-buffer buffer)
 +      (unrecord-window-buffer window buffer)
 +      ;; Display buffer stored in the quit-restore parameter.
 +      (set-window-dedicated-p window nil)
 +      (set-window-buffer window (nth 0 quit-restore))
 +      (set-window-start window (nth 1 quit-restore))
 +      (set-window-point window (nth 2 quit-restore))
 +      (when (and resize (/= (nth 4 quit-restore) (window-total-size window)))
 +      (window-resize
 +       window (- (nth 4 quit-restore) (window-total-size window))))
 +      ;; Reset the quit-restore parameter.
 +      (set-window-parameter window 'quit-restore nil)
 +      (when (window-live-p (nth 5 quit-restore))
 +      (select-window (nth 5 quit-restore))))
 +     (t
 +      ;; Otherwise, show another buffer in WINDOW and reset the
 +      ;; quit-restore parameter.
 +      (set-window-parameter window 'quit-restore nil)
 +      (unrecord-buffer buffer)
 +      (switch-to-prev-buffer window 'bury-or-kill)))
 +
 +    ;; Kill WINDOW's old-buffer if requested
 +    (when kill (kill-buffer buffer))
 +    nil))
 +\f
 +;;; Splitting windows.
 +(defsubst window-split-min-size (&optional horizontal)
 +  "Return minimum height of any window when splitting windows.
 +Optional argument HORIZONTAL non-nil means return minimum width."
 +  (if horizontal
 +      (max window-min-width window-safe-min-width)
 +    (max window-min-height window-safe-min-height)))
 +
 +(defun split-window (&optional window size side)
 +  "Make a new window adjacent to WINDOW.
 +WINDOW can be any window and defaults to the selected one.
 +Return the new window which is always a live window.
 +
 +Optional argument SIZE a positive number means make WINDOW SIZE
 +lines or columns tall.  If SIZE is negative, make the new window
 +-SIZE lines or columns tall.  If and only if SIZE is non-nil, its
 +absolute value can be less than `window-min-height' or
 +`window-min-width'; so this command can make a new window as
 +small as one line or two columns.  SIZE defaults to half of
 +WINDOW's size.  Interactively, SIZE is the prefix argument.
 +
 +Optional third argument SIDE nil (or `below') specifies that the
 +new window shall be located below WINDOW.  SIDE `above' means the
 +new window shall be located above WINDOW.  In both cases SIZE
 +specifies the new number of lines for WINDOW \(or the new window
 +if SIZE is negative) including space reserved for the mode and/or
 +header line.
 +
 +SIDE t (or `right') specifies that the new window shall be
 +located on the right side of WINDOW.  SIDE `left' means the new
 +window shall be located on the left of WINDOW.  In both cases
 +SIZE specifies the new number of columns for WINDOW \(or the new
 +window provided SIZE is negative) including space reserved for
 +fringes and the scrollbar or a divider column.  Any other non-nil
 +value for SIDE is currently handled like t (or `right').
 +
 +If the variable `ignore-window-parameters' is non-nil or the
 +`split-window' parameter of WINDOW equals t, do not process any
 +parameters of WINDOW.  Otherwise, if the `split-window' parameter
 +of WINDOW specifies a function, call that function with all three
 +arguments and return the value returned by that function.
 +
 +Otherwise, if WINDOW is part of an atomic window, \"split\" the
 +root of that atomic window.  The new window does not become a
 +member of that atomic window.
 +
 +If WINDOW is live, properties of the new window like margins and
 +scrollbars are inherited from WINDOW.  If WINDOW is an internal
 +window, these properties as well as the buffer displayed in the
 +new window are inherited from the window selected on WINDOW's
 +frame.  The selected window is not changed by this function."
 +  (interactive "i")
 +  (setq window (window-normalize-any-window window))
 +  (let* ((side (cond
 +              ((not side) 'below)
 +              ((memq side '(below above right left)) side)
 +              (t 'right)))
 +       (horizontal (not (memq side '(nil below above))))
 +       (frame (window-frame window))
 +       (parent (window-parent window))
 +       (function (window-parameter window 'split-window))
 +       (window-side (window-parameter window 'window-side))
 +       ;; Rebind `window-nest' since in some cases we may have to
 +       ;; override its value.
 +       (window-nest window-nest)
 +       atom-root)
 +
 +    (window-check frame)
 +    (catch 'done
 +      (cond
 +       ;; Ignore window parameters if either `ignore-window-parameters'
 +       ;; is t or the `split-window' parameter equals t.
 +       ((or ignore-window-parameters (eq function t)))
 +       ((functionp function)
 +      ;; The `split-window' parameter specifies the function to call.
 +      ;; If that function is `ignore', do nothing.
 +      (throw 'done (funcall function window size side)))
 +       ;; If WINDOW is a subwindow of an atomic window, split the root
 +       ;; window of that atomic window instead.
 +       ((and (window-parameter window 'window-atom)
 +           (setq atom-root (window-atom-root window))
 +           (not (eq atom-root window)))
 +      (throw 'done (split-window atom-root size side))))
 +
 +      (when (and window-side
 +               (or (not parent)
 +                   (not (window-parameter parent 'window-side))))
 +      ;; WINDOW is a side root window.  To make sure that a new parent
 +      ;; window gets created set `window-nest' to t.
 +      (setq window-nest t))
 +
 +      (when (and window-splits size (> size 0))
 +      ;; If `window-splits' is non-nil and SIZE is a non-negative
 +      ;; integer, we cannot reasonably resize other windows.  Rather
 +      ;; bind `window-nest' to t to make sure that subsequent window
 +      ;; deletions are handled correctly.
 +      (setq window-nest t))
 +
 +      (let* ((parent-size
 +            ;; `parent-size' is the size of WINDOW's parent, provided
 +            ;; it has one.
 +            (when parent (window-total-size parent horizontal)))
 +           ;; `resize' non-nil means we are supposed to resize other
 +           ;; windows in WINDOW's combination.
 +           (resize
 +            (and window-splits (not window-nest)
 +                 ;; Resize makes sense in iso-combinations only.
 +                 (window-iso-combined-p window horizontal)))
 +           ;; `old-size' is the current size of WINDOW.
 +           (old-size (window-total-size window horizontal))
 +           ;; `new-size' is the specified or calculated size of the
 +           ;; new window.
 +           (new-size
 +            (cond
 +             ((not size)
 +              (max (window-split-min-size horizontal)
 +                   (if resize
 +                       ;; When resizing try to give the new window the
 +                       ;; average size of a window in its combination.
 +                       (min (- parent-size
 +                               (window-min-size parent horizontal))
 +                            (/ parent-size
 +                               (1+ (window-iso-combinations
 +                                    parent horizontal))))
 +                     ;; Else try to give the new window half the size
 +                     ;; of WINDOW (plus an eventual odd line).
 +                     (+ (/ old-size 2) (% old-size 2)))))
 +             ((>= size 0)
 +              ;; SIZE non-negative specifies the new size of WINDOW.
 +
 +              ;; Note: Specifying a non-negative SIZE is practically
 +              ;; always done as workaround for making the new window
 +              ;; appear above or on the left of the new window (the
 +              ;; ispell window is a typical example of that).  In all
 +              ;; these cases the SIDE argument should be set to 'above
 +              ;; or 'left in order to support the 'resize option.
 +              ;; Here we have to nest the windows instead, see above.
 +              (- old-size size))
 +             (t
 +              ;; SIZE negative specifies the size of the new window.
 +              (- size))))
 +           new-parent new-normal)
 +
 +      ;; Check SIZE.
 +      (cond
 +       ((not size)
 +        (cond
 +         (resize
 +          ;; SIZE unspecified, resizing.
 +          (when (and (not (window-sizable-p parent (- new-size) horizontal))
 +                     ;; Try again with minimum split size.
 +                     (setq new-size
 +                           (max new-size (window-split-min-size horizontal)))
 +                     (not (window-sizable-p parent (- new-size) horizontal)))
 +            (error "Window %s too small for splitting" parent)))
 +         ((> (+ new-size (window-min-size window horizontal)) old-size)
 +          ;; SIZE unspecified, no resizing.
 +          (error "Window %s too small for splitting" window))))
 +       ((and (>= size 0)
 +             (or (>= size old-size)
 +                 (< new-size (if horizontal
 +                                 window-safe-min-width
 +                               window-safe-min-width))))
 +        ;; SIZE specified as new size of old window.  If the new size
 +        ;; is larger than the old size or the size of the new window
 +        ;; would be less than the safe minimum, signal an error.
 +        (error "Window %s too small for splitting" window))
 +       (resize
 +        ;; SIZE specified, resizing.
 +        (unless (window-sizable-p parent (- new-size) horizontal)
 +          ;; If we cannot resize the parent give up.
 +          (error "Window %s too small for splitting" parent)))
 +       ((or (< new-size
 +               (if horizontal window-safe-min-width window-safe-min-height))
 +            (< (- old-size new-size)
 +               (if horizontal window-safe-min-width window-safe-min-height)))
 +        ;; SIZE specification violates minimum size restrictions.
 +        (error "Window %s too small for splitting" window)))
 +
 +      (window--resize-reset frame horizontal)
 +
 +      (setq new-parent
 +            ;; Make new-parent non-nil if we need a new parent window;
 +            ;; either because we want to nest or because WINDOW is not
 +            ;; iso-combined.
 +            (or window-nest (not (window-iso-combined-p window horizontal))))
 +      (setq new-normal
 +            ;; Make new-normal the normal size of the new window.
 +            (cond
 +             (size (/ (float new-size) (if new-parent old-size parent-size)))
 +             (new-parent 0.5)
 +             (resize (/ 1.0 (1+ (window-iso-combinations parent horizontal))))
 +             (t (/ (window-normal-size window horizontal) 2.0))))
 +
 +      (if resize
 +          ;; Try to get space from OLD's siblings.  We could go "up" and
 +          ;; try getting additional space from surrounding windows but
 +          ;; we won't be able to return space to those windows when we
 +          ;; delete the one we create here.  Hence we do not go up.
 +          (progn
 +            (window--resize-subwindows parent (- new-size) horizontal)
 +            (let* ((normal (- 1.0 new-normal))
 +                   (sub (window-child parent)))
 +              (while sub
 +                (set-window-new-normal
 +                 sub (* (window-normal-size sub horizontal) normal))
 +                (setq sub (window-right sub)))))
 +        ;; Get entire space from WINDOW.
 +        (set-window-new-total window (- old-size new-size))
 +        (window--resize-this-window window (- new-size) horizontal)
 +        (set-window-new-normal
 +         window (- (if new-parent 1.0 (window-normal-size window horizontal))
 +                   new-normal)))
 +
 +      (let* ((new (split-window-internal window new-size side new-normal)))
 +        ;; Inherit window-side parameters, if any.
 +        (when (and window-side new-parent)
 +          (set-window-parameter (window-parent new) 'window-side window-side)
 +          (set-window-parameter new 'window-side window-side))
 +
 +        (run-window-configuration-change-hook frame)
 +        (window-check frame)
 +        ;; Always return the new window.
 +        new)))))
 +
 +;; I think this should be the default; I think people will prefer it--rms.
 +(defcustom split-window-keep-point t
 +  "If non-nil, \\[split-window-above-each-other] keeps the original point \
 +in both children.
 +This is often more convenient for editing.
 +If nil, adjust point in each of the two windows to minimize redisplay.
 +This is convenient on slow terminals, but point can move strangely.
 +
 +This option applies only to `split-window-above-each-other' and
 +functions that call it.  `split-window' always keeps the original
 +point in both children."
 +  :type 'boolean
 +  :group 'windows)
  
 -(defun bw-balance-sub (wt w h)
 -  (setq wt (bw-refresh-edges wt))
 -  (unless w (setq w (- (bw-r wt) (bw-l wt))))
 -  (unless h (setq h (- (bw-b wt) (bw-t wt))))
 -  (if (windowp wt)
 -      (progn
 -        (when w
 -          (let ((dw (- w (- (bw-r wt) (bw-l wt)))))
 -            (when (/= 0 dw)
 -              (bw-adjust-window wt dw t))))
 -        (when h
 -          (let ((dh (- h (- (bw-b wt) (bw-t wt)))))
 -            (when (/= 0 dh)
 -              (bw-adjust-window wt dh nil)))))
 -    (let* ((childs (cdr (assq 'childs wt)))
 -           (cw (when w (/ w (if (bw-eqdir 'hor wt) (length childs) 1))))
 -           (ch (when h (/ h (if (bw-eqdir 'ver wt) (length childs) 1)))))
 -      (dolist (c childs)
 -        (bw-balance-sub c cw ch)))))
 +(defun split-window-above-each-other (&optional size)
 +  "Split selected window into two windows, one above the other.
 +The upper window gets SIZE lines and the lower one gets the rest.
 +SIZE negative means the lower window gets -SIZE lines and the
 +upper one the rest.  With no argument, split windows equally or
 +close to it.  Both windows display the same buffer, now current.
 +
 +If the variable `split-window-keep-point' is non-nil, both new
 +windows will get the same value of point as the selected window.
 +This is often more convenient for editing.  The upper window is
 +the selected window.
 +
 +Otherwise, we choose window starts so as to minimize the amount of
 +redisplay; this is convenient on slow terminals.  The new selected
 +window is the one that the current value of point appears in.  The
 +value of point can change if the text around point is hidden by the
 +new mode line.
 +
 +Regardless of the value of `split-window-keep-point', the upper
 +window is the original one and the return value is the new, lower
 +window."
 +  (interactive "P")
 +  (let ((old-window (selected-window))
 +      (old-point (point))
 +      (size (and size (prefix-numeric-value size)))
 +        moved-by-window-height moved new-window bottom)
 +    (when (and size (< size 0) (< (- size) window-min-height))
 +      ;; `split-window' would not signal an error here.
 +      (error "Size of new window too small"))
 +    (setq new-window (split-window nil size))
 +    (unless split-window-keep-point
 +      (with-current-buffer (window-buffer)
 +      (goto-char (window-start))
 +      (setq moved (vertical-motion (window-height)))
 +      (set-window-start new-window (point))
 +      (when (> (point) (window-point new-window))
 +        (set-window-point new-window (point)))
 +      (when (= moved (window-height))
 +        (setq moved-by-window-height t)
 +        (vertical-motion -1))
 +      (setq bottom (point)))
 +      (and moved-by-window-height
 +         (<= bottom (point))
 +         (set-window-point old-window (1- bottom)))
 +      (and moved-by-window-height
 +         (<= (window-start new-window) old-point)
 +         (set-window-point new-window old-point)
 +         (select-window new-window)))
 +    ;; Always copy quit-restore parameter in interactive use.
 +    (let ((quit-restore (window-parameter old-window 'quit-restore)))
 +      (when quit-restore
 +      (set-window-parameter new-window 'quit-restore quit-restore)))
 +    new-window))
 +
 +(defalias 'split-window-vertically 'split-window-above-each-other)
 +
 +(defun split-window-side-by-side (&optional size)
 +  "Split selected window into two windows side by side.
 +The selected window becomes the left one and gets SIZE columns.
 +SIZE negative means the right window gets -SIZE lines.
 +
 +SIZE includes the width of the window's scroll bar; if there are
 +no scroll bars, it includes the width of the divider column to
 +the window's right, if any.  SIZE omitted or nil means split
 +window equally.
 +
 +The selected window remains selected.  Return the new window."
 +  (interactive "P")
 +  (let ((old-window (selected-window))
 +      (size (and size (prefix-numeric-value size)))
 +      new-window)
 +    (when (and size (< size 0) (< (- size) window-min-width))
 +      ;; `split-window' would not signal an error here.
 +      (error "Size of new window too small"))
 +    (setq new-window (split-window nil size t))
 +    ;; Always copy quit-restore parameter in interactive use.
 +    (let ((quit-restore (window-parameter old-window 'quit-restore)))
 +      (when quit-restore
 +      (set-window-parameter new-window 'quit-restore quit-restore)))
 +    new-window))
 +
 +(defalias 'split-window-horizontally 'split-window-side-by-side)
 +\f
 +;;; Balancing windows.
 +
 +;; The following routine uses the recycled code from an old version of
 +;; `window--resize-subwindows'.  It's not very pretty, but coding it the way the
 +;; new `window--resize-subwindows' code does would hardly make it any shorter or
 +;; more readable (FWIW we'd need three loops - one to calculate the
 +;; minimum sizes per window, one to enlarge or shrink windows until the
 +;; new parent-size matches, and one where we shrink the largest/enlarge
 +;; the smallest window).
 +(defun balance-windows-2 (window horizontal)
 +  "Subroutine of `balance-windows-1'.
 +WINDOW must be an iso-combination."
 +  (let* ((first (window-child window))
 +       (sub first)
 +       (number-of-children 0)
 +       (parent-size (window-new-total window))
 +       (total-sum parent-size)
 +       found failed size sub-total sub-delta sub-amount rest)
 +    (while sub
 +      (setq number-of-children (1+ number-of-children))
 +      (when (window-size-fixed-p sub horizontal)
 +      (setq total-sum
 +            (- total-sum (window-total-size sub horizontal)))
 +      (set-window-new-normal sub 'ignore))
 +      (setq sub (window-right sub)))
 +
 +    (setq failed t)
 +    (while (and failed (> number-of-children 0))
 +      (setq size (/ total-sum number-of-children))
 +      (setq failed nil)
 +      (setq sub first)
 +      (while (and sub (not failed))
 +      ;; Ignore subwindows that should be ignored or are stuck.
 +      (unless (window--resize-subwindows-skip-p sub)
 +        (setq found t)
 +        (setq sub-total (window-total-size sub horizontal))
 +        (setq sub-delta (- size sub-total))
 +        (setq sub-amount
 +              (window-sizable sub sub-delta horizontal))
 +        ;; Register the new total size for this subwindow.
 +        (set-window-new-total sub (+ sub-total sub-amount))
 +        (unless (= sub-amount sub-delta)
 +          (setq total-sum (- total-sum sub-total sub-amount))
 +          (setq number-of-children (1- number-of-children))
 +          ;; We failed and need a new round.
 +          (setq failed t)
 +          (set-window-new-normal sub 'skip)))
 +      (setq sub (window-right sub))))
 +
 +    (setq rest (% total-sum number-of-children))
 +    ;; Fix rounding by trying to enlarge non-stuck windows by one line
 +    ;; (column) until `rest' is zero.
 +    (setq sub first)
 +    (while (and sub (> rest 0))
 +      (unless (window--resize-subwindows-skip-p window)
 +      (set-window-new-total sub 1 t)
 +      (setq rest (1- rest)))
 +      (setq sub (window-right sub)))
 +
 +    ;; Fix rounding by trying to enlarge stuck windows by one line
 +    ;; (column) until `rest' equals zero.
 +    (setq sub first)
 +    (while (and sub (> rest 0))
 +      (unless (eq (window-new-normal sub) 'ignore)
 +      (set-window-new-total sub 1 t)
 +      (setq rest (1- rest)))
 +      (setq sub (window-right sub)))
 +
 +    (setq sub first)
 +    (while sub
 +      ;; Record new normal sizes.
 +      (set-window-new-normal
 +       sub (/ (if (eq (window-new-normal sub) 'ignore)
 +                (window-total-size sub horizontal)
 +              (window-new-total sub))
 +            (float parent-size)))
 +      ;; Recursively balance each subwindow's subwindows.
 +      (balance-windows-1 sub horizontal)
 +      (setq sub (window-right sub)))))
 +
 +(defun balance-windows-1 (window &optional horizontal)
 +  "Subroutine of `balance-windows'."
 +  (if (window-child window)
 +      (let ((sub (window-child window)))
 +      (if (window-iso-combined-p sub horizontal)
 +          (balance-windows-2 window horizontal)
 +        (let ((size (window-new-total window)))
 +          (while sub
 +            (set-window-new-total sub size)
 +            (balance-windows-1 sub horizontal)
 +            (setq sub (window-right sub))))))))
 +
 +(defun balance-windows (&optional window-or-frame)
 +  "Balance the sizes of subwindows of WINDOW-OR-FRAME.
 +WINDOW-OR-FRAME is optional and defaults to the selected frame.
 +If WINDOW-OR-FRAME denotes a frame, balance the sizes of all
 +subwindows of that frame's root window.  If WINDOW-OR-FRAME
 +denots a window, balance the sizes of all subwindows of that
 +window."
 +  (interactive)
 +  (let* ((window
 +        (cond
 +         ((or (not window-or-frame)
 +              (frame-live-p window-or-frame))
 +          (frame-root-window window-or-frame))
 +         ((or (window-live-p window-or-frame)
 +              (window-child window-or-frame))
 +          window-or-frame)
 +         (t
 +          (error "Not a window or frame %s" window-or-frame))))
 +       (frame (window-frame window)))
 +    ;; Balance vertically.
 +    (window--resize-reset (window-frame window))
 +    (balance-windows-1 window)
 +    (window-resize-apply frame)
 +    ;; Balance horizontally.
 +    (window--resize-reset (window-frame window) t)
 +    (balance-windows-1 window t)
 +    (window-resize-apply frame t)))
  
  (defun window-fixed-size-p (&optional window direction)
    "Return t if WINDOW cannot be resized in DIRECTION.
@@@ -3423,25 -460,13 +3423,25 @@@ nil (i.e. any), `height' or `width'.
                        '((height . width) (width . height))))))))
  
  ;;; A different solution to balance-windows.
 -
  (defvar window-area-factor 1
    "Factor by which the window area should be over-estimated.
  This is used by `balance-windows-area'.
  Changing this globally has no effect.")
  (make-variable-buffer-local 'window-area-factor)
  
 +(defun balance-windows-area-adjust (window delta horizontal)
 +  "Wrapper around `window-resize' with error checking.
 +Arguments WINDOW, DELTA and HORIZONTAL are passed on to that function."
 +  ;; `window-resize' may fail if delta is too large.
 +  (while (>= (abs delta) 1)
 +    (condition-case nil
 +        (progn
 +          (window-resize window delta horizontal)
 +          (setq delta 0))
 +      (error
 +       ;;(message "adjust: %s" (error-message-string err))
 +       (setq delta (/ delta 2))))))
 +
  (defun balance-windows-area ()
    "Make all visible windows the same area (approximately).
  See also `window-area-factor' to change the relative size of
@@@ -3503,9 -528,7 +3503,9 @@@ specific buffers.
                ;; Make sure negligible differences don't accumulate to
                ;; become significant.
                (setq carry (+ carry areadiff))
 -            (bw-adjust-window win diff horiz)
 +          ;; This used `adjust-window-trailing-edge' before and uses
 +          ;; `window-resize' now.  Error wrapping is still needed.
 +          (balance-windows-area-adjust win diff horiz)
              ;; (sit-for 0.5)
              (let ((change (cons win (window-edges win))))
                ;; If the same change has been seen already for this window,
      ;; (message "Done in %d rounds" round)
      ))
  
 +;;; Window states, how to get them and how to put them in a window.
 +(defsubst window-list-no-nils (&rest args)
 +  "Like LIST but do not add nil elements of ARGS."
 +  (delq nil (apply 'list args)))
 +
 +(defvar window-state-ignored-parameters '(quit-restore)
 +  "List of window parameters ignored by `window-state-get'.")
 +
 +(defun window-state-get-1 (window &optional markers)
 +  "Helper function for `window-state-get'."
 +  (let* ((type
 +        (cond
 +         ((window-top-child window) 'vc)
 +         ((window-left-child window) 'hc)
 +         (t 'leaf)))
 +       (buffer (window-buffer window))
 +       (selected (eq window (selected-window)))
 +       (head
 +        (window-list-no-nils
 +         type
 +         (unless (window-next-sibling window) (cons 'last t))
 +         (cons 'total-height (window-total-size window))
 +         (cons 'total-width (window-total-size window t))
 +         (cons 'normal-height (window-normal-size window))
 +         (cons 'normal-width (window-normal-size window t))
 +         (cons 'splits (window-splits window))
 +         (cons 'nest (window-nest window))
 +         (let (list)
 +           (dolist (parameter (window-parameters window))
 +             (unless (memq (car parameter)
 +                           window-state-ignored-parameters)
 +               (setq list (cons parameter list))))
 +           (unless (window-parameter window 'clone-of)
 +             ;; Make a clone-of parameter.
 +             (setq list (cons (cons 'clone-of window) list)))
 +           (when list
 +             (cons 'parameters list)))
 +         (when buffer
 +           ;; All buffer related things go in here - make the buffer
 +           ;; current when retrieving `point' and `mark'.
 +           (with-current-buffer (window-buffer window)
 +             (let ((point (if selected (point) (window-point window)))
 +                   (start (window-start window))
 +                   (mark (mark)))
 +               (window-list-no-nils
 +                'buffer (buffer-name buffer)
 +                (cons 'selected selected)
 +                (when window-size-fixed (cons 'size-fixed window-size-fixed))
 +                (cons 'hscroll (window-hscroll window))
 +                (cons 'fringes (window-fringes window))
 +                (cons 'margins (window-margins window))
 +                (cons 'scroll-bars (window-scroll-bars window))
 +                (cons 'vscroll (window-vscroll window))
 +                (cons 'dedicated (window-dedicated-p window))
 +                (cons 'point (if markers (copy-marker point) point))
 +                (cons 'start (if markers (copy-marker start) start))
 +                (when mark
 +                  (cons 'mark (if markers (copy-marker mark) mark)))))))))
 +       (tail
 +        (when (memq type '(vc hc))
 +          (let (list)
 +            (setq window (window-child window))
 +            (while window
 +              (setq list (cons (window-state-get-1 window markers) list))
 +              (setq window (window-right window)))
 +            (nreverse list)))))
 +    (append head tail)))
 +
 +(defun window-state-get (&optional window markers)
 +  "Return state of WINDOW as a Lisp object.
 +WINDOW can be any window and defaults to the root window of the
 +selected frame.
 +
 +Optional argument MARKERS non-nil means use markers for sampling
 +positions like `window-point' or `window-start'.  MARKERS should
 +be non-nil only if the value is used for putting the state back
 +in the same session (note that markers slow down processing).
 +
 +The return value can be used as argument for `window-state-put'
 +to put the state recorded here into an arbitrary window.  The
 +value can be also stored on disk and read back in a new session."
 +  (setq window
 +      (if window
 +          (if (window-any-p window)
 +              window
 +            (error "%s is not a live or internal window" window))
 +        (frame-root-window)))
 +  ;; The return value is a cons whose car specifies some constraints on
 +  ;; the size of WINDOW.  The cdr lists the states of the subwindows of
 +  ;; WINDOW.
 +  (cons
 +   ;; Frame related things would go into a function, say `frame-state',
 +   ;; calling `window-state-get' to insert the frame's root window.
 +   (window-list-no-nils
 +    (cons 'min-height (window-min-size window))
 +    (cons 'min-width (window-min-size window t))
 +    (cons 'min-height-ignore (window-min-size window nil t))
 +    (cons 'min-width-ignore (window-min-size window t t))
 +    (cons 'min-height-safe (window-min-size window nil 'safe))
 +    (cons 'min-width-safe (window-min-size window t 'safe))
 +    ;; These are probably not needed.
 +    (when (window-size-fixed-p window) (cons 'fixed-height t))
 +    (when (window-size-fixed-p window t) (cons 'fixed-width t)))
 +   (window-state-get-1 window markers)))
 +
 +(defvar window-state-put-list nil
 +  "Helper variable for `window-state-put'.")
 +
 +(defun window-state-put-1 (state &optional window ignore totals)
 +  "Helper function for `window-state-put'."
 +  (let ((type (car state)))
 +    (setq state (cdr state))
 +    (cond
 +     ((eq type 'leaf)
 +      ;; For a leaf window just add unprocessed entries to
 +      ;; `window-state-put-list'.
 +      (setq window-state-put-list
 +          (cons (cons window state) window-state-put-list)))
 +     ((memq type '(vc hc))
 +      (let* ((horizontal (eq type 'hc))
 +           (total (window-total-size window horizontal))
 +           (first t)
 +           size new)
 +      (dolist (item state)
 +        ;; Find the next child window.  WINDOW always points to the
 +        ;; real window that we want to fill with what we find here.
 +        (when (memq (car item) '(leaf vc hc))
 +          (if (assq 'last item)
 +              ;; The last child window.  Below `window-state-put-1'
 +              ;; will put into it whatever ITEM has in store.
 +              (setq new nil)
 +            ;; Not the last child window, prepare for splitting
 +            ;; WINDOW.  SIZE is the new (and final) size of the old
 +            ;; window.
 +            (setq size
 +                  (if totals
 +                      ;; Use total size.
 +                      (cdr (assq (if horizontal 'total-width 'total-height) item))
 +                    ;; Use normalized size and round.
 +                    (round (* total
 +                              (cdr (assq
 +                                    (if horizontal 'normal-width 'normal-height)
 +                                    item))))))
 +
 +            ;; Use safe sizes, we try to resize later.
 +            (setq size (max size (if horizontal
 +                                     window-safe-min-height
 +                                   window-safe-min-width)))
 +
 +            (if (window-sizable-p window (- size) horizontal 'safe)
 +                (let* ((window-nest (assq 'nest item)))
 +                  ;; We must inherit the nesting, otherwise we might mess
 +                  ;; up handling of atomic and side window.
 +                  (setq new (split-window window size horizontal)))
 +              ;; Give up if we can't resize window down to safe sizes.
 +              (error "Cannot resize window %s" window))
 +
 +            (when first
 +              (setq first nil)
 +              ;; When creating the first child window add for parent
 +              ;; unprocessed entries to `window-state-put-list'.
 +              (setq window-state-put-list
 +                    (cons (cons (window-parent window) state)
 +                          window-state-put-list))))
 +
 +          ;; Now process the current window (either the one we've just
 +          ;; split or the last child of its parent).
 +          (window-state-put-1 item window ignore totals)
 +          ;; Continue with the last window split off.
 +          (setq window new))))))))
 +
 +(defun window-state-put-2 (ignore)
 +  "Helper function for `window-state-put'."
 +  (dolist (item window-state-put-list)
 +    (let ((window (car item))
 +        (splits (cdr (assq 'splits item)))
 +        (nest (cdr (assq 'nest item)))
 +        (parameters (cdr (assq 'parameters item)))
 +        (state (cdr (assq 'buffer item))))
 +      (when splits (set-window-splits window splits))
 +      (when nest (set-window-nest window nest))
 +      ;; Process parameters.
 +      (when parameters
 +      (dolist (parameter parameters)
 +        (set-window-parameter window (car parameter) (cdr parameter))))
 +      ;; Process buffer related state.
 +      (when state
 +      ;; We don't want to raise an error here so we create a buffer if
 +      ;; there's none.
 +      (set-window-buffer window (get-buffer-create (car state)))
 +      (with-current-buffer (window-buffer window)
 +        (set-window-hscroll window (cdr (assq 'hscroll state)))
 +        (apply 'set-window-fringes
 +               (cons window (cdr (assq 'fringes state))))
 +        (let ((margins (cdr (assq 'margins state))))
 +          (set-window-margins window (car margins) (cdr margins)))
 +        (let ((scroll-bars (cdr (assq 'scroll-bars state))))
 +          (set-window-scroll-bars
 +           window (car scroll-bars) (nth 2 scroll-bars) (nth 3 scroll-bars)))
 +        (set-window-vscroll window (cdr (assq 'vscroll state)))
 +        ;; Adjust vertically.
 +        (if (memq window-size-fixed '(t height))
 +            ;; A fixed height window, try to restore the original size.
 +            (let ((delta (- (cdr (assq 'total-height item))
 +                            (window-total-height window)))
 +                  window-size-fixed)
 +              (when (window-resizable-p window delta)
 +                (window-resize window delta)))
 +          ;; Else check whether the window is not high enough.
 +          (let* ((min-size (window-min-size window nil ignore))
 +                 (delta (- min-size (window-total-size window))))
 +            (when (and (> delta 0)
 +                       (window-resizable-p window delta nil ignore))
 +              (window-resize window delta nil ignore))))
 +        ;; Adjust horizontally.
 +        (if (memq window-size-fixed '(t width))
 +            ;; A fixed width window, try to restore the original size.
 +            (let ((delta (- (cdr (assq 'total-width item))
 +                            (window-total-width window)))
 +                  window-size-fixed)
 +              (when (window-resizable-p window delta)
 +                (window-resize window delta)))
 +          ;; Else check whether the window is not wide enough.
 +          (let* ((min-size (window-min-size window t ignore))
 +                 (delta (- min-size (window-total-size window t))))
 +            (when (and (> delta 0)
 +                       (window-resizable-p window delta t ignore))
 +              (window-resize window delta t ignore))))
 +        ;; Set dedicated status.
 +        (set-window-dedicated-p window (cdr (assq 'dedicated state)))
 +        ;; Install positions (maybe we should do this after all windows
 +        ;; have been created and sized).
 +        (ignore-errors
 +          (set-window-start window (cdr (assq 'start state)))
 +          (set-window-point window (cdr (assq 'point state)))
 +          ;; I'm not sure whether we should set the mark here, but maybe
 +          ;; it can be used.
 +          (let ((mark (cdr (assq 'mark state))))
 +            (when mark (set-mark mark))))
 +        ;; Select window if it's the selected one.
 +        (when (cdr (assq 'selected state))
 +          (select-window window)))))))
 +
 +(defun window-state-put (state &optional window ignore)
 +  "Put window state STATE into WINDOW.
 +STATE should be the state of a window returned by an earlier
 +invocation of `window-state-get'.  Optional argument WINDOW must
 +specify a live window and defaults to the selected one.
 +
 +Optional argument IGNORE non-nil means ignore minimum window
 +sizes and fixed size restrictions.  IGNORE equal `safe' means
 +subwindows can get as small as `window-safe-min-height' and
 +`window-safe-min-width'."
 +  (setq window (window-normalize-live-window window))
 +  (let* ((frame (window-frame window))
 +       (head (car state))
 +       ;; We check here (1) whether the total sizes of root window of
 +       ;; STATE and that of WINDOW are equal so we can avoid
 +       ;; calculating new sizes, and (2) if we do have to resize
 +       ;; whether we can do so without violating size restrictions.
 +       (totals
 +        (and (= (window-total-size window)
 +                (cdr (assq 'total-height state)))
 +             (= (window-total-size window t)
 +                (cdr (assq 'total-width state)))))
 +       (min-height (cdr (assq 'min-height head)))
 +       (min-width (cdr (assq 'min-width head)))
 +       window-splits selected)
 +    (if (and (not totals)
 +           (or (> min-height (window-total-size window))
 +               (> min-width (window-total-size window t)))
 +           (or (not ignore)
 +               (and (setq min-height
 +                          (cdr (assq 'min-height-ignore head)))
 +                    (setq min-width
 +                          (cdr (assq 'min-width-ignore head)))
 +                    (or (> min-height (window-total-size window))
 +                        (> min-width (window-total-size window t)))
 +                    (or (not (eq ignore 'safe))
 +                        (and (setq min-height
 +                                   (cdr (assq 'min-height-safe head)))
 +                             (setq min-width
 +                                   (cdr (assq 'min-width-safe head)))
 +                             (or (> min-height
 +                                    (window-total-size window))
 +                                 (> min-width
 +                                    (window-total-size window t))))))))
 +      ;; The check above might not catch all errors due to rounding
 +      ;; issues - so IGNORE equal 'safe might not always produce the
 +      ;; minimum possible state.  But such configurations hardly make
 +      ;; sense anyway.
 +      (error "Window %s too small to accomodate state" window)
 +      (setq state (cdr state))
 +      (setq window-state-put-list nil)
 +      ;; Work on the windows of a temporary buffer to make sure that
 +      ;; splitting proceeds regardless of any buffer local values of
 +      ;; `window-size-fixed'.  Release that buffer after the buffers of
 +      ;; all live windows have been set by `window-state-put-2'.
 +      (with-temp-buffer
 +      (set-window-buffer window (current-buffer))
 +      (window-state-put-1 state window nil totals)
 +      (window-state-put-2 ignore))
 +      (window-check frame))))
  \f
 +;;; Displaying buffers.
 +(defconst display-buffer-default-specifiers
 +  '((reuse-window nil same visible)
 +    (pop-up-window (largest . nil) (lru . nil))
 +    (pop-up-window-min-height . 40)
 +    (pop-up-window-min-width . 80)
 +    (reuse-window other nil nil)
 +    (reuse-window nil other visible)
 +    (reuse-window nil nil t)
 +    (reuse-window-even-sizes . t))
 +  "Buffer display default specifiers.
 +The value specified here is used when no other specifiers have
 +been specified by the user or the application.  Consult the
 +documentation of `display-buffer-alist' for a description of
 +buffer display specifiers.")
 +
 +(defconst display-buffer-macro-specifiers
 +  '((same-window
 +     ;; Use the same window.
 +     (reuse-window same nil nil))
 +    (same-frame
 +     ;; Avoid other frames.
 +     (reuse-window nil same nil)
 +     (pop-up-window (largest . nil) (lru . nil))
 +     (reuse-window nil other nil))
 +    ;; (other-window
 +    ;;  ;; Avoid selected window.
 +    ;;  (reuse-window other same visible)
 +    ;;  (pop-up-window (largest . nil) (lru . nil))
 +    ;;  (reuse-window other other visible))
 +    (same-frame-other-window
 +     ;; Avoid other frames and selected window.
 +     (reuse-window other same nil)
 +     (pop-up-window (largest . nil) (lru . nil))
 +     (reuse-window other other nil))
 +    (other-frame
 +     ;; Avoid selected frame.
 +     (reuse-window nil same other)
 +     (pop-up-frame)
 +     (reuse-window nil other other))
 +    (default
 +      ;; The default specifiers.
 +      display-buffer-default-specifiers))
 +  "Buffer display macro specifiers.")
 +
 +(defcustom display-buffer-alist
 +  '((((regexp . ".*"))
 +     ;; Reuse window showing same buffer on same frame.
 +     reuse-window (reuse-window nil same nil)
 +     ;; Pop up window.
 +     pop-up-window
 +     ;; Split largest or lru window.
 +     (pop-up-window (largest . nil) (lru . nil))
 +     (pop-up-window-min-height . 40) ; split-height-threshold / 2
 +     (pop-up-window-min-width . 80) ; split-width-threshold / 2
 +     ;; Reuse any but selected window on same frame.
 +     reuse-window (reuse-window other nil nil)
 +     (reuse-window-even-sizes . t)))
 +  "List associating buffer identifiers with display specifiers.
 +The car of each element of this list is built from a set of cons
 +cells called buffer identifiers.  `display-buffer' shows a buffer
 +according to the display specifiers in the element's cdr
 +\(elements are true lists) if at least one of the identifiers
 +matches the first or third argument of `display-buffer'.  Such a
 +match occurs in one of the following three cases:
 +
 +- The car of the buffer identifier is the symbol `name' and its
 +  cdr is a string equalling the name of the buffer specified by
 +  the first \(BUFFER-OR-NAME) argument of `display-buffer'.
 +
 +- The car is the symbol `regexp' and the cdr is a regular
 +  expression matching the name of the buffer specified by the
 +  first \(BUFFER-OR-NAME) argument of `display-buffer'.
 +
 +- The car is the symbol `label' and the cdr is a symbol equalling
 +  the third \(LABEL) argument of `display-buffer'.
 +
 +Display specifiers are either symbols, cons cells, or lists.
 +Five specifiers have been reserved to indicate the basic method
 +for displaying the buffer: `reuse-window', `pop-up-window',
 +`pop-up-frame', `use-side-window', and `function'.
 +
 +A list whose car is the symbol `reuse-window' indicates that an
 +existing window shall be reused for displaying the buffer.  The
 +second element of this list specifies the window to use and can
 +be one of the following symbols:
 +
 +  nil stands for any window.
 +
 +  `same' stands for the selected window.
 +
 +  `other' stands for any but the selected window.
 +
 +The third element specifies whether the buffer shown in a window
 +that shall be reused must be the same buffer that shall be
 +displayed or another buffer and can be one of the following:
 +
 +  nil means to not care about the window's buffer.
 +
 +  `same' means the window must show the buffer already.
 +
 +  `other' means the window must not show the buffer yet.
 +
 +The fourth element specifies the set of frames to search for a
 +suitable window and can be one of the following:
 +
 +  nil to reuse a window on the selected frame.
 +
 +  `visible' to search visible frames on the current terminal.
 +
 +  `other' stands for any visible frame but the selected one.
 +
 +  0 \(the number zero) to search visible and iconified frames on
 +  the current terminal.
 +
 +  t to search arbitrary frames including invisible ones.
 +
 +If more than one window fits the constraints imposed by these
 +elements, the least recently used candidate is chosen.  A side
 +window is never reused unless it already shows the buffer.
 +
 +The following two specifiers are useful when the method equals
 +`reuse-window':
 +
 +- A cons cell whose car is the symbol `reuse-window-even-sizes'
 +  and whose cdr is non-nil means to even out the sizes of a
 +  reused window and the selected window provided they (1) appear
 +  adjacent to each other and (2) the selected window is larger
 +  than the window chosen.  If the cdr is nil, this means that the
 +  window sizes are left alone.
 +
 +- A cons cell whose car is the symbol `reuse-window-dedicated'
 +  and whose cdr is non-nil means that a window can be reused even
 +  if it's weakly dedicated to its buffer.  If the cdr is t, a
 +  strongly dedicated window can be reused to show the buffer.
 +  Any other non-nil value means only weakly dedicated windows can
 +  be reused.  If the cdr is nil, dedicated windows are not
 +  reused.
 +
 +  This specifier should be used in emergency cases only since
 +  windows are usually made dedicated in order to prevent
 +  `display-buffer' from reusing them.
 +
 +A list whose car is the symbol `pop-up-window' and whose cdr is
 +built from cons cells representing window/side tuples indicates
 +that a new window shall be made for displaying the buffer on the
 +selected frame.
 +
 +Window/side tuples are cons cells.  The car of such a tuple
 +identifies the window that shall be split.  Possible values are
 +`largest', `lru', `selected', and `root' to split the largest,
 +least recently used, selected or root window of the selected
 +frame.
 +
 +If the frame has side windows, these values do allow to split
 +only the selected frame's main window or one of its subwindows.
 +Setting the car to one of `left', `top', `right' and `bottom'
 +splits the corresponding side window, provided such a window
 +exists.
 +
 +The cdr of each pair specifies on which side of the window to
 +split the new window shall appear and can be one of `below',
 +`right', `above', or `left' with the obvious meanings.  If the
 +cdr is nil, the window is split in a fashion suitable for its
 +current dimensions.  If the cdr specifies a function, that
 +function is called with one argument - the window to split.  The
 +function is supposed to split that window and return the new
 +window.
 +
 +`display-buffer' scans these tuples until it can either produce a
 +suitable window or fails.  The default value for
 +`display-buffer-alist' contains the tuples \(largest . nil) and
 +\(lru . nil) in order to split the largest window first and, if
 +that fails, the least recently used one.
 +
 +The following specifiers are useful if the method specifier is
 +`pop-up-window'.
 +
 +- A cons cell whose car is the symbol `pop-up-window-min-height'
 +  specifiies the minimum height of the new window.  If the cdr is
 +  an integer number, it specifies the minimum number of lines of
 +  the window.  A floating point number gives the minimum fraction
 +  of the window height with respect to the height of the frame's
 +  root window.  A new window is created only if it can be made at
 +  least as high as specified by the number.  If the cdr is nil,
 +  this means to use the value of `window-min-height'.
 +
 +- A cons cell whose car is the symbol `pop-up-window-min-width'
 +  specifies the minimum width of the new window.  If the cdr is
 +  an integer number, it specifies the minimum number of columns
 +  of the window.  A floating point number gives the minimum
 +  fraction of the window width with respect to the width of the
 +  frame's root window.  A new window is created only if it can be
 +  made at least as wide as specified by the number.  If the cdr
 +  is nil, this means to use the value of `window-min-width'.
 +
 +- A cons cell whose car is `pop-up-window-set-height' with
 +  the following interpretations for the cdr:
 +
 +  - nil means leave the height of the new window alone.
 +
 +  - A number specifies the desired height of the new window.  An
 +    integer number specifies the number of lines of the window.
 +    A floating point number gives the fraction of the window
 +    height with respect to the height of the frame's root window.
 +
 +  - If the cdr specifies a function, that function is called with
 +    one argument - the new window.  The function is supposed to
 +    adjust the height of the window; its return value is ignored.
 +    Suitable functions are `shrink-window-if-larger-than-buffer'
 +    and `fit-window-to-buffer'.
 +
 +- A cons cell whose car equals `pop-up-window-set-width' with
 +  the following interpretations for the cdr:
 +
 +  - nil means leave the width of the new window alone.
 +
 +  - A number specifies the desired width of the new window.  An
 +    integer number specifies the number of columns of the window.
 +    A floating point number gives the fraction of the window
 +    width with respect to the width of the frame's root window.
 +
 +  - If the cdr specifies a function, that function is called with
 +    one argument - the new window.  The function is supposed to
 +    adjust the width of the window; its return value is ignored.
 +
 +  Observe that specifying `pop-up-window-set-height' or
 +  `pop-up-window-set-width' may override restrictions given by
 +  the `pop-up-window-min-height' and `pop-up-window-min-width'
 +  specifiers.
 +
 +- A cons cell whose car is `pop-up-window-split-unsplittable' and
 +  whose cdr is non-nil allows to make a new window on an
 +  unsplittable frame.  If the cdr is nil, unsplittable frames are
 +  not split.  This specifier should be used in special cases only
 +  since frames are usually made unsplittable in order to prevent
 +  `display-buffer' from splitting them.
 +
 +A list whose car is the symbol `pop-up-frame' specifies that a
 +new frame shall be made for displaying the buffer.  The second
 +element, if non-nil, allows popping up a new frame on graphic
 +displays only.
 +
 +The following specifiers are useful if the method specifier is
 +`pop-up-frame'.
 +
 +- A list whose car is the symbol `pop-up-frame-function' together
 +  with a valid function as cdr specifies the function for
 +  creating a new frame.  If the cdr is nil, the default function
 +  `make-frame' is called.  The function is called with the
 +  parameters and values provided by the specifier described next.
 +
 +- A list whose car is the symbol `pop-up-frame-alist' followed by
 +  an arbitrary number of frame parameter/value tuples, each given
 +  as a cons cell, specifies the parameters passed to the pop-up
 +  frame function.
 +
 +A list of three elements whose car is the symbol
 +`use-side-window' specifies that the buffer shall be displayed in
 +a side window of the selected frame.  The second element denotes
 +the side of the frame where the window appears or shall be made.
 +The third element denotes the slot used by the window.  If a side
 +window with the specified slot exists already, that window is
 +reused.  If no such window exists it is created.
 +
 +The following specifiers are useful in connection with the
 +`use-side-window' method specifier: `reuse-window-dedicated',
 +`pop-up-window-min-height', `pop-up-window-min-width',
 +`pop-up-window-set-height' and `pop-up-window-set-width'.
 +
 +A list whose car is the symbol `function' specifies that the
 +function specified in the second element of the list is
 +responsible for displaying the buffer.  `display-buffer' calls
 +this function with the buffer as first argument and the remaining
 +elements of the list as the second.
 +
 +The function should choose or create a window, display the buffer
 +in it, and return the window.  It is also responsible for giving
 +the variable `display-buffer-window' and the `quit-restore'
 +parameter of the window used a meaningful value.
 +
 +Within the body of this function avoid calling `display-buffer'
 +with the same buffer as argument since this may lead to endless
 +recursion.
 +
 +Instead of supplying basic method specifiers, it's sometimes more
 +convenient to use macro specifiers.  They provide some commonly
 +used display methods but do not support the fine control provided
 +by the basic method specifiers.  Macro specifiers are symbols.
 +The following macro specifiers are provided:
 +
 +  `same-window' to display the buffer in the selected window.
 +
 +  `same-frame' to display the buffer on the selected frame.
 +
 +  `other-window' to display the buffer in any window but the
 +   selected one.
 +
 +  `same-frame-other-window' as `other-window' but stay on the
 +  selected frame.
 +
 +  `other-frame' to display the buffer on another visible
 +  frame.
 +
 +  `default' to use the default value of `display-buffer-alist'.
 +
 +One specifier is useful with any method specifier: A list whose
 +car is the symbol `dedicate' and whose cdr is non-nil will
 +dedicate the window to its buffer.  The following values are
 +supported:
 +
 +- nil to not dedicate the window to the buffer.
 +
 +- `weak' to weakly dedicate the window to the buffer.
 +
 +- t to strongly dedicate the window to the buffer.
 +
 +A cons cell whose car is `other-window-means-other-frame' and
 +whose cdr is non-nil means that you want calls of
 +`display-buffer' with the second argument t or the symbol
 +`other-window' to display the buffer in another frame.  This
 +means, for example, that you prefer functions like
 +`find-file-other-window' or `switch-to-buffer-other-window' to
 +make a new frame instead of a new window on the selected frame.
 +
 +Usually, applications are free to override the specifiers of
 +`display-buffer-alist' by passing their own specifiers as second
 +argument of `display-buffer'.  For every `display-buffer-alist'
 +entry you can, however, add a cons cell whose car is the symbol
 +`override' and whose cdr is non-nil, to explicitly override any
 +value supplied by the application.
 +
 +Overriding specifiers supplied by the calling application is, in
 +general, not advisable.  It permits, for example, to change the
 +semantics of a function like `display-buffer-other-window' by
 +using the location specifiers `same-window' or `other-frame'."
 +  :risky t
 +  :type
 +  '(repeat
 +    :offset 9
 +    ;; Associations of buffer identifiers and display specifiers.
 +    (list
 +     :format "%v"
 +     ;; Buffer identifiers.
 +     (repeat
 +      :tag "Buffer identifiers"
 +      (choice
 +       :tag "Identifier"
 +       :format "%[%t%] %v" :size 15
 +       (cons
 +      :tag "Name"
 +      :format "%v"
 +      :help-echo "A buffer name."
 +      (const :format "" name)
 +      (string :format "Name: %v\n" :size 32))
 +       (cons
 +      :tag "Regexp"
 +      :format "%v"
 +      :help-echo "A regular expression matching buffer names."
 +      (const :format "" regexp)
 +      (string :format "Regexp: %v\n" :size 32))
 +       (cons
 +      :tag "Label"
 +      :format "%v"
 +      :help-echo "A symbol equalling the buffer display label."
 +      (const :format "" label)
 +      (symbol :format "Label: %v\n" :size 32))))
 +
 +     ;; Display specifiers.
 +     (repeat
 +      :offset 9
 +      :tag "Display specifiers"
 +      :inline t
 +      (list
 +       :inline t
 +       :format "%v"
 +       (choice
 +      :tag "Method"
 +      :value (reuse-window
 +              (reuse-window nil same nil)
 +              (reuse-window-even-sizes . t))
 +      :inline t
 +      :help-echo "Method for displaying the buffer."
 +      :format "%[Method%] %v" :size 15
 +
 +      ;; Reuse window specifiers.
 +      (list
 +       :tag "Reuse window"
 +       :value (reuse-window
 +               (reuse-window nil same nil)
 +               (reuse-window-even-sizes . t))
 +       :format "%t\n%v"
 +       :inline t
 +       ;; For customization purposes only.
 +       (const :format "" reuse-window)
 +       (set
 +        :format "%v"
 +        :inline t
 +        ;; The window to reuse.
 +        (list
 +         :format "%v\n"
 +         (const :format "" reuse-window)
 +         ;; The window type.
 +         (choice
 +          :tag "Window"
 +          :help-echo "Window to reuse."
 +          :value nil
 +          :format "%[Window%] %v" :size 15
 +          (const :tag "Any window" :format "%t" nil)
 +          (const :tag "Same window" :format "%t" same)
 +          (const :tag "Other window" :format "%t" other))
 +         ;; The window's buffer.
 +         (choice
 +          :tag "Buffer"
 +          :help-echo "Buffer shown by reused window."
 +          :value t
 +          :format " %[Buffer%] %v" :size 15
 +          (const :tag "Any buffer" :format "%t" nil)
 +          (const :tag "Same buffer" :format "%t" same)
 +          (const :tag "Other buffer" :format "%t" other))
 +         ;; The window's frame.
 +         (choice
 +          :help-echo "Frames to search for a window to reuse."
 +          :tag "Frame"
 +          :value nil
 +          :format " %[Frame%] %v" :size 15
 +          (const :tag "Same frame only" :format "%t" nil)
 +          (const :tag "Visible frames" :format "%t" visible)
 +          (const :tag "Any other visible frame" :format "%t" other)
 +          (const :tag "Visible and iconified frames" :format "%t" 0)
 +          (const :tag "All frames" :format "%t" t)))
 +        ;; Whether window sizes should be evened out.
 +        (cons
 +         :format "%v\n"
 +         :tag "Even window sizes"
 +         (const :format "" reuse-window-even-sizes)
 +         (choice
 +          :tag "Even window sizes"
 +          :help-echo "Whether to even sizes of selected and reused window."
 +          :value t
 +          :format "%[Even window sizes%] %v" :size 15
 +          (const :tag "Off" :format "%t" nil)
 +          (const :tag "Even window sizes" :format "%t" t)))
 +        ;; Whether to reuse a dedicated window
 +        (cons
 +         :format "%v\n"
 +         (const :format "" reuse-window-dedicated)
 +         (choice
 +          :tag "Reuse dedicated window" :value nil
 +          :help-echo "Reuse a window even if it is dedicated to its buffer."
 +          :format "%[Reuse dedicated window%] %v" :size 15
 +          (const :tag "Off" :format "%t" nil)
 +          (const :tag "Reuse weakly dedicated windows" :format "%t" weak)
 +          (const :tag "Reuse any dedicated window" :format "%t" t)))))
 +
 +      ;; Pop-up window specifiers.
 +      (list
 +       :tag "Pop-up window"
 +       :value (pop-up-window (pop-up-window (largest . nil) (lru . nil)))
 +       :format "%t\n%v"
 +       :inline t
 +       (const :format "" pop-up-window)
 +       (set
 +        :format "%v"
 +        :inline t
 +        ;; Pop-up window list.
 +        (list
 +         :format "%v"
 +         :value (pop-up-window (largest . nil) (lru . nil))
 +         (const :format "" pop-up-window)
 +         (repeat
 +          :tag "Window / Side tuples"
 +          :inline t
 +          (cons
 +           :format "%v\n"
 +           (choice
 +            :tag "Window"
 +            :help-echo "The window to split."
 +            :value largest
 +            :format "%[Window%] %v"
 +            (const :tag "Largest" :format "%t" largest)
 +            (const :tag "Least recently used" :format "%t" lru)
 +            (const :tag "Selected" :format "%t" selected)
 +            (const :tag "Root" :format "%t" root)
 +            (const :tag "Left" :format "%t" left)
 +            (const :tag "Top" :format "%t" top)
 +            (const :tag "Right" :format "%t" right)
 +            (const :tag "Bottom" :format "%t" bottom))
 +           (choice
 +            :tag "Side"
 +            :help-echo "The position of the new window with respect to the window to split."
 +            :value nil
 +            :format " %[Side%] %v"
 +            (const :tag "Dynamic" :format "%t" nil)
 +            (const :tag "Below" :format "%t" below)
 +            (const :tag "Right" :format "%t" right)
 +            (const :tag "Above" :format "%t" above)
 +            (const :tag "Left" :format "%t" left)
 +            (function
 +             :tag "Function" :format "%v" :size 25)))))
 +        ;; Minimum height of pop-up windows.
 +        (cons
 +         :format "%v\n"
 +         (const :format "" pop-up-window-min-height)
 +         (choice
 +          :help-echo "Minimum height of popped-up window."
 +          :format "%[Minimum height%] %v"
 +          (const :tag "Default" :format "%t" :value nil)
 +          (integer :tag "Number of lines" :value 12 :size 5)
 +          (float :tag "Fraction of frame height" :value .25 :size 5)))
 +        ;; Minimum width of pop-up windows.
 +        (cons
 +         :format "%v\n"
 +         (const :format "" pop-up-window-min-width)
 +         (choice
 +          :help-echo "Minimum width of popped-up window."
 +          :format "%[Minimum width%] %v"
 +          (const :tag "Default" :format "%t" :value nil)
 +          (integer :tag "Number of columns" :value 12 :size 5)
 +          (float :tag "Fraction of frame width" :value .25 :size 5)))
 +        ;; Desired height of pop-up windows.
 +        (cons
 +         :format "%v\n"
 +         (const :format "" pop-up-window-set-height)
 +         (choice
 +          :help-echo "Desired height of popped-up window."
 +          :format "%[Desired height%] %v"
 +          (const :tag "Default" :format "%t" :value nil)
 +          (integer :tag "Number of lines" :value 12 :size 5)
 +          (float :tag "Fraction of frame height" :value .25 :size 5)
 +          (function :tag "Function" :size 25)))
 +        ;; Desired width of pop-up windows.
 +        (cons
 +         :format "%v\n"
 +         (const :format "" pop-up-window-set-width)
 +         (choice
 +          :help-echo "Desired width of popped-up window."
 +          :format "%[Desired width%] %v"
 +          (const :tag "Default" :format "%t" :value nil)
 +          (integer :tag "Number of column" :value 12 :size 5)
 +          (float :tag "Fraction of frame width" :value .25 :size 5)
 +          (function :tag "Function" :size 25)))
 +        ;; Split unsplittable frames.
 +        (cons
 +         :format "%v\n"
 +         (const :format "" pop-up-window-unsplittable)
 +         (choice
 +          :help-echo "Allow popping up a window on \"unsplittable\" frames."
 +          :format "%[Split unsplittable frame%] %v"
 +          (const :tag "Off" :format "%t" nil)
 +          (const :tag "Allow" :format "%t" t)))))
 +
 +      ;; Pop-up frame specifiers.
 +      (list
 +       :tag "Pop-up frame"
 +       :value (pop-up-frame
 +               (pop-up-frame))
 +       :format "%t\n%v"
 +       :inline t
 +       (const :format "" pop-up-frame)
 +       (set
 +        :format "%v"
 +        :inline t
 +        ;; Pop-up frame.
 +        (list
 +         :tag "Pop-up a new frame"
 +         :value (pop-up-frame)
 +         :format "%v"
 +         (const :format "" pop-up-frame)
 +         (choice
 +          :tag "Pop-up a new frame"
 +          :help-echo "Whether to pop-up a new frame on a display."
 +          :format "%[Display%] %v\n" :size 15
 +          (const :tag "On any display" :format "%t" nil)
 +          (const :tag "On graphic displays only" :format "%t" t)))
 +        ;; Pop-up frame function.
 +        (cons
 +         :format "%v\n"
 +         (const :format "" pop-up-frame-function)
 +         (choice
 +          :tag "Pop-up frame function"
 +          :value nil
 +          :help-echo "Function to use to pop-up a new frame."
 +          :format "%[Function%] %v" :size 15
 +          (const :tag "Default" :format "%t" nil)
 +          (function
 +           :value make-frame
 +           :format "%t: %v"
 +           :size 25)))
 +        ;; Pop-up frame alist.
 +        (list
 +         :format "%v"
 +         (const :format "" pop-up-frame-alist)
 +         (repeat
 +          :tag "Parameter / Value tuples"
 +          :inline t
 +          (cons
 +           :format "%v\n"
 +           (symbol
 +            :tag "Parameter"
 +            :format "Parameter: %v"
 +            :size 16)
 +           (sexp
 +            :tag "Value"
 +            :format "  Value: %v"
 +            :size 8))))))
 +
 +      ;; Use side-window specifiers.
 +      (list
 +       :tag "Use side-window"
 +       :value (use-side-window (use-side-window bottom 0))
 +       :format "%t\n%v"
 +       :inline t
 +       ;; For customization purposes only.
 +       (const :format "" use-side-window)
 +       (set
 +        :format "%v"
 +        :inline t
 +        ;; Side and slot.
 +        (list
 +         :format "%v\n"
 +         :value (use-side-window bottom 0)
 +         (const :format "" use-side-window)
 +         ;; The side.
 +         (choice
 +          :tag "Side"
 +          :help-echo "Side of frame."
 +          :value bottom
 +          :format "%[Side%] %v" :size 15
 +          (const :tag "Left" :format "%t" left)
 +          (const :tag "Top" :format "%t" top)
 +          (const :tag "Right" :format "%t" right)
 +          (const :tag "Bottom" :format "%t" bottom))
 +         ;; The slot
 +         (number
 +          :tag "Slot"
 +          :help-echo "The slot (an arbitrary number, where 0 stands for the center slot)."
 +          :value 0
 +          :format "   Slot: %v" :size 8))
 +        ;; Whether to reuse a dedicated side window
 +        (cons
 +         :format "%v\n"
 +         (const :format "" reuse-window-dedicated)
 +         (choice
 +          :tag "Reuse dedicated side window" :value nil
 +          :help-echo "Reuse a side window even if it is dedicated to its buffer."
 +          :format "%[Reuse dedicated side window%] %v" :size 15
 +          (const :tag "Off" :format "%t" nil)
 +          (const :tag "Reuse weakly dedicated side windows" :format "%t" weak)
 +          (const :tag "Reuse any dedicated side window" :format "%t" t)))
 +        ;; Minimum height of pop-up side windows.
 +        (cons
 +         :format "%v\n"
 +         (const :format "" pop-up-window-min-height)
 +         (choice
 +          :help-echo "Minimum height of popped-up side window."
 +          :format "%[Minimum height%] %v"
 +          (const :tag "Default" :format "%t" :value nil)
 +          (integer :tag "Number of lines" :value 12 :size 5)
 +          (float :tag "Fraction of frame height" :value .25 :size 5)))
 +        ;; Minimum width of pop-up windows.
 +        (cons
 +         :format "%v\n"
 +         (const :format "" pop-up-window-min-width)
 +         (choice
 +          :help-echo "Minimum width of popped-up side window."
 +          :format "%[Minimum width%] %v"
 +          (const :tag "Default" :format "%t" :value nil)
 +          (integer :tag "Number of columns" :value 12 :size 5)
 +          (float :tag "Fraction of frame width" :value .25 :size 5)))
 +        ;; Desired height of pop-up windows.
 +        (cons
 +         :format "%v\n"
 +         (const :format "" pop-up-window-set-height)
 +         (choice
 +          :help-echo "Desired height of popped-up side window."
 +          :format "%[Desired height%] %v"
 +          (const :tag "Default" :format "%t" :value nil)
 +          (integer :tag "Number of lines" :value 12 :size 5)
 +          (float :tag "Fraction of frame height" :value .25 :size 5)
 +          (function :tag "Function" :size 25)))
 +        ;; Desired width of pop-up windows.
 +        (cons
 +         :format "%v\n"
 +         (const :format "" pop-up-window-set-width)
 +         (choice
 +          :help-echo "Desired width of popped-up side window."
 +          :format "%[Desired width%] %v"
 +          (const :tag "Default" :format "%t" :value nil)
 +          (integer :tag "Number of column" :value 12 :size 5)
 +          (float :tag "Fraction of frame width" :value .25 :size 5)
 +          (function :tag "Function" :size 25)))))
 +
 +      ;; Function with argument specifiers.
 +      (list
 +       :tag "Function with arguments"
 +       :value (function (function 'ignore))
 +       :format "%t\n%v"
 +       :inline t
 +       ;; For customization purposes only.
 +       (const :format "" function)
 +       (set
 +        :format "%v"
 +        :inline t
 +        (list
 +         :format "%v"
 +         :value (function 'ignore)
 +         (const :format "" function)
 +         (function :tag "Function" :format "%t: %v\n" :size 25)
 +         (list
 +          :format "%v"
 +          (repeat
 +           :tag "Arguments"
 +           :inline t
 +           (sexp
 +            :format "%v\n"
 +            :size 16))))))
 +
 +      ;; Macro specifiers.
 +      (list
 +       :tag "Same window"
 +       :format "%t%v"
 +       :inline t
 +       (const :format "\n" same-window))
 +      (list
 +       :tag "Same frame"
 +       :format "%t%v"
 +       :inline t
 +       (const :format "\n" same-frame))
 +      (list
 +       :tag "Other window"
 +       :format "%t%v"
 +       :inline t
 +       (const :format "\n" other-window))
 +      (list
 +       :tag "Same frame other window"
 +       :format "%t%v"
 +       :inline t
 +       (const :format "\n" same-frame-other-window))
 +      (list
 +       :tag "Other frame"
 +       :format "%t%v"
 +       :inline t
 +       (const :format "\n" other-frame))
 +      (list
 +       :tag "Default"
 +       :format "%t%v"
 +       :inline t
 +       (const :format "\n" default)))))
 +
 +     (set
 +      :format "%v"
 +      :inline t
 +      ;; Dedicate window to buffer.
 +      (cons
 +       :format "%v"
 +       (const :format "" dedicate)
 +       (choice
 +      :help-echo "Mark window as dedicated to its buffer."
 +      :format "%[Dedicate window to buffer%] %v\n" :size 15
 +      (const :tag "Off" :format "%t" nil)
 +      (const :tag "Weak" :format "%t" weak)
 +      (const :tag "Strong" :format "%t" t)))
 +      ;; No other window.
 +      (cons
 +       :format "%v"
 +       (const :format "" no-other-window)
 +       (choice
 +      :help-echo "Whether `other-window' shall ignore the window."
 +      :format "%[No other window%] %v\n" :size 15
 +      (const :tag "Off" :format "%t" nil)
 +      (const :tag "Ignore" :format "%t" t)))
 +      ;; Other window means other frame.
 +      (cons
 +       :format "%v"
 +       (const :format "" other-window-means-other-frame)
 +       (choice
 +      :help-echo "Whether other window means same or other frame."
 +      :format "%[Other window means other frame%] %v\n" :size 15
 +      (const :tag "Off" :format "%t" nil)
 +      (const :tag "On" :format "%t" t)))
 +      ;; Overriding.
 +      (cons
 +       :format "%v\n"
 +       (const :format "" override)
 +       (choice
 +      :help-echo "Override application supplied specifiers."
 +      :format "%[Override%] %v"
 +      (const :tag "Off" :format "%t" nil)
 +      (const :tag "Override" :format "%t" t))))))
 +  :group 'windows
 +  :group 'frames)
 +
  (defcustom display-buffer-function nil
 -  "If non-nil, function to call to handle `display-buffer'.
 -It will receive two args, the buffer and a flag which if non-nil
 -means that the currently selected window is not acceptable.  It
 -should choose or create a window, display the specified buffer in
 -it, and return the window.
 -
 -Commands such as `switch-to-buffer-other-window' and
 -`find-file-other-window' work using this function."
 +  "If non-nil, function to call to display a buffer.
 +`display-buffer' calls this function with two arguments, the
 +buffer to display and a list of buffer display specifiers, see
 +`display-buffer-alist'.
 +
 +The function is supposed to choose or create a window, display
 +the specified buffer in it, and return the window.  It is also
 +responsible for giving the variable `display-buffer-window' and
 +the `quit-restore' parameter of the window used a meaningful
 +value.
 +
 +The function specified here overrides all specifiers of the
 +variable `display-buffer-alist' any specifiers passed to
 +`display-buffer'.
 +
 +If you call `display-buffer' within the body of the function,
 +bind the value of `display-buffer-function' to nil around that
 +call to avoid that the function recursively calls itself."
    :type '(choice
          (const nil)
 -        (function :tag "function"))
 +        (function :tag "Function"))
 +  :group 'windows)
 +
 +;; The following is a global variable which is used externally (by
 +;; help.el) to (1) know which window was used for displaying a buffer
 +;; and (2) whether the window was new or reused.
 +(defvar display-buffer-window nil
 +  "Window used by `display-buffer' and related information.
 +After `display-buffer' displays a buffer in some window this
 +variable is a cons cell whose car denotes the window used to
 +display the buffer.  The cdr is supposed to be one of the symbols
 +`reuse-buffer-window', `reuse-other-window', `new-window' or
 +`new-frame'.
 +
 +If the buffer display location specifier is one of 'same-window,
 +'same-frame, or 'other-frame, the `display-buffer' routines
 +assign the value of this variable.  If the location specifier is
 +a function, that function becomes responsible for assigning a
 +meaningful value to this variable.  See the functions
 +`display-buffer-reuse-window', `display-buffer-pop-up-window' and
 +`display-buffer-pop-up-frame' for how this can be done.")
 +
 +(defun display-buffer-even-window-sizes (window specifiers)
 +  "Even sizes of WINDOW and selected window according to SPECIFIERS.
 +SPECIFIERS must be a list of buffer display specifiers, see the
 +documentation of `display-buffer-alist' for a description.
 +
 +Sizes are evened out if and only if WINDOW and the selected
 +window appear next to each other and the selected window is
 +larger than WINDOW."
 +  (cond
 +   ((or (not (cdr (assq 'reuse-window-even-sizes specifiers)))
 +      ;; Don't resize minibuffer windows.
 +      (window-minibuffer-p)
 +      ;; WINDOW must be adjacent to the selected one.
 +      (not (or (eq window (window-prev-sibling))
 +               (eq window (window-next-sibling))))))
 +   ((and (window-iso-combined-p window)
 +       ;; Resize iff the selected window is higher than WINDOW.
 +       (> (window-total-height) (window-total-height window)))
 +    ;; Don't throw an error if we can't even window heights for
 +    ;; whatever reason.  In any case, enlarging the selected window
 +    ;; might fail anyway if there are other windows above or below
 +    ;; WINDOW and the selected one.  But for a simple two windows
 +    ;; configuration the present behavior is good enough so why care?
 +    (ignore-errors
 +      (window-resize
 +       window (/ (- (window-total-height) (window-total-height window))
 +               2))))
 +   ((and (window-iso-combined-p window t)
 +       ;; Resize iff the selected window is wider than WINDOW.
 +       (> (window-total-width) (window-total-width window)))
 +    ;; Don't throw an error if we can't even window widths, see
 +    ;; comment above.
 +    (ignore-errors
 +      (window-resize
 +       window (/ (- (window-total-width) (window-total-width window))
 +               2) t)))))
 +
 +(defun display-buffer-set-height (window specifiers)
 +  "Adjust height of WINDOW according to SPECIFIERS.
 +SPECIFIERS must be a list of buffer display specifiers, see the
 +documentation of `display-buffer-alist' for a description."
 +  (let ((set-height (cdr (assq 'pop-up-window-set-height specifiers))))
 +    (cond
 +     ((numberp set-height)
 +      (let* ((height (if (integerp set-height)
 +                       set-height
 +                     (round
 +                      (* (window-total-size (frame-root-window window))
 +                         set-height))))
 +           (delta (- height (window-total-size window))))
 +      (when (and (window-resizable-p window delta nil 'safe)
 +                 (window-iso-combined-p window))
 +        (window-resize window delta nil 'safe))))
 +     ((functionp set-height)
 +      (ignore-errors (funcall set-height window))))))
 +
 +(defun display-buffer-set-width (window specifiers)
 +  "Adjust width of WINDOW according to SPECIFIERS.
 +SPECIFIERS must be a list of buffer display specifiers, see the
 +documentation of `display-buffer-alist' for a description."
 +  (let ((set-width (cdr (assq 'pop-up-window-set-width specifiers))))
 +    (cond
 +     ((numberp set-width)
 +      (let* ((width (if (integerp set-width)
 +                      set-width
 +                    (round
 +                     (* (window-total-size (frame-root-window window) t)
 +                        set-width))))
 +           (delta (- width (window-total-size window t))))
 +      (when (and (window-resizable-p window delta t 'safe)
 +                 (window-iso-combined-p window t))
 +        (window-resize window delta t 'safe))))
 +     ((functionp set-width)
 +      (ignore-errors (funcall set-width window))))))
 +
 +(defun display-buffer-in-window (buffer window specifiers)
 +  "Display BUFFER in WINDOW and raise its frame if needed.
 +WINDOW must be a live window and defaults to the selected one.
 +Return WINDOW.
 +
 +SPECIFIERS must be a list of buffer display specifiers, see the
 +documentation of `display-buffer-alist' for a description."
 +  (setq buffer (window-normalize-buffer buffer))
 +  (setq window (window-normalize-live-window window))
 +  (let* ((old-frame (selected-frame))
 +       (new-frame (window-frame window))
 +       (dedicated (cdr (assq 'dedicated specifiers)))
 +       (no-other-window (cdr (assq 'no-other-window specifiers))))
 +    ;; Show BUFFER in WINDOW.
 +    (unless (eq buffer (window-buffer window))
 +      ;; If we show another buffer in WINDOW, undedicate it first.
 +      (set-window-dedicated-p window nil))
 +    (set-window-buffer window buffer)
 +    (when dedicated
 +      (set-window-dedicated-p window dedicated))
 +    (when no-other-window
 +      (set-window-parameter window 'no-other-window t))
 +    (unless (or (eq old-frame new-frame)
 +              (not (frame-visible-p new-frame))
 +              ;; Assume the selected frame is already visible enough.
 +              (eq new-frame (selected-frame))
 +              ;; Assume the frame from which we invoked the minibuffer
 +              ;; is visible.
 +              (and (minibuffer-window-active-p (selected-window))
 +                   (eq new-frame
 +                       (window-frame (minibuffer-selected-window)))))
 +      (raise-frame new-frame))
 +    ;; Return window.
 +    window))
 +
 +(defun display-buffer-reuse-window (buffer method &optional specifiers)
 +  "Display BUFFER in an existing window.
 +METHOD must be a list in the form of the cdr of a `reuse-window'
 +buffer display specifier, see `display-buffer-alist' for an
 +explanation.  The first element must specifiy the window to use,
 +and can be either nil, `same', `other', or a live window.  The
 +second element must specify the window's buffer and can be either
 +nil, `same', `other', or a live buffer.  The third element is the
 +frame to use - either nil, 0, `visible', `other', t, or a live
 +frame.
 +
 +Optional argument SPECIFIERS must be a list of valid display
 +specifiers.  Return the window chosen to display BUFFER, nil if
 +none was found."
 +  (let* ((method-window (nth 0 method))
 +       (method-buffer (nth 1 method))
 +       (method-frame (nth 2 method))
 +       (reuse-dedicated (cdr (assq 'reuse-window-dedicated specifiers)))
 +       windows other-frame dedicated time best-window best-time)
 +    (when (eq method-frame 'other)
 +      ;; `other' is not handled by `window-list-1'.
 +      (setq other-frame t)
 +      (setq method-frame t))
 +    (dolist (window (window-list-1 nil 'nomini method-frame))
 +      (let ((window-buffer (window-buffer window)))
 +      (when (and (not (window-minibuffer-p window))
 +                 ;; Don't reuse a side window.
 +                 (or (not (eq (window-parameter window 'window-side) 'side))
 +                     (eq window-buffer buffer))
 +                 (or (not method-window)
 +                     (and (eq method-window 'same)
 +                          (eq window (selected-window)))
 +                     (and (eq method-window 'other)
 +                          (not (eq window (selected-window))))
 +                     ;; Special case for applications that specifiy
 +                     ;; the window explicitly.
 +                     (eq method-window window))
 +                 (or (not method-buffer)
 +                     (and (eq method-buffer 'same)
 +                          (eq window-buffer buffer))
 +                     (and (eq method-buffer 'other)
 +                          (not (eq window-buffer buffer)))
 +                     ;; Special case for applications that specifiy
 +                     ;; the window's buffer explicitly.
 +                     (eq method-buffer window-buffer))
 +                 (or (not other-frame)
 +                     (not (eq (window-frame window) (selected-frame))))
 +                 ;; Handle dedicatedness.
 +                 (or (eq window-buffer buffer)
 +                     ;; The window does not show the same buffer.
 +                     (not (setq dedicated (window-dedicated-p window)))
 +                     ;; If the window is weakly dedicated to its
 +                     ;; buffer, reuse-dedicated must be non-nil.
 +                     (and (not (eq dedicated t)) reuse-dedicated)
 +                     ;; If the window is strongly dedicated to its
 +                     ;; buffer, reuse-dedicated must be t.
 +                     (eq reuse-dedicated t)))
 +        (setq windows (cons window windows)))))
 +
 +    (if (eq method-buffer 'same)
 +      ;; When reusing a window on the same buffer use the lru one.
 +      (dolist (window windows)
 +        (setq time (window-use-time window))
 +        (when (or (not best-window) (< time best-time))
 +          (setq best-window window)
 +          (setq best-time time)))
 +      ;; Otherwise, sort windows according to their use-time.
 +      (setq windows
 +          (sort windows
 +                #'(lambda (window-1 window-2)
 +                    (<= (window-use-time window-1)
 +                        (window-use-time window-2)))))
 +      (setq best-window
 +          ;; Try to get a full-width window (this is silly and can
 +          ;; get us to another frame but let's ignore these issues
 +          ;; for the moment).
 +          (catch 'found
 +            (dolist (window windows)
 +              (when (window-full-width-p window)
 +                (throw 'found window)))
 +            ;; If there's no full-width window return the lru window.
 +            (car windows))))
 +
 +    (when best-window
 +      (display-buffer-even-window-sizes best-window specifiers)
 +      ;; Never change the quit-restore parameter of a window here.
 +      (if (eq (window-buffer best-window) buffer)
 +        (setq display-buffer-window
 +              (cons best-window 'reuse-buffer-window))
 +      (setq display-buffer-window
 +            (cons best-window 'reuse-other-window))
 +      (unless (window-parameter best-window 'quit-restore)
 +        ;; Don't overwrite an existing quit-restore entry.
 +        (set-window-parameter
 +         best-window 'quit-restore
 +         (list (window-buffer best-window) (window-start best-window)
 +               (window-point best-window) buffer
 +               (window-total-size best-window) (selected-window)))))
 +
 +      (display-buffer-in-window buffer best-window specifiers))))
 +
 +(defconst display-buffer-split-specifiers '(largest lru selected root left top right bottom)
 +  "List of symbols identifying window that shall be split.")
 +
 +(defconst display-buffer-side-specifiers '(below right above left nil)
 +  "List of symbols identifying side of split-off window.")
 +
 +(defun display-buffer-split-window-1 (window side min-size)
 +  "Subroutine of `display-buffer-split-window'."
 +  (let* ((horizontal (memq side '(left right)))
 +       (parent (window-parent window))
 +       (resize (and window-splits (window-iso-combined-p window horizontal)))
 +       (old-size
 +        ;; We either resize WINDOW or its parent.
 +        (window-total-size (if resize parent window) horizontal))
 +       new-size)
 +    ;; We don't call split-window-vertically/-horizontally any more
 +    ;; here. If for some reason it's needed we can always do so
 +    ;; (provided we give it an optional SIDE argument).
 +    (cond
 +     (resize
 +      ;; When we resize a combination, the new window must be at least
 +      ;; MIN-SIZE large after the split.
 +      (setq new-size
 +          (max min-size
 +               (min (- old-size (window-min-size parent horizontal))
 +                    (/ old-size
 +                       ;; Try to make the size of the new window
 +                       ;; proportional to the number of iso-arranged
 +                       ;; windows in the combination.
 +                       (1+ (window-iso-combinations parent horizontal))))))
 +      (when (window-sizable-p parent (- new-size) horizontal)
 +      (split-window window (- new-size) side)))
 +     ((window-live-p window)
 +      (setq new-size (/ old-size 2))
 +      ;; When WINDOW is live, the old _and_ the new window must be at
 +      ;; least MIN-SIZE large after the split.
 +      (when (and (>= new-size min-size)
 +               (window-sizable-p window (- new-size) horizontal))
 +      ;; Do an even split to make Stepan happy.
 +      (split-window window nil side)))
 +     (t
 +      ;; When WINDOW is internal, the new window must be at least
 +      ;; MIN-SIZE large after the split.
 +      (setq new-size
 +          (max min-size
 +               (/ old-size
 +                  ;; Try to make the size of the new window
 +                  ;; proportional to the number of iso-arranged
 +                  ;; subwindows of WINDOW.
 +                  (1+ (window-iso-combinations window horizontal)))))
 +      (when (window-sizable-p window (- new-size) horizontal)
 +      (split-window window (- new-size) side))))))
 +
 +(defun display-buffer-split-window (window &optional side specifiers)
 +  "Split WINDOW in a way suitable for `display-buffer'.
 +Optional argument SIDE must be a side specifier \(one of the
 +symbols below, right, above, left, or nil).  SPECIFIERS must be a
 +list of buffer display specifiers, see the documentation of
 +`display-buffer-alist' for a description.
 +
 +Return the new window, nil if it could not be created."
 +  (let ((min-height (cdr (assq 'pop-up-window-min-height specifiers)))
 +      (min-width (cdr (assq 'pop-up-window-min-width specifiers)))
 +      size)
 +    ;; Normalize min-height and min-width, we might need both.
 +    (setq min-height
 +        ;; If min-height is specified, it can be as small as
 +        ;; `window-safe-min-height'.
 +        (cond
 +         ((and (integerp min-height)
 +               (>= min-height window-safe-min-height))
 +          min-height)
 +         ((and (floatp min-height)
 +               (<= min-height 1)
 +               (let* ((root-height (window-total-height
 +                                    (frame-root-window
 +                                     (window-frame window))))
 +                      (height (round (* min-height root-height))))
 +                 (when (>= height window-safe-min-height)
 +                   height))))
 +         (t window-min-height)))
 +    (setq min-width
 +        ;; If min-width is specified, it can be as small as
 +        ;; `window-safe-min-width'.
 +        (cond
 +         ((and (integerp min-width)
 +               (>= min-width window-safe-min-width))
 +          min-width)
 +         ((and (floatp min-width)
 +               (<= min-width 1)
 +               (let* ((root-width (window-total-width
 +                                   (frame-root-window
 +                                    (window-frame window))))
 +                      (width (round (* min-width root-width))))
 +                 (when (>= width window-safe-min-width)
 +                   width))))
 +         (t window-min-width)))
 +
 +    (or (and (memq side '(nil above below))
 +           (display-buffer-split-window-1
 +            window (or side 'below) min-height))
 +      ;; If SIDE is nil and vertical splitting failed, we try again
 +      ;; splitting horizontally this time.
 +      (and (memq side '(nil left right))
 +           (display-buffer-split-window-1
 +            window (or side 'right) min-width))
 +      ;; If WINDOW is live and the root window of its frame, try once
 +      ;; more splitting vertically, disregarding the min-height
 +      ;; specifier this time and using `window-min-height' instead.
 +      (and (memq side '(nil above below))
 +           (<= window-min-height min-height)
 +           (window-live-p window)
 +           (eq window (frame-root-window window))
 +           (display-buffer-split-window-1
 +            window (or side 'below) window-min-height)))))
 +
 +(defun display-buffer-split-atom-window (window &optional side nest specifiers)
 +  "Make WINDOW part of an atomic window."
 +  (let ((ignore-window-parameters t)
 +      (window-nest t)
 +      (selected-window (selected-window))
 +      root new new-parent)
 +
 +      ;; We are in an atomic window.
 +    (when (and (window-parameter window 'window-atom) (not nest))
 +      ;; Split the root window.
 +      (setq window (window-atom-root window)))
 +
 +    (when (setq new (display-buffer-split-window window side specifiers))
 +      (setq new-parent (window-parent window))
 +      ;; WINDOW is or becomes atomic.
 +      (unless (window-parameter window 'window-atom)
 +      (walk-window-subtree
 +       (lambda (window)
 +         (set-window-parameter window 'window-atom t))
 +       window t))
 +      ;; New window and any new parent get their window-atom parameter
 +      ;; set too.
 +      (set-window-parameter new 'window-atom t)
 +      (set-window-parameter new-parent 'window-atom t)
 +      new)))
 +
 +(defun display-buffer-pop-up-window (buffer methods &optional specifiers)
 +  "Display BUFFER in a new window.
 +Return the window displaying BUFFER, nil if popping up the window
 +failed.  METHODS must be a list of window/side tuples like those
 +forming the cdr of the `pop-up-window' buffer display specifier.
 +As a special case, the car of such a tuple can be also a live
 +window.
 +
 +Optional argument SPECIFIERS must be a list of buffer display
 +specifiers, see the doc-string of `display-buffer-alist' for a
 +description."
 +  (let* ((frame (display-buffer-frame))
 +       (selected-window (frame-selected-window frame))
 +       cand window side atomic)
 +    (unless (and (cdr (assq 'unsplittable (frame-parameters frame)))
 +               ;; Don't split an unsplittable frame unless
 +               ;; SPECIFIERS allow it.
 +               (not (cdr (assq 'split-unsplittable-frame specifiers))))
 +      (catch 'done
 +      (dolist (method methods)
 +        (setq cand (car method))
 +        (setq side (cdr method))
 +        (setq window
 +              (cond
 +               ((eq cand 'largest)
 +                ;; The largest window.
 +                (get-largest-window frame t))
 +               ((eq cand 'lru)
 +                ;; The least recently used window.
 +                (get-lru-window frame t))
 +               ((eq cand 'selected)
 +                ;; The selected window.
 +                (frame-selected-window frame))
 +               ((eq cand 'root)
 +                ;; If there are side windows, split the main window
 +                ;; else the frame's root window.
 +                (or (window-with-parameter 'window-side 'none nil t)
 +                    (frame-root-window frame)))
 +               ((memq cand window-sides)
 +                ;; This should gets us the "root" side window if there
 +                ;; exists more than one window on that side.
 +                (window-with-parameter 'window-side cand nil t))
 +               ((windowp cand)
 +                ;; A window, directly specified.
 +                cand)))
 +
 +        (when (and (window-live-p window)
 +                   ;; The window must be on the correct frame,
 +                   (eq (window-frame window) frame)
 +                   ;; and must be neither a minibuffer window
 +                   (not (window-minibuffer-p window))
 +                   ;; nor a side window.
 +                   (not (eq (window-parameter window 'window-side) 'side)))
 +          (setq window
 +                (cond
 +                 ((memq side display-buffer-side-specifiers)
 +                  (if (and (window-buffer window)
 +                           (setq atomic (cdr (assq 'atomic specifiers))))
 +                      (display-buffer-split-atom-window
 +                       window side (eq atomic 'nest) specifiers)
 +                    (display-buffer-split-window window side specifiers)))
 +                 ((functionp side)
 +                  (ignore-errors
 +                    ;; Don't pass any specifiers to this function.
 +                    (funcall side window)))))
 +
 +          (when window
 +            ;; Adjust sizes if asked for.
 +            (display-buffer-set-height window specifiers)
 +            (display-buffer-set-width window specifiers)
 +            (set-window-parameter
 +             window 'quit-restore (list 'new-window buffer selected-window))
 +            (setq display-buffer-window (cons window 'new-window))
 +            (display-buffer-in-window buffer window specifiers)
 +            (set-window-prev-buffers window nil)
 +            (throw 'done window))))))))
 +
 +(defun display-buffer-pop-up-frame (buffer &optional graphic-only specifiers)
 +  "Make a new frame for displaying BUFFER.
 +Return the window displaying BUFFER if creating the new frame was
 +successful, nil otherwise.  Optional argument GRAPHIC-ONLY
 +non-nil means to make a new frame on graphic displays only.
 +
 +SPECIFIERS must be a list of buffer display specifiers, see the
 +documentation of `display-buffer-alist' for a description."
 +  (unless (or (and graphic-only (not (display-graphic-p)))
 +            noninteractive)
 +    (let* ((selected-window (selected-window))
 +         (function (or (cdr (assq 'pop-up-frame-function specifiers))
 +                       'make-frame))
 +         (parameters
 +          (when (symbolp function)
 +            (cdr (assq 'pop-up-frame-alist specifiers))))
 +         (frame
 +          (if (symbolp function)
 +              (funcall function parameters)
 +            (funcall function))))
 +      (when frame
 +      (let ((window (frame-selected-window frame)))
 +        (set-window-parameter
 +         window 'quit-restore (list 'new-frame buffer selected-window))
 +        (setq display-buffer-window (cons window 'new-frame))
 +        (display-buffer-in-window buffer window specifiers))))))
 +
 +(defun display-buffer-pop-up-side-window (buffer side slot &optional specifiers)
 +  "Display BUFFER in a new window on SIDE of the selected frame.
 +SLOT specifies the slot to use.  SPECIFIERS must be a list of
 +buffer display specifiers.
 +
 +Return the window displaying BUFFER, nil if popping up the window
 +failed."
 +  (let* ((root (frame-root-window))
 +       (main (window-with-parameter 'window-side 'none nil t))
 +       (left-or-right (memq side '(left right)))
 +       (main-or-root
 +        (if (and main
 +                 (or (and left-or-right (not window-sides-vertical))
 +                     (and (not left-or-right) window-sides-vertical)))
 +            main
 +          root))
 +       (selected-window (selected-window))
 +       (on-side (cond
 +                 ((eq side 'top) 'above)
 +                 ((eq side 'bottom) 'below)
 +                 (t side)))
 +       (window
 +        (display-buffer-split-window main-or-root on-side specifiers))
 +       fun)
 +    (when window
 +      (unless main
 +      (walk-window-subtree
 +       (lambda (window)
 +         ;; Make all main-or-root subwindows main windows.
 +         (set-window-parameter window 'window-side 'none))
 +       main-or-root t))
 +      ;; Make sure that parent's window-side is nil.
 +      (set-window-parameter (window-parent window) 'window-side nil)
 +      ;; Initialize side.
 +      (set-window-parameter window 'window-side side)
 +      ;; Adjust sizes if asked for.
 +      (display-buffer-set-height window specifiers)
 +      (display-buffer-set-width window specifiers)
 +      ;; Set window parameters.
 +      (set-window-parameter
 +       window 'quit-restore (list 'new-window buffer selected-window))
 +      (setq display-buffer-window (cons window 'new-window))
 +      (set-window-parameter window 'window-slot slot)
 +      (display-buffer-in-window buffer window specifiers)
 +      (set-window-prev-buffers window nil)
 +      window)))
 +
 +(defun display-buffer-in-side-window (buffer side &optional slot specifiers)
 +  "Display BUFFER in a window on SIDE of the selected frame.
 +SLOT, if non-nil, specifies the window slot where to display the
 +BUFFER.  SLOT zero or nil means use the central slot on SIDE.
 +SLOT negative means use a slot preceding the central window.
 +SLOT positive means use a slot following the central window.
 +
 +SPECIFIERS must be a list of buffer display specifiers."
 +  (unless (memq side window-sides)
 +    (error "Invalid side %s specified" side))
 +  (let* ((major (window-with-parameter 'window-side side nil t))
 +       ;; `major' is the major window on SIDE, `windows' the life
 +       ;; windows on SIDE.
 +       (windows (when major (windows-with-parameter 'window-side side)))
 +       (reuse-dedicated (cdr (assq 'reuse-window-dedicated specifiers)))
 +       (slots (when major (window-child-count major)))
 +       (max-slots
 +        (nth (cond
 +              ((eq side 'left) 0)
 +              ((eq side 'top) 1)
 +              ((eq side 'right) 2)
 +              ((eq side 'bottom) 3))
 +              window-sides-slots))
 +       (selected-window (selected-window))
 +       window this-window this-slot prev-window next-window
 +       best-window best-slot abs-slot dedicated)
 +
 +    (unless (numberp slot)
 +      (setq slot 0))
 +    (if (not windows)
 +      ;; No suitable side window exists, make one.
 +      (display-buffer-pop-up-side-window buffer side slot specifiers)
 +      ;; Scan windows on SIDE.
 +      (catch 'found
 +      (dolist (window windows)
 +        (setq this-slot (window-parameter window 'window-slot))
 +        (cond
 +         ((not (numberp this-slot)))
 +         ((and (= this-slot slot)
 +               ;; Dedicatedness check.
 +               (or (not (setq dedicated (window-dedicated-p window)))
 +                   ;; If the window is weakly dedicated to its
 +                   ;; buffer, reuse-dedicated must be non-nil.
 +                   (and (not (eq dedicated t)) reuse-dedicated)
 +                   ;; If the window is strongly dedicated to its
 +                   ;; buffer, reuse-dedicated must be t.
 +                   (eq reuse-dedicated t)))
 +          ;; Window with matching SLOT, use it.
 +          (setq this-window window)
 +          (throw 'found t))
 +         (t
 +          (setq abs-slot (abs (- (abs slot) (abs this-slot))))
 +          (unless (and best-slot (<= best-slot abs-slot))
 +            (setq best-window window)
 +            (setq best-slot abs-slot))
 +          (cond
 +           ((<= this-slot slot)
 +            (setq prev-window window))
 +           ((not next-window)
 +            (setq next-window window)))))))
 +
 +      ;; `this-window' is the first window with the same SLOT.
 +      ;; `prev-window' is the window with the largest slot < SLOT.  A new
 +      ;; window will be created after it.
 +      ;; `next-window' is the window with the smallest slot > SLOT.  A new
 +      ;; window will be created before it.
 +      ;; `best-window' is the window with the smallest absolute difference
 +      ;; of its slot and SLOT.
 +      (or (and this-window
 +             ;; Reuse this window.
 +             (prog1
 +                 (setq window this-window)
 +               (if (eq (window-buffer window) buffer)
 +                   (setq display-buffer-window
 +                         (cons window 'reuse-buffer-window))
 +                 (setq display-buffer-window
 +                       (cons window 'reuse-other-window))
 +                 (unless (window-parameter window 'quit-restore)
 +                   ;; Don't overwrite an existing quit-restore entry.
 +                   (set-window-parameter
 +                    window 'quit-restore
 +                    (list (window-buffer window) (window-start window)
 +                          (window-point window) buffer
 +                          (window-total-size window) (selected-window)))))))
 +        (and (or (not max-slots) (< slots max-slots))
 +             (or (and next-window
 +                      ;; Make new window before next-window.
 +                      (let ((next-side
 +                             (if (memq side '(left right)) 'above 'left)))
 +                        (setq window (display-buffer-split-window
 +                                      next-window next-side specifiers))))
 +                 (and prev-window
 +                      ;; Make new window after prev-window.
 +                      (let ((prev-side
 +                             (if (memq side '(left right)) 'below 'right)))
 +                        (setq window (display-buffer-split-window
 +                                      prev-window prev-side specifiers)))))
 +             (progn
 +               (display-buffer-set-height window specifiers)
 +               (display-buffer-set-width window specifiers)
 +               (set-window-parameter
 +                window 'quit-restore
 +                (list 'new-window buffer selected-window))
 +               (setq display-buffer-window (cons window 'new-window))
 +               window))
 +        (and best-window
 +             (setq window best-window)
 +             ;; Reuse best window (the window nearest to SLOT).
 +             (if (eq (window-buffer window) buffer)
 +                 (setq display-buffer-window
 +                       (cons window 'reuse-buffer-window))
 +               (setq display-buffer-window
 +                     (cons window 'reuse-other-window))
 +
 +               (unless (window-parameter window 'quit-restore)
 +                 ;; Don't overwrite an existing quit-restore entry.
 +                 (set-window-parameter
 +                  window 'quit-restore
 +                  (list (window-buffer window) (window-start window)
 +                        (window-point window) buffer
 +                        (window-total-size window) (selected-window)))))
 +             window))
 +
 +      (when window
 +      (unless (window-parameter window 'window-slot)
 +        ;; Don't change exisiting slot value.
 +        (set-window-parameter window 'window-slot slot))
 +      (display-buffer-in-window buffer window specifiers)))))
 +
 +(defun window-normalize-buffer-to-display (buffer-or-name)
 +  "Normalize BUFFER-OR-NAME argument for buffer display functions.
 +If BUFFER-OR-NAME is nil, return the curent buffer.  Else, if a
 +buffer specified by BUFFER-OR-NAME exists, return that buffer.
 +If no such buffer exists, create a buffer with the name
 +BUFFER-OR-NAME and return that buffer."
 +  (if buffer-or-name
 +      (or (get-buffer buffer-or-name)
 +        (let ((buffer (get-buffer-create buffer-or-name)))
 +          (set-buffer-major-mode buffer)
 +          buffer))
 +    (current-buffer)))
 +
 +(defun display-buffer-other-window-means-other-frame (buffer-or-name &optional label)
 +  "Return non-nil if BUFFER shall be preferably displayed in another frame.
 +BUFFER must be a live buffer or the name of a live buffer.
 +
 +Return nil if BUFFER shall be preferably displayed in another
 +window on the selected frame.  Return non-nil if BUFFER shall be
 +preferably displayed in a window on any but the selected frame.
 +
 +Optional argument LABEL is like the same argument of
 +`display-buffer'.
 +
 +The calculation of the return value is exclusively based on the
 +user preferences expressed in `display-buffer-alist'."
 +  (let* ((buffer (window-normalize-buffer buffer-or-name))
 +       (list (display-buffer-normalize-alist (buffer-name buffer) label))
 +       (value (assq 'other-window-means-other-frame
 +                    (or (car list) (cdr list)))))
 +    (when value (cdr value))))
 +
 +(defun display-buffer-normalize-arguments (buffer-name specifiers label other-frame)
 +  "Normalize second and third argument of `display-buffer'.
 +BUFFER-NAME is the name of the buffer that shall be displayed,
 +SPECIFIERS is the second argument of `display-buffer'.  LABEL is
 +the same argument of `display-buffer'.  OTHER-FRAME non-nil means
 +use other-frame for other-window."
 +  (let (normalized entry specifier pars)
 +    (setq specifier
 +        (cond
 +         ((not specifiers)
 +          nil)
 +         ((listp specifiers)
 +          ;; If SPECIFIERS is a list, we assume it is a list of specifiers.
 +          (dolist (specifier specifiers)
 +            (cond
 +             ((consp specifier)
 +              (setq normalized (cons specifier normalized)))
 +             ((eq specifier 'other-window)
 +              ;; `other-window' must be treated separately.
 +              (let ((entry (assq (if other-frame
 +                                     'other-frame
 +                                   'same-frame-other-window)
 +                                 display-buffer-macro-specifiers)))
 +                (dolist (item (cdr entry))
 +                  (setq normalized (cons item normalized)))))
 +             ((symbolp specifier)
 +              ;; Might be a macro specifier, try to expand it (the cdr is a
 +              ;; list and we have to reverse it later, so do it one at a
 +              ;; time).
 +              (let ((entry (assq specifier display-buffer-macro-specifiers)))
 +                (dolist (item (cdr entry))
 +                  (setq normalized (cons item normalized)))))))
 +          ;; Reverse list.
 +          (nreverse normalized))
 +         ((setq entry (assq specifiers display-buffer-macro-specifiers))
 +          ;; A macro specifier.
 +          (cdr entry))
 +         ((or other-frame (with-no-warnings pop-up-frames))
 +          ;; `special-display-p' group.
 +          (if (and (with-no-warnings special-display-function)
 +                   ;; `special-display-p' returns either t or a list
 +                   ;; of frame parameters to pass to
 +                   ;; `special-display-function'.
 +                   (setq pars (with-no-warnings
 +                                (special-display-p buffer-name))))
 +              (list (list 'function
 +                          (with-no-warnings special-display-function)
 +                          (when (listp pars) pars)))
 +            ;; Pop up another frame.
 +            (cddr (assq 'other-frame display-buffer-macro-specifiers))))
 +         (t
 +          ;; In any other case pop up a new window.
 +          (cdr (assq 'same-frame-other-window
 +                     display-buffer-macro-specifiers)))))
 +
 +    ;; Handle the old meaning of the LABEL argument of `display-buffer'.
 +    (cond
 +     ((or (memq label '(visible 0 t)) (frame-live-p label))
 +      ;; LABEL must be one of visible (and visible frame), 0 (any
 +      ;; visible or iconfied frame), t (any frame), or a live frame.
 +      (cons `(reuse-window nil same ,label) specifier))
 +     ((or other-frame
 +        (with-no-warnings pop-up-frames)
 +        (with-no-warnings display-buffer-reuse-frames))
 +      (cons '(reuse-window nil same 0) specifier))
 +     (t
 +      specifier))))
 +
 +(defun display-buffer-normalize-options (buffer-or-name)
 +  "Subroutine of `display-buffer-normalize-specifiers'.
 +BUFFER-OR-NAME is the buffer to display.  This routine provides a
 +compatibility layer for the now obsolete Emacs 23 buffer display
 +options."
 +  (with-no-warnings
 +    (let* ((buffer (window-normalize-buffer buffer-or-name))
 +         (buffer-name (buffer-name buffer))
 +         (use-pop-up-frames
 +          (or (and (eq pop-up-frames 'graphic-only)
 +                   (display-graphic-p))
 +              pop-up-frames))
 +         specifiers)
 +      ;; `even-window-heights', unless nil or unset.
 +      (unless (memq even-window-heights '(nil unset))
 +      (setq specifiers
 +            (cons (cons 'reuse-window-even-sizes t) specifiers)))
 +
 +      ;; `display-buffer-mark-dedicated'
 +      (when display-buffer-mark-dedicated
 +      (setq specifiers
 +            (cons (cons 'dedicate display-buffer-mark-dedicated)
 +                  specifiers)))
 +
 +      ;; `pop-up-window' group.  Anything is added here iff
 +      ;; `pop-up-windows' is neither nil nor unset.
 +      (let ((pop-up-window (not (memq pop-up-windows '(nil unset))))
 +          (fun (unless (eq split-window-preferred-function
 +                           'split-window-sensibly)
 +                 split-window-preferred-function))
 +          (min-height (if (numberp split-height-threshold)
 +                          (/ split-height-threshold 2)
 +                        1.0))
 +          (min-width (if (numberp split-width-threshold)
 +                         (/ split-width-threshold 2)
 +                       1.0)))
 +      ;; Create an entry only if a default value was changed.
 +      (when (or pop-up-window
 +                (not (equal split-height-threshold 80))
 +                (not (equal split-width-threshold 160)))
 +        ;; `reuse-window' (needed as fallback when popping up the new
 +        ;; window fails).
 +        (setq specifiers
 +              (cons (list 'reuse-window 'other nil nil)
 +                    specifiers))
 +        ;; `split-width-threshold'
 +        (setq specifiers
 +              (cons (cons 'pop-up-window-min-width min-width)
 +                    specifiers))
 +        ;; `split-height-threshold'
 +        (setq specifiers
 +              (cons (cons 'pop-up-window-min-height min-height)
 +                    specifiers))
 +        ;; `pop-up-window'
 +        (setq specifiers
 +              (cons (list 'pop-up-window
 +                          (cons 'largest fun) (cons 'lru fun))
 +                    specifiers))))
 +
 +      ;; `pop-up-frame' group.
 +      (when use-pop-up-frames
 +      ;; `pop-up-frame-function'.  If `pop-up-frame-function' uses the
 +      ;; now obsolete `pop-up-frame-alist' it will continue to do so.
 +      (setq specifiers
 +            (cons (cons 'pop-up-frame-function pop-up-frame-function)
 +                  specifiers))
 +      ;; `pop-up-frame'
 +      (setq specifiers
 +            (cons (list 'pop-up-frame t) specifiers)))
 +
 +      ;; `pop-up-windows' and `use-pop-up-frames' both nil means means
 +      ;; we are supposed to reuse any window on the same frame (unless
 +      ;; we find one showing the same buffer already).
 +      (unless (or pop-up-windows use-pop-up-frames)
 +      ;; `reuse-window' showing any buffer on same frame.
 +      (setq specifiers
 +            (cons (list 'reuse-window nil nil nil)
 +                  specifiers)))
 +
 +      ;; `special-display-p' group.
 +      (when special-display-function
 +      ;; `special-display-p' returns either t or a list of frame
 +      ;; parameters to pass to `special-display-function'.
 +      (let ((pars (special-display-p buffer-name)))
 +        (when pars
 +          (setq specifiers
 +                (cons (list 'function special-display-function
 +                            (when (listp pars) pars))
 +                      specifiers)))))
 +
 +      ;; `pop-up-frames', `display-buffer-reuse-frames' means search for
 +      ;; a window showing the buffer on some visible or iconfied frame.
 +      ;; `last-nonminibuffer-frame' set and not the same frame means
 +      ;; search that frame.
 +      (let ((frames (or (and (or use-pop-up-frames
 +                               display-buffer-reuse-frames
 +                               (not (last-nonminibuffer-frame)))
 +                           ;; All visible or iconfied frames.
 +                           0)
 +                      ;; Same frame.
 +                      (last-nonminibuffer-frame))))
 +      (when frames
 +        (setq specifiers
 +              (cons (list 'reuse-window 'other 'same frames)
 +                    specifiers))))
 +
 +      ;; `same-window-p' group.
 +      (when (same-window-p buffer-name)
 +      ;; Try to reuse the same (selected) window.
 +      (setq specifiers
 +            (cons (list 'reuse-window 'same nil nil)
 +                  specifiers)))
 +
 +      ;; Prepend "reuse window on same frame if showing the buffer
 +      ;; already" specifier.  It will be overriden by the application
 +      ;; supplied 'other-window specifier.
 +      (setq specifiers (cons (list 'reuse-window nil 'same nil)
 +                           specifiers))
 +
 +      specifiers)))
 +
 +(defun display-buffer-normalize-alist-1 (specifiers label)
 +  "Subroutine of `display-buffer-normalize-alist'.
 +SPECIFIERS is a list of buffer display specfiers.  LABEL is the
 +same argument of `display-buffer'."
 +  (let (normalized entry)
 +    (cond
 +     ((not specifiers)
 +      nil)
 +     ((listp specifiers)
 +      ;; If SPECIFIERS is a list, we assume it is a list of specifiers.
 +      (dolist (specifier specifiers)
 +      (cond
 +       ((consp specifier)
 +        (setq normalized (cons specifier normalized)))
 +       ((symbolp specifier)
 +        ;; Might be a macro specifier, try to expand it (the cdr is a
 +        ;; list and we have to reverse it later, so do it one at a
 +        ;; time).
 +        (let ((entry (assq specifier display-buffer-macro-specifiers)))
 +          (dolist (item (cdr entry))
 +            (setq normalized (cons item normalized)))))))
 +      ;; Reverse list.
 +      (nreverse normalized))
 +     ((setq entry (assq specifiers display-buffer-macro-specifiers))
 +      ;; A macro specifier.
 +      (cdr entry)))))
 +
 +(defun display-buffer-normalize-alist (buffer-name label)
 +  "Normalize `display-buffer-alist'.
 +BUFFER-NAME must be the name of the buffer that shall be displayed.
 +LABEL the corresponding argument of `display-buffer'."
 +  (let (list-1 list-2)
 +    (dolist (entry display-buffer-alist)
 +      (when (and (listp entry)
 +               (catch 'match
 +                 (dolist (id (car entry))
 +                   (when (consp id)
 +                     (let ((type (car id))
 +                           (value (cdr id)))
 +                       (when (or (and (eq type 'name) (stringp value)
 +                                      (equal value buffer-name))
 +                                 (and (eq type 'regexp) (stringp value)
 +                                      (string-match-p value buffer-name))
 +                                 (and (eq type 'label) (eq value label)))
 +                         (throw 'match t)))))))
 +      (let* ((specifiers (cdr entry))
 +             (normalized
 +              (display-buffer-normalize-alist-1 specifiers label)))
 +        (if (cdr (assq 'override specifiers))
 +            (setq list-1
 +                  (if list-1
 +                      (append list-1 normalized)
 +                    normalized))
 +          (setq list-2
 +                (if list-2
 +                    (append list-2 normalized)
 +                  normalized))))))
 +
 +    (cons list-1 list-2)))
 +
 +(defvar display-buffer-normalize-options-inhibit nil
 +  "If non-nil, `display-buffer' doesn't process obsolete options.")
 +
 +(defun display-buffer-normalize-specifiers (buffer-name specifiers label)
 +  "Return normalized specifiers for a buffer matching BUFFER-NAME or LABEL.
 +BUFFER-NAME must be a string specifying a valid buffer name.
 +SPECIFIERS and LABEL are the homonymous arguments of
 +`display-buffer'.
 +
 +The method for displaying the buffer specified by BUFFER-NAME or
 +LABEL is established by appending the following four lists of
 +specifiers:
 +
 +- The specifiers in `display-buffer-alist' whose buffer
 +  identifier matches BUFFER-NAME or LABEL and whose 'override
 +  component is set.
 +
 +- SPECIFIERS.
 +
 +- The specifiers in `display-buffer-alist' whose buffer
 +  identifier matches BUFFER-NAME or LABEL and whose 'override
 +  component is not set.
 +
 +- `display-buffer-default-specifiers'."
 +  (let* ((list (display-buffer-normalize-alist buffer-name label))
 +       (other-frame (cdr (assq 'other-window-means-other-frame
 +                               (or (car list) (cdr list))))))
 +    (append
 +     ;; Overriding user specifiers.
 +     (car list)
 +     ;; Application specifiers.
 +     (display-buffer-normalize-arguments
 +      buffer-name specifiers label other-frame)
 +     ;; Emacs 23 compatibility specifiers.
 +     (unless display-buffer-normalize-options-inhibit
 +       (display-buffer-normalize-options buffer-name))
 +     ;; Non-overriding user specifiers.
 +     (cdr list)
 +     ;; Default specifiers.
 +     display-buffer-default-specifiers)))
 +
 +;; Minibuffer-only frames should be documented better.  They really
 +;; deserve a separate section in the manual.  Also
 +;; `last-nonminibuffer-frame' is nowhere documented in the manual.
 +(defun display-buffer-frame (&optional frame)
 +  "Return FRAME if it is live and not a minibuffer-only frame.
 +Return the value of `last-nonminibuffer-frame' otherwise."
 +  (setq frame (window-normalize-frame frame))
 +  (if (and (frame-live-p frame)
 +         ;; A not very nice way to get that information.
 +         (not (window-minibuffer-p (frame-root-window frame))))
 +      frame
 +    (last-nonminibuffer-frame)))
 +
 +(defun display-buffer (&optional buffer-or-name specifiers label)
 +  "Make the buffer specified by BUFFER-OR-NAME appear in some window.
 +Optional argument BUFFER-OR-NAME may be a buffer, a string \(a
 +buffer name), or nil.  If BUFFER-OR-NAME is a string not naming
 +an existent buffer, create a buffer with that name.  If
 +BUFFER-OR-NAME is nil or omitted, display the current buffer.
 +Interactively, prompt for the buffer name using the minibuffer.
 +
 +Return the window chosen to display the buffer or nil if no such
 +window is found.  Do not change the selected window unless the
 +buffer is shown on a different frame than the selected one.
 +
 +Optional argument SPECIFIERS must be a list of buffer display
 +specifiers, see the documentation of `display-buffer-alist' for a
 +description.
 +
 +For convenience, SPECIFIERS may also consist of a single buffer
 +display location specifier or t, where the latter means to
 +display the buffer in any but the selected window.  If SPECIFIERS
 +is nil or omitted, this means to exclusively use the specifiers
 +provided by `display-buffer-alist'.  If the value of the latter
 +is nil too, all specifiers are provided by the constant
 +`display-buffer-default-specifiers'.
 +
 +As a special case, the `reuse-window' specifier allows to specify
 +as second element an arbitrary window, as third element an
 +arbitrary buffer, and as fourth element an arbitrary frame.  As
 +first element of a window/side pair of the `pop-up-window'
 +specifier you can specifiy an arbitrary window.
 +
 +The optional third argument LABEL, if non-nil, must be a symbol
 +specifiying the buffer display label.  Applications should set
 +this when the buffer shall be displayed in some special way but
 +BUFFER-OR-NAME does not identify the buffer as special.  Typical
 +buffers that fit into this category are those whose names are
 +derived from the name of the file they are visiting.  A user can
 +override SPECIFIERS by adding an entry to `display-buffer-alist'
 +whose car contains LABEL and whose cdr specifies the preferred
 +alternative display method.
 +
 +The following values of LABEL have a special meaning and allow to
 +specify the set of frames to investigate when the buffer already
 +appears in a window:
 +
 +`visible' - the set of visible frames.
 +
 +0 - the set of visible or iconified frames.
 +
 +t - the set of all frames.
 +
 +A live frame - the set containing that frame as its only element.
 +
 +If the buffer is already displayed in a window on a frame in the
 +specified set, return that window.
 +
 +The method to display the buffer is derived by combining the
 +values of `display-buffer-alist' and SPECIFIERS.  Highest
 +priority is given to overriding elements of
 +`display-buffer-alist'.  Next come the elements specified by
 +SPECIFIERS, followed by the non-overriding elements of
 +`display-buffer-alist'.
 +
 +The result must be a list of valid buffer display specifiers.  If
 +`display-buffer-function' is non-nil, call it with the buffer and
 +this list as arguments."
 +  (interactive "BDisplay buffer:\nP")
 +  (let* ((buffer (window-normalize-buffer-to-display buffer-or-name))
 +       (buffer-name (buffer-name buffer))
 +       (normalized
 +        ;; Normalize specifiers.
 +        (display-buffer-normalize-specifiers buffer-name specifiers label))
 +       ;; Don't use a minibuffer frame.
 +       (frame (display-buffer-frame))
 +       ;; `window' is the window we use for showing `buffer'.
 +       window specifier method)
 +    ;; Reset this.
 +    (setq display-buffer-window nil)
 +    (if display-buffer-function
 +      ;; Let `display-buffer-function' do the job.
 +      (funcall display-buffer-function buffer specifiers)
 +      ;; Retrieve the next location specifier while there a specifiers
 +      ;; left and we don't have a valid window.
 +      (while (and normalized (not (window-live-p window)))
 +      (setq specifier (car normalized))
 +      (setq normalized (cdr normalized))
 +      (setq method (car specifier))
 +      (setq window
 +            (cond
 +             ((eq method 'reuse-window)
 +              (display-buffer-reuse-window
 +               buffer (cdr specifier) normalized))
 +             ((eq method 'pop-up-window)
 +              (display-buffer-pop-up-window
 +               buffer (cdr specifier) normalized))
 +             ((eq method 'pop-up-frame)
 +              (display-buffer-pop-up-frame
 +               buffer (cdr specifier) normalized))
 +             ((eq method 'use-side-window)
 +              (display-buffer-in-side-window
 +               buffer (nth 1 specifier) (nth 2 specifier) normalized))
 +             ((eq method 'function)
 +              (funcall (nth 1 specifier) buffer (nth 2 specifier))))))
 +
 +      ;; If we don't have a window yet, try a fallback method.  All
 +      ;; specifiers have been used up by now.
 +      (or (and (window-live-p window) window)
 +        ;; Try reusing a window showing BUFFER on any visible or
 +        ;; iconfied frame.
 +        (display-buffer-reuse-window buffer `(nil ,buffer 0))
 +        ;; Try reusing a window not showing BUFFER on any visible or
 +        ;; iconified frame.
 +        (display-buffer-reuse-window buffer '(nil other 0))
 +        ;; Eli says it's better to never try making a new frame.
 +        ;; (display-buffer-pop-up-frame buffer)
 +        ;; Try using a weakly dedicated window.
 +        (display-buffer-reuse-window
 +         buffer '(nil nil t) '((reuse-window-dedicated . weak)))
 +        ;; Try using a strongly dedicated window.
 +        (display-buffer-reuse-window
 +         buffer '(nil nil t) '((reuse-window-dedicated . t)))))))
 +
 +(defsubst display-buffer-same-window (&optional buffer-or-name label)
 +  "Display buffer specified by BUFFER-OR-NAME in the selected window.
 +Another window will be used only if the buffer can't be shown in
 +the selected window, usually because it is dedicated to another
 +buffer.  Optional argument BUFFER-OR-NAME and LABEL are as for
 +`display-buffer'."
 +  (interactive "BDisplay buffer in same window:\nP")
 +  (display-buffer buffer-or-name 'same-window label))
 +
 +(defsubst display-buffer-same-frame (&optional buffer-or-name label)
 +  "Display buffer specified by BUFFER-OR-NAME in a window on the same frame.
 +Another frame will be used only if there is no other choice.
 +Optional argument BUFFER-OR-NAME and LABEL are as for
 +`display-buffer'."
 +  (interactive "BDisplay buffer on same frame:\nP")
 +  (display-buffer buffer-or-name 'same-frame label))
 +
 +(defsubst display-buffer-other-window (&optional buffer-or-name label)
 +  "Display buffer specified by BUFFER-OR-NAME in another window.
 +The selected window will be used only if there is no other
 +choice.  Windows on the selected frame are preferred to windows
 +on other frames.  Optional argument BUFFER-OR-NAME and LABEL are as
 +for `display-buffer'."
 +  (interactive "BDisplay buffer in another window:\nP")
 +  (display-buffer buffer-or-name 'other-window label))
 +
 +(defun display-buffer-same-frame-other-window (&optional buffer-or-name label)
 +  "Display buffer specified by BUFFER-OR-NAME in another window on the same frame.
 +The selected window or another frame will be used only if there
 +is no other choice.  Optional argument BUFFER-OR-NAME and LABEL are
 +as for `display-buffer'."
 +  (interactive "BDisplay buffer in another window on same frame:\nP")
 +  (display-buffer buffer-or-name 'same-frame-other-window label))
 +
 +(defun display-buffer-other-frame (&optional buffer-or-name label)
 +  "Display buffer specified by BUFFER-OR-NAME on another frame.
 +The selected frame will be used only if there is no other choice.
 +Optional argument BUFFER-OR-NAME and LABEL are as for
 +`display-buffer'.
 +
 +If this command uses another frame, it will also select that frame."
 +  (interactive "BDisplay buffer in other frame: ")
 +  (display-buffer buffer-or-name 'other-frame label))
 +
 +(defun pop-to-buffer (&optional buffer-or-name specifiers norecord label)
 +  "Display buffer specified by BUFFER-OR-NAME and select the window used.
 +Optional argument BUFFER-OR-NAME may be a buffer, a string \(a
 +buffer name), or nil.  If BUFFER-OR-NAME is a string not naming
 +an existent buffer, create a buffer with that name.  If
 +BUFFER-OR-NAME is nil or omitted, display the current buffer.
 +Interactively, prompt for the buffer name using the minibuffer.
 +
 +Optional second argument SPECIFIERS must be a list of buffer
 +display specifiers, a single location specifier, `t' which means
 +the latter means to display the buffer in any but the selected
 +window, or nil which means to exclusively apply the specifiers
 +customized by the user.
 +
 +Optional argument NORECORD non-nil means do not put the buffer
 +specified by BUFFER-OR-NAME at the front of the buffer list and
 +do not make the window displaying it the most recently selected
 +one.
 +
 +The optional argument LABEL, if non-nil, is a symbol specifying the
 +display purpose.  Applications should set this when the buffer
 +shall be displayed in a special way but BUFFER-OR-NAME does not
 +identify the buffer as special.  Buffers that typically fit into
 +this category are those whose names have been derived from the
 +name of the file they are visiting.
 +
 +Return the buffer specified by BUFFER-OR-NAME or nil if
 +displaying the buffer failed.
 +
 +This uses the function `display-buffer' as a subroutine; see the
 +documentations of `display-buffer' and `display-buffer-alist' for
 +additional information."
 +  (interactive "BPop to buffer:\nP")
 +  (let ((buffer (window-normalize-buffer-to-display buffer-or-name))
 +      (old-window (selected-window))
 +      (old-frame (selected-frame))
 +      new-window new-frame)
 +    (set-buffer buffer)
 +    (setq new-window (display-buffer buffer specifiers label))
 +    (unless (eq new-window old-window)
 +      ;; `display-buffer' has chosen another window, select it.
 +      (select-window new-window norecord)
 +      (setq new-frame (window-frame new-window))
 +      (unless (eq new-frame old-frame)
 +      ;; `display-buffer' has chosen another frame, make sure it gets
 +      ;; input focus and is risen.
 +      (select-frame-set-input-focus new-frame)))
 +
 +    buffer))
 +
 +(defsubst pop-to-buffer-same-window (&optional buffer-or-name norecord label)
 +  "Pop to buffer specified by BUFFER-OR-NAME in the selected window.
 +Another window will be used only if the buffer can't be shown in
 +the selected window, usually because it is dedicated to another
 +buffer.  Optional arguments BUFFER-OR-NAME, NORECORD and LABEL are
 +as for `pop-to-buffer'."
 +  (interactive "BPop to buffer in selected window:\nP")
 +  (pop-to-buffer buffer-or-name 'same-window norecord label))
 +
 +(defsubst pop-to-buffer-same-frame (&optional buffer-or-name norecord label)
 +  "Pop to buffer specified by BUFFER-OR-NAME in a window on the selected frame.
 +Another frame will be used only if there is no other choice.
 +Optional arguments BUFFER-OR-NAME, NORECORD and LABEL are as for
 +`pop-to-buffer'."
 +  (interactive "BPop to buffer on same frame:\nP")
 +  (pop-to-buffer buffer-or-name 'same-frame norecord label))
 +
 +(defsubst pop-to-buffer-other-window (&optional buffer-or-name norecord label)
 +  "Pop to buffer specified by BUFFER-OR-NAME in another window.
 +The selected window will be used only if there is no other
 +choice.  Windows on the selected frame are preferred to windows
 +on other frames.  Optional arguments BUFFER-OR-NAME, NORECORD and
 +LABEL are as for `pop-to-buffer'."
 +  (interactive "BPop to buffer in another window:\nP")
 +  (pop-to-buffer buffer-or-name 'other-window norecord))
 +
 +(defsubst pop-to-buffer-same-frame-other-window (&optional buffer-or-name norecord label)
 +  "Pop to buffer specified by BUFFER-OR-NAME in another window on the selected frame.
 +The selected window or another frame will be used only if there
 +is no other choice.  Optional arguments BUFFER-OR-NAME, NORECORD
 +and LABEL are as for `pop-to-buffer'."
 +  (interactive "BPop to buffer in another window on same frame:\nP")
 +  (pop-to-buffer buffer-or-name 'same-frame-other-window norecord label))
 +
 +(defsubst pop-to-buffer-other-frame (&optional buffer-or-name norecord label)
 +  "Pop to buffer specified by BUFFER-OR-NAME on another frame.
 +The selected frame will be used only if there's no other choice.
 +Optional arguments BUFFER-OR-NAME, NORECORD and LABEL are as for
 +`pop-to-buffer'."
 +  (interactive "BPop to buffer on another frame:\nP")
 +  (pop-to-buffer buffer-or-name 'other-frame norecord label))
 +
 +(defun read-buffer-to-switch (prompt)
 +  "Read the name of a buffer to switch to, prompting with PROMPT.
 +Return the neame of the buffer as a string.
 +
 +This function is intended for the `switch-to-buffer' family of
 +commands since these need to omit the name of the current buffer
 +from the list of completions and default values."
 +  (let ((rbts-completion-table (internal-complete-buffer-except)))
 +    (minibuffer-with-setup-hook
 +        (lambda ()
 +          (setq minibuffer-completion-table rbts-completion-table)
 +          ;; Since rbts-completion-table is built dynamically, we
 +          ;; can't just add it to the default value of
 +          ;; icomplete-with-completion-tables, so we add it
 +          ;; here manually.
 +          (if (and (boundp 'icomplete-with-completion-tables)
 +                   (listp icomplete-with-completion-tables))
 +              (set (make-local-variable 'icomplete-with-completion-tables)
 +                   (cons rbts-completion-table
 +                         icomplete-with-completion-tables))))
 +      (read-buffer prompt (other-buffer (current-buffer))
 +                   (confirm-nonexistent-file-or-buffer)))))
 +
 +(defun window-normalize-buffer-to-switch-to (buffer-or-name)
 +  "Normalize BUFFER-OR-NAME argument of buffer switching functions.
 +If BUFFER-OR-NAME is nil, return the buffer returned by
 +`other-buffer'.  Else, if a buffer specified by BUFFER-OR-NAME
 +exists, return that buffer.  If no such buffer exists, create a
 +buffer with the name BUFFER-OR-NAME and return that buffer."
 +  (if buffer-or-name
 +      (or (get-buffer buffer-or-name)
 +        (let ((buffer (get-buffer-create buffer-or-name)))
 +          (set-buffer-major-mode buffer)
 +          buffer))
 +    (other-buffer)))
 +
 +(defun switch-to-buffer (buffer-or-name &optional norecord)
 +  "Switch to buffer BUFFER-OR-NAME in the selected window.
 +If called interactively, prompt for the buffer name using the
 +minibuffer.  The variable `confirm-nonexistent-file-or-buffer'
 +determines whether to request confirmation before creating a new
 +buffer.
 +
 +BUFFER-OR-NAME may be a buffer, a string \(a buffer name), or
 +nil.  If BUFFER-OR-NAME is a string that does not identify an
 +existing buffer, create a buffer with that name.  If
 +BUFFER-OR-NAME is nil, switch to the buffer returned by
 +`other-buffer'.
 +
 +Optional argument NORECORD non-nil means do not put the buffer
 +specified by BUFFER-OR-NAME at the front of the buffer list and
 +do not make the window displaying it the most recently selected
 +one.  Return the buffer switched to.
 +
 +This function is intended for interactive use only.  Lisp
 +functions should call `pop-to-buffer-same-window' instead."
 +  (interactive
 +   (list (read-buffer-to-switch "Switch to buffer: ")))
 +  (let ((buffer (window-normalize-buffer-to-switch-to buffer-or-name)))
 +    (cond
 +     ;; Don't call set-window-buffer if it's not needed since it
 +     ;; might signal an error (e.g. if the window is dedicated).
 +     ((eq buffer (window-buffer)) nil)
 +     ((window-minibuffer-p)
 +      (error "Cannot switch buffers in minibuffer window"))
 +     ((eq (window-dedicated-p) t)
 +      (error "Cannot switch buffers in a dedicated window"))
 +     (t (set-window-buffer nil buffer)))
 +    (unless norecord
 +      (select-window (selected-window)))
 +    (set-buffer buffer)))
 +
 +(defun switch-to-buffer-same-frame (buffer-or-name &optional norecord)
 +  "Switch to buffer BUFFER-OR-NAME in a window on the selected frame.
 +Another frame will be used only if there is no other choice.
 +Arguments BUFFER-OR-NAME and NORECORD have the same meaning as
 +for `switch-to-buffer'.
 +
 +This function is intended for interactive use only.  Lisp
 +functions should call `pop-to-buffer-same-frame' instead."
 +  (interactive
 +   (list (read-buffer-to-switch "Switch to buffer in other window: ")))
 +  (let ((buffer (window-normalize-buffer-to-switch-to buffer-or-name)))
 +    (pop-to-buffer buffer 'same-frame norecord)))
 +
 +(defun switch-to-buffer-other-window (buffer-or-name &optional norecord)
 +  "Switch to buffer BUFFER-OR-NAME in another window.
 +The selected window will be used only if there is no other
 +choice.  Windows on the selected frame are preferred to windows
 +on other frames.  Arguments BUFFER-OR-NAME and NORECORD have the
 +same meaning as for `switch-to-buffer'.
 +
 +This function is intended for interactive use only.  Lisp
 +functions should call `pop-to-buffer-other-window' instead."
 +  (interactive
 +   (list (read-buffer-to-switch "Switch to buffer in other window: ")))
 +  (let ((buffer (window-normalize-buffer-to-switch-to buffer-or-name)))
 +    (pop-to-buffer buffer 'other-window norecord)))
 +
 +(defun switch-to-buffer-other-window-same-frame (buffer-or-name &optional norecord)
 +  "Switch to buffer BUFFER-OR-NAME in another window on the selected frame.
 +The selected window or another frame will be used only if there
 +is no other choice.  Arguments BUFFER-OR-NAME and NORECORD have
 +the same meaning as for `switch-to-buffer'.
 +
 +This function is intended for interactive use only.  Lisp
 +functions should call `pop-to-buffer-other-window-same-frame'
 +instead."
 +  (interactive
 +   (list (read-buffer-to-switch "Switch to buffer in other window: ")))
 +  (let ((buffer (window-normalize-buffer-to-switch-to buffer-or-name)))
 +    (pop-to-buffer buffer 'same-frame-other-window norecord)))
 +
 +(defun switch-to-buffer-other-frame (buffer-or-name &optional norecord)
 +  "Switch to buffer BUFFER-OR-NAME on another frame.
 +The same frame will be used only if there is no other choice.
 +Arguments BUFFER-OR-NAME and NORECORD have the same meaning
 +as for `switch-to-buffer'.
 +
 +This function is intended for interactive use only.  Lisp
 +functions should call `pop-to-buffer-other-frame' instead."
 +  (interactive
 +   (list (read-buffer-to-switch "Switch to buffer in other frame: ")))
 +  (let ((buffer (window-normalize-buffer-to-switch-to buffer-or-name)))
 +    (pop-to-buffer buffer 'other-frame norecord)))
 +
 +;;; Obsolete definitions of `display-buffer' below.
 +(defcustom same-window-buffer-names nil
 +  "List of names of buffers that should appear in the \"same\" window.
 +`display-buffer' and `pop-to-buffer' show a buffer whose name is
 +on this list in the selected rather than some other window.
 +
 +An element of this list can be a cons cell instead of just a
 +string.  In that case, the cell's car must be a string specifying
 +the buffer name.  This is for compatibility with
 +`special-display-buffer-names'; the cdr of the cons cell is
 +ignored.
 +
 +See also `same-window-regexps'."
 + :type '(repeat (string :format "%v"))
 + :group 'windows)
 +;; (make-obsolete-variable
 + ;; 'same-window-buffer-names
 + ;; "use 2nd arg of `display-buffer' instead." "24.1")
 +
 +(defcustom same-window-regexps nil
 +  "List of regexps saying which buffers should appear in the \"same\" window.
 +`display-buffer' and `pop-to-buffer' show a buffer whose name
 +matches a regexp on this list in the selected rather than some
 +other window.
 +
 +An element of this list can be a cons cell instead of just a
 +string.  In that case, the cell's car must be a regexp matching
 +the buffer name.  This is for compatibility with
 +`special-display-regexps'; the cdr of the cons cell is ignored.
 +
 +See also `same-window-buffer-names'."
 +  :type '(repeat (regexp :format "%v"))
    :group 'windows)
- and (cdr ARGS) as second."
 +;; (make-obsolete-variable
 + ;; 'same-window-regexps
 + ;; "use 2nd arg of `display-buffer' instead." "24.1")
 +
 +(defun same-window-p (buffer-name)
 +  "Return non-nil if a buffer named BUFFER-NAME would be shown in the \"same\" window.
 +This function returns non-nil if `display-buffer' or
 +`pop-to-buffer' would show a buffer named BUFFER-NAME in the
 +selected rather than \(as usual\) some other window.  See
 +`same-window-buffer-names' and `same-window-regexps'."
 +  (let ((buffer-names (with-no-warnings same-window-buffer-names))
 +      (regexps (with-no-warnings same-window-regexps)))
 +    (cond
 +     ((not (stringp buffer-name)))
 +     ;; The elements of `same-window-buffer-names' can be buffer
 +     ;; names or cons cells whose cars are buffer names.
 +     ((member buffer-name buffer-names))
 +     ((assoc buffer-name buffer-names))
 +     ((catch 'found
 +      (dolist (regexp regexps)
 +        ;; The elements of `same-window-regexps' can be regexps
 +        ;; or cons cells whose cars are regexps.
 +        (when (or (and (stringp regexp)
 +                       (string-match regexp buffer-name))
 +                  (and (consp regexp) (stringp (car regexp))
 +                       (string-match-p (car regexp) buffer-name)))
 +          (throw 'found t))))))))
 +;; (make-obsolete
 + ;; 'same-window-p "pass argument to buffer display function instead." "24.1")
 +
 +(defcustom special-display-frame-alist
 +  '((height . 14) (width . 80) (unsplittable . t))
 +  "Alist of parameters for special frames.
 +Special frames are used for buffers whose names are listed in
 +`special-display-buffer-names' and for buffers whose names match
 +one of the regular expressions in `special-display-regexps'.
 +
 +This variable can be set in your init file, like this:
 +
 +  (setq special-display-frame-alist '((width . 80) (height . 20)))
 +
 +These supersede the values given in `default-frame-alist'."
 +  :type '(repeat (cons :format "%v"
 +                       (symbol :tag "Parameter")
 +                       (sexp :tag "Value")))
 +  :group 'frames)
 +;; (make-obsolete-variable
 + ;; 'special-display-frame-alist
 + ;; "use 2nd arg of `display-buffer' instead." "24.1")
 +
 +(defun special-display-popup-frame (buffer &optional args)
 +  "Display BUFFER in a special frame and return the window chosen.
 +If BUFFER is already displayed in a visible or iconified frame,
 +raise that frame.  Otherwise, display BUFFER in a way as
 +specified by optional argument ARGS.
 +
 +If ARGS is an alist, use it as a list of frame parameters.  If
 +these parameters contain \(same-window . t), display BUFFER in
 +the selected window.  If they contain \(same-frame . t), display
 +BUFFER in a window on the selected frame.
 +
 +If ARGS is a list whose car is a symbol, use (car ARGS) as a
 +function to do the work.  Pass it BUFFER as first argument,
++and (cdr ARGS) as the rest of the arguments."
 +  (if (and args (symbolp (car args)))
 +      (apply (car args) buffer (cdr args))
 +    (let ((window (get-buffer-window buffer 0)))
 +      (or
 +       ;; If we have a window already, make it visible.
 +       (when window
 +       (let ((frame (window-frame window)))
 +         (make-frame-visible frame)
 +         (raise-frame frame)
 +         window))
 +       ;; Reuse the current window if the user requested it.
 +       (when (cdr (assq 'same-window args))
 +       (display-buffer-reuse-window
 +        buffer '(same nil nil) '((reuse-dedicated . weak))))
 +       ;; Stay on the same frame if requested.
 +       (when (or (cdr (assq 'same-frame args))
 +               (cdr (assq 'same-window args)))
 +       (or (display-buffer-pop-up-window
 +            buffer '((largest . nil) (lru . nil)))
 +           (display-buffer-reuse-window
 +            buffer '(nil nil nil))))
 +       ;; If no window yet, make one in a new frame.
 +       (let ((frame
 +            (with-current-buffer buffer
 +              (make-frame
 +               (append args (with-no-warnings
 +                              special-display-frame-alist))))))
 +       (set-window-buffer (frame-selected-window frame) buffer)
 +       (set-window-dedicated-p (frame-selected-window frame) t)
 +       (frame-selected-window frame))))))
 +;; (make-obsolete
 + ;; 'special-display-popup-frame
 + ;; "use 2nd arg of `display-buffer' instead." "24.1")
 +
 +(defcustom special-display-function 'special-display-popup-frame
 +  "Function to call for displaying special buffers.
 +This function is called with two arguments - the buffer and,
 +optionally, a list - and should return a window displaying that
 +buffer.  The default value usually makes a separate frame for the
 +buffer using `special-display-frame-alist' to specify the frame
 +parameters.  See the definition of `special-display-popup-frame'
 +for how to specify such a function.
 +
 +A buffer is special when its name is either listed in
 +`special-display-buffer-names' or matches a regexp in
 +`special-display-regexps'."
 +  :type 'function
 +  :group 'windows
 +  :group 'frames)
 +;; (make-obsolete-variable
 + ;; 'special-display-function
 + ;; "use 2nd arg of `display-buffer' instead." "24.1")
  
  (defcustom special-display-buffer-names nil
    "List of names of buffers that should be displayed specially.
@@@ -6225,9 -622,6 +6225,9 @@@ See also `special-display-regexps'.
                        (repeat :tag "Arguments" (sexp)))))
    :group 'windows
    :group 'frames)
 +;; (make-obsolete-variable
 + ;; 'special-display-buffer-names
 + ;; "use 2nd arg of `display-buffer' instead." "24.1")
  
  ;;;###autoload
  (put 'special-display-buffer-names 'risky-local-variable t)
@@@ -6296,9 -690,6 +6296,9 @@@ See also `special-display-buffer-names'
                        (repeat :tag "Arguments" (sexp)))))
    :group 'windows
    :group 'frames)
 +;; (make-obsolete-variable
 + ;; 'special-display-regexps
 + ;; "use 2nd arg of `display-buffer' instead." "24.1")
  
  (defun special-display-p (buffer-name)
    "Return non-nil if a buffer named BUFFER-NAME gets a special frame.
@@@ -6308,17 -699,15 +6308,17 @@@ matching BUFFER-NAME.  If `special-disp
  `special-display-regexps' contain a list entry whose car equals
  or matches BUFFER-NAME, the return value is the cdr of that
  entry."
 -  (let (tmp)
 +  (let ((buffer-names (with-no-warnings special-display-buffer-names))
 +      (regexps (with-no-warnings special-display-regexps))
 +      tmp)
      (cond
       ((not (stringp buffer-name)))
 -     ((member buffer-name special-display-buffer-names)
 +     ((member buffer-name buffer-names)
        t)
 -     ((setq tmp (assoc buffer-name special-display-buffer-names))
 +     ((setq tmp (assoc buffer-name buffer-names))
        (cdr tmp))
       ((catch 'found
 -      (dolist (regexp special-display-regexps)
 +      (dolist (regexp regexps)
          (cond
           ((stringp regexp)
            (when (string-match-p regexp buffer-name)
           ((and (consp regexp) (stringp (car regexp))
                 (string-match-p (car regexp) buffer-name))
            (throw 'found (cdr regexp))))))))))
 -
 -(defcustom special-display-function 'special-display-popup-frame
 -  "Function to call for displaying special buffers.
 -This function is called with two arguments - the buffer and,
 -optionally, a list - and should return a window displaying that
 -buffer.  The default value usually makes a separate frame for the
 -buffer using `special-display-frame-alist' to specify the frame
 -parameters.  See the definition of `special-display-popup-frame'
 -for how to specify such a function.
 -
 -A buffer is special when its name is either listed in
 -`special-display-buffer-names' or matches a regexp in
 -`special-display-regexps'."
 +;; (make-obsolete
 + ;; 'special-display-p
 + ;; "pass argument to buffer display function instead." "24.1")
 +
 +(defcustom pop-up-frame-alist nil
 +  "Alist of parameters for automatically generated new frames.
 +You can set this in your init file; for example,
 +
 +  (setq pop-up-frame-alist '((width . 80) (height . 20)))
 +
 +If non-nil, the value you specify here is used by the default
 +`pop-up-frame-function' for the creation of new frames.
 +
 +Since `pop-up-frame-function' is used by `display-buffer' for
 +making new frames, any value specified here by default affects
 +the automatic generation of new frames via `display-buffer' and
 +all functions based on it.  The behavior of `make-frame' is not
 +affected by this variable."
 +  :type '(repeat (cons :format "%v"
 +                     (symbol :tag "Parameter")
 +                     (sexp :tag "Value")))
 +  :group 'frames)
 +;; (make-obsolete-variable
 + ;; 'pop-up-frame-alist
 + ;; "use 2nd arg of `display-buffer' instead." "24.1")
 +
 +(defcustom pop-up-frame-function
 +  (lambda () (make-frame pop-up-frame-alist))
 +  "Function used by `display-buffer' for creating a new frame.
 +This function is called with no arguments and should return a new
 +frame.  The default value calls `make-frame' with the argument
 +`pop-up-frame-alist'."
    :type 'function
    :group 'frames)
 -
 -(defcustom same-window-buffer-names nil
 -  "List of names of buffers that should appear in the \"same\" window.
 -`display-buffer' and `pop-to-buffer' show a buffer whose name is
 -on this list in the selected rather than some other window.
 -
 -An element of this list can be a cons cell instead of just a
 -string.  In that case, the cell's car must be a string specifying
 -the buffer name.  This is for compatibility with
 -`special-display-buffer-names'; the cdr of the cons cell is
 -ignored.
 -
 -See also `same-window-regexps'."
 - :type '(repeat (string :format "%v"))
 - :group 'windows)
 -
 -(defcustom same-window-regexps nil
 -  "List of regexps saying which buffers should appear in the \"same\" window.
 -`display-buffer' and `pop-to-buffer' show a buffer whose name
 -matches a regexp on this list in the selected rather than some
 -other window.
 -
 -An element of this list can be a cons cell instead of just a
 -string.  In that case, the cell's car must be a regexp matching
 -the buffer name.  This is for compatibility with
 -`special-display-regexps'; the cdr of the cons cell is ignored.
 -
 -See also `same-window-buffer-names'."
 -  :type '(repeat (regexp :format "%v"))
 -  :group 'windows)
 -
 -(defun same-window-p (buffer-name)
 -  "Return non-nil if a buffer named BUFFER-NAME would be shown in the \"same\" window.
 -This function returns non-nil if `display-buffer' or
 -`pop-to-buffer' would show a buffer named BUFFER-NAME in the
 -selected rather than \(as usual\) some other window.  See
 -`same-window-buffer-names' and `same-window-regexps'."
 -  (cond
 -   ((not (stringp buffer-name)))
 -   ;; The elements of `same-window-buffer-names' can be buffer
 -   ;; names or cons cells whose cars are buffer names.
 -   ((member buffer-name same-window-buffer-names))
 -   ((assoc buffer-name same-window-buffer-names))
 -   ((catch 'found
 -      (dolist (regexp same-window-regexps)
 -      ;; The elements of `same-window-regexps' can be regexps
 -      ;; or cons cells whose cars are regexps.
 -      (when (or (and (stringp regexp)
 -                     (string-match regexp buffer-name))
 -                (and (consp regexp) (stringp (car regexp))
 -                     (string-match-p (car regexp) buffer-name)))
 -        (throw 'found t)))))))
 +;; (make-obsolete-variable
 + ;; 'pop-up-frame-function
 + ;; "use 2nd arg of `display-buffer' instead." "24.1")
  
  (defcustom pop-up-frames nil
    "Whether `display-buffer' should make a separate frame.
@@@ -6374,49 -793,39 +6374,49 @@@ Any other non-nil value means always ma
          (const :tag "Never" nil)
          (const :tag "On graphic displays only" graphic-only)
          (const :tag "Always" t))
 -  :group 'windows)
 +  :group 'windows
 +  :group 'frames)
 +;; (make-obsolete-variable
 + ;; 'pop-up-frames
 + ;; "use 2nd arg of `display-buffer' instead." "24.1")
  
  (defcustom display-buffer-reuse-frames nil
 -  "Non-nil means `display-buffer' should reuse frames.
 +  "Set and non-nil means `display-buffer' should reuse frames.
  If the buffer in question is already displayed in a frame, raise
  that frame."
    :type 'boolean
    :version "21.1"
 -  :group 'windows)
 +  :group 'windows
 +  :group 'frames)
 +;; (make-obsolete-variable
 + ;; 'display-buffer-reuse-frames
 + ;; "use 2nd arg of `display-buffer' instead." "24.1")
  
 -(defcustom pop-up-windows t
 -  "Non-nil means `display-buffer' should make a new window."
 +(defcustom pop-up-windows 'unset ; t
 +  "Set and non-nil means `display-buffer' should make a new window."
    :type 'boolean
 +  :version "24.1"
    :group 'windows)
 +;; (make-obsolete-variable
 + ;; 'pop-up-windows
 + ;; "use 2nd arg of `display-buffer' instead." "24.1")
  
  (defcustom split-window-preferred-function 'split-window-sensibly
 -  "Function called by `display-buffer' routines to split a window.
 +  "Function called by `display-buffer' to split a window.
  This function is called with a window as single argument and is
  supposed to split that window and return the new window.  If the
  window can (or shall) not be split, it is supposed to return nil.
 +
  The default is to call the function `split-window-sensibly' which
  tries to split the window in a way which seems most suitable.
  You can customize the options `split-height-threshold' and/or
  `split-width-threshold' in order to have `split-window-sensibly'
  prefer either vertical or horizontal splitting.
  
 -If you set this to any other function, bear in mind that the
 -`display-buffer' routines may call this function two times.  The
 -argument of the first call is the largest window on its frame.
 -If that call fails to return a live window, the function is
 -called again with the least recently used window as argument.  If
 -that call fails too, `display-buffer' will use an existing window
 -to display its buffer.
 +If you set this to any other function, bear in mind that
 +`display-buffer' may call that function repeatedly; the option
 +`pop-up-windows' controls which windows may become the argument
 +of this function.
  
  The window selected at the time `display-buffer' was invoked is
  still selected when this function is called.  Hence you can
@@@ -6426,55 -835,28 +6426,55 @@@ not want to split the selected window.
    :type 'function
    :version "23.1"
    :group 'windows)
 +;; (make-obsolete-variable
 + ;; 'split-window-preferred-function
 + ;; "use 2nd arg of `display-buffer' instead." "24.1")
  
  (defcustom split-height-threshold 80
 -  "Minimum height for splitting windows sensibly.
 -If this is an integer, `split-window-sensibly' may split a window
 +  "Minimum height for splitting a window to display a buffer.
 +If this is an integer, `display-buffer' can split a window
  vertically only if it has at least this many lines.  If this is
 -nil, `split-window-sensibly' is not allowed to split a window
 -vertically.  If, however, a window is the only window on its
 -frame, `split-window-sensibly' may split it vertically
 -disregarding the value of this variable."
 +nil, `display-buffer' does not split windows vertically.  If a
 +window is the only window on its frame, `display-buffer' may
 +split it vertically disregarding the value of this variable."
    :type '(choice (const nil) (integer :tag "lines"))
    :version "23.1"
    :group 'windows)
 +;; (make-obsolete-variable
 + ;; 'split-height-threshold
 + ;; "use 2nd arg of `display-buffer' instead." "24.1")
  
  (defcustom split-width-threshold 160
 -  "Minimum width for splitting windows sensibly.
 -If this is an integer, `split-window-sensibly' may split a window
 +  "Minimum width for splitting a window to display a buffer.
 +If this is an integer, `display-buffer' can split a window
  horizontally only if it has at least this many columns.  If this
 -is nil, `split-window-sensibly' is not allowed to split a window
 -horizontally."
 +is nil, `display-buffer' cannot split windows horizontally."
    :type '(choice (const nil) (integer :tag "columns"))
    :version "23.1"
    :group 'windows)
 +;; (make-obsolete-variable
 + ;; 'split-width-threshold
 + ;; "use 2nd arg of `display-buffer' instead." "24.1")
 +
 +(defcustom even-window-heights 'unset ; t
 +  "If set and non-nil `display-buffer' will try to even window heights.
 +Otherwise `display-buffer' will leave the window configuration
 +alone.  Heights are evened only when `display-buffer' reuses a
 +window that appears above or below the selected window."
 +  :type 'boolean
 +  :version "24.1"
 +  :group 'windows)
 +;; (make-obsolete-variable
 + ;; 'even-window-heights
 + ;; "use 2nd arg of `display-buffer' instead." "24.1")
 +
 +(defvar display-buffer-mark-dedicated nil
 +  "Non-nil means `display-buffer' marks the windows it creates as dedicated.
 +The actual non-nil value of this variable will be copied to the
 +`window-dedicated-p' flag.")
 +;; (make-obsolete-variable
 + ;; 'display-buffer-mark-dedicated
 + ;; "use 2nd arg of `display-buffer' instead." "24.1")
  
  (defun window-splittable-p (window &optional horizontal)
    "Return non-nil if `split-window-sensibly' may split WINDOW.
@@@ -6525,8 -907,6 +6525,8 @@@ hold
                 (max split-height-threshold
                      (* 2 (max window-min-height
                                (if mode-line-format 2 1))))))))))
 +;; (make-obsolete
 + ;; 'window-splittable-p "use 2nd arg of `display-buffer' instead." "24.1")
  
  (defun split-window-sensibly (window)
    "Split WINDOW in a way suitable for `display-buffer'.
@@@ -6559,11 -939,11 +6559,11 @@@ more likely to occur
  Have a look at the function `window-splittable-p' if you want to
  know how `split-window-sensibly' determines whether WINDOW can be
  split."
 -  (or (and (window-splittable-p window)
 +  (or (and (with-no-warnings (window-splittable-p window))
           ;; Split window vertically.
           (with-selected-window window
             (split-window-vertically)))
 -      (and (window-splittable-p window t)
 +      (and (with-no-warnings (window-splittable-p window t))
           ;; Split window horizontally.
           (with-selected-window window
             (split-window-horizontally)))
           ;; minibuffer window, try to split it vertically disregarding
           ;; the value of `split-height-threshold'.
           (let ((split-height-threshold 0))
 -           (when (window-splittable-p window)
 +           (when (with-no-warnings (window-splittable-p window))
               (with-selected-window window
                 (split-window-vertically)))))))
 -
 -(defun window--try-to-split-window (window)
 -  "Try to split WINDOW.
 -Return value returned by `split-window-preferred-function' if it
 -represents a live window, nil otherwise."
 -      (and (window-live-p window)
 -         (not (frame-parameter (window-frame window) 'unsplittable))
 -         (let ((new-window
 -                ;; Since `split-window-preferred-function' might
 -                ;; throw an error use `condition-case'.
 -                (condition-case nil
 -                    (funcall split-window-preferred-function window)
 -                  (error nil))))
 -           (and (window-live-p new-window) new-window))))
 -
 -(defun window--frame-usable-p (frame)
 -  "Return FRAME if it can be used to display a buffer."
 -  (when (frame-live-p frame)
 -    (let ((window (frame-root-window frame)))
 -      ;; `frame-root-window' may be an internal window which is considered
 -      ;; "dead" by `window-live-p'.  Hence if `window' is not live we
 -      ;; implicitly know that `frame' has a visible window we can use.
 -      (unless (and (window-live-p window)
 -                   (or (window-minibuffer-p window)
 -                       ;; If the window is soft-dedicated, the frame is usable.
 -                       ;; Actually, even if the window is really dedicated,
 -                       ;; the frame is still usable by splitting it.
 -                       ;; At least Emacs-22 allowed it, and it is desirable
 -                       ;; when displaying same-frame windows.
 -                       nil ; (eq t (window-dedicated-p window))
 -                       ))
 -      frame))))
 -
 -(defcustom even-window-heights t
 -  "If non-nil `display-buffer' will try to even window heights.
 -Otherwise `display-buffer' will leave the window configuration
 -alone.  Heights are evened only when `display-buffer' chooses a
 -window that appears above or below the selected window."
 -  :type 'boolean
 -  :group 'windows)
 -
 -(defun window--even-window-heights (window)
 -  "Even heights of WINDOW and selected window.
 -Do this only if these windows are vertically adjacent to each
 -other, `even-window-heights' is non-nil, and the selected window
 -is higher than WINDOW."
 -  (when (and even-window-heights
 -           (not (eq window (selected-window)))
 -           ;; Don't resize minibuffer windows.
 -           (not (window-minibuffer-p (selected-window)))
 -           (> (window-height (selected-window)) (window-height window))
 -           (eq (window-frame window) (window-frame (selected-window)))
 -           (let ((sel-edges (window-edges (selected-window)))
 -                 (win-edges (window-edges window)))
 -             (and (= (nth 0 sel-edges) (nth 0 win-edges))
 -                  (= (nth 2 sel-edges) (nth 2 win-edges))
 -                  (or (= (nth 1 sel-edges) (nth 3 win-edges))
 -                      (= (nth 3 sel-edges) (nth 1 win-edges))))))
 -    (let ((window-min-height 1))
 -      ;; Don't throw an error if we can't even window heights for
 -      ;; whatever reason.
 -      (condition-case nil
 -        (enlarge-window (/ (- (window-height window) (window-height)) 2))
 -      (error nil)))))
 -
 -(defun window--display-buffer-1 (window)
 -  "Raise the frame containing WINDOW.
 -Do not raise the selected frame.  Return WINDOW."
 -  (let* ((frame (window-frame window))
 -       (visible (frame-visible-p frame)))
 -    (unless (or (not visible)
 -              ;; Assume the selected frame is already visible enough.
 -              (eq frame (selected-frame))
 -              ;; Assume the frame from which we invoked the minibuffer
 -              ;; is visible.
 -              (and (minibuffer-window-active-p (selected-window))
 -                   (eq frame (window-frame (minibuffer-selected-window)))))
 -      (raise-frame frame))
 -    window))
 -
 -(defun window--display-buffer-2 (buffer window &optional dedicated)
 -  "Display BUFFER in WINDOW and make its frame visible.
 -Set `window-dedicated-p' to DEDICATED if non-nil.
 -Return WINDOW."
 -  (when (and (buffer-live-p buffer) (window-live-p window))
 -    (set-window-buffer window buffer)
 -    (when dedicated
 -      (set-window-dedicated-p window dedicated))
 -    (window--display-buffer-1 window)))
 -
 -(defvar display-buffer-mark-dedicated nil
 -  "If non-nil, `display-buffer' marks the windows it creates as dedicated.
 -The actual non-nil value of this variable will be copied to the
 -`window-dedicated-p' flag.")
 -
 -(defun display-buffer (buffer-or-name &optional not-this-window frame)
 -  "Make buffer BUFFER-OR-NAME appear in some window but don't select it.
 -BUFFER-OR-NAME must be a buffer or the name of an existing
 -buffer.  Return the window chosen to display BUFFER-OR-NAME or
 -nil if no such window is found.
 -
 -Optional argument NOT-THIS-WINDOW non-nil means display the
 -buffer in a window other than the selected one, even if it is
 -already displayed in the selected window.
 -
 -Optional argument FRAME specifies which frames to investigate
 -when the specified buffer is already displayed.  If the buffer is
 -already displayed in some window on one of these frames simply
 -return that window.  Possible values of FRAME are:
 -
 -`visible' - consider windows on all visible frames.
 -
 -0 - consider windows on all visible or iconified frames.
 -
 -t - consider windows on all frames.
 -
 -A specific frame - consider windows on that frame only.
 -
 -nil - consider windows on the selected frame \(actually the
 -last non-minibuffer frame\) only.  If, however, either
 -`display-buffer-reuse-frames' or `pop-up-frames' is non-nil
 -\(non-nil and not graphic-only on a text-only terminal),
 -consider all visible or iconified frames."
 -  (interactive "BDisplay buffer:\nP")
 -  (let* ((can-use-selected-window
 -        ;; The selected window is usable unless either NOT-THIS-WINDOW
 -        ;; is non-nil, it is dedicated to its buffer, or it is the
 -        ;; `minibuffer-window'.
 -        (not (or not-this-window
 -                 (window-dedicated-p (selected-window))
 -                 (window-minibuffer-p))))
 -       (buffer (if (bufferp buffer-or-name)
 -                   buffer-or-name
 -                 (get-buffer buffer-or-name)))
 -       (name-of-buffer (buffer-name buffer))
 -       ;; On text-only terminals do not pop up a new frame when
 -       ;; `pop-up-frames' equals graphic-only.
 -       (use-pop-up-frames (if (eq pop-up-frames 'graphic-only)
 -                              (display-graphic-p)
 -                            pop-up-frames))
 -       ;; `frame-to-use' is the frame where to show `buffer' - either
 -       ;; the selected frame or the last nonminibuffer frame.
 -       (frame-to-use
 -        (or (window--frame-usable-p (selected-frame))
 -            (window--frame-usable-p (last-nonminibuffer-frame))))
 -       ;; `window-to-use' is the window we use for showing `buffer'.
 -       window-to-use)
 -    (cond
 -     ((not (buffer-live-p buffer))
 -      (error "No such buffer %s" buffer))
 -     (display-buffer-function
 -      ;; Let `display-buffer-function' do the job.
 -      (funcall display-buffer-function buffer not-this-window))
 -     ((and (not not-this-window)
 -         (eq (window-buffer (selected-window)) buffer))
 -      ;; The selected window already displays BUFFER and
 -      ;; `not-this-window' is nil, so use it.
 -      (window--display-buffer-1 (selected-window)))
 -     ((and can-use-selected-window (same-window-p name-of-buffer))
 -      ;; If the buffer's name tells us to use the selected window do so.
 -      (window--display-buffer-2 buffer (selected-window)))
 -     ((let ((frames (or frame
 -                      (and (or use-pop-up-frames
 -                               display-buffer-reuse-frames
 -                               (not (last-nonminibuffer-frame)))
 -                           0)
 -                      (last-nonminibuffer-frame))))
 -      (setq window-to-use
 -            (catch 'found
 -              ;; Search frames for a window displaying BUFFER.  Return
 -              ;; the selected window only if we are allowed to do so.
 -              (dolist (window (get-buffer-window-list buffer 'nomini frames))
 -                (when (or can-use-selected-window
 -                          (not (eq (selected-window) window)))
 -                  (throw 'found window))))))
 -      ;; The buffer is already displayed in some window; use that.
 -      (window--display-buffer-1 window-to-use))
 -     ((and special-display-function
 -         ;; `special-display-p' returns either t or a list of frame
 -         ;; parameters to pass to `special-display-function'.
 -         (let ((pars (special-display-p name-of-buffer)))
 -           (when pars
 -             (funcall special-display-function
 -                      buffer (if (listp pars) pars))))))
 -     ((or use-pop-up-frames (not frame-to-use))
 -      ;; We want or need a new frame.
 -      (let ((win (frame-selected-window (funcall pop-up-frame-function))))
 -        (window--display-buffer-2 buffer win display-buffer-mark-dedicated)))
 -     ((and pop-up-windows
 -         ;; Make a new window.
 -         (or (not (frame-parameter frame-to-use 'unsplittable))
 -             ;; If the selected frame cannot be split look at
 -             ;; `last-nonminibuffer-frame'.
 -             (and (eq frame-to-use (selected-frame))
 -                  (setq frame-to-use (last-nonminibuffer-frame))
 -                  (window--frame-usable-p frame-to-use)
 -                  (not (frame-parameter frame-to-use 'unsplittable))))
 -         ;; Attempt to split largest or least recently used window.
 -         (setq window-to-use
 -               (or (window--try-to-split-window
 -                    (get-largest-window frame-to-use t))
 -                   (window--try-to-split-window
 -                    (get-lru-window frame-to-use t)))))
 -      (window--display-buffer-2 buffer window-to-use
 -                                display-buffer-mark-dedicated))
 -     ((let ((window-to-undedicate
 -           ;; When NOT-THIS-WINDOW is non-nil, temporarily dedicate
 -           ;; the selected window to its buffer, to avoid that some of
 -           ;; the `get-' routines below choose it.  (Bug#1415)
 -           (and not-this-window (not (window-dedicated-p))
 -                (set-window-dedicated-p (selected-window) t)
 -                (selected-window))))
 -      (unwind-protect
 -          (setq window-to-use
 -                ;; Reuse an existing window.
 -                (or (get-lru-window frame-to-use)
 -                    (let ((window (get-buffer-window buffer 'visible)))
 -                      (unless (and not-this-window
 -                                   (eq window (selected-window)))
 -                        window))
 -                    (get-largest-window 'visible)
 -                    (let ((window (get-buffer-window buffer 0)))
 -                      (unless (and not-this-window
 -                                   (eq window (selected-window)))
 -                        window))
 -                    (get-largest-window 0)
 -                    (frame-selected-window (funcall pop-up-frame-function))))
 -        (when (window-live-p window-to-undedicate)
 -          ;; Restore dedicated status of selected window.
 -          (set-window-dedicated-p window-to-undedicate nil))))
 -      (window--even-window-heights window-to-use)
 -      (window--display-buffer-2 buffer window-to-use)))))
 -
 -(defun pop-to-buffer (buffer-or-name &optional other-window norecord)
 -  "Select buffer BUFFER-OR-NAME in some window, preferably a different one.
 -BUFFER-OR-NAME may be a buffer, a string \(a buffer name), or
 -nil.  If BUFFER-OR-NAME is a string not naming an existent
 -buffer, create a buffer with that name.  If BUFFER-OR-NAME is
 -nil, choose some other buffer.
 -
 -If `pop-up-windows' is non-nil, windows can be split to display
 -the buffer.  If optional second arg OTHER-WINDOW is non-nil,
 -insist on finding another window even if the specified buffer is
 -already visible in the selected window, and ignore
 -`same-window-regexps' and `same-window-buffer-names'.
 -
 -If the window to show BUFFER-OR-NAME is not on the selected
 -frame, raise that window's frame and give it input focus.
 -
 -This function returns the buffer it switched to.  This uses the
 -function `display-buffer' as a subroutine; see the documentation
 -of `display-buffer' for additional customization information.
 -
 -Optional third arg NORECORD non-nil means do not put this buffer
 -at the front of the list of recently selected ones."
 -  (let ((buffer
 -         ;; FIXME: This behavior is carried over from the previous C version
 -         ;; of pop-to-buffer, but really we should use just
 -         ;; `get-buffer' here.
 -         (if (null buffer-or-name) (other-buffer (current-buffer))
 -           (or (get-buffer buffer-or-name)
 -               (let ((buf (get-buffer-create buffer-or-name)))
 -                 (set-buffer-major-mode buf)
 -                 buf))))
 -      (old-window (selected-window))
 -      (old-frame (selected-frame))
 -      new-window new-frame)
 -    (set-buffer buffer)
 -    (setq new-window (display-buffer buffer other-window))
 -    (unless (eq new-window old-window)
 -      ;; `display-buffer' has chosen another window, select it.
 -      (select-window new-window norecord)
 -      (setq new-frame (window-frame new-window))
 -      (unless (eq new-frame old-frame)
 -      ;; `display-buffer' has chosen another frame, make sure it gets
 -      ;; input focus and is risen.
 -      (select-frame-set-input-focus new-frame)))
 -    buffer))
 -
 -;; I think this should be the default; I think people will prefer it--rms.
 -(defcustom split-window-keep-point t
 -  "If non-nil, \\[split-window-vertically] keeps the original point \
 -in both children.
 -This is often more convenient for editing.
 -If nil, adjust point in each of the two windows to minimize redisplay.
 -This is convenient on slow terminals, but point can move strangely.
 -
 -This option applies only to `split-window-vertically' and
 -functions that call it.  `split-window' always keeps the original
 -point in both children."
 -  :type 'boolean
 -  :group 'windows)
 -
 -(defun split-window-vertically (&optional size)
 -  "Split selected window into two windows, one above the other.
 -The upper window gets SIZE lines and the lower one gets the rest.
 -SIZE negative means the lower window gets -SIZE lines and the
 -upper one the rest.  With no argument, split windows equally or
 -close to it.  Both windows display the same buffer, now current.
 -
 -If the variable `split-window-keep-point' is non-nil, both new
 -windows will get the same value of point as the selected window.
 -This is often more convenient for editing.  The upper window is
 -the selected window.
 -
 -Otherwise, we choose window starts so as to minimize the amount of
 -redisplay; this is convenient on slow terminals.  The new selected
 -window is the one that the current value of point appears in.  The
 -value of point can change if the text around point is hidden by the
 -new mode line.
 -
 -Regardless of the value of `split-window-keep-point', the upper
 -window is the original one and the return value is the new, lower
 -window."
 -  (interactive "P")
 -  (let ((old-window (selected-window))
 -      (old-point (point))
 -      (size (and size (prefix-numeric-value size)))
 -        moved-by-window-height moved new-window bottom)
 -    (and size (< size 0)
 -       ;; Handle negative SIZE value.
 -       (setq size (+ (window-height) size)))
 -    (setq new-window (split-window nil size))
 -    (unless split-window-keep-point
 -      (with-current-buffer (window-buffer)
 -      (goto-char (window-start))
 -      (setq moved (vertical-motion (window-height)))
 -      (set-window-start new-window (point))
 -      (when (> (point) (window-point new-window))
 -        (set-window-point new-window (point)))
 -      (when (= moved (window-height))
 -        (setq moved-by-window-height t)
 -        (vertical-motion -1))
 -      (setq bottom (point)))
 -      (and moved-by-window-height
 -         (<= bottom (point))
 -         (set-window-point old-window (1- bottom)))
 -      (and moved-by-window-height
 -         (<= (window-start new-window) old-point)
 -         (set-window-point new-window old-point)
 -         (select-window new-window)))
 -    (split-window-save-restore-data new-window old-window)))
 -
 -;; This is to avoid compiler warnings.
 -(defvar view-return-to-alist)
 -
 -(defun split-window-save-restore-data (new-window old-window)
 -  (with-current-buffer (window-buffer)
 -    (when view-mode
 -      (let ((old-info (assq old-window view-return-to-alist)))
 -      (when old-info
 -        (push (cons new-window (cons (car (cdr old-info)) t))
 -              view-return-to-alist))))
 -    new-window))
 -
 -(defun split-window-horizontally (&optional size)
 -  "Split selected window into two windows side by side.
 -The selected window becomes the left one and gets SIZE columns.
 -SIZE negative means the right window gets -SIZE lines.
 -
 -SIZE includes the width of the window's scroll bar; if there are
 -no scroll bars, it includes the width of the divider column to
 -the window's right, if any.  SIZE omitted or nil means split
 -window equally.
 -
 -The selected window remains selected.  Return the new window."
 -  (interactive "P")
 -  (let ((old-window (selected-window))
 -      (size (and size (prefix-numeric-value size))))
 -    (and size (< size 0)
 -       ;; Handle negative SIZE value.
 -       (setq size (+ (window-width) size)))
 -    (split-window-save-restore-data (split-window nil size t) old-window)))
 -
 +;; (make-obsolete
 + ;; 'split-window-sensibly "use 2nd arg of `display-buffer' instead." "24.1")
 +
 +;; Functions for converting Emacs 23 buffer display options to buffer
 +;; display specifiers.
 +(defun display-buffer-alist-add (identifiers specifiers &optional no-custom)
 +  "Helper function for `display-buffer-alist-set'."
 +  (unless identifiers
 +    (setq identifiers '((regexp . ".*"))))
 +  (unless (atom specifiers)
 +    (setq specifiers (delq nil specifiers)))
 +
 +  (if no-custom
 +      (setq display-buffer-alist
 +          (cons (cons identifiers specifiers) display-buffer-alist))
 +    (customize-set-variable
 +     'display-buffer-alist
 +     (cons (cons identifiers specifiers) display-buffer-alist))))
 +
 +(defun display-buffer-alist-set (&optional no-custom add)
 +  "Set `display-buffer-alist' from Emacs 23 buffer display options.
 +Optional argument NO-CUSTOM nil means use `customize-set-variable'
 +to set the value of `display-buffer-alist'.  NO-CUSTOM non-nil
 +means to use `setq' instead.
 +
 +Optional argument ADD nil means to replace the actual value of
 +`display-buffer-alist' with the value calculated here.  ADD
 +non-nil means prepend the value calculated here to the current
 +value of `display-buffer-alist'."
 +  (unless add
 +    (if no-custom
 +      (setq display-buffer-alist nil)
 +      (customize-set-variable 'display-buffer-alist nil)))
 +
 +  ;; Disable warnings, there are too many obsolete options here.
 +  (with-no-warnings
 +    ;; `pop-up-windows'
 +    (display-buffer-alist-add
 +     nil
 +     (let ((fun (unless (eq split-window-preferred-function
 +                          'split-window-sensibly)
 +                ;; `split-window-sensibly' has been merged into the
 +                ;; `display-buffer-split-window' code as `nil'.
 +                split-window-preferred-function))
 +         (min-height
 +          (if (numberp split-height-threshold)
 +              (/ split-height-threshold 2)
 +            ;; Undocumented hack.
 +            1.0))
 +         (min-width
 +          (if (numberp split-width-threshold)
 +              (/ split-width-threshold 2)
 +            ;; Undocumented hack.
 +            1.0)))
 +       (list
 +      'pop-up-window
 +      (when pop-up-windows ; unset qualifies as t
 +        (list
 +         'pop-up-window
 +         (cons 'largest fun)
 +         (cons 'lru fun)))
 +      (cons 'pop-up-window-min-height min-height)
 +      (cons 'pop-up-window-min-width min-width)))
 +     no-custom)
 +
 +    ;; `pop-up-frames'
 +    (display-buffer-alist-add
 +     nil
 +     (list
 +      'pop-up-frame
 +      (when pop-up-frames
 +      (list 'pop-up-frame pop-up-frames))
 +      (when pop-up-frame-function
 +      (cons 'pop-up-frame-function pop-up-frame-function))
 +      (when pop-up-frame-alist
 +      (cons 'pop-up-frame-alist pop-up-frame-alist)))
 +     no-custom)
 +
 +    ;; `special-display-regexps'
 +    (dolist (entry special-display-regexps)
 +      (cond
 +       ((stringp entry)
 +      ;; Plain string.
 +      (display-buffer-alist-add
 +       `((regexp . ,entry))
 +       (list
 +        'function
 +        (list 'function special-display-function
 +              special-display-frame-alist))
 +       no-custom))
 +       ((consp entry)
 +      (let ((name (car entry))
 +            (rest (cdr entry)))
 +        (cond
 +         ((functionp (car rest))
 +          ;; A function.
 +          (display-buffer-alist-add
 +           `((name . ,name))
 +           (list
 +            'function
 +            ;; Weary.
 +            (list 'function (car rest) (cadr rest)))
 +           no-custom))
 +         ((listp rest)
 +          ;; A list of parameters.
 +          (cond
 +           ((assq 'same-window rest)
 +            (display-buffer-alist-add
 +             `((name . ,name))
 +             (list 'reuse-window
 +                   (list 'reuse-window 'same)
 +                   (list 'reuse-window-dedicated 'weak))
 +             no-custom))
 +           ((assq 'same-frame rest)
 +            (display-buffer-alist-add
 +             `((name . ,name)) (list 'same-frame) no-custom))
 +           (t
 +            (display-buffer-alist-add
 +             `((name . ,name))
 +             (list
 +              'function
 +              (list 'function special-display-function
 +                    special-display-frame-alist))
 +             no-custom)))))))))
 +
 +    ;; `special-display-buffer-names'
 +    (dolist (entry special-display-buffer-names)
 +      (cond
 +       ((stringp entry)
 +      ;; Plain string.
 +      (display-buffer-alist-add
 +       `((name . ,entry))
 +       (list
 +        'function
 +        (list 'function special-display-function
 +              special-display-frame-alist))
 +       no-custom))
 +       ((consp entry)
 +      (let ((name (car entry))
 +            (rest (cdr entry)))
 +        (cond
 +         ((functionp (car rest))
 +          ;; A function.
 +          (display-buffer-alist-add
 +           `((name . ,name))
 +           (list
 +            'function
 +            ;; Weary.
 +            (list 'function (car rest) (cadr rest)))
 +           no-custom))
 +         ((listp rest)
 +          ;; A list of parameters.
 +          (cond
 +           ((assq 'same-window rest)
 +            (display-buffer-alist-add
 +             `((name . ,name))
 +             (list 'reuse-window
 +                   (list 'reuse-window 'same)
 +                   (list 'reuse-window-dedicated 'weak))
 +             no-custom))
 +           ((assq 'same-frame rest)
 +            (display-buffer-alist-add
 +             `((name . ,name)) (list 'same-frame) no-custom))
 +           (t
 +            (display-buffer-alist-add
 +             `((name . ,name))
 +             (list
 +              'function
 +              (list 'function special-display-function
 +                    special-display-frame-alist))
 +             no-custom)))))))))
 +
 +    ;; `same-window-regexps'
 +    (dolist (entry same-window-regexps)
 +      (cond
 +       ((stringp entry)
 +      (display-buffer-alist-add
 +       `((regexp . ,entry))
 +       (list 'reuse-window (list 'reuse-window 'same))
 +       no-custom))
 +       ((consp entry)
 +      (display-buffer-alist-add
 +       `((regexp . ,(car entry)))
 +       (list 'reuse-window (list 'reuse-window 'same))
 +       no-custom))))
 +
 +    ;; `same-window-buffer-names'
 +    (dolist (entry same-window-buffer-names)
 +      (cond
 +       ((stringp entry)
 +      (display-buffer-alist-add
 +       `((name . ,entry))
 +       (list 'reuse-window (list 'reuse-window 'same))
 +       no-custom))
 +       ((consp entry)
 +      (display-buffer-alist-add
 +       `((name . ,(car entry)))
 +       (list 'reuse-window (list 'reuse-window 'same))
 +       no-custom))))
 +
 +    ;; `reuse-window'
 +    (display-buffer-alist-add
 +     nil
 +     (list
 +      'reuse-window
 +      (list 'reuse-window nil 'same
 +          (when (or display-buffer-reuse-frames pop-up-frames)
 +            ;; "0" (all visible and iconified frames) is hardcoded in
 +            ;; Emacs 23.
 +            0))
 +      (unless (memq even-window-heights '(nil unset))
 +      (cons 'reuse-window-even-sizes t)))
 +     no-custom)
 +
 +    ;; `display-buffer-mark-dedicated'
 +    (when display-buffer-mark-dedicated
 +      (display-buffer-alist-add
 +       nil
 +       (list
 +      (cons 'dedicated display-buffer-mark-dedicated))
 +       no-custom)))
 +
 +  display-buffer-alist)
  \f
  (defun set-window-text-height (window height)
    "Set the height in lines of the text display area of WINDOW to HEIGHT.
 -HEIGHT doesn't include the mode line or header line, if any, or
 -any partial-height lines in the text display area.
 +WINDOW must be a live window.  HEIGHT doesn't include the mode
 +line or header line, if any, or any partial-height lines in the
 +text display area.
  
  Note that the current implementation of this function cannot
  always set the height exactly, but attempts to be conservative,
  by allocating more lines than are actually needed in the case
  where some error may be present."
 +  (setq window (window-normalize-live-window window))
    (let ((delta (- height (window-text-height window))))
      (unless (zerop delta)
        ;; Setting window-min-height to a value like 1 can lead to very
        ;; windows 1-line tall, which means that there's no more space for
        ;; the modeline.
        (let ((window-min-height (min 2 height))) ; One text line plus a modeline.
 -      (if (and window (not (eq window (selected-window))))
 -          (save-selected-window
 -            (select-window window 'norecord)
 -            (enlarge-window delta))
 -        (enlarge-window delta))))))
 +      (window-resize window delta)))))
  
 -\f
 -(defun enlarge-window-horizontally (columns)
 -  "Make selected window COLUMNS wider.
 +(defun enlarge-window-horizontally (delta)
 +  "Make selected window DELTA columns wider.
  Interactively, if no argument is given, make selected window one
  column wider."
    (interactive "p")
 -  (enlarge-window columns t))
 +  (enlarge-window delta t))
  
 -(defun shrink-window-horizontally (columns)
 -  "Make selected window COLUMNS narrower.
 +(defun shrink-window-horizontally (delta)
 +  "Make selected window DELTA columns narrower.
  Interactively, if no argument is given, make selected window one
  column narrower."
    (interactive "p")
 -  (shrink-window columns t))
 -
 -(defun window-buffer-height (window)
 -  "Return the height (in screen lines) of the buffer that WINDOW is displaying."
 -  (with-current-buffer (window-buffer window)
 -    (max 1
 -       (count-screen-lines (point-min) (point-max)
 -                           ;; If buffer ends with a newline, ignore it when
 -                           ;; counting height unless point is after it.
 -                           (eobp)
 -                           window))))
 +  (shrink-window delta t))
  
  (defun count-screen-lines (&optional beg end count-final-newline window)
    "Return the number of screen lines in the region.
@@@ -6870,99 -1414,80 +6870,99 @@@ in some window.
          (goto-char (point-min))
          (1+ (vertical-motion (buffer-size) window))))))
  
 -(defun fit-window-to-buffer (&optional window max-height min-height)
 +(defun window-buffer-height (window)
 +  "Return the height (in screen lines) of the buffer that WINDOW is displaying."
 +  (with-current-buffer (window-buffer window)
 +    (max 1
 +       (count-screen-lines (point-min) (point-max)
 +                           ;; If buffer ends with a newline, ignore it when
 +                           ;; counting height unless point is after it.
 +                           (eobp)
 +                           window))))
 +
 +;;; Resizing buffers to fit their contents exactly.
 +(defun fit-window-to-buffer (&optional window max-height min-height override)
    "Adjust height of WINDOW to display its buffer's contents exactly.
 -WINDOW defaults to the selected window.
 -Optional argument MAX-HEIGHT specifies the maximum height of the
 -window and defaults to the maximum permissible height of a window
 -on WINDOW's frame.
 -Optional argument MIN-HEIGHT specifies the minimum height of the
 -window and defaults to `window-min-height'.
 -Both, MAX-HEIGHT and MIN-HEIGHT are specified in lines and
 -include the mode line and header line, if any.
 -
 -Return non-nil if height was orderly adjusted, nil otherwise.
 -
 -Caution: This function can delete WINDOW and/or other windows
 -when their height shrinks to less than MIN-HEIGHT."
 +WINDOW can be any live window and defaults to the selected one.
 +
 +Optional argument MAX-HEIGHT specifies the maximum height of
 +WINDOW and defaults to the height of WINDOW's frame.  Optional
 +argument MIN-HEIGHT specifies the minimum height of WINDOW and
 +defaults to `window-min-height'.  Both, MAX-HEIGHT and MIN-HEIGHT
 +are specified in lines and include the mode line and header line,
 +if any.
 +
 +Optional argument OVERRIDE non-nil means override restrictions
 +imposed by `window-min-height' and `window-min-width' on the size
 +of WINDOW.
 +
 +Return the number of lines by which WINDOW was enlarged or
 +shrunk.  If an error occurs during resizing, return nil but don't
 +signal an error.
 +
 +Note that even if this function makes WINDOW large enough to show
 +_all_ lines of its buffer you might not see the first lines when
 +WINDOW was scrolled."
    (interactive)
    ;; Do all the work in WINDOW and its buffer and restore the selected
    ;; window and the current buffer when we're done.
 -  (let ((old-buffer (current-buffer))
 -      value)
 -    (with-selected-window (or window (setq window (selected-window)))
 -      (set-buffer (window-buffer))
 -      ;; Use `condition-case' to handle any fixed-size windows and other
 -      ;; pitfalls nearby.
 -      (condition-case nil
 -        (let* (;; MIN-HEIGHT must not be less than 1 and defaults to
 -               ;; `window-min-height'.
 -               (min-height (max (or min-height window-min-height) 1))
 -               (max-window-height
 -                ;; Maximum height of any window on this frame.
 -                (min (window-height (frame-root-window)) (frame-height)))
 -               ;; MAX-HEIGHT must not be larger than max-window-height and
 -               ;; defaults to max-window-height.
 -               (max-height
 -                (min (or max-height max-window-height) max-window-height))
 -               (desired-height
 -                ;; The height necessary to show all of WINDOW's buffer,
 -                ;; constrained by MIN-HEIGHT and MAX-HEIGHT.
 -                (max
 -                 (min
 -                  ;; For an empty buffer `count-screen-lines' returns zero.
 -                  ;; Even in that case we need one line for the cursor.
 -                  (+ (max (count-screen-lines) 1)
 -                     ;; For non-minibuffers count the mode line, if any.
 -                     (if (and (not (window-minibuffer-p)) mode-line-format)
 -                         1 0)
 -                     ;; Count the header line, if any.
 -                     (if header-line-format 1 0))
 -                  max-height)
 -                 min-height))
 -               (delta
 -                ;; How much the window height has to change.
 -                (if (= (window-height) (window-height (frame-root-window)))
 -                    ;; Don't try to resize a full-height window.
 -                    0
 -                  (- desired-height (window-height))))
 -               ;; Do something reasonable so `enlarge-window' can make
 -               ;; windows as small as MIN-HEIGHT.
 -               (window-min-height (min min-height window-min-height)))
 -          ;; Don't try to redisplay with the cursor at the end on its
 -          ;; own line--that would force a scroll and spoil things.
 -          (when (and (eobp) (bolp) (not (bobp)))
 -            (set-window-point window (1- (window-point))))
 -          ;; Adjust WINDOW's height to the nominally correct one
 -          ;; (which may actually be slightly off because of variable
 -          ;; height text, etc).
 -          (unless (zerop delta)
 -            (enlarge-window delta))
 -          ;; `enlarge-window' might have deleted WINDOW, so make sure
 -          ;; WINDOW's still alive for the remainder of this.
 -          ;; Note: Deleting WINDOW is clearly counter-intuitive in
 -          ;; this context, but we can't do much about it given the
 -          ;; current semantics of `enlarge-window'.
 -          (when (window-live-p window)
 +  (setq window (window-normalize-live-window window))
 +  ;; Can't resize a full height or fixed-size window.
 +  (unless (or (window-size-fixed-p window)
 +            (window-full-height-p window))
 +    ;; `with-selected-window' should orderly restore the current buffer.
 +    (with-selected-window window
 +      ;; We are in WINDOW's buffer now.
 +      (let* ( ;; Adjust MIN-HEIGHT.
 +           (min-height
 +            (if override
 +                (window-min-size window nil window)
 +              (max (or min-height window-min-height)
 +                   window-safe-min-height)))
 +           (max-window-height
 +            (window-total-size (frame-root-window window)))
 +           ;; Adjust MAX-HEIGHT.
 +           (max-height
 +            (if (or override (not max-height))
 +                max-window-height
 +              (min max-height max-window-height)))
 +           ;; Make `desired-height' the height necessary to show
 +           ;; all of WINDOW's buffer, constrained by MIN-HEIGHT
 +           ;; and MAX-HEIGHT.
 +           (desired-height
 +            (max
 +             (min
 +              (+ (count-screen-lines)
 +                 ;; For non-minibuffers count the mode line, if any.
 +                 (if (and (not (window-minibuffer-p window))
 +                          mode-line-format)
 +                     1
 +                   0)
 +                 ;; Count the header line, if any.
 +                 (if header-line-format 1 0))
 +              max-height)
 +             min-height))
 +           (desired-delta
 +            (- desired-height (window-total-size window)))
 +           (delta
 +            (if (> desired-delta 0)
 +                (min desired-delta
 +                     (window-max-delta window nil window))
 +              (max desired-delta
 +                   (- (window-min-delta window nil window))))))
 +      ;; This `condition-case' shouldn't be necessary, but who knows?
 +      (condition-case nil
 +          (if (zerop delta)
 +              ;; Return zero if DELTA became zero in the proces.
 +              0
 +            ;; Don't try to redisplay with the cursor at the end on its
 +            ;; own line--that would force a scroll and spoil things.
 +            (when (and (eobp) (bolp) (not (bobp)))
 +              ;; It's silly to put `point' at the end of the previous
 +              ;; line and so maybe force horizontal scrolling.
 +              (set-window-point window (line-beginning-position 0)))
 +            ;; Call `window-resize' with OVERRIDE argument equal WINDOW.
 +            (window-resize window delta nil window)
              ;; Check if the last line is surely fully visible.  If
              ;; not, enlarge the window.
              (let ((end (save-excursion
                             (forward-line 0))
                           (point))))
                (set-window-vscroll window 0)
 +              ;; This loop might in some rare pathological cases raise
 +              ;; an error - another reason for the `condition-case'.
                (while (and (< desired-height max-height)
 -                          (= desired-height (window-height))
 +                          (= desired-height (window-total-size))
                            (not (pos-visible-in-window-p end)))
 -                (enlarge-window 1)
 -                (setq desired-height (1+ desired-height))))
 -            ;; Return non-nil only if nothing "bad" happened.
 -            (setq value t)))
 -      (error nil)))
 -    (when (buffer-live-p old-buffer)
 -      (set-buffer old-buffer))
 -    value))
 +                (window-resize window 1 nil window)
 +                (setq desired-height (1+ desired-height)))))
 +        (error (setq delta nil)))
 +      delta))))
  
  (defun window-safely-shrinkable-p (&optional window)
    "Return t if WINDOW can be shrunk without shrinking other windows.
  WINDOW defaults to the selected window."
    (with-selected-window (or window (selected-window))
      (let ((edges (window-edges)))
 +      ;; The following doesn't satisfy the doc-string's claim when
 +      ;; window and previous-/next-window are not part of the same
 +      ;; combination but still share a common edge.  Using
 +      ;; `window-iso-combined-p' instead should handle that.
        (or (= (nth 2 edges) (nth 2 (window-edges (previous-window))))
          (= (nth 0 edges) (nth 0 (window-edges (next-window))))))))
 +;; (make-obsolete
 + ;; 'window-safely-shrinkable-p "use `window-iso-combined-p' instead." "24.1")
  
  (defun shrink-window-if-larger-than-buffer (&optional window)
    "Shrink height of WINDOW if its buffer doesn't need so many lines.
@@@ -7010,28 -1531,42 +7010,28 @@@ More precisely, shrink WINDOW verticall
  possible, while still showing the full contents of its buffer.
  WINDOW defaults to the selected window.
  
 -Do not shrink to less than `window-min-height' lines.  Do nothing
 -if the buffer contains more lines than the present window height,
 -or if some of the window's contents are scrolled out of view, or
 -if shrinking this window would also shrink another window, or if
 -the window is the only window of its frame.
 +Do not shrink WINDOW to less than `window-min-height' lines.  Do
 +nothing if the buffer contains more lines than the present window
 +height, or if some of the window's contents are scrolled out of
 +view, or if shrinking this window would also shrink another
 +window, or if the window is the only window of its frame.
  
  Return non-nil if the window was shrunk, nil otherwise."
    (interactive)
 -  (when (null window)
 -    (setq window (selected-window)))
 -  (let* ((frame (window-frame window))
 -       (mini (frame-parameter frame 'minibuffer))
 -       (edges (window-edges window)))
 -    (if (and (not (eq window (frame-root-window frame)))
 -           (window-safely-shrinkable-p window)
 -           (pos-visible-in-window-p (point-min) window)
 -           (not (eq mini 'only))
 -           (or (not mini)
 -               (let ((mini-window (minibuffer-window frame)))
 -                 (or (null mini-window)
 -                     (not (eq frame (window-frame mini-window)))
 -                     (< (nth 3 edges)
 -                        (nth 1 (window-edges mini-window)))
 -                     (> (nth 1 edges)
 -                        (frame-parameter frame 'menu-bar-lines))))))
 -      (fit-window-to-buffer window (window-height window)))))
 -
 +  (setq window (window-normalize-live-window window))
 +  ;; Make sure that WINDOW is vertically combined and `point-min' is
 +  ;; visible (for whatever reason that's needed).  The remaining issues
 +  ;; should be taken care of by `fit-window-to-buffer'.
 +  (when (and (window-iso-combined-p window)
 +           (pos-visible-in-window-p (point-min) window))
 +    (fit-window-to-buffer window (window-total-size window))))
 +\f
  (defun kill-buffer-and-window ()
    "Kill the current buffer and delete the selected window."
    (interactive)
    (let ((window-to-delete (selected-window))
        (buffer-to-kill (current-buffer))
 -      (delete-window-hook (lambda ()
 -                            (condition-case nil
 -                                (delete-window)
 -                              (error nil)))))
 +      (delete-window-hook (lambda () (ignore-errors (delete-window)))))
      (unwind-protect
        (progn
          (add-hook 'kill-buffer-hook delete-window-hook t t)
                (delete-window))))
        ;; If the buffer is not dead for some reason (probably because
        ;; of a `quit' signal), remove the hook again.
 -      (condition-case nil
 -        (with-current-buffer buffer-to-kill
 -          (remove-hook 'kill-buffer-hook delete-window-hook t))
 -      (error nil)))))
 +      (ignore-errors
 +       (with-current-buffer buffer-to-kill
 +       (remove-hook 'kill-buffer-hook delete-window-hook t))))))
  
  (defun quit-window (&optional kill window)
    "Quit WINDOW and bury its buffer.
@@@ -7067,9 -1603,10 +7067,9 @@@ Otherwise, bury WINDOW's buffer, see `b
        ;; try to delete it.
        (let* ((window (or window (selected-window)))
               (frame (window-frame window)))
 -        (if (eq window (frame-root-window frame))
 -            ;; WINDOW is alone on its frame.  `delete-windows-on'
 -            ;; knows how to handle that case.
 -            (delete-windows-on buffer frame)
 +        (if (frame-root-window-p window)
 +            ;; WINDOW is alone on its frame.
 +            (delete-frame frame)
            ;; There are other windows on its frame, delete WINDOW.
            (delete-window window)))
        ;; Otherwise, switch to another buffer in the selected window.
      (if kill
        (kill-buffer buffer)
        (bury-buffer buffer))))
 -
 +\f
  (defvar recenter-last-op nil
    "Indicates the last recenter operation performed.
  Possible values: `top', `middle', `bottom', integer or float numbers.")
@@@ -7170,153 -1707,7 +7170,153 @@@ by `recenter-positions'.
             (move-to-window-line (round (* recenter-last-op (window-height))))))))))
  
  (define-key global-map [?\M-r] 'move-to-window-line-top-bottom)
 +\f
 +;;; Scrolling commands.
 +
 +;;; Scrolling commands which does not signal errors at top/bottom
 +;;; of buffer at first key-press (instead moves to top/bottom
 +;;; of buffer).
 +
 +(defcustom scroll-error-top-bottom nil
 +  "Move point to top/bottom of buffer before signalling a scrolling error.
 +A value of nil means just signal an error if no more scrolling possible.
 +A value of t means point moves to the beginning or the end of the buffer
 +\(depending on scrolling direction) when no more scrolling possible.
 +When point is already on that position, then signal an error."
 +  :type 'boolean
 +  :group 'scrolling
 +  :version "24.1")
 +
 +(defun scroll-up-command (&optional arg)
 +  "Scroll text of selected window upward ARG lines; or near full screen if no ARG.
 +If `scroll-error-top-bottom' is non-nil and `scroll-up' cannot
 +scroll window further, move cursor to the bottom line.
 +When point is already on that position, then signal an error.
 +A near full screen is `next-screen-context-lines' less than a full screen.
 +Negative ARG means scroll downward.
 +If ARG is the atom `-', scroll downward by nearly full screen."
 +  (interactive "^P")
 +  (cond
 +   ((null scroll-error-top-bottom)
 +    (scroll-up arg))
 +   ((eq arg '-)
 +    (scroll-down-command nil))
 +   ((< (prefix-numeric-value arg) 0)
 +    (scroll-down-command (- (prefix-numeric-value arg))))
 +   ((eobp)
 +    (scroll-up arg))                  ; signal error
 +   (t
 +    (condition-case nil
 +      (scroll-up arg)
 +      (end-of-buffer
 +       (if arg
 +         ;; When scrolling by ARG lines can't be done,
 +         ;; move by ARG lines instead.
 +         (forward-line arg)
 +       ;; When ARG is nil for full-screen scrolling,
 +       ;; move to the bottom of the buffer.
 +       (goto-char (point-max))))))))
 +
 +(put 'scroll-up-command 'scroll-command t)
 +
 +(defun scroll-down-command (&optional arg)
 +  "Scroll text of selected window down ARG lines; or near full screen if no ARG.
 +If `scroll-error-top-bottom' is non-nil and `scroll-down' cannot
 +scroll window further, move cursor to the top line.
 +When point is already on that position, then signal an error.
 +A near full screen is `next-screen-context-lines' less than a full screen.
 +Negative ARG means scroll upward.
 +If ARG is the atom `-', scroll upward by nearly full screen."
 +  (interactive "^P")
 +  (cond
 +   ((null scroll-error-top-bottom)
 +    (scroll-down arg))
 +   ((eq arg '-)
 +    (scroll-up-command nil))
 +   ((< (prefix-numeric-value arg) 0)
 +    (scroll-up-command (- (prefix-numeric-value arg))))
 +   ((bobp)
 +    (scroll-down arg))                        ; signal error
 +   (t
 +    (condition-case nil
 +      (scroll-down arg)
 +      (beginning-of-buffer
 +       (if arg
 +         ;; When scrolling by ARG lines can't be done,
 +         ;; move by ARG lines instead.
 +         (forward-line (- arg))
 +       ;; When ARG is nil for full-screen scrolling,
 +       ;; move to the top of the buffer.
 +       (goto-char (point-min))))))))
 +
 +(put 'scroll-down-command 'scroll-command t)
 +
 +;;; Scrolling commands which scroll a line instead of full screen.
 +
 +(defun scroll-up-line (&optional arg)
 +  "Scroll text of selected window upward ARG lines; or one line if no ARG.
 +If ARG is omitted or nil, scroll upward by one line.
 +This is different from `scroll-up-command' that scrolls a full screen."
 +  (interactive "p")
 +  (scroll-up (or arg 1)))
 +
 +(put 'scroll-up-line 'scroll-command t)
 +
 +(defun scroll-down-line (&optional arg)
 +  "Scroll text of selected window down ARG lines; or one line if no ARG.
 +If ARG is omitted or nil, scroll down by one line.
 +This is different from `scroll-down-command' that scrolls a full screen."
 +  (interactive "p")
 +  (scroll-down (or arg 1)))
  
 +(put 'scroll-down-line 'scroll-command t)
 +
 +\f
 +(defun scroll-other-window-down (lines)
 +  "Scroll the \"other window\" down.
 +For more details, see the documentation for `scroll-other-window'."
 +  (interactive "P")
 +  (scroll-other-window
 +   ;; Just invert the argument's meaning.
 +   ;; We can do that without knowing which window it will be.
 +   (if (eq lines '-) nil
 +     (if (null lines) '-
 +       (- (prefix-numeric-value lines))))))
 +
 +(defun beginning-of-buffer-other-window (arg)
 +  "Move point to the beginning of the buffer in the other window.
 +Leave mark at previous position.
 +With arg N, put point N/10 of the way from the true beginning."
 +  (interactive "P")
 +  (let ((orig-window (selected-window))
 +      (window (other-window-for-scrolling)))
 +    ;; We use unwind-protect rather than save-window-excursion
 +    ;; because the latter would preserve the things we want to change.
 +    (unwind-protect
 +      (progn
 +        (select-window window)
 +        ;; Set point and mark in that window's buffer.
 +        (with-no-warnings
 +         (beginning-of-buffer arg))
 +        ;; Set point accordingly.
 +        (recenter '(t)))
 +      (select-window orig-window))))
 +
 +(defun end-of-buffer-other-window (arg)
 +  "Move point to the end of the buffer in the other window.
 +Leave mark at previous position.
 +With arg N, put point N/10 of the way from the true end."
 +  (interactive "P")
 +  ;; See beginning-of-buffer-other-window for comments.
 +  (let ((orig-window (selected-window))
 +      (window (other-window-for-scrolling)))
 +    (unwind-protect
 +      (progn
 +        (select-window window)
 +        (with-no-warnings
 +         (end-of-buffer arg))
 +        (recenter '(t)))
 +      (select-window orig-window))))
  \f
  (defvar mouse-autoselect-window-timer nil
    "Timer used by delayed window autoselection.")
@@@ -7370,60 -1761,62 +7370,60 @@@ means suspend autoselection.
  If the mouse position has stabilized in a non-selected window, select
  that window.  The minibuffer window is selected only if the minibuffer is
  active.  This function is run by `mouse-autoselect-window-timer'."
 -  (condition-case nil
 -      (let* ((mouse-position (mouse-position))
 -           (window
 -            (condition-case nil
 -                (window-at (cadr mouse-position) (cddr mouse-position)
 -                           (car mouse-position))
 -              (error nil))))
 -      (cond
 -       ((or (menu-or-popup-active-p)
 -            (and window
 -                 (not (coordinates-in-window-p (cdr mouse-position) window))))
 -        ;; A menu / popup dialog is active or the mouse is on the scroll-bar
 -        ;; of WINDOW, temporarily suspend delayed autoselection.
 -        (mouse-autoselect-window-start mouse-position nil t))
 -       ((eq mouse-autoselect-window-state 'suspend)
 -        ;; Delayed autoselection was temporarily suspended, reenable it.
 -        (mouse-autoselect-window-start mouse-position))
 -       ((and window (not (eq window (selected-window)))
 -             (or (not (numberp mouse-autoselect-window))
 -                 (and (> mouse-autoselect-window 0)
 -                      ;; If `mouse-autoselect-window' is positive, select
 -                      ;; window if the window is the same as before.
 -                      (eq window mouse-autoselect-window-window))
 -                 ;; Otherwise select window if the mouse is at the same
 -                 ;; position as before.  Observe that the first test after
 -                 ;; starting autoselection usually fails since the value of
 -                 ;; `mouse-autoselect-window-position' recorded there is the
 -                 ;; position where the mouse has entered the new window and
 -                 ;; not necessarily where the mouse has stopped moving.
 -                 (equal mouse-position mouse-autoselect-window-position))
 -             ;; The minibuffer is a candidate window if it's active.
 -             (or (not (window-minibuffer-p window))
 -                 (eq window (active-minibuffer-window))))
 -        ;; Mouse position has stabilized in non-selected window: Cancel
 -        ;; delayed autoselection and try to select that window.
 -        (mouse-autoselect-window-cancel t)
 -        ;; Select window where mouse appears unless the selected window is the
 -        ;; minibuffer.  Use `unread-command-events' in order to execute pre-
 -        ;; and post-command hooks and trigger idle timers.  To avoid delaying
 -        ;; autoselection again, set `mouse-autoselect-window-state'."
 -        (unless (window-minibuffer-p (selected-window))
 -          (setq mouse-autoselect-window-state 'select)
 -          (setq unread-command-events
 -                (cons (list 'select-window (list window))
 -                      unread-command-events))))
 -       ((or (and window (eq window (selected-window)))
 -            (not (numberp mouse-autoselect-window))
 -            (equal mouse-position mouse-autoselect-window-position))
 -        ;; Mouse position has either stabilized in the selected window or at
 -        ;; `mouse-autoselect-window-position': Cancel delayed autoselection.
 -        (mouse-autoselect-window-cancel t))
 -       (t
 -        ;; Mouse position has not stabilized yet, resume delayed
 -        ;; autoselection.
 -        (mouse-autoselect-window-start mouse-position window))))
 -    (error nil)))
 +  (ignore-errors
 +   (let* ((mouse-position (mouse-position))
 +        (window
 +         (ignore-errors
 +          (window-at (cadr mouse-position) (cddr mouse-position)
 +                     (car mouse-position)))))
 +     (cond
 +      ((or (menu-or-popup-active-p)
 +         (and window
 +              (not (coordinates-in-window-p (cdr mouse-position) window))))
 +       ;; A menu / popup dialog is active or the mouse is on the scroll-bar
 +       ;; of WINDOW, temporarily suspend delayed autoselection.
 +       (mouse-autoselect-window-start mouse-position nil t))
 +      ((eq mouse-autoselect-window-state 'suspend)
 +       ;; Delayed autoselection was temporarily suspended, reenable it.
 +       (mouse-autoselect-window-start mouse-position))
 +      ((and window (not (eq window (selected-window)))
 +          (or (not (numberp mouse-autoselect-window))
 +              (and (> mouse-autoselect-window 0)
 +                   ;; If `mouse-autoselect-window' is positive, select
 +                   ;; window if the window is the same as before.
 +                   (eq window mouse-autoselect-window-window))
 +              ;; Otherwise select window if the mouse is at the same
 +              ;; position as before.  Observe that the first test after
 +              ;; starting autoselection usually fails since the value of
 +              ;; `mouse-autoselect-window-position' recorded there is the
 +              ;; position where the mouse has entered the new window and
 +              ;; not necessarily where the mouse has stopped moving.
 +              (equal mouse-position mouse-autoselect-window-position))
 +          ;; The minibuffer is a candidate window if it's active.
 +          (or (not (window-minibuffer-p window))
 +              (eq window (active-minibuffer-window))))
 +       ;; Mouse position has stabilized in non-selected window: Cancel
 +       ;; delayed autoselection and try to select that window.
 +       (mouse-autoselect-window-cancel t)
 +       ;; Select window where mouse appears unless the selected window is the
 +       ;; minibuffer.  Use `unread-command-events' in order to execute pre-
 +       ;; and post-command hooks and trigger idle timers.  To avoid delaying
 +       ;; autoselection again, set `mouse-autoselect-window-state'."
 +       (unless (window-minibuffer-p (selected-window))
 +       (setq mouse-autoselect-window-state 'select)
 +       (setq unread-command-events
 +             (cons (list 'select-window (list window))
 +                   unread-command-events))))
 +      ((or (and window (eq window (selected-window)))
 +         (not (numberp mouse-autoselect-window))
 +         (equal mouse-position mouse-autoselect-window-position))
 +       ;; Mouse position has either stabilized in the selected window or at
 +       ;; `mouse-autoselect-window-position': Cancel delayed autoselection.
 +       (mouse-autoselect-window-cancel t))
 +      (t
 +       ;; Mouse position has not stabilized yet, resume delayed
 +       ;; autoselection.
 +       (mouse-autoselect-window-start mouse-position window))))))
  
  (defun handle-select-window (event)
    "Handle select-window events."
        (run-hooks 'mouse-leave-buffer-hook))
        (select-window window))))
  
 -(defun delete-other-windows-vertically (&optional window)
 -  "Delete the windows in the same column with WINDOW, but not WINDOW itself.
 -This may be a useful alternative binding for \\[delete-other-windows]
 - if you often split windows horizontally."
 -  (interactive)
 -  (let* ((window (or window (selected-window)))
 -         (edges (window-edges window))
 -         (w window) delenda)
 -    (while (not (eq (setq w (next-window w 1)) window))
 -      (let ((e (window-edges w)))
 -        (when (and (= (car e) (car edges))
 -                   (= (caddr e) (caddr edges)))
 -          (push w delenda))))
 -    (mapc 'delete-window delenda)))
 -
  (defun truncated-partial-width-window-p (&optional window)
    "Return non-nil if lines in WINDOW are specifically truncated due to its width.
  WINDOW defaults to the selected window.
@@@ -7474,17 -1882,14 +7474,17 @@@ Otherwise, consult the value of `trunca
        (if (integerp t-p-w-w)
          (< (window-width window) t-p-w-w)
        t-p-w-w))))
 -
 -(define-key ctl-x-map "2" 'split-window-vertically)
 -(define-key ctl-x-map "3" 'split-window-horizontally)
 +\f
 +(define-key ctl-x-map "0" 'delete-window)
 +(define-key ctl-x-map "1" 'delete-other-windows)
 +(define-key ctl-x-map "2" 'split-window-above-each-other)
 +(define-key ctl-x-map "3" 'split-window-side-by-side)
 +(define-key ctl-x-map "o" 'other-window)
 +(define-key ctl-x-map "^" 'enlarge-window)
  (define-key ctl-x-map "}" 'enlarge-window-horizontally)
  (define-key ctl-x-map "{" 'shrink-window-horizontally)
  (define-key ctl-x-map "-" 'shrink-window-if-larger-than-buffer)
  (define-key ctl-x-map "+" 'balance-windows)
  (define-key ctl-x-4-map "0" 'kill-buffer-and-window)
  
 -;; arch-tag: b508dfcc-c353-4c37-89fa-e773fe10cea9
  ;;; window.el ends here