]> code.delx.au - gnu-emacs/commitdiff
Merge from emacs-24; up to 2014-06-19T14:03:45Z!monnier@iro.umontreal.ca
authorGlenn Morris <rgm@gnu.org>
Wed, 9 Jul 2014 02:04:12 +0000 (19:04 -0700)
committerGlenn Morris <rgm@gnu.org>
Wed, 9 Jul 2014 02:04:12 +0000 (19:04 -0700)
15 files changed:
1  2 
doc/emacs/ChangeLog
doc/lispref/ChangeLog
doc/misc/ChangeLog
doc/misc/todo-mode.texi
etc/NEWS
etc/TODO
lisp/ChangeLog
lisp/calendar/todo-mode.el
lisp/faces.el
lisp/progmodes/sh-script.el
lisp/startup.el
src/ChangeLog
src/w32.c
src/window.c
src/xdisp.c

diff --combined doc/emacs/ChangeLog
index 76d692ae9a6d3d3c205b3957f6bccd87a5ec9f1e,e2a6b627a1917d6d9c63d8de34320b8f25f0412d..a9c4995d49b6a34c9b5198c526f8943d3b834552
@@@ -1,30 -1,14 +1,35 @@@
 -2014-07-03  Juri Linkov  <juri@jurta.org>
++2014-07-09  Juri Linkov  <juri@jurta.org>
+       * search.texi (Regexp Search): Update lax space matching that is
+       not active in regexp search by default now.  (Bug#17901)
 -2014-06-29  Glenn Morris  <rgm@gnu.org>
 +2014-07-03  Glenn Morris  <rgm@gnu.org>
  
        * help.texi (Misc Help):
        * trouble.texi (Checklist): "Online" help doesn't mean what it
        used to any more.
  
 +2014-06-23  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (%.texi): Disable implicit rules.
 +      (mkinfodir): Remove.
 +      (.dvi.ps): Replace with pattern rule.
 +      (${buildinfodir}): New rule.
 +      ($(buildinfodir)/emacs.info): Use order-only prereq for output dir.
 +      Use $<.
 +      (emacs.dvi, emacs.pdf, emacs.html, emacs-xtra.dvi, emacs-xtra.pdf):
 +      Use $<.
 +      (%.ps): New rule.
 +
 +2014-06-15  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (bootstrap-clean): New.
 +
 +2014-06-10  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (INFO_EXT): Remove and replace by ".info" throughout.
 +      (INFO_OPTS): Set directly rather than with configure.
 +
  2014-06-08  Glenn Morris  <rgm@gnu.org>
  
        * entering.texi (Entering Emacs): Small fix re initial-buffer-choice.
        * ack.texi (Acknowledgments):
        * emacs.texi (Acknowledgments): Updates.
  
 -2014-06-07  Glenn Morris  <rgm@gnu.org>
 +2014-06-08  Glenn Morris  <rgm@gnu.org>
 +
 +      * ack.texi (Acknowledgments):
 +      * emacs.texi (Acknowledgments): Updates.
  
        * programs.texi (Prettifying Symbols): Remove node.
        (Misc for Programs): Mention more briefly here.
        * emacs.texi (Top): Update menu.
  
 -2014-06-05  Glenn Morris  <rgm@gnu.org>
 -
        * package.texi (Package Menu, Package Installation):
        Mention signed packages.
 -
 -2014-06-03  Glenn Morris  <rgm@gnu.org>
 -
 -      * package.texi (Package Installation): Mention package-pinned-packages.
 +      (Package Installation): Mention package-pinned-packages.
  
  2014-06-02  Glenn Morris  <rgm@gnu.org>
  
 +      * ack.texi (Acknowledgments): Remove some obsolete items.
        * misc.texi [iftex]: Update chapter summary.
 -      (Emulation): Remove ludicrously outdated claim.
 -
 -2014-05-29  Glenn Morris  <rgm@gnu.org>
 +      (Emulation): Remove section.
  
        * macos.texi (Mac / GNUstep Customization): Mention ns custom group.
        (Customization options specific to Mac OS / GNUstep): Remove section.
  
 -2014-05-28  Glenn Morris  <rgm@gnu.org>
 -
 -      * macos.texi (Mac / GNUstep Customization): Mention some new features.
 -
 -2014-05-27  Glenn Morris  <rgm@gnu.org>
 -
        * abbrevs.texi (Expanding Abbrevs): Update re abbrev-expand-function.
  
 -2014-05-21  Eli Zaretskii  <eliz@gnu.org>
 +2014-05-26  Eli Zaretskii  <eliz@gnu.org>
  
        * frames.texi (Fonts): Clarify which frames are affected by
        setting font from the menu and in default-frame-alist.
        (Bug#17532)
  
 -2014-05-12  Eli Zaretskii  <eliz@gnu.org>
 +2014-05-14  Eli Zaretskii  <eliz@gnu.org>
  
 -      * mule.texi (Language Environments): Remove unused @anchor.
 -      (Bug#17479)
 +      * mule.texi (Language Environments): Remove unused @anchor.  (Bug#17479)
  
 -2014-05-02  Eli Zaretskii  <eliz@gnu.org>
 +2014-05-04  Eli Zaretskii  <eliz@gnu.org>
  
        * trouble.texi (Lossage, DEL Does Not Delete, Stuck Recursive)
        (Screen Garbled, Text Garbled, After a Crash, Emergency Escape)
        (Bug Criteria, Understanding Bug Reporting, Checklist, Service):
        Improve indexing.
  
 -2014-04-29  Eli Zaretskii  <eliz@gnu.org>
 +2014-05-04  Leo Liu  <sdl.web@gmail.com>
 +
 +      * cal-xtra.texi (Non-Gregorian Diary): Document new features for
 +      Chinese calendar and diary.
 +
 +2014-04-30  Eli Zaretskii  <eliz@gnu.org>
  
        * trouble.texi (Quitting, DEL Does Not Delete, Emergency Escape)
        (Bug Criteria): Fix usage of @kbd and @key.  (Bug#17362)
  
        * anti.texi (Antinews): Fix usage of @kbd and @key.
  
 -2014-04-26  Eli Zaretskii  <eliz@gnu.org>
 -
        * sending.texi (Mail Signature): Document signature variables used
        by Message mode.  (Bug#17308)
  
 -2014-04-21  Eli Zaretskii  <eliz@gnu.org>
 +2014-04-22  Eli Zaretskii  <eliz@gnu.org>
  
        * buffers.texi (Uniquify): Clarify the default uniquification.
  
        EMACSLOADPATH.  Index all the environment variables.
        (Misc Variables): Index all the environment variables.
  
 -2014-04-13  Eli Zaretskii  <eliz@gnu.org>
 +2014-04-17  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * Makefile.in (infoclean): Be consistent about reporting failures.
 +      Do not fail merely because the info directory does not exist,
 +      but do fail if it exists and can't be cleaned.
 +
 +2014-04-16  Eli Zaretskii  <eliz@gnu.org>
  
        * display.texi (Cursor Display): Explain better how to customize
        'blink-cursor-blinks'.
  
 -2014-04-05  Glenn Morris  <rgm@gnu.org>
 +2014-04-07  Glenn Morris  <rgm@gnu.org>
  
        * trouble.texi (Checklist): Dribble files may contain passwords.
  
 -2014-04-04  Glenn Morris  <rgm@gnu.org>
 -
        * files.texi (Backup Names):
        * arevert-xtra.texi (Supporting additional buffers):
        Update for default values of some -function vars no longer being nil.
        (Supporting additional buffers):
        Update for buffer-stale-function also applying to file-buffers.
  
 +2014-03-28  Glenn Morris  <rgm@gnu.org>
 +
 +      * custom.texi (Terminal Init): Mention term-file-aliases.
 +
 +2014-03-26  Glenn Morris  <rgm@gnu.org>
 +
 +      * ack.texi (Acknowledgments): Remove reference to obsolete file.
 +
 +2014-03-22  Glenn Morris  <rgm@gnu.org>
 +
 +      * help.texi (Help Files): Update C-h g description.
 +
  2014-03-16  Dmitry Gutov  <dgutov@yandex.ru>
  
        * programs.texi (Matching): Update the missed spot.  (Bug#17008)
diff --combined doc/lispref/ChangeLog
index cc372b006ede561e4a80690df1fe395701010799,a3353c66f712ed405bde88de345ad7498015edee..c15bbebbe5933cf2fa94d732f6deb21b4859cb9d
@@@ -1,55 -1,28 +1,60 @@@
 -2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
++2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * debugging.texi (Function Debugging, Debugger Commands):
+       Update debug-on-entry w.r.t behavior after redefinitions (bug#17902).
 -2014-06-29  Glenn Morris  <rgm@gnu.org>
 +2014-07-03  Glenn Morris  <rgm@gnu.org>
  
        * help.texi (Help Functions): "Online" help doesn't mean what it
        used to any more.
  
 -2014-06-26  Glenn Morris  <rgm@gnu.org>
 +2014-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * keymaps.texi (Key Lookup): Remove mention of indirect entries.
 +      (Scanning Keymaps): Reword the `noindirect' argument.
 +
 +2014-06-28  Glenn Morris  <rgm@gnu.org>
  
        * minibuf.texi (Intro to Minibuffers): Batch mode is basic.
        (Reading a Password): Mention batch mode.  (Bug#17839)
  
 +2014-06-23  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (%.texi): Disable implicit rules.
 +      (mkinfodir): Remove.
 +      (.dvi.ps): Replace with explicit rule.
 +      (html): Declare as PHONY.
 +      (${buildinfodir}): New rule.
 +      ($(buildinfodir)/elisp.info): Use order-only prereq for output dir.
 +      Use $<.
 +      (elisp.dvi, elisp.html, elisp.pdf): Use $<.
 +      (elisp.ps): New rule.
 +
  2014-06-21  Eli Zaretskii  <eliz@gnu.org>
  
        * positions.texi (Screen Lines): Clarify how columns are counted
        by vertical-motion.
  
 -2014-06-14  Eli Zaretskii  <eliz@gnu.org>
 +2014-06-15  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (bootstrap-clean): New.
 +
 +2014-06-15  Eli Zaretskii  <eliz@gnu.org>
  
        * commands.texi (Accessing Mouse): Improve the wording of the
        posn-col-row documentation.  (Bug#17768)
  
 +2014-06-10  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (INFO_EXT): Remove and replace by ".info" throughout.
 +      (INFO_OPTS): Set directly rather than with configure.
 +
 +2014-06-09  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Say (accept-process-output P)'s result pertains to P if P is non-nil.
 +      * processes.texi (Accepting Output): Mention that if PROCESS is non-nil,
 +      the return value is about PROCESS, not about other processes.
 +
  2014-06-08  Glenn Morris  <rgm@gnu.org>
  
        * os.texi (Startup Summary): Small fix for initial-buffer-choice.
@@@ -58,7 -31,7 +63,7 @@@
  
        * numbers.texi (Comparison of Numbers): Copyedits.
  
 -2014-06-06  Glenn Morris  <rgm@gnu.org>
 +2014-06-08  Glenn Morris  <rgm@gnu.org>
  
        * display.texi (Window Systems): Remove window-setup-hook.
        * os.texi (Startup Summary, Init File):
  
        * display.texi (Overlay Properties): Update re priority.  (Bug#17234)
  
 -2014-06-05  Glenn Morris  <rgm@gnu.org>
 -
        * package.texi (Package Archives): Mention signing packages.
  
 -2014-05-27  Glenn Morris  <rgm@gnu.org>
 +2014-06-07  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * commands.texi (Click Events): Update contents of click event's
 +      position list due to last changes in make_lispy_position.
 +
 +2014-06-02  Glenn Morris  <rgm@gnu.org>
  
        * text.texi (Buffer Contents):
        Update for filter-buffer-substring changes.
        * abbrevs.texi (Abbrev Expansion): Update for expand-abbrev changes.
        * functions.texi (Advising Functions): Standardize menu case.
  
 -2014-05-17  Eli Zaretskii  <eliz@gnu.org>
 +2014-05-26  Eli Zaretskii  <eliz@gnu.org>
  
        * display.texi (Invisible Text): Clarify the description of
        line-move-ignore-invisible.  (Bug#17511)
  
 -2014-05-07  Paul Eggert  <eggert@cs.ucla.edu>
 +2014-05-22  Leo Liu  <sdl.web@gmail.com>
 +
 +      * sequences.texi (Sequence Functions): Don't mention when and how
 +      SEQ to nreverse is mutated.
 +
 +2014-05-21  Leo Liu  <sdl.web@gmail.com>
 +
 +      * sequences.texi (Sequence Functions): Update nreverse.
 +
 +2014-05-19  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Allow any non-nil value to count as true in bool-vector.
 +      * sequences.texi (Bool-Vectors): Coalesce discussion of how to
 +      print them.  bool-vector's args need not be t or nil.
 +
 +2014-05-19  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * sequences.texi (Bool-vectors): Mention bool-vector.
 +
 +2014-05-17  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Assume C99 or later (Bug#17487).
 +      * internals.texi (C Dialect): Document this.
 +
 +2014-05-15  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * lists.texi (Building Cons Cells and Lists): Remove
 +      description of `reverse' and `'nreverse' to generalize them...
 +      * sequences.texi (Sequences): ...for sequences here.
 +
 +2014-05-14  Glenn Morris  <rgm@gnu.org>
 +
 +      * files.texi (Changing Files): Mention with-file-modes.
 +
 +2014-05-08  Paul Eggert  <eggert@cs.ucla.edu>
  
        * internals.texi (C Dialect): New section.
        (C Integer Types): Mention bool_bf.
  
 -2014-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * processes.texi (Filter Functions, Sentinels): Advertise add-function.
  
 -2014-04-24  Eli Zaretskii  <eliz@gnu.org>
 +2014-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * windows.texi (Window Configurations, Window Configurations):
 +      Window configs don't store marks any more.
 +
 +2014-04-25  Eli Zaretskii  <eliz@gnu.org>
  
        * strings.texi (Text Comparison): Mention equal-including-properties
        for when text properties of the strings matter for comparison.
  
 -2014-04-21  Eli Zaretskii  <eliz@gnu.org>
 +2014-04-22  Eli Zaretskii  <eliz@gnu.org>
  
        * text.texi (Registers): Document register-read-with-preview.
  
        * internals.texi (Building Emacs): Improve indexing.
  
 -2014-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-04-17  Daniel Colascione  <dancol@dancol.org>
  
 -      * display.texi (Overlay Properties): Reword the doc of `priority'.
 -      (Finding Overlays): Document new arg of `overlays-at'.
 +      * frames.texi (Terminal Parameters): Document new
 +      tty-mode-set-strings and tty-mode-reset-strings terminal
 +      parameters.
  
 -2014-04-05  Glenn Morris  <rgm@gnu.org>
 +2014-04-17  Paul Eggert  <eggert@cs.ucla.edu>
  
 -      * os.texi (Recording Input): Dribble files may contain passwords.
 +      * Makefile.in (infoclean): Be consistent about reporting failures.
 +
 +2014-04-09  Daniel Colascione  <dancol@dancol.org>
 +
 +      * errors.texi (Standard Errors): Document required error
 +      parameters for `scan-error'.
 +
 +      * positions.texi (List Motion): Explain new `up-list' arguments.
 +      Mention `backward-up-list'.
  
 -2014-04-04  Glenn Morris  <rgm@gnu.org>
 +2014-04-08  Daniel Colascione  <dancol@dancol.org>
 +
 +      * minibuf.texi (Programmed Completion): Improve phrasing, remove
 +      incorrect bullet count.
 +
 +2014-04-07  Glenn Morris  <rgm@gnu.org>
 +
 +      * os.texi (Recording Input): Dribble files may contain passwords.
  
        * backups.texi (Making Backups, Reverting):
        Update for default values of some -function vars no longer being nil.
        (Reverting): Update for buffer-stale-function
        also applying to file-buffers.
  
 -2014-03-25  Eli Zaretskii  <eliz@gnu.org>
 +2014-03-31  Daniel Colascione  <dancol@dancol.org>
 +
 +      * minibuf.texi (Completion in Buffers): Discuss using lazy
 +      completion tables for inline completion.
 +
 +2014-03-28  Glenn Morris  <rgm@gnu.org>
 +
 +      * os.texi (Terminal-Specific): Mention term-file-aliases.
 +
 +2014-03-26  Eli Zaretskii  <eliz@gnu.org>
  
        * files.texi (Kinds of Files): Improve documentation of
        file-symlink-p.  (Bug#17073)  Add cross-references.
  
 -2014-03-24  Barry O'Reilly  <gundaetiapo@gmail.com>
 +2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
  
        * markers.texi (Moving Marker Positions): The 2014-03-02 doc
        change mentioning undo's inability to handle relocated markers no
        * text.texi (Undo): Expand documentation of (TEXT . POS) and
        (MARKER . ADJUSTMENT) undo elements.
  
 +2014-03-26  Glenn Morris  <rgm@gnu.org>
 +
 +      * files.texi (File Locks): All systems support locking.
 +
  2014-03-22  Glenn Morris  <rgm@gnu.org>
  
 +      * commands.texi (Defining Commands):
 +      Mention that interactive-only also affects describe-function.
 +
 +      * functions.texi (Declare Form): Add interactive-only.
 +      * commands.texi (Defining Commands) Mention declare.
 +
        * commands.texi (Defining Commands): List interactive-only values.
  
  2014-03-22  Eli Zaretskii  <eliz@gnu.org>
        * functions.texi (Core Advising Primitives): Fix cross-reference
        in last change.
  
 -2014-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * functions.texi (Advising Functions): Explain a bit more how
        arguments work.
diff --combined doc/misc/ChangeLog
index 6726007c6d8c798c149f854b7b20eaee62f0e961,84dea26ca323663abad31600a7ace74e47fabf00..44c2272a63d22178979b886871753b9862b2562c
@@@ -1,88 -1,39 +1,94 @@@
 -2014-07-04  Stephen Berman  <stephen.berman@gmx.net>
++2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
+       * todo-mode.texi (Levels of Organization): Comment out statement
+       that Emacs recognizes todo files by their extension, since this
+       feature has been removed due to bug#17482.
 -2014-06-29  Glenn Morris  <rgm@gnu.org>
 +2014-07-03  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * trampver.texi: Update release number.
 +
 +2014-07-03  Glenn Morris  <rgm@gnu.org>
  
        * info.texi, mh-e.texi: "Online help" doesn't mean what it
        used to any more.
  
        * idlwave.texi (Introduction): Comment out dead http screenshot links.
  
 -2014-06-23  Leo Liu  <sdl.web@gmail.com>
 +2014-06-24  Leo Liu  <sdl.web@gmail.com>
 +
 +      * dired-x.texi (Omitting Files in Dired, Omitting Variables):
 +      Fix key binding to dired-omit-mode.  (Bug#16354)
 +
 +2014-06-24  Eli Zaretskii  <eliz@gnu.org>
  
 -      * dired-x.texi (Omitting Files in Dired, Omitting Variables): Fix
 -      key binding to dired-omit-mode.  (Bug#16354)
 +      * autotype.texi (Skeleton Language): Document the \n feature better.
  
 -2014-06-22  Eli Zaretskii  <eliz@gnu.org>
 +2014-06-23  Glenn Morris  <rgm@gnu.org>
  
 -      * autotype.texi (Skeleton Language): Document the \n feature
 -      better.
 +      * Makefile.in (%.texi): Disable implicit rules.
 +
 +2014-06-22  Mario Lang  <mlang@delysid.org>
 +
 +      * srecode.texi (Base Arguments): The the -> to the.
 +
 +      * org.texi (Images in ODT export): The the -> the.
  
  2014-06-21  Eli Zaretskii  <eliz@gnu.org>
  
        * autotype.texi (Skeleton Language): Document the feature of \n
        when at eol.
  
 -2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
 +2014-06-21  Michael Albinus  <michael.albinus@gmx.de>
  
        * dbus.texi (Type Conversion): Formatting edits in example.
  
 -2014-06-10  Glenn Morris  <rgm@gnu.org>
 +2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      Sync with Tramp 2.2.10.
 +
 +      * tramp.texi (Inline methods): Remove restriction on "telnet".
 +      Recommend sharing ssh connections for "plink".
 +      (External methods): Remove "sftp".  Merge "pscp" and "psftp"
 +      descriptions.  Recommend sharing ssh connections.  Add "nc" method.
 +      (GVFS based methods): Add "sftp".
 +      (Customizing Completion, External packages, Issues):
 +      Use @dots{}.
 +
 +      * trampver.texi: Update release number.
 +
 +2014-06-15  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (bootstrap-clean): New.
 +
 +2014-06-12  Vincent Belaïche  <vincentb1@users.sourceforge.net>
 +
 +      * ses.texi: Adding documentation for SES local printer functions.
 +
 +2014-06-12  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in: Use GNU Make features to reduce duplication.
 +      (mkinfodir): Remove.
 +      (${buildinfodir}): Generate using an order-only prerequisite.
 +      (.dvi.ps): Replace with pattern rule.
 +      ($INFO_TARGETS): Mark as PHONY.
 +      (${buildinfodir}): New rule.
 +      (EXTRA_OPTS, need_emacsver, need_emacsver_prefix): New variables.
 +      (${buildinfodir}/%.info, %.dvi, %.pdf, %.html, %.ps):
 +      New pattern rules, replacing numerous previous explicit rules.
 +      (info_template): New definition.
 +      (gnus.dvi, gnus.pdf): Use distinct intermediate files.
 +      (mostlyclean): Adjust for above gnus change.
 +
 +2014-06-11  Glenn Morris  <rgm@gnu.org>
  
        * Makefile.in (INFO_INSTALL): Update for 2013-08-28 DOCMISC_W32 change.
  
 +2014-06-10  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (INFO_EXT): Remove and replace by ".info" throughout.
 +      (INFO_OPTS): Set directly rather than with configure.
 +
  2014-06-08  Karl Berry  <karl@gnu.org>
  
        * doc/info.texi (Help-^L): "mode line", "screenful",
        * todo-mode.texi (Moving and Deleting Items):
        * woman.texi (Navigation): Markup fixes re SPC, RET.
  
 -2014-05-24  Paul Eggert  <eggert@cs.ucla.edu>
 +2014-06-02  Glenn Morris  <rgm@gnu.org>
 +
 +      * efaq.texi (Finding a package with particular functionality):
 +      Update example.
 +      * vip.texi: Mention this is obsolete.
 +
 +2014-05-27  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * texinfo.tex: Update from gnulib.
 +
 +2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
  
        Specify coding if Latin-1 Emacs would misinterpret (Bug#17575).
        * htmlfontify.texi, org.texi: Add "coding: utf-8".
  
 -2014-05-23  Stephen Berman  <stephen.berman@gmx.net>
 +2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
  
        * todo-mode.texi: Update in light of changes due to bug#17482.
        Replace numerous mistaken uses of literal quotes with proper
        (Todo Mode Entry Points): Comment out reference to using find-file
        or Dired to visit Todo files, since this has been disabled (bug#17482).
  
 -2014-05-06  Michael Albinus  <michael.albinus@gmx.de>
 +2014-05-20  Leo Liu  <sdl.web@gmail.com>
 +
 +      * cl.texi (List Functions, Efficiency Concerns): Update cl-endp.
 +
 +2014-05-13  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * texinfo.tex: Update from gnulib.
 +
 +2014-05-08  Michael Albinus  <michael.albinus@gmx.de>
  
        * tramp.texi (Frequently Asked Questions): Mention HISTFILE
        setting in ~/.ssh/environment.
  
 -2014-05-02  Stephen Berman  <stephen.berman@gmx.net>
 +2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
  
        * todo-mode.texi: Update, improve exposition, add cross
        references, fix typos.
        (Inserting New Items, Editing Item Headers and Text): Rewrite to
        document new user interface.
  
 -2014-05-01  Glenn Morris  <rgm@gnu.org>
 +2014-05-04  Glenn Morris  <rgm@gnu.org>
  
        * autotype.texi (Skeleton Language):
        * message.texi (Header Commands): Replace `iff'.
  
 +2014-05-02  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * vhdl-mode.texi: Add "@documentencoding UTF-8",
 +      since this is a toplevel .texi file.
 +
  2014-04-22  Bastien Guerry  <bzg@gnu.org>
  
        * org.texi (Installation): Be more clear on why installing Org
        * org.texi (Top, Exporting): Org has its own documentation and
        should therefore be removed from "Other build-in back-ends".
  
 +2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * cl.texi (Structures): Remove cl-struct-set-slot-value.
 +
 +2014-04-20  Daniel Colascione  <dancol@dancol.org>
 +
 +      * cl.texi (Declarations): Document changes to `cl-the' and defstruct functions.
 +
 +2014-04-17  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * Makefile.in (infoclean): Be consistent about reporting failures.
 +
 +2014-03-27  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (INFO_COMMON): Add vhdl-mode.
 +      (vhdl_mode_deps, vhdl-mode, $(buildinfodir)/vhdl-mode$(INFO_EXT))
 +      (vhdl-mode.dvi, vhdl-mode.pdf, vhdl-mode.html): New rules/variables.
 +
 +      * vhdl-mode.texi: General clean-up.  Set copyright to FSF, add license.
 +      Remove hand-written node pointers.  Remove info re old Emacs versions.
 +      Markup fixes.
 +      (Getting Connected): Remove irrelevant info.
 +      (Indentation Commands, Requirements): Remove empty/irrelevant nodes.
 +      (Frequently Asked Questions): Electric indent is now enabled.
 +
 +2014-03-27  Reto Zimmermann  <reto@gnu.org>
 +          Rod Whitby  <software.vhdl-mode@rwhitby.net>
 +
 +      * vhdl-mode.texi: New file, imported from upstream vhdl-mode.
 +
  2014-03-26  Paul Eggert  <eggert@cs.ucla.edu>
  
        * texinfo.tex: Update from gnulib.
  
 -2014-03-24  Michael Albinus  <michael.albinus@gmx.de>
 +2014-03-26  Michael Albinus  <michael.albinus@gmx.de>
  
        * tramp.texi (Frequently Asked Questions): Add fish shell settings.
  
 +2014-03-23  Katsumi Yamaoka  <yamaoka@jpl.org>
 +
 +      * gnus.texi (Ma Gnus): Mention header attachment buttons.
 +
 +2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
 +
 +      * emacs-mime.texi (MML Definition): Document recipient-filename.
 +
 +2014-03-23  Katsumi Yamaoka  <yamaoka@jpl.org>
 +
 +      * gnus.texi (MIME Commands): Mention
 +      gnus-mime-buttonize-attachments-in-header and
 +      gnus-mime-display-attachment-buttons-in-header.
 +
 +2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
 +
 +      * message.texi (Forwarding): Mention
 +      `message-forward-included-headers'.
 +
 +2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
 +
 +      * gnus.texi: w3 is no longer supported by Gnus.
 +
 +2014-03-22  Glenn Morris  <rgm@gnu.org>
 +
 +      * efaq.texi (Informational files for Emacs): Do not mention etc/GNU.
 +
  2014-03-21  Glenn Morris  <rgm@gnu.org>
  
        * ede.texi (ede-linux):
diff --combined doc/misc/todo-mode.texi
index 2b119f516f2e7f3fbc8a30b7af81333e2e7158a9,092137268f7eb553c2b68f7f557311c3d24aa15e..bb2aea21ac257d687c7e86177d19e9b4f85ea6ff
@@@ -1,6 -1,6 +1,6 @@@
  \input texinfo.tex   @c -*-texinfo-*-
  @c %**start of header
 -@setfilename ../../info/todo-mode
 +@setfilename ../../info/todo-mode.info
  @settitle Todo Mode User Manual
  @syncodeindex fn cp
  @syncodeindex vr cp
@@@ -158,11 -158,10 +158,10 @@@ you want
  All todo files reside in a single directory, whose location is specified
  by the user option @code{todo-directory}.  This directory may also
  contain other types of Todo files, which are discussed later
- (@pxref{Todo Archive Mode} and @ref{Todo Filtered Items Mode}).  Emacs
- recognizes Todo files by their extension, so when you visit the files
- the buffer is in the appropriate mode and the current category is
- correctly displayed.
 -(@pxref{Todo Archive Mode} and @ref{Todo Filtered Items Mode}).  
++(@pxref{Todo Archive Mode} and @ref{Todo Filtered Items Mode}).
+ @c Emacs recognizes Todo files by their extension, so when you visit
+ @c the files the buffer is in the appropriate mode and the current
+ @c category is correctly displayed.
  When you use a Todo mode command to create a todo file, the extension
  @samp{.todo} is automatically added to the base name you choose (as a
  rule, this name is also used for the other types of Todo files, which
diff --combined etc/NEWS
index 58cefb3a0d40fb43d21d3dd0edaf134a33ab8ebf,2f3a3d0e38e3f5bbe9b39b9ae875d56e3a3d77a0..aef2451e27b157b604a59e24c78909bf3ac98517
+++ b/etc/NEWS
@@@ -14,201 -14,6 +14,201 @@@ and NEWS.1-17 for changes in older Emac
  You can narrow news to a specific version by calling `view-emacs-news'
  with a prefix argument or by typing C-u C-h C-n.
  
 +Temporary note:
 ++++ indicates that all necessary documentation updates are complete.
 +    (This means all relevant manuals in doc/ AND lisp doc-strings.)
 +--- means no change in the manuals is needed.
 +When you add a new item, use the appropriate mark if you are sure it applies,
 +otherwise leave it unmarked.
 +
 +\f
 +* Installation Changes in Emacs 24.5
 +
 ++++
 +** Building Emacs now requires C99 or later.
 +
 +** Building Emacs now requires GNU make, version 3.81 or later.
 +
 +** By default, Emacs no longer works on IRIX.  We expect that Emacs
 +users are not affected by this, as SGI stopped supporting IRIX in
 +December 2013.  If you are affected, please send a bug report.  You
 +should be able to work around the problem either by porting the Emacs
 +undumping code to GCC under IRIX, or by configuring --with-wide-int,
 +or by sticking with Emacs 24.4.
 +
 +---
 +** The configure option `--with-pkg-config-prog' has been removed.
 +Use './configure PKG_CONFIG=/full/name/of/pkg-config' if you need to.
 +
 +\f
 +* Startup Changes in Emacs 24.5
 +
 +\f
 +* Changes in Emacs 24.5
 +
 +** New var `truncate-string-ellipsis' to choose how to indicate truncation.
 +
 +---
 +** The default value of `history-length' has increased to 100.
 +
 ++++
 +** The new variable `term-file-aliases' replaces some files from lisp/term.
 +The function `tty-run-terminal-initialization' consults this variable
 +when deciding what terminal-specific initialization code to run.
 +
 +---
 +** New variable `system-configuration-features', listing some of the
 +main features that Emacs was compiled with.  This is mainly intended
 +for use in Emacs bug reports.
 +
 +\f
 +* Editing Changes in Emacs 24.5
 +
 +** Emacs now supports "bracketed paste mode" when running on a terminal
 +that supports it.  This facility allows Emacs to understand pasted
 +chunks of text as strings to be inserted, instead of interpreting each
 +character in the pasted text as actual user input.  This results in a
 +paste experience similar to that under a window system, and significant
 +performance improvements when pasting large amounts of text.
 +
 +\f
 +* Changes in Specialized Modes and Packages in Emacs 24.5
 +
 +** Lisp mode
 +*** Strings after `:documentation' are highlighted as docstrings.
 +
 +** Rectangle editing
 +*** Rectangle Mark mode can have corners past EOL or in the middle of a TAB.
 +*** C-x C-x in rectangle-mark-mode now cycles through the four corners.
 +*** `string-rectangle' provides on-the-fly preview of the result.
 +
 +** New font-lock functions font-lock-ensure and font-lock-flush, which
 +should be used instead of font-lock-fontify-buffer when called from Elisp.
 +
 +** Calendar and diary
 +
 ++++
 +*** New commands to insert diary entries with Chinese dates:
 +`diary-chinese-insert-anniversary-entry' `diary-chinese-insert-entry'
 +`diary-chinese-insert-monthly-entry', `diary-chinese-insert-yearly-entry'.
 +
 ++++
 +*** Calendar can list and mark diary entries with Chinese dates.
 +See `diary-chinese-list-entries' and `diary-chinese-mark-entries'.
 +
 +** New ERT function `ert-summarize-tests-batch-and-exit'.
 +
 +---
 +** The Rmail commands d, C-d and u now handle repeat counts to delete or
 +undelete multiple messages.
 +
 +** SES now supports local printer functions; see `ses-define-local-printer'.
 +
 +** In sh-mode, you can now use `sh-shell' as a file-local variable to
 +specify the type of shell in use (bash, csh, etc).
 +
 +** The URL package accepts now the protocols "ssh", "scp" and "rsync".
 +When `url-handler-mode' is enabled, file operations for these
 +protocols as well as for "telnet" and "ftp" are passed to Tramp.
 +
 +** Tramp
 +
 +*** New connection method "nc", which allows to access dumb busyboxes.
 +
 +** VC and related modes
 +
 +*** New option `vc-annotate-background-mode' controls whether
 +the color range from `vc-annotate-color-map' is applied to the
 +background or to the foreground.
 +
 +** Calculator: decimal display mode uses "," groups, so it's more
 +fitting for use in money calculations; factorial works with
 +non-integer inputs.
 +
 +** HideIfDef mode now support full C/C++ expressions, argumented macro expansions
 +, interactive macro evaluation and automatic scanning of #defined symbols.
 +
 +*** New custom variable `hide-ifdef-header-regexp' to define C/C++ header file
 +name patterns. Default case-insensitive .h, .hh, .hpp and .hxx.
 +*** New custom variable `hide-ifdef-expand-reinclusion-protection' to prevent
 +reinclusion protected header files from being fully hidden.
 +*** New custom variable `hide-ifdef-exclude-define-regexp' to define symbol
 +name patterns (e.x. all "FOR_DOXYGEN_ONLY_*") to be excluded.
 +
 +** Obsolete packages
 +
 +---
 +*** gulp.el
 +
 +---
 +*** crisp.el, tpu-edt.el, ws-mode.el
 +These emulations of old editors are believed to be no longer relevant
 + - contact emacs-devel@gnu.org if you disagree.
 +
 +---
 +*** vi.el, vip.el (try M-x viper instead)
 +
 +\f
 +* New Modes and Packages in Emacs 24.5
 +
 +\f
 +* Incompatible Lisp Changes in Emacs 24.5
 +
 +** window-configurations no longer record the buffers's marks.
 +
 +** inhibit-modification-hooks now also inhibits lock-file checks, as well as
 +active region handling.
 +
 +** deactivate-mark is now buffer-local.
 +
 +** `cl-the' now asserts that its argument is of the given type.
 +
 ++++
 +** Mouse click events on mode line or header line no longer include
 +any reference to a buffer position.  The 6th member of the mouse
 +position list returned for such events is now nil.
 +
 +
 +\f
 +* Lisp Changes in Emacs 24.5
 +
 +** New function `funcall-interactively', which works like `funcall'
 +but makes `called-interactively-p' treat the function as (you guessed it)
 +called interactively.
 +
 +** New function `function-put' to use instead of `put' for function properties.
 +
 ++++
 +** New properties that can be specified with `declare':
 +*** (interactive-only INSTEAD), says to use INSTEAD for non-interactive use.
 +*** (pure VAL), if VAL is non-nil, indicates the function is pure.
 +*** (side-effect-free VAL), if VAL is non-nil, indicates the function does not
 +have side effects.
 +
 ++++
 +** New macro `with-file-modes', for evaluating expressions with default file
 +permissions set to temporary values (e.g., for creating private files).
 +
 +** You can access the slots of structures using `cl-struct-slot-value'.
 +
 +** Functions `rmail-delete-forward' and `rmail-delete-backward' take an
 +optional repeat-count argument.
 +
 +---
 +** New utilities in subr-x.el:
 +*** New macros `if-let' and `when-let' allow defining bindings and to
 +    execute code depending whether all values are true.
 +*** New macros `thread-first' and `thread-last' allow threading a form
 +    as the first or last argument of subsequent forms.
 +
 +\f
 +* Changes in Emacs 24.5 on Non-Free Operating Systems
 +
 +---
 +** Building Emacs for MS-Windows requires at least Windows XP
 +or Windows Server 2003.  The built binaries still run on all versions
 +of Windows starting with Windows 9X.
 +
  \f
  * Installation Changes in Emacs 24.4
  
@@@ -1166,11 -971,11 +1166,11 @@@ The new optional CHECK-TIMERS paramete
  Some languages match those as »...«, and others as «...», so it is
  better for Emacs to stay neutral by default.
  
- ** `read-event' does not return decoded chars in ttys any more.
- As was the case in Emacs 22 and before, the decoding of terminal
- input, according to `keyboard-coding-system', is not performed in
`read-event' any more.  But unlike in Emacs 22, this decoding is still
done before `input-decode-map', `function-key-map', etc.
+ ** `read-event' does not always decode chars in ttys any more.  As was the case
+ in Emacs 22 and before, `read-event' (and `read-char') by default read raw
+ bytes from the terminal.  If you want to read decoded chars instead (as was
always the case in Emacs-23, for example), pass a non-nil
`inherit-input-method' argument.
  
  ** In `symbol-function', nil and "unbound" are indistinguishable.
  `symbol-function' does not signal a `void-function' error any more.
@@@ -1519,10 -1324,13 +1519,13 @@@ edited in another Emacs session or by a
  "Interlocking" in the Emacs User Manual for the details.  To disable
  file locking, customize `create-lockfiles' to nil.
  
- ** The "generate a backtrace on fatal error" feature now works on MS Windows.
+ ** The "generate a backtrace on fatal error" feature now works on MS-Windows.
  The backtrace is written to the 'emacs_backtrace.txt' file in the
  directory where Emacs was running.
  
+ ** The `network-interface-list' and `network-interface-info' functions
+ are now available on MS-Windows.
  ** The variable `buffer-file-type' is no longer supported.
  Setting it has no effect, and %t in the mode-line format is ignored.
  Likewise, `file-name-buffer-file-type-alist' is now obsolete, and
diff --combined etc/TODO
index 4c7955c979762bfb4d62328495cbacc61a7d96c2,192136b0c297e42bf65f091f530b2b031af6e955..7aaed3000916f2d270c761f0953e9cdbed966a52
+++ b/etc/TODO
@@@ -167,14 -167,6 +167,6 @@@ http://lists.gnu.org/archive/html/emacs
  ** Find a proper fix for rcirc multiline nick adding.
  http://lists.gnu.org/archive/html/emacs-devel/2007-04/msg00684.html
  
- ** Implement `network-interface-list' and `network-interface-info'
- on MS-Windows.  Hint: the information is present in the Registry,
- under the keys
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Linkage\
- and
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<device>\
- where <device> is the network device found under the first key.
  ** Check for any included packages that define obsolete bug-reporting commands.
  Change them to use report-emacs-bug.
  *** Related functions:
@@@ -232,8 -224,15 +224,15 @@@ Perspectives also need to interact wit
  ** FFI (foreign function interface)
  See eg http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00246.html
  
+ One way of doing this is to start with fx's dynamic loading, and use it
+ to implement things like auto-loaded buffer parsers and database
+ access in cases which need more than Lisp.
  ** Replace unexec with a more portable form of dumping
  See eg http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01034.html
+        http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00452.html
+ One way is to provide portable undumping using mmap (per gerd design).
  
  ** Imenu could be extended into a file-structure browsing mechanism
  using code like that of customize-groups.
@@@ -260,13 -259,15 +259,15 @@@ scroll bars are extensible
    by http://savannah.nongnu.org/projects/emacs-rtf/, which is still in
    very early stages.
  
+   Another place to look is the Wikipedia article at
+   http://en.wikipedia.org/wiki/Rich_Text_Format
+   It currently points to the latest spec of RTF v1.9.1 at
+   http://www.microsoft.com/en-us/download/details.aspx?id=10725
  ** Implement primitive and higher-level functions to allow filling
    properly with variable-pitch faces.
  
- ** Implement a smoother vertical scroll facility, one that allows
-   C-v to scroll through a tall image.  The primitive operations
-   posn-at-point and posn-at-x-y should now make it doable in elisp.
  ** Implement intelligent search/replace, going beyond query-replace
    (see http://groups.csail.mit.edu/uid/projects/clustering/chi04.pdf).
  
@@@ -301,22 -302,14 +302,20 @@@ specified filters, specified timers, an
    Maybe making Lucid menus work like Gtk's (i.e. just force utf-8) is good
    enough now that Emacs can encode most chars into utf-8.
  
- ** Remove the limitation that window and frame widths and heights can
-   be only full columns/lines.
  ** The GNUstep port needs some serious attention, ideally from someone
  familiar with GNUstep and Objective C.
  
  * Other features we would like:
  
 +** A more modern printing interface.  One that pops up a dialog that lets
 +you choose printer, page style, etc.
 +Integration with the Gtk print dialog is apparently difficult.  See eg:
 +http://lists.gnu.org/archive/html/emacs-devel/2009-03/msg00501.html
 +http://lists.gnu.org/archive/html/emacs-devel/2009-04/msg00034.html
 +
  ** Allow frames(terminals) created by emacsclient to inherit their environment
  from the emacsclient process.
  ** Remove the default toggling behavior of minor modes when called from elisp
  rather than interactively.  This a trivial one-liner in easy-mode.el.
  
    user-selected input method, with the default being the union of
    latin-1-prefix and latin-1-postfix.
  
- ** Switch the Windows port to using Unicode keyboard input (maybe).
-   Based on http://msdn2.microsoft.com/en-us/library/ms633586.aspx,
-   this boils down to (1) calling RegisterClassW function to register
-   Emacs windows, and (2) modifying ALL system messages to use Unicode.
-   In particular, WM_CHAR messages, which result from keyboard input,
-   will then come in encoded in UTF-16.
-   One advantage of switching to Unicode is to toss encoded-kbd usage,
-   which will solve the problem with binding non-ASCII keys with modifiers.
-   Problem: using this on Windows 9x/ME requires installing the
-   Microsoft Layer for Unicode (MSLU), which might not implement all
-   the required functionality that is available built-in on Windows XP
-   and later.  We should not make this change if it would pressure
-   users of unauthorized copies of older versions of Windows to
-   downgrade to versions that require activation.
  ** Implement a clean way to use different major modes for
    different parts of a buffer.  This could be useful in editing
    Bison input files, for instance, or other kinds of text
  
  ** Save undo information in special temporary files, and reload it
    when needed for undoing.  This could extend undo capacity.
 +  undo-tree, in ELPA, already does this; its saving code could be
 +  integrated without requiring the use of undo-tree.
  
  ** Change the Windows NT menu code
    so that it handles the deep_p argument and avoids
    multiple inheritance ?  faster where-is ?  no more fix_submap_inheritance ?
    what else ?
  
- ** Provide real menus on ttys.  The MS-DOS implementation can serve as
-   an example how to do part of this; see the XMenu* functions on msdos.c.
  ** Implement popular parts of the rest of the CL functions as compiler
    macros in cl-macs.  [Is this still relevant now that cl-lib exists?]
  
    tree displays generally, mode-line mail indicator.  [See work done
    already for Emacs 23 and consult fx.]
  
- ** Do something to make rms happy with fx's dynamic loading, and use it
-   to implement things like auto-loaded buffer parsers and database
-   access in cases which need more than Lisp.
  ** Extend ps-print to deal with multiple font sizes, images, and extra
    encodings.
  
- ** Provide portable undumping using mmap (per gerd design).
  ** Make byte-compile avoid binding an expanded defsubst's args
    when the body only calls primitives.
  
@@@ -735,7 -700,7 +708,7 @@@ preferring the ImageMagick loader?  Th
  Try (setq image-type-header-regexps nil) for a quick hack to prefer
  ImageMagick over the jpg loader.
  
- *** For some reason its unbearably slow to look at a page in a large
+ *** For some reason it's unbearably slow to look at a page in a large
  image bundle using the :index feature.  The ImageMagick "display"
  command is also a bit slow, but nowhere near as slow as the Emacs
  code.  It seems ImageMagick tries to unpack every page when loading the
diff --combined lisp/ChangeLog
index 0158ce91aeafef39d359eef68562f13cd9e73e8b,0333e366bebfe276c43ede1a1f5dacee6d0c6c2b..f50993e2131d8f477298a5fd9c4d3c3b64e83519
 -2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
++2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
+       the middle of a line (bug#17896).
 -2014-07-08  Juri Linkov  <juri@jurta.org>
++2014-07-09  Juri Linkov  <juri@jurta.org>
+       * startup.el (command-line): Append displaying the warning about
+       the errors in the init file to the end of `after-init-hook'.
+       (Bug#17927)
 -2014-07-08  Juri Linkov  <juri@jurta.org>
 -
 -      * faces.el (face-name): Return input arg `face' as is
++      * faces.el (face-name): Return input arg `face' as-is
+       when it's not a symbol.
+       (x-resolve-font-name): Don't check if the face is a symbol.
+       (Bug#17956)
 -2014-07-08  Juri Linkov  <juri@jurta.org>
 -
+       * facemenu.el (list-colors-print): In help-echo format use %.2f
+       instead of %d because now HSV values are floating-point components
+       between 0.0 and 1.0.
 -2014-07-06  Glenn Morris  <rgm@gnu.org>
++2014-07-09  Glenn Morris  <rgm@gnu.org>
+       * emulation/cua-rect.el (cua--activate-rectangle):
+       Avoid setting cua--rectangle to nil.  (Bug#17877)
 -2014-07-06  Stephen Berman  <stephen.berman@gmx.net>
++2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
+       * calendar/todo-mode.el: Fix wrong-type-argument error when
+       marking multiple consecutive items.
+       (todo-toggle-mark-item): Don't try to mark the empty lines at the
+       end of the todo and done items sections.  Note in doc string that
+       items marked by passing a numeric prefix argument can include the
+       last todo and first done items.
+       (todo-mark-category): Don't try to mark the empty line between the
+       todo and done items sections.
 -2014-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
++2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
+       proper Lisp quoting (bug#17934).
+       * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
+       require-final-newline since prog-mode already took care of it (bug#17947).
 -2014-07-04  Stephen Berman  <stephen.berman@gmx.net>
++2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
+       * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
+       refer to the Todo mode Info manual.  Update the comment on
+       requiring cl-lib.
+       (todo-find-filtered-items-file): Add todo-prefix overlays.
+       (todo-filter-items): Reorder a let-bound variable to avoid a
+       wrong-type-argument error on canceling the file choice dialog.
 -2014-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
++2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * progmodes/octave.el (inferior-octave-mode):
+       Set comint-input-ring-size to a number (bug#17912).
 -2014-07-03  Juri Linkov  <juri@jurta.org>
++2014-07-09  Juri Linkov  <juri@jurta.org>
+       * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
+       and `isearch-mode' associated with nil.  (Bug#17849)
 -2014-07-02  Juri Linkov  <juri@jurta.org>
 +2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * linum.el (linum--face-height): New function (bug#17813).
 +      (linum-update-window): Use it to adjust margin to linum's width.
 +
 +      * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
 +      * eshell/em-smart.el (eshell-smart-scroll-window): Use
 +      with-selected-window.
 +
 +      * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
 +      Remove also pointless window&mark manipulation.
 +
 +      * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
 +      (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
 +      (perl-continuation-line-p): Don't skip over anything else than labels.
 +      Return the previous char.
 +      (perl-calculate-indent): Use syntax-ppss instead of parse-start
 +      and update callers accordingly.  For continuation lines, check the
 +      the case of array hashes.
 +      (perl-backward-to-noncomment): Make it non-interactive.
 +      (perl-backward-to-start-of-continued-exp): Rewrite.
 +
 +2014-07-08  Sam Steingold  <sds@gnu.org>
 +
 +      * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
 +      New user commands.
 +
 +2014-07-08  Juri Linkov  <juri@jurta.org>
 +
 +      * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
 +      (vc-annotate-color-map): Use less saturated colors (20%) for
 +      background-mode.
 +      (vc-annotate-very-old-color): Add default value for background-mode.
 +      (vc-annotate-background): Set default value to nil since now text on
 +      the default backgrounds should be legible in light and dark modes.
 +      (vc-annotate-lines): Use `vc-annotate-background-mode'.  Doc fix.
 +      (Bug#17808)
 +
 +2014-07-08  Juri Linkov  <juri@jurta.org>
 +
 +      * simple.el (transpose-chars): Don't move point into read-only area.
 +      (Bug#17829)
 +
 +2014-07-08  Juri Linkov  <juri@jurta.org>
 +
 +      * window.el (with-displayed-buffer-window): New macro.
 +      (with-temp-buffer-window, with-current-buffer-window):
 +      Use `macroexp-let2' to evaluate and bind variables
 +      in the same order as macro arguments.
 +      (display-buffer--action-function-custom-type):
 +      Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
 +
 +      * minibuffer.el (minibuffer-completion-help): Replace
 +      `with-output-to-temp-buffer' with `with-displayed-buffer-window'
 +      with actions that display *Completions* at-bottom when called
 +      from the minibuffer, or below-selected in a normal buffer.
 +      Associate `window-height' with `fit-window-to-buffer'.
 +      Let-bind `pop-up-windows' to nil.
 +
 +      * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
 +      instead of `with-current-buffer-window'.  (Bug#17809)
 +
 +2014-07-07  Luke Lee  <luke.yx.lee@gmail.com>
 +
 +      * progmodes/hideif.el (hide-ifdef-env): Change to global.
 +      (hide-ifdef-env-backup): New variable.
 +      (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
 +      New customizable variables.
 +      (hif-clear-all-ifdef-defined): New defun.
 +      (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
 +      (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
 +      (hif-tokenize): Fix for MS-DOS/Win EOL style.
 +      (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
 +      Fix bug to hide the correct #elif region(s).
 +      (hif-range-elif): New defun.
 +      (hif-recurse-level): New var.
 +      (hif-evaluate-region, hif-evaluate-macro): New defun.
 +      (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
 +      fully hidden.
 +      (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
 +      Better interaction.
 +
 +2014-07-04  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * net/dbus.el (dbus-peer-handler): New defun.
 +      (dbus-register-service): Register it.  (Bug#17858)
 +      (dbus-managed-objects-handler): Fix docstring.
 +
 +2014-07-04  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
 +
 +      * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
 +      (narrow-to-defun): New arg include-comments, defaulting to it
 +      (bug#16328).
 +
 +2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
 +      different calling convention to rectangle--unhighlight-for-redisplay.
 +
 +2014-07-03  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * net/tramp.el (tramp-call-process): Handle error strings.
 +
 +      * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
 +
 +      * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
 +      (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
 +
 +      * net/trampver.el: Update release number.
 +
 +2014-07-03  Juri Linkov  <juri@jurta.org>
  
        * desktop.el (desktop-save): Rename arg `auto-save' to
        `only-if-changed'.  Doc fix.  (Bug#17873)
  
 -2014-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * mouse.el (mouse-yank-primary, mouse-yank-secondary):
        Use insert-for-yank (bug#17271).
  
 -2014-07-02  Leo Liu  <sdl.web@gmail.com>
 +2014-07-03  Leo Liu  <sdl.web@gmail.com>
  
        * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
        Support lexical-binding.
  
 -2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * vc/log-edit.el (log-edit-goto-eoh): New function.
        (log-edit--match-first-line): Use it (bug#17861).
  
 -2014-07-01  Glenn Morris  <rgm@gnu.org>
 +2014-07-03  Glenn Morris  <rgm@gnu.org>
  
        * vc/log-edit.el (log-edit-hook): Add missing :version.
  
 -2014-07-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
 +2014-07-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
  
        * progmodes/python.el (python-indent-post-self-insert-function):
        Enhancements to electric indentation behavior inside
        parens. (Bug#17658)
  
 -2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
        buffer-invisibility-spec (bug#17867).
  
 -2014-06-29  Andreas Schwab  <schwab@linux-m68k.org>
 +2014-07-03  Andreas Schwab  <schwab@linux-m68k.org>
  
        * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
        pass "-a".
  
 -2014-06-29  Glenn Morris  <rgm@gnu.org>
 +2014-07-03  Glenn Morris  <rgm@gnu.org>
  
        * cus-edit.el (help):
        * finder.el (finder-known-keywords):
        * progmodes/idlwave.el (idlwave): Update url-link for custom group.
        (idlwave-mode): Doc URL update.
  
 -2014-06-27  Stephen Berman  <stephen.berman@gmx.net>
 +2014-07-01  Juri Linkov  <juri@jurta.org>
 +
 +      * man.el: Display man pages immediately and use process-filter
 +      to format them asynchronously.
 +      (Man-width): Doc fix.
 +      (man): Doc fix.
 +      (Man-start-calling): Use `with-selected-window' to get
 +      `frame-width' and `window-width'.
 +      (Man-getpage-in-background): Call `Man-notify-when-ready'
 +      immediately after creating a new buffer.  Call `Man-mode' and set
 +      `mode-line-process' in the created buffer.  Set process-filter to
 +      `Man-bgproc-filter' in start-process branch.  In call-process branch
 +      call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
 +      Use `Man-start-calling' inside `with-current-buffer'.
 +      (Man-fontify-manpage): Don't print messages.  Fix boundary condition.
 +      (Man-cleanup-manpage): Don't print messages.
 +      (Man-bgproc-filter): New function.
 +      (Man-bgproc-sentinel): Add `save-excursion' to keep point when
 +      user moved it during asynchronous formatting.  Move calls of
 +      `Man-fontify-manpage' and `Man-cleanup-manpage' to
 +      `Man-bgproc-filter'.  Move the call of `Man-mode' to
 +      `Man-getpage-in-background'.  Use `quit-restore-window'
 +      instead of `kill-buffer'.  Use `message' instead of `error'
 +      because errors are caught by process sentinel.
 +      (Man-mode): Move calls of `Man-build-page-list',
 +      `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
 +      `Man-bgproc-sentinel'.  Doc fix.  (Bug#2588, bug#5054, bug#9084, bug#17831)
 +
 +      * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
 +      for the message about the man page cleaned up.
 +
 +2014-07-01  Mario Lang  <mlang@delysid.org>
 +
 +      * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
 +      cosutomization option `gnutls-verify-error'.
 +
 +2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
 +      Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
 +
 +      * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
 +      (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
 +      is suspended (bug#17857).
 +
 +2014-07-01  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
 +      Prefer utf-8 coding.  (Bug#17859)
 +
 +2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
 +
 +      * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
 +      for `reverse'.
 +
 +2014-06-30  Glenn Morris  <rgm@gnu.org>
 +
 +      * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
 +      (autoload-ensure-default-file): Maybe make existing output writable.
 +      * Makefile.in (AUTOGEN_VCS): Remove.
 +      (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
 +
 +2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
 +
 +      * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
 +
 +2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
 +
 +      New if-let, when-let, thread-first and thread-last macros.
 +
 +      * emacs-lisp/subr-x.el
 +      (internal--listify, internal--check-binding)
 +      (internal--build-binding-value-form, internal--build-binding)
 +      (internal--build-bindings): New functions.
 +      (internal--thread-argument, thread-first, thread-last)
 +      (if-let, when-let): New macros.
 +
 +2014-06-30  Grégoire Jadi  <daimrod@gmail.com>
 +
 +      * net/rcirc.el (rcirc-buffer-process): Restore previous
 +      behaviour.  (Bug#17772)
 +
 +2014-06-29  Alan Mackenzie  <acm@muc.de>
 +
 +      Don't call c-parse-state when c++-template-syntax-table is active.
 +      * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
 +      (c-guess-basic-syntax CASE 5D.3): Rearrange so that
 +      c-syntactic-skip-backwards isn't called with the pertinent syntax table.
 +
 +2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
  
        * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
        account for file-wide setting of todo-top-priorities-overrides.
        Make code a bit cleaner.
  
 -2014-06-27  Leo Liu  <sdl.web@gmail.com>
 -
 -      * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
 -
 -2014-06-27  Glenn Morris  <rgm@gnu.org>
 +2014-06-28  Glenn Morris  <rgm@gnu.org>
  
        * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
  
 -2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
 +2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
  
        * calendar/todo-mode.el (todo-prefix-overlays): If there is no
        category-wide setting of todo-top-priorities-overrides, check for
        a file-wide setting and fontify accordingly.
  
 -2014-06-26  Glenn Morris  <rgm@gnu.org>
 +2014-06-28  Glenn Morris  <rgm@gnu.org>
  
        * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
  
 +2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * progmodes/hideif.el: Use lexical-binding.  Fix up cl-lib usage.
 +
 +2014-06-28  K. Handa  <handa@gnu.org>
 +
 +      Fix Bug#17739.
 +
 +      * composite.el: Setup composition-function-table for dotted circle.
 +      (compose-gstring-for-dotted-circle): New function.
 +
 +      * international/characters.el: Add category "^" to all
 +      non-spacing characters.
 +
 +2014-06-28  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (doit): Remove force rule.
 +      (custom-deps, finder-data, autoloads, update-subdirs)
 +      (compile-one-process): PHONY targets do not need force rules.
 +
 +      * Makefile.in (compile-main, compile, compile-always):
 +      No need to explicitly pass variables to ourself in recursive calls.
 +
 +2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
 +
 +2014-06-26  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (update-authors): Update for moved authors.el.
 +
 +2014-06-26  Leo Liu  <sdl.web@gmail.com>
 +
 +      * skeleton.el (skeleton-end-hook): Default to nil and move the
 +      work to skeleton-insert.  (Bug#17850)
 +
 +2014-06-26  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * calc/calc-alg.el (math-beforep):
 +      * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
 +      Simplify because string-lessp can accept symbols as args.
 +
  2014-06-26  Daiki Ueno  <ueno@gnu.org>
  
        * emacs-lisp/package.el (package--check-signature):
        If package-check-signature is allow-unsigned, don't signal error when
        we can't verify signature because of missing public key
 -      (backport for bug#17625).
 +      (bug#17625).
  
  2014-06-26  Glenn Morris  <rgm@gnu.org>
  
        * emacs-lisp/authors.el (authors-valid-file-names)
        (authors-renamed-files-alist): Additions.
  
 -2014-06-25  Leo Liu  <sdl.web@gmail.com>
 +2014-06-26  Leo Liu  <sdl.web@gmail.com>
  
        * textmodes/picture.el (picture-set-tab-stops):
        * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
  
        * indent.el (indent-accumulate-tab-stops): New function.
  
 -2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
        (package-desc-status): Obey it.
  
 -2014-06-25  Stephen Berman  <stephen.berman@gmx.net>
 +2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
  
        * calendar/todo-mode.el: Fix two bugs.
        (todo-insert-item--basic): If user cancels item insertion to
        (todo-set-item-priority): After selecting category, instead of
        moving point to top, which extends an active region, restore it.
  
 -2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * help-fns.el (describe-function-1): Check file-name is a string before
        calling help-fns--autoloaded-p (bug#17564).
  
 -2014-06-24  Juri Linkov  <juri@jurta.org>
 +2014-06-26  Juri Linkov  <juri@jurta.org>
  
        * desktop.el (desktop-auto-save-enable)
        (desktop-auto-save-disable): New functions.
        (desktop-read): Disable the autosave before loading the desktop,
        and enable afterwards.  (Bug#17351)
  
 -2014-06-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        Fix some indentation problem with \; and pipes (bug#17842).
        * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
        (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
        (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
  
 -2014-06-24  Eli Zaretskii  <eliz@gnu.org>
 +2014-06-26  Glenn Morris  <rgm@gnu.org>
  
 -      * international/fontset.el (script-representative-chars):
 -      Add representative characters for scripts added in Unicode 7.0.
 -      (otf-script-alist): Synchronize with the latest registry of OTF
 -      script tags.
 +      * emacs-lisp/find-func.el (find-function-C-source-directory):
 +      Use file-accessible-directory-p.
 +
 +      * ps-samp.el: Make it slightly less awful.
 +      (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
 +      (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
 +      Only set local values.
 +      (ps-article-subject, ps-article-author): Use standard functions
 +      like mail-fetch-field.
 +      (ps-info-file, ps-info-node): Use match-string.
 +      (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
 +      (ps-samp-ps-setup): ... new function.
 +
 +      * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
 +      Optimize away code unneeded on any modern Emacs.
 +
 +      * emacs-lisp/authors.el: Move to ../admin.
 +
 +      * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
 +
 +2014-06-26  Luke Lee  <luke.yx.lee@gmail.com>
 +
 +      * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
 +      (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
 +      performance enhancements.
 +      (hif-parse-if-exp): Rename to `hif-parse-exp'.  Enhance for macro
 +      expansion.
 +      (hif-factor, hif-string-concatenation, intern-safe): Support string
 +      concatenation and argumented macro expansion.
 +      (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
 +      (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
 +      (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
 +      (hif-canonicalize-tokens, hif-place-macro-invocation)
 +      (hif-parse-macro-arglist): Mostly new functions for supporting
 +      argumented macro expansion.
 +      (hif-string-concatenation, hif-stringify, hif-token-concat)
 +      (hif-token-stringification, hif-token-concatenation):
 +      Stringification and concatenation.
 +      (hif-find-next-relevant): Fix comments.
 +      (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
 +      some cases involving #elif.
 +      (hif-find-define, hif-add-new-defines): New functions for automatically
 +      scanning of defined symbols.
 +      (hide-ifdef-guts): Fix for defined symbol auto scanning.
 +      (hide-ifdef-undef): Fix behavior to match CPP.
 +
 +2014-06-25  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
 +      ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
 +      ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
 +      files.  They are not relevant to the original issue (bug#1004),
 +      and cause unnecessary recompilation (bug#2151).
  
 -      * international/characters.el (char-script-table): Update for
 -      scripts added and codepoint ranges changed in Unicode 7.0.
 +2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2014-06-23  Leo Liu  <sdl.web@gmail.com>
 +      * play/landmark.el: Use lexical-binding and avoid `intangible'.
 +      (landmark--last-pos): New var.
 +      (landmark--intangible-chars): New const.
 +      (landmark--intangible): New function.
 +      (landmark-mode, landmark-move): Use it.
 +      (landmark-mode): Remove properties.
 +      (landmark-plot-square, landmark-point-square, landmark-goto-xy)
 +      (landmark-cross-qtuple):
 +      Don't worry about `intangible' any more.
 +      (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
 +      (landmark-init-display): Don't set `intangible' and `point-entered'.
 +      (square): Remove.  Inline it instead.
 +      (landmark--distance): Rename from `distance'.
 +      (landmark-calc-distance-of-robot-from): Rename from
 +      calc-distance-of-robot-from.
 +      (landmark-calc-smell-internal): Rename from calc-smell-internal.
 +
 +2014-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * files.el (dir-locals-find-file, file-relative-name):
 +      * info.el (Info-complete-menu-item):
 +      * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
 +      to compare-strings to avoid out-of-range errors.
 +      * subr.el (string-prefix-p): Adjust to match strict range
 +      checking in compare-strings.
 +
 +2014-06-24  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
 +
 +      * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
 +      for comment lines non-greedy and stopping at newlines to fix stack
 +      overflows with large files.
 +
 +2014-06-24  Eli Barzilay  <eli@barzilay.org>
 +
 +      * calculator.el (calculator-last-input): Drop 'ascii-character property
 +      lookup.
 +
 +2014-06-24  Leo Liu  <sdl.web@gmail.com>
  
        * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
        tab-stop-list to nil.  (Bug#16381)
        (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
        (move-to-tab-stop): Change callers.
  
 -2014-06-22  Eli Zaretskii  <eliz@gnu.org>
 +2014-06-24  Eli Zaretskii  <eliz@gnu.org>
  
        * skeleton.el (skeleton-insert): Yet another fix of the doc string
        wrt behavior of \n as the first/last element of a skeleton.
  
 -2014-06-22  Michael Albinus  <michael.albinus@gmx.de>
 +2014-06-24  Michael Albinus  <michael.albinus@gmx.de>
  
        * net/tramp-adb.el (tramp-adb-handle-process-file):
        * net/tramp-sh.el (tramp-sh-handle-process-file):
        * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
        the output buffer when DISPLAY is non-nil.  (Bug#17815)
  
 -2014-06-21  Glenn Morris  <rgm@gnu.org>
 +2014-06-24  Glenn Morris  <rgm@gnu.org>
  
        * play/landmark.el (landmark-move-down, landmark-move-up):
        Fix 2007-10-20 change - preserve horizontal position.
  
 +2014-06-23  Sam Steingold  <sds@gnu.org>
 +
 +      * simple.el (kill-append): Remove undo boundary depending on ...
 +      (kill-append-merge-undo): New user option.
 +
 +2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * simple.el (handle-shift-selection, exchange-point-and-mark)
 +      (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
 +      (transient-mark-mode): Use&set the global value.
 +      * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
 +      * emulation/edt.el (edt-emulation-off): Save&restore the global
 +      transient-mark-mode setting.
 +      * obsolete/pc-select.el (pc-selection-mode): Use the
 +      transient-mark-mode function.
 +
 +2014-06-23  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * international/fontset.el (script-representative-chars):
 +      Add representative characters for scripts added in Unicode 7.0.
 +      (otf-script-alist): Synchronize with the latest registry of OTF
 +      script tags.
 +
 +      * international/characters.el (char-script-table): Update for
 +      scripts added and codepoint ranges changed in Unicode 7.0.
 +
 +2014-06-23  Eli Barzilay  <eli@barzilay.org>
 +
 +      * calculator.el (calculator-standard-displayer): Fix bug in use of
 +      `calculator-groupize-number'.
 +      (calculator-funcall): Fix broken `cl-flet' use by moving it into the
 +      `eval' code, so it works in v24.3.1 too.
 +      (calculator-last-input): Comment to clarify purpose.
 +
 +2014-06-22  Mario Lang  <mlang@delysid.org>
 +
 +      * textmodes/rst.el (rst-comment-region): From from -> from.
 +
 +      * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
 +
 +2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * electric.el (electric-layout-post-self-insert-function):
 +      * emacs-lisp/ert.el (ert--insert-infos):
 +      * obsolete/vi.el (vi-set-mark):
 +      * term.el (term-handle-scroll):
 +      * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
 +      * wid-edit.el (widget-editable-list-value-create):
 +      Prefer point-marker to copy-marker of point.
 +
  2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
  
        Fix completion retrieval parsing (bug#17209).
  
        * skeleton.el (skeleton-insert): Doc fix.
  
 -2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * emacs-lisp/smie.el (smie-config--guess): Fix typo.
        (smie-config-guess): Use smie-config-local so the rules are obeyed
        * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
        since it's already done inside the loop (bug#17819).
  
 -2014-06-20  Martin Rudalics  <rudalics@gmx.at>
 +2014-06-21  Martin Rudalics  <rudalics@gmx.at>
  
        * mouse.el (mouse-drag-line): Re-remove code initially removed
        on 2013-03-09 and inadvertently reintroduced on 2013-11-30
        (Bug#17819).
  
 -2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
        align with the surrounding parent (bug#17721).
  
 -2014-06-20  Eli Zaretskii  <eliz@gnu.org>
 +2014-06-21  Eli Zaretskii  <eliz@gnu.org>
  
        * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
        locally to nil.
        local setting of skeleton-end-newline by adding an explicit \n to
        the skeletons where appropriate.  (Bug#17801)
  
 -2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
        (smie-indent--hanging-p): Use it.
        * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
  
 -2014-06-20  Leo Liu  <sdl.web@gmail.com>
 +2014-06-21  Leo Liu  <sdl.web@gmail.com>
  
        * simple.el (read-quoted-char): Don't let help chars pop up help
        buffer.  (Bug#16617)
  
 -2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
        for | (bug#17621).
  
 -2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
 -      (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
 -      burping.
 +      * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
 +      Drop unknown events instead of burping.
  
 -2014-06-18  Eli Zaretskii  <eliz@gnu.org>
 +2014-06-21  Eli Zaretskii  <eliz@gnu.org>
  
        * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
        and later.  (Bug#17790)
  
 -2014-06-18  Juri Linkov  <juri@jurta.org>
 +2014-06-21  Juri Linkov  <juri@jurta.org>
  
        * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
        to `soft'.  (Bug#17554)
  
 -2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * delsel.el (electric-newline-and-maybe-indent): Mark it as well
        (bug#17737).
  
 -2014-06-16  Dmitry Gutov  <dgutov@yandex.ru>
 +2014-06-21  Dmitry Gutov  <dgutov@yandex.ru>
  
        * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
        `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
  
 -2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
 +2014-06-21  Michael Albinus  <michael.albinus@gmx.de>
  
        * net/dbus.el (dbus-call-method): Push only non D-Bus events into
        `unread-command-events'.
  
 -2014-06-14  Glenn Morris  <rgm@gnu.org>
 +2014-06-19  William Xu  <william.xwl@gmail.com>
 +
 +      * progmodes/hideif.el (hif-string-to-number): Don't return float for
 +      hex integer constants (bug#17807).
 +
 +2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * international/mule-util.el (truncate-string-ellipsis): New var.
 +      (truncate-string-to-width): Use it.
 +
 +2014-06-19  Robert Brown  <robert.brown@gmail.com>  (tiny change)
 +
 +      * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
 +      (lisp-string-in-doc-position-p): New function, extracted from
 +      lisp-font-lock-syntactic-face-function.
 +      (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
 +
 +2014-06-19  Grégoire Jadi  <daimrod@gmail.com>
 +
 +      * net/rcirc.el (rcirc-omit-mode): Fix recenter error.  (Bug#17769)
 +
 +2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
 +      (bubbles--game-over): Don't add `intangible' properties since they
 +      didn't work anyway.
 +
 +2014-06-18  Juri Linkov  <juri@jurta.org>
 +
 +      * vc/ediff-init.el (ediff-current-diff-Ancestor)
 +      (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
 +      (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
 +      (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
 +      Add `min-colors 88' version with removed black/white foregrounds.
 +      (Bug#10181)
 +
 +2014-06-18  Juri Linkov  <juri@jurta.org>
 +
 +      * vc/diff-mode.el (diff-changed): Empty face definition to use
 +      `diff-removed' and `diff-added' on tty as well.  (Bug#10181)
 +      (diff-context): Use darker color on light background and
 +      lighter color on dark background.
 +
 +2014-06-18  Juri Linkov  <juri@jurta.org>
 +
 +      * vc/diff-mode.el (diff-refine-changed): Rename from
 +      `diff-refine-change' for consistency with `diff-changed'.
 +      (diff-refine-change): Add obsolete face alias.  (Bug#10181)
 +
 +      * vc/smerge-mode.el (smerge-refined-changed): Rename from
 +      `smerge-refined-change'.
 +      (smerge-refined-change): Add obsolete face alias.
 +
 +2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * rect.el (rectangle-preview): New custom.
 +      (rectangle): New group.
 +      (rectangle--pos-cols): Add `window' argument.
 +      (rectangle--string-preview-state, rectangle--string-preview-window):
 +      New vars.
 +      (rectangle--string-flush-preview, rectangle--string-erase-preview)
 +      (rectangle--space-to, rectangle--string-preview): New functions.
 +      (string-rectangle): Use them.
 +      (rectangle--inhibit-region-highlight): New var.
 +      (rectangle--highlight-for-redisplay): Obey it.  Make sure
 +      `apply-on-region' uses the point-crutches of the right window.
 +      Use :align-to rather than multiple spaces.
 +
 +2014-06-16  Andrea Rossetti  <andrea.rossetti@gmail.com>  (tiny change)
 +
 +      * ruler-mode.el (ruler-mode-window-col)
 +      (ruler-mode-mouse-set-left-margin)
 +      (ruler-mode-mouse-set-right-margin): Fix calculation of column
 +      from mouse position (Bug#17768).
 +
 +2014-06-16  Ron Schnell  <ronnie@driver-aces.com>
 +
 +      * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
 +      without varname or rhs causes crash.
 +      (dun-ftp): Fix bug where blank ftp password is allowed, making it
 +      impossible to win endgame.
 +      (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
 +      rlogin is anymore.
 +      (dun-help): Bump version number; update contact info.
 +
 +2014-06-15  Eli Barzilay  <eli@barzilay.org>
 +
 +      * calculator.el (calculator-prompt, calculator-remove-zeros)
 +      (calculator-mode-hook, calculator-operators, calculator-stack)
 +      (calculator-mode): Tweak docstring.
 +      (calculator-user-operators): Tweak docstring, fix a bug in the last
 +      example.
 +      (calculator-displayer): `std' case has an optional boolean.
 +      (calculator-displayers): Use the new boolean to group in decimal mode.
 +      (calculator-mode-map, calculator, calculator-message)
 +      (calculator-op-arity, calculator-add-operators)
 +      (calculator-string-to-number, calculator-displayer-prev)
 +      (calculator-displayer-next, calculator-remove-zeros)
 +      (calculator-eng-display, calculator-number-to-string)
 +      (calculator-update-display, calculator-last-input)
 +      (calculator-clear-fragile, calculator-digit, calculator-decimal)
 +      (calculator-exp, calculator-saved-move, calculator-clear)
 +      (calculator-copy, calculator-put-value, calculator-help)
 +      (calculator-expt, calculator-truncate): Minor code improvements.
 +      (calculator-need-3-lines): New function pulling out code from
 +      `calculator'.
 +      (calculator-get-display): Rename from `calculator-get-prompt', and
 +      improved.
 +      (calculator-push-curnum): Rename from `calculator-curnum-value', and
 +      extended for all uses of it.  All callers changed.
 +      (calculator-groupize-number): New utility for splitting a number into
 +      groups.
 +      (calculator-standard-displayer): Improve code, new optional argument to
 +      use comma-split groups, make second argument optional too to use with
 +      'left/'right inputs.  All callers changed.
 +      (calculator-reduce-stack-once): New utility, doing the meat of what
 +      `calculator-reduce-stack' used to do, much improved (mostly using
 +      `pcase' for conciseness and clarity).
 +      (calculator-reduce-stack): Now doing just the reduction loop using
 +      `calculator-reduce-stack-once'.
 +      (calculator-funcall): Improve code, make it work in v24.3.1 too.
 +      (calculator-last-input): Improve code, remove some old cruft.
 +      (calculator-quit): Kill `calculator-buffer' in electric mode too.
 +      (calculator-integer-p): Remove.
 +      (calculator-fact): Improve code, make it work on non-integer values
 +      too (using truncated numbers).
 +
 +2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      Sync with Tramp 2.2.10.
 +
 +      * net/tramp.el (tramp-methods): Tweak docstring.
 +      (tramp-handle-file-accessible-directory-p): Check for
 +      `file-readable-p' instead of `file-executable-p'.
 +      (tramp-check-cached-permissions):
 +      Use `tramp-compat-file-attributes'.
 +      (tramp-call-process): Add new argument VEC.  Adapt callees in all
 +      tramp*.el files.
 +
 +      * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
 +      (tramp-adb-maybe-open-connection): Don't set
 +      `tramp-current-*' variables.
 +
 +      * net/tramp-cache.el (tramp-flush-file-function): Do not flush
 +      file properties of temporary buffers.
 +
 +      * net/tramp-ftp.el (top): Remove special handling for URL syntax.
 +
 +      * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
 +      (tramp-gvfs-handle-delete-file): Flush file
 +      properties, not directory properties.
 +      (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
 +      reading "unix::mode".
 +      (tramp-gvfs-handle-file-name-all-completions):
 +      Use "-h" option for "gvfs-ls".
 +      (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
 +      (tramp-gvfs-send-command): Simplify traces.
 +
 +      * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
 +      (vc-git-program, vc-hg-program): Declare.
 +      (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
 +      (tramp-methods) <nc>: Add new method.
 +      (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
 +      (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
 +      `tramp-login-args'.
 +      (tramp-default-user-alist): Add "nc".
 +      (top): Remove completion function for "sftp".  Add completion
 +      functions for "nc" and "psftp".
 +      (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
 +      Implement support for "nc" method.
 +      (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
 +      (tramp-remote-coding-commands, tramp-call-local-coding-command):
 +      Tweak docstring.
 +      (tramp-sh-handle-write-region): Tweak error message.
 +      (tramp-sh-handle-vc-registered): Remove backends when the remote
 +      binary does not exist.
 +      (tramp-find-inline-encoding): Do not raise an error.
 +      (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
 +      the "nc" case.  Quote result also locally.
 +
 +      * net/tramp-smb.el (tramp-smb-handle-copy-directory)
 +      (tramp-smb-handle-set-file-acl): Use `start-process'.
 +      (tramp-smb-handle-insert-directory): Use progress reporter.
 +      (tramp-smb-handle-rename-file): Flush also file properties of
 +      FILENAME.
 +
 +      * net/trampver.el: Update release number.
 +
 +2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
 +      add-to-list.
 +      (ses-localvars): Remove ses--local-printer-list, unused.
 +      (ses--metaprogramming): New macro.  Use it to defvar variables.
 +      (ses-set-localvars): Simplify.
 +      (ses--locprn, ses-cell): Use defstruct.  Change ses-cell's
 +      property-list into an alist.
 +      (ses-locprn-get-compiled, ses-locprn-compiled-aset)
 +      (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
 +      Remove; use defstruct accessors/setters instead.
 +      (ses-cell-formula-aset, ses-cell-printer-aset)
 +      (ses-cell-references-aset): Remove, use setf instead.
 +      (ses--alist-get): New function.
 +      (ses-cell-property): Rename from ses-cell-property-get and rewrite.
 +      Use an alist instead of a plist and don't do move-to-front since the
 +      list is always short.
 +      (ses-cell-property-get-fun, ses-cell-property-delq-fun)
 +      (ses-cell-property-set-fun, ses-cell-property-set)
 +      (ses-cell-property-pop-fun, ses-cell-property-get-handle)
 +      (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
 +      (ses--letref): New macro.
 +      (ses-cell-property-pop): Rewrite.
 +      (ses--cell): Rename from ses-cell and make it into a function.
 +      Make `formula' fallback on `value' if nil.
 +      (ses--local-printer): Rename from ses-local-printer and make it into
 +      a function.
 +      (ses-set-cell): Turn it into a macro so finding the accessor from the
 +      field name is done at compile time.
 +      (ses-repair-cell-reference-all): Test presence of `sym' rather than
 +      `ref' before adding `sym' to :ses-repair-reference.
 +      (ses-calculate-cell): Use ses--letref rather than
 +      ses-cell-property-get-handle.
 +      (ses-write-cells): Use a single prin1-to-string.
 +      (ses-setter-with-undo): New function.
 +      (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
 +      (ses-unset-with-undo): Remove.
 +      (ses-load): Prefer apply' over `eval'.
 +      (ses-read-printer, ses-set-column-width): Use standard "(default
 +      foo)" format.
 +
 +2014-06-15  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
  
        * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
        Replace delete-duplicates and mapcan by cl- versions throughout.
        And cl-macroexpand-all by macroexpand-all.
        (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
  
 -2014-06-14  Eli Zaretskii  <eliz@gnu.org>
 +2014-06-15  Eli Zaretskii  <eliz@gnu.org>
  
        * subr.el (posn-col-row): Doc fix.  (Bug#17768)
  
 -2014-06-14  Juri Linkov  <juri@jurta.org>
 +2014-06-15  Juri Linkov  <juri@jurta.org>
  
        * bindings.el: Put `ascii-character' property on keypad keys
        mapped to characters.  (Bug#17759)
  
 -2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
        bumping forward into a closing paren (bug#17761).
        * term/xterm.el (xterm--version-handler): Work around for OSX
        Terminal.app (bug#17607).
  
 +2014-06-14  Ron Schnell  <ronnie@driver-aces.com>
 +
 +      * play/dunnet.el (dun-describe-room, dun-mode):
 +      If a lamp is in the room, you won't be eaten by a grue.
 +
 +2014-06-13  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
 +      (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
 +      (compile-always): GNU make automatically passes
 +      command-line arguments to sub-makes.
 +
 +      * calendar/calendar.el (calendar-generate-window):
 +      Remove pointless call to font-lock-fontify-buffer.
 +
 +2014-06-13  Matthias Meulien  <orontee@gmail.com>
 +
 +      * simple.el (completion-list-mode-map): Navigate with tab and backtab
 +      (bug#17767).
 +
 +2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * simple.el (set-mark-command): Simplify a bit.
 +
 +2014-06-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
 +
 +      * help.el (help--key-binding-keymap): New function.
 +      (help--binding-locus): New function.
 +      (describe-key): Mention the keymap in which the binding was
 +      found. (bug#13948)
 +
 +2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * hippie-exp.el (he--all-buffers): New function.
 +      (try-expand-line-all-buffers, try-expand-list-all-buffers)
 +      (try-expand-dabbrev-all-buffers): Use it.
 +
 +2014-06-12  Emilio C. Lopes  <eclig@gmx.net>
 +
 +      * hippie-exp.el (try-expand-line-all-buffers)
 +      (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
 +      Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
 +      original buffer, in case they're buffer-local.
 +
 +2014-06-12  Vincent Belaïche  <vincentb1@users.sourceforge.net>
 +
 +      * ses.el (ses-initial-global-parameters-re): New defconst, a
 +      specific regexp is needed now that ses.el can handle both
 +      file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
 +      local printers.
 +      (ses-localvars): Add local variables needed for local printer handling.
 +      (ses-set-localvars): Handle hashmap initialisation.
 +      (ses-paramlines-plist): Add param-line for number of local printers.
 +      (ses-paramfmt-plist): New defconst, needed for code factorization
 +      between functions `ses-set-parameter' and
 +      `ses-file-format-extend-paramter-list'
 +      (ses-make-local-printer-info): New defsubst.
 +      (ses-locprn-get-compiled, ses-locprn-compiled-aset)
 +      (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
 +      (ses-cell-printer-aset): New defmacro.
 +      (ses-local-printer-compile): New defun.
 +      (ses-local-printer): New defmacro.
 +      (ses-printer-validate, ses-call-printer): Add support for local
 +      printer functions.
 +      (ses-file-format-extend-paramter-list): New defun.
 +      (ses-set-parameter): Use const `ses-paramfmt-plist' for code
 +      factorization.
 +      (ses-load): Add support for local printer functions.
 +      (ses-read-printer): Update docstring and add support for local printer
 +      functions.
 +      (ses-refresh-local-printer, ses-define-local-printer): New defun.
 +      (ses-safe-printer): Add support for local printer functions.
 +
 +2014-06-12  Ivan Andrus  <darthandrus@gmail.com>
 +
 +      * ffap.el (ffap-lax-url): New var (bug#17723).
 +      (ffap-url-at-point): Use it.
 +      (ffap-file-at-point): Avoid returning just "/".
 +
 +2014-06-12  Matthias Meulien  <orontee@gmail.com>
 +
 +      * progmodes/python.el (import skeleton): New skeleton (bug#17672).
 +      (python-mode-map): Bind it.
 +
 +      * progmodes/python.el (class skeleton): Don't erase last char of class
 +      name (bug#17683).
 +
 +2014-06-12  Cameron Desautels  <camdez@gmail.com>  (tiny change)
 +
 +      * help.el (where-is): Use `default' arg of completing-read (bug#17705).
 +
 +2014-06-12  Kevin Ryde  <user42_kevin@yahoo.com.au>
 +
 +      * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
 +      (bug#17745).
 +
 +2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * international/mule-cmds.el: Use lexical-binding.
 +      (ucs-names): Simplify.
 +
 +2014-05-18  Eric Hanchrow  <eric.hanchrow@gmail.com>
 +
 +      * progmodes/python.el (run-python): Use read-shell-command.
 +
 +2014-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * rect.el: Make it possible to move bounds past EOL or into TABs.
 +      (operate-on-rectangle): Use apply-on-rectangle.
 +      (rectangle--mark-crutches): New var.
 +      (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
 +      (rectangle--crutches, rectangle--reset-crutches): New functions.
 +      (apply-on-rectangle): Obey crutches.  Avoid setq.
 +      Fix missing final iteration if end is at EOB&BOL.
 +      (rectangle-mark-mode-map): Add remap bindings for
 +      exchange-point-and-mark and char/line movements.
 +      (rectangle--*-char): New function.
 +      (rectangle-exchange-point-and-mark, rectangle-right-char)
 +      (rectangle-left-char, rectangle-forward-char)
 +      (rectangle-backward-char, rectangle-next-line)
 +      (rectangle-previous-line): New commands.
 +      (rectangle--place-cursor): New function.
 +      (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
 +
  2014-06-08  Glenn Morris  <rgm@gnu.org>
  
        * startup.el (initial-buffer-choice): Doc fix.
        * bookmark.el (bookmark-load):
        * uniquify.el (uniquify-buffer-name-style): Doc fixes.
  
 -2014-06-06  Juri Linkov  <juri@jurta.org>
 +2014-06-08  Juri Linkov  <juri@jurta.org>
  
        * desktop.el: Activate auto-saving on window configuration changes.
        (desktop-save-mode, desktop-auto-save-timeout): Add/remove
 -      `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
 +      `desktop-auto-save-set-timer' to/from
 +      `window-configuration-change-hook'.
        (desktop-auto-save-set-timer): Change REPEAT arg of
        `run-with-idle-timer' from t to nil.
        http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
  
 -2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
 +2014-06-08  Santiago Payà i Miralta  <santiagopim@gmail.com>
  
        * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
        vc-hg-command (bug#17570).
  
 -2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * international/mule-cmds.el (ucs-names): Add special entry for BEL
        (bug#17702).
  
 -2014-06-06  Glenn Morris  <rgm@gnu.org>
 +2014-06-08  Glenn Morris  <rgm@gnu.org>
  
        * startup.el (window-setup-hook): Doc fix.
  
 -2014-06-05  Glenn Morris  <rgm@gnu.org>
 -
        * emacs-lisp/package.el (package-check-signature)
        (package-unsigned-archives): Doc fixes.
  
 -2014-06-03  Martin Rudalics  <rudalics@gmx.at>
 +2014-06-08  Martin Rudalics  <rudalics@gmx.at>
  
        * window.el (display-buffer-use-some-window): Don't make window
        used smaller than it was before (Bug#17671).
  
 -2014-06-03  Eli Zaretskii  <eliz@gnu.org>
 +2014-06-08  Eli Zaretskii  <eliz@gnu.org>
  
        * menu-bar.el (menu-bar-open): Fix last change: use the PC
        'redisplay' instead of '(sit-for 0)'.
  
 -2014-06-03  Michael Albinus  <michael.albinus@gmx.de>
 +2014-06-08  Michael Albinus  <michael.albinus@gmx.de>
  
 -      * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
 -      regexp.  (Bug#17653)
 +      * net/tramp.el (tramp-ssh-controlmaster-options):
 +      Improve search regexp.  (Bug#17653)
  
 -2014-06-03  Glenn Morris  <rgm@gnu.org>
 +2014-06-08  Glenn Morris  <rgm@gnu.org>
  
        * emacs-lisp/package.el (package-pinned-packages): Doc fix.
  
 -2014-06-02  Eli Zaretskii  <eliz@gnu.org>
 +2014-06-08  Eli Zaretskii  <eliz@gnu.org>
  
        * menu-bar.el (menu-bar-open): Fix invocation via M-x.
  
 -2014-06-01  Eli Zaretskii  <eliz@gnu.org>
 +2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
 +
 +      * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
 +      (bug#17586).
 +
 +      * vc/vc-hg.el (vc-hg-log-graph): New var.
 +      (vc-hg-print-log): Use it.
 +      (vc-hg-root-log-format): Include branch name and bookmarks; ignore
 +      graph output (bug#17515).
 +
 +2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * mouse.el (mouse-posn-property): Ignore buffer position info when the
 +      even happened elsewhere.
 +
 +2014-06-06  Mario Lang  <mlang@delysid.org>
 +
 +      * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
 +      `recenter' if `current-buffer' is equal to `window-buffer'.
 +
 +2014-06-05  Leo Liu  <sdl.web@gmail.com>
 +
 +      * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
 +
 +2014-06-05  Michal Nazarewicz  <mina86@mina86.com>
 +
 +      * textmodes/tildify.el (tildify-foreach-region-outside-env):
 +      New function which calls a callback on portions of the buffer that are
 +      outside of ignored environments.
 +      (tildify-build-regexp): Remove function since it is now
 +      incorporated in `tildify-foreach-region-outside-env' where it is
 +      optimised and simplified by the use of `mapconcat'.
 +      (tildify-tildify): Return number of substitutions made so that…
 +      (tildify-count): …can be removed.
 +      (tildify-find-env): Accept a new PAIRS argument which was
 +      previously looked up in `tildify-ignored-environments-alist' each
 +      time the function was called.  With this change, the lookup is
 +      performed only once in `tildify-foreach-region-outside-env'.
 +      (tildify-region): Greatly simplify the function since now most of
 +      the work is done by `tildify-foreach-region-outside-env'.
 +      (tildify-mode-alist): Simplify slightly by avoiding if and setq
 +      and instead using or.
 +
 +      * textmodes/tildify.el (tildify-ignored-environments-alist):
 +      Optimise environments regexes
 +
 +      Each time beginning of an environment to ignore is found,
 +      `tildify-find-env' needs to identify regexp for the ending
 +      of the environment.  This is done by trying all the opening
 +      regexes on matched text in a loop, so to speed that up, this
 +      loop should have fewer things to match, which can be done by
 +      using alternatives in the opening regexes.
 +
 +      Coincidentally, this should make matching of the opening
 +      regexp faster as well thanks to the use of `regexp-opt' and
 +      having common prefix pulled from many regexes.
 +
 +      * textmodes/tildify.el (tildify-string-alist)
 +      (tildify-ignored-environments-alist): Add `nxml-mode' to the list
 +      of supported modes since `xml-mode' is no longer a thing but just
 +      an alias to the former.  Also include comments and insides of tags
 +      in `tildify-ignored-environments-alist' for XML modes.  Finally,
 +      since XML does not define “&nbsp;”[1], use a numeric reference for
 +      a no-break space (namely “&#160;”)
 +
 +      [1] XML specification defines only a handful of predefined entities.
 +          The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
 +          and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
 +          >, &, ' and " respectively).  This is in contrast to HTML and even
 +          XHTML which defined a whole bunch of entities including “&nbsp;”.
 +
 +      * textmodes/tildify.el (tildify-pattern-alist)
 +      (tildify-string-alist, tildify-ignored-environments-alist):
 +      Improve defcustom's types by adding more tags explaining what each
 +      value means and replace “sexp” used in
 +      `tildify-ignored-environments-alist' with a full type declaration.
 +
 +      * textmodes/tildify.el (tildify-find-env): Fix matched group
 +      indexes in end-regex building
 +
 +      When looking for a start of an ignore-environment, the regex is built
 +      by concatenating regexes of all the environments configured in
 +      `tildify-ignored-environments-alist'.  So for example, the following
 +      list could be used to match TeX's \verb and \verb* commands:
 +
 +          (("\\\\verb\\(.\\)" . (1))
 +           ("\\\\verb\\*\\(.\\)" . (1)))
 +
 +      This would result in the following regex being used to find the start
 +      of any of the variants of the \verb command:
 +
 +          \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
 +
 +      But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
 +      won't match anything, and thus (match-string 1) will be nil, which
 +      will cause building of the end-matching regex to fail.
 +
 +      Fix this by using capture groups from the time when the opening
 +      regexes are matched individually.
 +
 +      * textmodes/tildify.el (tildify-find-env): Fix end-regex building
 +      in `tildify-find-env'
 +
 +      The `tildify-ignored-environments-alist' allows the end-regex to
 +      be provided not as a static string but mix of strings and indexes
 +      of groups matched the begin-regex.  For example, the “\verb!…!”
 +      TeX-command (where “!” is an arbitrary character) is handled
 +      using:
 +
 +          ("\\\\verb\\*?\\(.\\)" . (1))
 +
 +      In the same way, the following should be supported as well:
 +
 +          ("open-\\(.\\)" . ("end-" 1))
 +
 +      However the tildify-find-env function fails at
 +
 +          (concat result
 +                  (if (stringp (setq aux (car expression)))
 +                       expression  ; BUG: expression is a list
 +                     (regexp-quote (match-string aux))))
 +
 +      where the string part is handled incorrectly.
 +
 +      The most trivial fix would be to replace `expression' in the
 +      true-part of the if-statement with `aux', but instead, this commit
 +      optimises `tildify-find-env' by changing it to use `mapconcat'
 +      rather than open-coded while-loop.
 +
 +2014-06-05  Mario Lang  <mlang@delysid.org>
 +
 +      * woman.el (woman-mapcan): Remove.
 +      (woman-parse-colon-path): Use cl-mapcan instead.
 +
 +2014-06-03  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
 +
 +      * register.el: Add link to Emacs manual in Commentary.
 +
 +2014-06-02  Sam Steingold  <sds@gnu.org>
 +
 +      * menu-bar.el (lookup-key-ignore-too-long): Extract from...
 +      (popup-menu): ...here.
 +      (menu-bar-open): Use it to avoid an error when `lookup-key'
 +      returns a number.
 +
 +2014-06-02  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * net/tramp.el (tramp-call-process): Add traces.
 +      (tramp-handle-unhandled-file-name-directory): Return "/".
 +
 +2014-06-02  Wilson Snyder  <wsnyder@wsnyder.org>
 +
 +      Sync with upstream verilog-mode revision 3cd8144.
 +      * progmodes/verilog-mode.el (verilog-mode-version): Bump.
 +      (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
 +      (verilog-type-font-keywords): Add nor.
 +      (verilog-batch-execute-func): Force reading of Local Variables.
 +      Fix printing "no changes to be saved" with verilog-batch.
 +      (verilog-auto-arg-ports): Doc fix.
 +      Add verilog-auto-arg-format to support newlines in AUTOARG.
 +      (verilog-auto-arg): Doc fix.
 +
 +2014-06-02  Glenn Morris  <rgm@gnu.org>
 +
 +      * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
 +      * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
 +      * emulation/ws-mode.el: Move to obsolete/.
 +      * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
 +
 +2014-06-02  Eli Zaretskii  <eliz@gnu.org>
  
        * simple.el (keyboard-quit): Force update of mode lines, to remove
        the "Def" indicator, if we were defining a macro.  (Bug#17615)
  
 -2014-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * minibuffer.el (minibuffer-force-complete-and-exit):
        Obey minibuffer-default (bug#17545).
        * progmodes/js.el (js-indent-line): Don't mix columns and chars
        (bug#17619).
  
 -2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
        * subr.el (set-transient-map): Don't wait for some "nested"
        transient-map to finish if we're only supposed to be active for
        the next command (bug#17642).
  
 -2014-05-31  Leo Liu  <sdl.web@gmail.com>
 +2014-06-02  Leo Liu  <sdl.web@gmail.com>
  
        * emacs-lisp/gv.el (window-buffer, window-display-table)
        (window-dedicated-p, window-hscroll, window-point, window-start):
        Fix gv-expander.  (Bug#17630)
  
 -2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
        clicks (bug#17633).
        for the single comma, since ", " is *very* common in normal French text
        (bug#17643).
  
 -2014-05-30  Glenn Morris  <rgm@gnu.org>
 +2014-06-02  Glenn Morris  <rgm@gnu.org>
  
        * emacs-lisp/package.el (package-check-signature)
        (package-unsigned-archives): Fix :version.
  
 -2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * subr.el (sit-for): Don't run input-methods (bug#15614).
  
 -2014-05-28  Glenn Morris  <rgm@gnu.org>
 +2014-06-02  Glenn Morris  <rgm@gnu.org>
  
        * cus-start.el: Fix some :version numbers.
  
 -2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * simple.el (deactivate-mark): Set mark-active to nil even if
        deactivation is done via setting transient-mark-mode to nil,
        * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
        there can't be more than 2 arguments (bug#17584).
  
 -2014-05-27  Glenn Morris  <rgm@gnu.org>
 +2014-06-02  Glenn Morris  <rgm@gnu.org>
  
        * simple.el (filter-buffer-substring-functions)
        (filter-buffer-substring-function, buffer-substring-filters)
        * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
        (expand-abbrev, abbrev--default-expand): Doc fixes.
  
 -2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
 +2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
  
        Include sources used to create macuvs.h.
        * international/README: Refer to the Unicode Terms of Use rather
        than copying it bodily here, as that simplifies maintenance.
  
 -2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
 +2014-06-01  Glenn Morris  <rgm@gnu.org>
 +
 +      * loadup.el (load-prefer-newer): Set non-nil when dumping.  (Bug#17629)
 +
 +2014-05-31  Glenn Morris  <rgm@gnu.org>
 +
 +      * files.el (locate-dominating-file): Expand file argument.  (Bug#17641)
 +
 +2014-05-30  Glenn Morris  <rgm@gnu.org>
 +
 +      * loadup.el: Treat `command-line-args' more flexibly.
 +
 +2014-05-30  Alan Mackenzie  <acm@muc.de>
 +
 +      Guard (looking-at "\\s!") from XEmacs.
 +      * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
 +
 +2014-05-30    Ken Olum  <kdo@cosmos.phy.tufts.edu>  (tiny change)
 +
 +      * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
 +      The argument COUNT is now optional, to be more backward-compatible.
 +      Doc fix.  (Bug#17560)
 +
 +2014-05-29  Reuben Thomas  <rrt@sc3d.org>
 +
 +      * whitespace.el (whitespace-report-region):
 +      Simplify documentation.
 +      (whitespace-report-region): Allow report-if-bogus to take the
 +      value `never', for non-interactive use.
 +      (whitespace-report): Refer to whitespace-report-region's
 +      documentation.
 +
 +2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * whitespace.el: Use font-lock-flush.  Minimize refontifications.
 +      Side benefit: it works without jit-lock.
 +      (whitespace-point--used): New buffer-local var.
 +      (whitespace-color-on): Initialize it and flush it.  Use font-lock-flush.
 +      (whitespace-color-off): Use font-lock-flush.
 +      (whitespace-point--used, whitespace-point--flush-used): New functions.
 +      (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
 +      (whitespace-empty-at-eob-regexp): Use them.
 +      (whitespace-post-command-hook): Rewrite.
 +
 +      * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
 +      (font-lock-fontify-buffer): Mark interactive-only.
 +      (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
 +      Make buffer-local.
 +      (font-lock-specified-p): Remove redundant boundp check.
 +      (font-lock-flush-function, font-lock-ensure-function): New vars.
 +      (font-lock-turn-on-thing-lock): Set them.
 +      (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
 +      (font-lock-after-change-function): Make `old-len' optional.
 +      (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
 +      Call font-lock-flush, just in case.
 +      * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
 +      recent Emacsen.
 +      * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
 +      (vera-mode-map, vera-mode-menu): Remove bindings to it.
 +      * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
 +      and with-syntax-table.
 +      * textmodes/conf-mode.el (conf-quote-normal):
 +      * progmodes/sh-script.el (sh-set-shell):
 +      * progmodes/prog-mode.el (prettify-symbols-mode):
 +      * progmodes/f90.el (f90-font-lock-n):
 +      * progmodes/cwarn.el (cwarn-mode):
 +      * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
 +      * progmodes/compile.el (compilation-setup, compilation--unsetup):
 +      * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
 +      (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
 +      * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
 +      font-lock-fontify-buffer-function and
 +      font-lock-unfontify-buffer-function.
 +      (rmail-unfontify-buffer-function, rmail-fontify-message):
 +      Use with-silent-modifications.
 +      * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
 +      and font-lock-ensure.
 +      * bs.el (bs-show-in-buffer): Use font-lock-ensure.
 +
 +2014-05-28  Thien-Thi Nguyen  <ttn@gnu.org>
 +
 +      * emacs-lisp/package.el (package-generate-autoloads):
 +      Inhibit backup files.
 +
 +2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
 +      (bug#17608).
 +
 +2014-05-21  Michal Nazarewicz  <mina86@mina86.com>
 +
 +      * textmodes/tildify.el (tildify-buffer, tildify-region):
 +      Add dont-ask option.
 +
 +2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * subr.el (zerop): Move from C.  Add compiler-macro (bug#17475).
 +      * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
 +
 +      * subr.el (internal--funcall-interactively): New.
 +      (internal--call-interactively): Remove.
 +      (called-interactively-p): Detect funcall-interactively instead of
 +      call-interactively.
 +      * simple.el (repeat-complex-command): Use funcall-interactively.
 +      (repeat-complex-command--called-interactively-skip): Remove.
 +
 +2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * register.el (register-read-with-preview): Don't burp on
 +      frame switches (e.g. due to the frame we just popped).
 +
 +      * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
 +      (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
 +
 +2014-05-26  Andreas Schwab  <schwab@linux-m68k.org>
  
        * cus-face.el (custom-face-attributes): Add :distant-foreground.
  
 -2014-05-25  Martin Rudalics  <rudalics@gmx.at>
 +2014-05-26  Martin Rudalics  <rudalics@gmx.at>
  
 -      * window.el (window--dump-frame): Remove interactive
 -      specification.
 +      * window.el (window--dump-frame): Remove interactive specification.
  
 -2014-05-23  Glenn Morris  <rgm@gnu.org>
 +2014-05-26  Glenn Morris  <rgm@gnu.org>
  
        * hippie-exp.el (he-line-search-regexp):
        Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
  
 -2014-05-23  Stephen Berman  <stephen.berman@gmx.net>
 +2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
  
        * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
        to avoid errors when trying to create or visit a file foo.todo
        (auto-mode-alist): Remove add-to-list calls making Todo file
        extensions unrestrictedly tied to Todo modes.
  
 -2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
        (advice-function-member-p): Tell it to check both names and functions
        (bug#17531).
        (advice--add-function): Adjust call accordingly.
  
 -2014-05-23  Stephen Berman  <stephen.berman@gmx.net>
 +2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
  
        * calendar/todo-mode.el: Miscellaneous bug fixes.
        (todo-delete-file): When deleting an archive but not its todo
        (todo-reset-highlight-item): Also reset in filtered items files.
        Fix incorrect variable reference in document string.
  
 -2014-05-22  Glenn Morris  <rgm@gnu.org>
 +2014-05-26  Glenn Morris  <rgm@gnu.org>
  
        * window.el (window--dump-frame): Avoid error in --without-x builds.
  
 -2014-05-21  Glenn Morris  <rgm@gnu.org>
 +2014-05-26  Glenn Morris  <rgm@gnu.org>
  
        * nxml/nxml-mode.el (xml-mode): Only define this alias once.
  
 -2014-05-21  Eli Zaretskii  <eliz@gnu.org>
 +2014-05-26  Eli Zaretskii  <eliz@gnu.org>
  
        * frame.el (set-frame-font): Doc fix.
  
        * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
  
 -2014-05-21  Dmitry Gutov  <dgutov@yandex.ru>
 +2014-05-26  Dmitry Gutov  <dgutov@yandex.ru>
  
        * emacs-lisp/package.el (package--download-one-archive):
        Use `write-region' instead of `save-buffer' to avoid running various
        (describe-package-1): Same.  Insert newline at the end of the
        buffer if appropriate.
  
 -2014-05-20  Juri Linkov  <juri@jurta.org>
 +2014-05-26  Juri Linkov  <juri@jurta.org>
  
        * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
        (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
        * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
        to allow changing its value with `set-variable'.
  
 -2014-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
        #; comments.
  
        * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
  
 -2014-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
        * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
        (bug#17392).
  
 -2014-05-17  Michael Albinus  <michael.albinus@gmx.de>
 +2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
  
        * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
        for a temporary file name.
  
 -2014-05-17  Eli Zaretskii  <eliz@gnu.org>
 +2014-05-26  Eli Zaretskii  <eliz@gnu.org>
  
        * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
  
 -2014-05-16  Michael Albinus  <michael.albinus@gmx.de>
 +2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
  
        * net/dbus.el (dbus-init-bus, dbus-call-method)
        (dbus-call-method-asynchronously, dbus-send-signal)
        (dbus-method-return-internal, dbus-method-error-internal):
        Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
  
 -2014-05-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
 +2014-05-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
  
        * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
        methods which do not have a doc string.  (Bug#17490)
  
 +2014-05-25  Tassilo Horn  <tsdh@gnu.org>
 +
 +      * textmodes/reftex-ref.el (reftex-format-special): Make it work
 +      also for AMS Math's \eqref macro.
 +
 +2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
 +
 +      Arrange to never byte-compile the generated -pkg.el file.
 +
 +      * emacs-lisp/package.el (package-generate-description-file):
 +      Output first-line comment to set buffer-local var `no-byte-compile'.
 +      Suggested by Dmitry Gutov:
 +      <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
 +
 +2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
 +
 +      Fix bug: Properly quote args to generated -pkg.el `define-package'.
 +
 +      * emacs-lisp/package.el (package-generate-description-file):
 +      Inline `package--alist-to-plist'; rewrite to selectively
 +      quote alist values that are not self-quoting.
 +      (package--alist-to-plist): Delete func.
 +
 +2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
 +
 +      * term/xterm.el (xterm-function-map): Add mapping for shifted
 +      keypad keys.
 +
 +2014-05-24  Daniel Colascione  <dancol@dancol.org>
 +
 +      * progmodes/subword.el (subword-find-word-boundary): Move point to
 +      correct spot before search. (Bug#17580)
 +
 +      * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
 +      breaking the build.
 +
 +2014-05-24  Leo Liu  <sdl.web@gmail.com>
 +
 +      * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
 +
 +2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * minibuffer.el (completion--sreverse): Remove.
 +      (completion--common-suffix): Use `reverse' instead.
 +      * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
 +
 +2014-05-22  Glenn Morris  <rgm@gnu.org>
 +
 +      * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
 +
 +2014-05-21  Daniel Colascione  <dancol@dancol.org>
 +
 +      * files.el (interpreter-mode-alist): Add mksh.
 +
 +      * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
 +      derivative.
 +      (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
 +      mksh. Improve custom spec; allow regular expressions.
 +      (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
 +      (sh-after-hack-local-variables): New function.
 +      (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
 +      (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
 +      the normalization.
 +      (sh-canonicalize-shell): Rewrite to support regexes.
 +
 +2014-05-21  Leo Liu  <sdl.web@gmail.com>
 +
 +      * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
 +
 +2014-05-19  Leo Liu  <sdl.web@gmail.com>
 +
 +      * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
 +
 +2014-05-18  Glenn Morris  <rgm@gnu.org>
 +
 +      * loadup.el:
 +      * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
 +
 +2014-05-14  Sam Steingold  <sds@gnu.org>
 +
 +      * progmodes/python.el (python-shell-get-or-create-process):
 +      Do not bind `current-prefix-arg' so that C-c C-z does not talk
 +      back unless requested.
 +
 +2014-05-14  Glenn Morris  <rgm@gnu.org>
 +
 +      * subr.el (with-file-modes): New macro.
 +      * printing.el (pr-save-file-modes): Make obsolete.
 +      * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
 +      * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
 +      Add with-file-modes.
 +      * doc-view.el (doc-view-make-safe-dir):
 +      * epg.el (epg--start):
 +      * files.el (locate-user-emacs-file, make-temp-file)
 +      (backup-buffer-copy, move-file-to-trash):
 +      * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
 +      * eshell/esh-util.el (eshell-with-private-file-modes)
 +      (eshell-make-private-directory):
 +      * net/browse-url.el (browse-url-mosaic):
 +      * obsolete/mailpost.el (post-mail-send-it):
 +      * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
 +      * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
 +      Use with-file-modes.
 +
 +      * vc/emerge.el (emerge-make-temp-file): Simplify.
 +
  2014-05-14  Stephen Berman <stephen.berman@gmx.net>
              Stefan Monnier  <monnier@iro.umontreal.ca>
  
        Make pointless option obsolete.
        (emerge-temp-file-mode): Make non-functional option obsolete.
  
 -2014-05-13  Michael Albinus  <michael.albinus@gmx.de>
 +2014-05-14  Michael Albinus  <michael.albinus@gmx.de>
  
        * net/browse-url.el (browse-url):
        Use `unhandled-file-name-directory' when setting `default-directory',
        in order to circumvent stalled remote connections.  (Bug#17425)
  
 +2014-05-14  Glenn Morris  <rgm@gnu.org>
 +
 +      * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
 +      Optimize on Emacs, which has the relevant functions for ages.
 +
 +2014-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * simple.el (undo-make-selective-list): Obey undo-no-redo.
 +
 +2014-05-12  Sam Steingold  <sds@gnu.org>
 +
 +      * calendar/time-date.el (seconds-to-string): New function to
 +      pretty print time delay in seconds.
 +
  2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 +      * mpc.el (mpc-format): Trim Date to the year.
 +      (mpc-songs-hashcons): Shorten the Date field.
 +
        * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
        into autoloading just because of a silly indirection.
  
 -2014-05-11  Santiago Payà i Miralta  <santiagopim@gmail.com>  (tiny change)
 +2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
  
        * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
  
 -2014-05-11  Glenn Morris  <rgm@gnu.org>
 +2014-05-12  Glenn Morris  <rgm@gnu.org>
  
        * emacs-lisp/find-gc.el: Move to ../admin.
  
 -2014-05-10  Glenn Morris  <rgm@gnu.org>
 -
        * printing.el (pr-version):
        * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
  
        * net/browse-url.el (browse-url-mosaic):
        Create /tmp/Mosaic.PID as a private file.
  
 -2014-05-10  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * emacs-lisp/nadvice.el: Support adding a given function multiple times.
        (advice--member-p): If name is given, only compare the name.
        (advice--add-function): Pass the name, if any, to
        advice--remove-function.
  
 -2014-05-09  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
 +2014-05-12  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
  
        * electric.el (electric-indent-post-self-insert-function): Don't use
        `pos' after modifying the buffer (bug#17449).
  
 -2014-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * subr.el (function-put): Add function.
 -
 -2014-05-09  Stephen Berman  <stephen.berman@gmx.net>
 +2014-05-12  Stephen Berman  <stephen.berman@gmx.net>
  
        * calendar/todo-mode.el (todo-insert-item-from-calendar):
        Correct argument list to conform to todo-insert-item--basic.
  
 -2014-05-09  Glenn Morris  <rgm@gnu.org>
 +2014-05-12  Glenn Morris  <rgm@gnu.org>
  
        * files.el (cd-absolute): Test if directory is accessible
        rather than executable.  (Bug#17330)
        * progmodes/compile.el (recompile):
        Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
  
 -2014-05-08  Juri Linkov  <juri@jurta.org>
 -
 -      * dired.el (dired-check-switches, dired-switches-recursive-p):
 -      New functions.  (Bug#17218)
 -      (dired-switches-escape-p, dired-move-to-end-of-filename):
 -      Use `dired-check-switches'.
 -      (dired-insert-old-subdirs, dired-build-subdir-alist)
 -      (dired-sort-R-check): Use `dired-switches-recursive-p'.
 -
 -2014-05-08  Glenn Morris  <rgm@gnu.org>
 -
        * net/browse-url.el (browse-url-mosaic):
        Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
        This is CVE-2014-3423.
  
 +2014-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * mouse.el: Use the normal toplevel loop while dragging.
 +      (mouse-set-point): Handle multi-clicks.
 +      (mouse-set-region): Handle multi-clicks for drags.
 +      (mouse-drag-region): Update call accordingly.
 +      (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
 +      Use the normal event loop instead of a local while/read-event loop.
 +      (global-map): Remove redundant bindings for double/triple-mouse-1.
 +      * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
 +      Generate synthetic down events when the protocol only sends up events.
 +      (xterm-mouse-last): Remove.
 +      (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
 +      terminal parameter instead.
 +      (xterm-mouse--set-click-count): New function.
 +      (xterm-mouse-event): Detect/generate double/triple clicks.
 +      * reveal.el (reveal-close-old-overlays): Don't close while dragging.
 +
 +      * info.el (Info-quoted): New face.
 +      (Info-mode-font-lock-keywords): New var.
 +      (Info-mode): Use it.
 +
 +      * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
 +      are a hindrance for C-x C-e.
 +
 +2014-05-11  Leo Liu  <sdl.web@gmail.com>
 +
 +      * net/rcirc.el (rcirc-sentinel): Fix last change.
 +
 +2014-05-08  Sam Steingold  <sds@gnu.org>
 +
 +      * net/rcirc.el (rcirc-reconnect-delay): New user option.
 +      (rcirc-sentinel): Auto-reconnect to the server if
 +      `rcirc-reconnect-delay' is non-0 (but not more often than its
 +      value in case the host is off-line).
 +
 +2014-05-09  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * progmodes/grep.el (lgrep): Fix a typo in last commit.
 +
 +2014-05-09  Glenn Morris  <rgm@gnu.org>
 +
 +      * files.el (file-expand-wildcards):
 +      * man.el (Man-support-local-filenames):
 +      * printing.el (pr-i-directory, pr-interface-directory):
 +      * progmodes/grep.el (lgrep, rgrep):
 +      * textmodes/ispell.el (ispell-call-process)
 +      (ispell-call-process-region, ispell-start-process)
 +      (ispell-init-process): Use file-accessible-directory-p.
 +
  2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
        (xterm-mouse-event): Propagate it.
        (xterm-mouse-translate-1): Handle it.
  
 -2014-05-07  Stephen Berman  <stephen.berman@gmx.net>
 +2014-05-08  Stephen Berman  <stephen.berman@gmx.net>
  
        * calendar/todo-mode.el (todo-insert-item--apply-args): When all
        four slots of the parameter list are filled, make sure to pass it
        to the argument list of todo-insert-item--basic.
  
 -2014-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * emacs-lisp/package.el (package-compute-transaction): Topological sort.
        Add optional `seen' argument to detect and break infinite loops.
  
 -2014-05-06  Eli Zaretskii  <eliz@gnu.org>
 +2014-05-08  Eli Zaretskii  <eliz@gnu.org>
  
        * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
        (trace-unsafe, trace-use-tree): Make parentheses style be
        according to Emacs style.
  
 -2014-05-06  Michael Albinus  <michael.albinus@gmx.de>
 +2014-05-08  Michael Albinus  <michael.albinus@gmx.de>
  
        * net/tramp-sh.el (tramp-remote-process-environment):
        Remove HISTFILE and HISTSIZE; it's too late to set them here.
        name.  (Bug#17415)
        This is CVE-2014-3424.
  
 -2014-05-06  Glenn Morris  <rgm@gnu.org>
 +2014-05-08  Glenn Morris  <rgm@gnu.org>
  
        * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
        (find-gc-source-files): Update some names.
        Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
        This is CVE-2014-3422.
  
 -2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * minibuffer.el (completion--try-word-completion): Revert fix for
        Bug#15980 (bug#17375).
        Don't burp is xterm-mouse-last is not set as expected.
        Never return negative indices.
  
 -2014-05-05  Dmitry Gutov  <dgutov@yandex.ru>
 +2014-05-08  Dmitry Gutov  <dgutov@yandex.ru>
  
        * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
        Backtrack one char if the global/char-literal var matcher hits
        inside a string.  The next char could be the beginning of an
        expression expansion.
  
 -2014-05-05  Glenn Morris  <rgm@gnu.org>
 +2014-05-08  Glenn Morris  <rgm@gnu.org>
  
        * help-fns.el (describe-function-1): Test for an autoload before a
        macro, since `macrop' works on autoloads.  (Bug#17410)
  
 -2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * electric.el (electric-indent-functions-without-reindent): Add yaml.
  
        * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
        Make sure the new point we return is within the new string (bug#17239).
  
 -2014-05-03  Eli Zaretskii  <eliz@gnu.org>
 +2014-05-05  Daniel Colascione  <dancol@dancol.org>
 +
 +      * progmodes/compile.el (compilation-error-regexp-alist-alist):
 +      Port `gnu' pattern to rx.
 +
 +2014-05-05  Jarek Czekalski  <jarekczek@poczta.onet.pl>
 +
 +      Remove unneeded prompt when closing a buffer with active
 +      emacsclient ("Buffer ... still has clients"), #16548.
 +      * server.el (server-start): Remove the only call to:
 +      (server-kill-buffer-query-function): Remove.
 +
 +2014-05-04  Leo Liu  <sdl.web@gmail.com>
 +
 +      * calendar/diary-lib.el (calendar-chinese-month-name-array):
 +      Defvar to pacify compiler.
 +
 +2014-05-04  Eli Zaretskii  <eliz@gnu.org>
  
        * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
  
 -2014-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
        Use nil rather than `default' for the "default" appearance (bug#17388).
        * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
        overlay is not visible.
  
 -2014-05-02  Stephen Berman  <stephen.berman@gmx.net>
 +2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
  
        * calendar/todo-mode.el (todo-edit-file): Use display-warning.
        (todo-menu): Uncomment and update.
  
 -2014-05-02  Stephen Berman  <stephen.berman@gmx.net>
 +2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
  
        * calendar/todo-mode.el: Reimplement item editing to have the same
        basic user interface as item insertion, and make small UI and
        (todo-key-bindings-t): Bind "e" to todo-edit-item.
        Remove bindings of deleted commands.
  
 -2014-05-02  Leo Liu  <sdl.web@gmail.com>
 +2014-05-04  Leo Liu  <sdl.web@gmail.com>
  
        * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
  
 -2014-05-01  Glenn Morris  <rgm@gnu.org>
 +2014-05-04  Glenn Morris  <rgm@gnu.org>
  
        * allout-widgets.el (allout-widgets-tally)
        (allout-decorate-item-guides):
        * textmodes/reftex-parse.el (reftex-using-biblatex-p):
        Doc fixes (replace `iff').
  
 +2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
 +
 +2014-05-04  Leo Liu  <sdl.web@gmail.com>
 +
 +      Support Chinese diary entries in calendar and diary.  (Bug#17393)
 +      * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
 +      (calendar-chinese-from-absolute-for-diary)
 +      (calendar-chinese-to-absolute-for-diary)
 +      (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
 +      (diary-chinese-list-entries): New functions to list and mark
 +      Chinese diary entries in the calendar window.
 +      (diary-chinese-anniversary)
 +      (diary-chinese-insert-anniversary-entry)
 +      (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
 +      (diary-chinese-insert-yearly-entry): New commands to insert
 +      Chinese diary entries.
 +
 +      * calendar/diary-lib.el (diary-font-lock-keywords):
 +      Support font-locking Chinese dates.
 +
 +      * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
 +      inserting Chinese diary entries.
 +
 +      * calendar/calendar.el (diary-chinese-entry-symbol):
 +      New customizable variable.
 +      (calendar-mode-map): Add bindings for inserting Chinese diary
 +      entries.
 +
 +2014-05-03  Juri Linkov  <juri@jurta.org>
 +
 +      * dired.el (dired-check-switches, dired-switches-recursive-p):
 +      New functions.  (Bug#17218)
 +      (dired-switches-escape-p, dired-move-to-end-of-filename):
 +      Use `dired-check-switches'.
 +      (dired-insert-old-subdirs, dired-build-subdir-alist)
 +      (dired-sort-R-check): Use `dired-switches-recursive-p'.
 +
 +2014-05-01  Barry O'Reilly  <gundaetiapo@gmail.com>
 +
 +      * simple.el (undo-make-selective-list): New algorithm fixes
 +      incorrectness of position adjustments when undoing in region.
 +      (Bug#17235)
 +      (undo-elt-crosses-region): Make obsolete.
 +      (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
 +      New functions to adjust positions using undo-deltas.
 +
  2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
 +      * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
 +      the last consecutive closing paren (bug#17345).
 +
 +2014-04-30  Reuben Thomas  <rrt@sc3d.org>
 +
 +      * dired.el (dired-mode): make terminology for eXpunge command
 +      consistent.  (Bug#17276)
  
  2014-04-30  Eli Zaretskii  <eliz@gnu.org>
  
        * dired.el (dired-initial-position-hook, dired-initial-position):
        Doc string fixes.
  
 -2014-04-29  Glenn Morris  <rgm@gnu.org>
 +2014-04-30  Glenn Morris  <rgm@gnu.org>
  
        * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
  
 -2014-04-27  Matthias Dahl  <matthias.dahl@binary-island.eu>
 +2014-04-30  Matthias Dahl  <matthias.dahl@binary-island.eu>
  
        * faces.el (face-spec-recalc): Apply X resources only after the
        defface spec has been applied. Thus, X resources are no longer
        the toolbar coloring was wrong because it is set through X resources
        and was (wrongfully) overriden.  (Bug#16694)
  
 -2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * textmodes/rst.el (electric-pair-pairs): Declare.
        (rst-mode): Set it (bug#17131).
  
 -2014-04-27  Juri Linkov  <juri@jurta.org>
 +2014-04-30  Juri Linkov  <juri@jurta.org>
  
        * desktop.el (desktop-value-to-string): Let-bind `print-length'
        and `print-level' to nil.  (Bug#17351)
  
 -2014-04-25  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
 +2014-04-30  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
  
        * battery.el (battery-update): Handle the case where battery
        status is "N/A" (bug#17319).
  
 -2014-04-24  Eli Zaretskii  <eliz@gnu.org>
 +2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * progmodes/ps-mode.el: Use SMIE.  Move string and comment recognition
 +      to syntax-propertize.
 +      (ps-mode-auto-indent): Mark as obsolete.
 +      (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
 +      (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
 +      word regexp operators.
 +      (ps-mode-map): Move initialization into declaration.  Remove binding
 +      for TAB, RET, >, ], and }.
 +      (ps-mode-syntax-table): Move initialization into declaration.
 +      Don't give word syntax to non-word chars.
 +      (ps-run-mode-map): Move initialization into declaration.
 +      (ps-mode-menu-main): Remove auto-indent entry.
 +      (ps-mode-smie-rules): New function.
 +      (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
 +      (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
 +      (ps-mode--string-syntax-table): New const.
 +      (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
 +      New functions.
 +      (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
 +      (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
 +
 +2014-04-27  Daniel Colascione  <dancol@dancol.org>
 +
 +      * term/xterm.el (xterm-paste): Use large finite timeout when
 +      reading event to avoid putting keys in this-command-keys.
 +
 +2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
 +      (perl-syntax-propertize-function): Use it.  Extend handling of
 +      here-docs to the unquoted case.
 +
 +2014-04-25  Eli Zaretskii  <eliz@gnu.org>
  
        * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
        Use equal-including-properties to compare help-echo strings (bug#17331).
  
 -2014-04-24  Leo Liu  <sdl.web@gmail.com>
 +2014-04-25  Leo Liu  <sdl.web@gmail.com>
  
        * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
        Fix syntax for @.  (Bug#17325)
  
 -2014-04-24  Daniel Colascione  <dancol@dancol.org>
 +2014-04-25  Daniel Colascione  <dancol@dancol.org>
  
        * emacs-lisp/cl.el (gv): Require gv early to break eager
        macro-expansion cycles.
  
 -2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * simple.el (region-active-p): Check there's a mark (bug#17324).
  
        * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
        &, |, +, - and * can't be a division (bug#17317).
  
 -2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
        * term/xterm.el (xterm--version-handler): Don't use modern xterm
        features on gnome-terminal (bug#16988).
  
 +2014-04-25  Thien-Thi Nguyen  <ttn@gnu.org>
 +
 +      Improve Scheme font-locking for (define ((foo ...) ...) ...).
 +
 +      * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
 +      the declared object, ignore zero or more parens, not zero or one.
 +
 +2014-04-24  Leo Liu  <sdl.web@gmail.com>
 +
 +      * progmodes/xscheme.el (xscheme-expressions-ring)
 +      (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
 +      (xscheme-control-g-disabled-p, xscheme-process-filter-state)
 +      (xscheme-allow-output-p, xscheme-prompt)
 +      (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
 +
 +      * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
 +      Comment out unused functions.
 +
 +2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * info.el: Use lexical-binding and cl-lib.
 +      Use defvar-local and setq-local instead of make-local-variable.
 +      (Info-apropos-matches): Avoid add-to-list.
 +      (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
 +
 +2014-04-24  Daniel Colascione  <dancol@dancol.org>
 +
 +      * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
 +
 +2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
 +
  2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
  
        * dired.el (dired-insert-set-properties): Do not consider
        (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
        and `target' twice.
  
 -2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
        * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
  
        * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
  
 -2014-04-21  Michael Albinus  <michael.albinus@gmx.de>
 +2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
  
        * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
        Set "IFS=" when using read builtin, in order to preserve spaces in
        the file name.  Add test messages for hunting a bug on hydra.
        (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
  
 -2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
        Don't prettify a word within a symbol.
  
 -2014-04-20  Michael Albinus  <michael.albinus@gmx.de>
 +2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
  
        * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
        possible.
  
 +2014-04-22  Daniel Colascione  <dancol@dancol.org>
 +
 +      * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
 +      use defun to define `function-put'.
 +
 +2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
 +      (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
 +      (lisp-mode-variables): Set font-lock-extra-managed-props.
 +
 +      * emacs-lisp/byte-run.el (function-put): New function.
 +      (defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
 +      * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
 +      (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
 +      Use them.
 +
 +2014-04-22  Daniel Colascione  <dancol@dancol.org>
 +
 +      * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
 +      Add `full-p' parameter; when nil, call `macroexpand' instead of
 +      `macroexpand-all'.
 +
 +      * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
 +      Improve docstrings.
 +
 +      * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
 +      Use lambda function values, not quoted lambdas.
 +      (byte-compile-recurse-toplevel): Remove extraneous &optional.
 +
 +      * emacs-lisp/cl-macs.el
 +      (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
 +      (cl-struct-slot-value): Conditionally use aref or nth so that the
 +      compiler produces optimal code.
 +
 +2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
 +      (inline): Don't inline cl--set-elt.
 +      (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
 +      Define as inlinable instead.
 +      (cl-struct-set-slot-value): Remove.
 +
 +      * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
 +      * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
 +      Use setf instead.
 +
 +2014-04-21  Daniel Colascione  <dancol@dancol.org>
 +
 +      * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
 +      last two parameters after all.
 +      (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
 +      (cl--compiler-macro-assoc,cl-struct-slot-value)
 +      (cl-struct-set-slot-value): Stop using them.
 +
 +(2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * image-mode.el (image-mode-window-put): Don't assume there's a `t'
 +      entry in image-mode-winprops-alist.
 +
 +2014-04-21  Daniel Colascione  <dancol@dancol.org>
 +
 +      * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
 +      (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
 +      (byte-compile-toplevel-file-form): Use it.
 +
 +      * emacs-lisp/cl-macs.el:
 +      (cl--loop-let): Properly destructure `while' clauses.
 +
 +2014-04-20  Daniel Colascione  <dancol@dancol.org>
 +
 +      * vc/vc.el (vc-root-dir): New public autoloaded function for
 +      generically finding the current VC root.
 +      * vc/vc-hooks.el (vc-not-supported): New error.
 +      (vc-call-backend): Signal `vc-not-supported' instead of generic error.
 +
 +2014-04-20  Daniel Colascione  <dancol@dancol.org>
 +
 +      * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
 +      argument.
 +      (cl--const-expr-val): cl--const-expr-val should macroexpand its
 +      argument in case we're inside a symbol-macrolet.
 +      (cl--do-arglist, cl--compiler-macro-typep)
 +      (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
 +      environment to `cl--const-expr-val'.
 +      (cl-struct-sequence-type,cl-struct-slot-info)
 +      (cl-struct-slot-offset, cl-struct-slot-value)
 +      (cl-struct-set-slot-value): New functions.
 +
  2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
  
        * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
  
 -2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-04-17  Daniel Colascione  <dancol@dancol.org>
 +
 +      Add support for bracketed paste mode; add infrastructure for
 +      managing terminal mode enabling and disabling automatically.
 +
 +      * xt-mouse.el:
 +      (xterm-mouse-mode): Simplify.
 +      (xterm-mouse-tracking-enable-sequence)
 +      (xterm-mouse-tracking-disable-sequence): New constants.
 +      (turn-on-xterm-mouse-tracking-on-terminal)
 +      (turn-off-xterm-mouse-tracking-on-terminal):
 +      Use tty-mode-set-strings and tty-mode-reset-strings terminal
 +      parameters instead of random hooks.
 +      (turn-on-xterm-mouse-tracking)
 +      (turn-off-xterm-mouse-tracking): Delete.
 +
 +      * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
 +      (xterm-paste-ending-sequence): New constant.
 +      (xterm-paste): New command used for bracketed paste support.
 +
 +      (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
 +      (terminal-init-xterm-bracketed-paste-mode): New function.
 +      (terminal-init-xterm): Call it.
 +      (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
 +      and tty-mode-reset-strings instead of random hooks.
 +      (xterm-turn-on-modify-other-keys)
 +      (xterm-turn-off-modify-other-keys)
 +      (xterm-remove-modify-other-keys): Delete obsolete functions.
 +
 +      * term/screen.el: Rewrite to just use the xterm code.
 +      Add copyright notice.  Mention tmux.
 +
 +2014-04-17  Ian D  <dunni@gnu.org>  (tiny change)
 +
 +      * image-mode.el (image-mode-window-put): Also update the property of
 +      the "default window".
 +      * doc-view.el (doc-view-new-window-function): If no window
 +      exists, move to the last known page.
  
 -      * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
 -      was done (bug#17264).
 -      * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
 -      comment to EOB.
 +2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
        here-documents (bug#17262).
        * term/pc-win.el (x-list-fonts, x-get-selection-value):
        Provide doc strings, as required by snarf-documentation.
  
 -2014-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
        arg of overlays-at.  Use `invisible-p'.
        overlays-at.
        (hfy-fontify-buffer): Remove unused var `orig-ovls'.
  
 -2014-04-14  João Távora  <joaotavora@gmail.com>
 +2014-04-16  João Távora  <joaotavora@gmail.com>
  
        * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
        links.  (Bug#17217).
  
 -2014-04-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 +2014-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
  
        * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
        Use mapc to loop over a vector.  (Bug#17257).
  
 -2014-04-13  Michael Albinus  <michael.albinus@gmx.de>
 +2014-04-16  Michael Albinus  <michael.albinus@gmx.de>
  
        * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
        patch, there are new problems with file names containing spaces.
        Get rid of backticks.  (Bug#17238)
  
 -2014-04-13  João Távora  <joaotavora@gmail.com>
 +2014-04-16  João Távora  <joaotavora@gmail.com>
  
        * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
        possible bug.
  
 -2014-04-13  Eli Zaretskii  <eliz@gnu.org>
 +2014-04-16  Eli Zaretskii  <eliz@gnu.org>
  
        * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
        (blink-cursor-mode): Mention customization variables and the
        effect of 'blink-cursor-blinks'.
  
 -2014-04-12  Barry O'Reilly  <gundaetiapo@gmail.com>
 +2014-04-16  Barry O'Reilly  <gundaetiapo@gmail.com>
  
        * simple.el (undo): Prevent insertion of identity mapping into
        undo-equiv-table so as undo-only does not inf loop in the presence
        of consecutive nils in undo list.
  
 -2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
 +2014-04-16  Matthias Dahl  <matthias.dahl@binary-island.eu>
  
        * faces.el (make-face): Deprecate optional argument as it is no
        longer needed/used since the conditional X resources handling
        has been pushed down to make-face-x-resource-internal itself.
        (make-empty-face): Don't pass optional argument to make-face.
  
 +2014-04-16  Karl Fogel  <kfogel@red-bean.com>
 +
 +      * savehist.el (savehist-save): Remove workaround for a read-passwd
 +      bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
 +      noticing that the shim was still present.
 +
 +2014-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
 +
 +2014-04-14  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * faces.el (face-set-after-frame-default): Remove unused local variable.
 +
 +2014-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * progmodes/grep.el: Use lexical-binding.
 +      (grep-expand-template): Pass explicit lexical env to `eval'.
 +      (zrgrep): Let-bind grep-find-template explicitly.
 +
 +      * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
 +      * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
 +
  2014-04-12  Eli Zaretskii  <eliz@gnu.org>
  
        * international/characters.el <standard-case-table>: Add entries
  
  2014-04-12  Leo Liu  <sdl.web@gmail.com>
  
 -      * progmodes/octave.el (completion-table-with-cache): Define if not
 -      available.
 -      (octave-goto-function-definition)
 -      (octave-sync-function-file-names)
 -      (octave-find-definition-default-filename): Backquote upattern for
 -      compatibility.
 +      * progmodes/octave.el (completion-table-with-cache):
 +      Define if not available.
 +      (octave-goto-function-definition, octave-sync-function-file-names)
 +      (octave-find-definition-default-filename):
 +      Backquote upattern for compatibility.
  
 -2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
 +2014-04-12  Michael Albinus  <michael.albinus@gmx.de>
  
        * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
        name twice due to backticks.  (Bug#17238)
  
 -2014-04-11  Glenn Morris  <rgm@gnu.org>
 +2014-04-12  Glenn Morris  <rgm@gnu.org>
  
        * term/w32-win.el (x-win-suspend-error):
        * term/x-win.el (x-win-suspend-error): Sync docs.
  
 -2014-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
 +
 +      * faces.el (make-face): Remove deprecated optional argument.
 +      The conditional application of X resources is handled directly by
 +      make-face-x-resource-internal since Emacs 24.4.
 +      (make-empty-face): Don't pass optional argument to make-face.
 +
 +2014-04-11  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport.  (Bug#16429)
 +
 +2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        Ediff's overlay priorities cause more trouble than they solve.
        * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
        (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
        overlay priorities.
  
 -2014-04-10  Feng Li  <fengli@gmail.com>  (tiny change)
 +2014-04-11  Feng Li  <fengli@gmail.com>  (tiny change)
  
        * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
        entry; use symbol boundaries to avoid mis-matches.
  
 -2014-04-10  Michael Albinus  <michael.albinus@gmx.de>
 +2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
  
        * net/tramp.el (tramp-file-name-handler)
        (tramp-completion-file-name-handler): Avoid recursive loading.
        * net/tramp-sh.el (tramp-make-copy-program-file-name):
        Quote result also locally.
  
 +2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
 +      Remove left-over code.
 +
 +      * newcomment.el (comment-indent-new-line): Sink code where it's used.
 +      Reuse the previous comment's indentation unconditionally if it's on its
 +      own line.
 +
 +2014-04-09  Daniel Colascione  <dancol@dancol.org>
 +
 +      * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
 +      `no-syntax-crossing' arguments.  Forward to `up-list'.
 +      (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
 +      Implement logic for escaping from strings.  Use narrowing to deal
 +      with corner cases.
 +
 +2014-04-09  Leo Liu  <sdl.web@gmail.com>
 +
 +      * net/rcirc.el (rcirc-connection-info): New variable.
 +      (rcirc-connect): Use it to store connection info.
 +      (rcirc-buffer-process): Avoid get-buffer-process which returns nil
 +      for killed process.
 +      (rcirc-cmd-reconnect): New command.  (Bug#17045)
 +      (rcirc-mode, set-rcirc-encode-coding-system)
 +      (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
 +
 +2014-04-09  Daniel Colascione  <dancol@dancol.org>
 +
 +      * emacs-lisp/cl-indent.el: Add comment claiming
 +      facility is also good for elisp.
 +      (lisp-indent-find-method): New function.
 +      (common-lisp-indent-function): Recognize cl-loop.
 +      (common-lisp-indent-function-1): Recognize cl constructs; use
 +      `lisp-indent-find-method' instead of `get' directly.
 +      (if): Use else-body style for elisp.
 +
  2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
  
        * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
        Module methods.  (Bug#17216)
  
 -2014-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * help.el (describe-bindings): Fix buffer handling (bug#17210).
        (describe-bindings-internal): Mark obsolete.
  
 +2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * subr.el (with-silent-modifications): Don't bind deactivate-mark,
 +      buffer-file-name, and buffer-file-truename any more.
 +
 +2014-04-08  Leo Liu  <sdl.web@gmail.com>
 +
 +      Use lexical-binding and require cl-lib.
 +      * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
 +      (rcirc-handler-generic, rcirc-fill-paragraph)
 +      (rcirc-format-response-string, rcirc-target-buffer)
 +      (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
 +      (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
 +      (rcirc-ctcp-sender-PING, rcirc-browse-url)
 +      (rcirc-markup-timestamp, rcirc-markup-attributes)
 +      (rcirc-markup-my-nick, rcirc-markup-urls)
 +      (rcirc-markup-bright-nicks, rcirc-markup-fill)
 +      (rcirc-check-auth-status, rcirc-handler-WALLOPS)
 +      (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
 +      (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
 +      (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
 +      (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
 +      (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
 +      (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
 +      (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
 +      (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
 +      (rcirc-handler-CTCP-response): Fix unused arguments warnings and
 +      use cl-lib.
 +
  2014-04-07  João Távora  <joaotavora@gmail.com>
  
 -      * elec-pair.el:
 -      (electric-pair--syntax-ppss): When inside comments parse from
 -      comment beginning.
 +      * elec-pair.el (electric-pair--syntax-ppss):
 +      When inside comments parse from comment beginning.
        (electric-pair--balance-info): Fix typo in comment.
        (electric-pair--in-unterminated-string-p): Delete.
        (electric-pair--unbalanced-strings-p): New function.
        (electric-pair-inhibit-if-helps-balance): Decide quote pairing
        according to `electric-pair--in-unterminated-string-p'
  
 -2014-04-07  João Távora  <joaotavora@gmail.com>
 -
        * elec-pair.el (electric-pair-inhibit-if-helps-balance):
        Inhibit quote pairing if point-max is inside an unterminated string.
        (electric-pair--looking-at-unterminated-string-p): Delete.
        * shell.el (shell-directory-tracker):
        Go back to just ignoring failures.  (Bug#17159)
  
 -2014-04-06  João Távora  <joaotavora@gmail.com>
 +2014-04-07  João Távora  <joaotavora@gmail.com>
  
        Fix `electric-pair-delete-adjacent-pairs' in modes binding
        backspace. (bug#16981)
        a new `electric-pair-delete-pair' command.
        (electric-pair-delete-pair): New command.
  
 -2014-04-06  João Távora  <joaotavora@gmail.com>
 -
        * progmodes/python.el (python-electric-pair-string-delimiter):
        Fix triple-quoting electricity.  (Bug#17192)
  
 -2014-04-06  João Távora  <joaotavora@gmail.com>
 -
        * elec-pair.el (electric-pair-post-self-insert-function):
        Don't skip whitespace when `electric-pair-text-pairs' and
        `electric-pair-pairs' were used. syntax to
        electric-pair--skip-whitespace.  (Bug#17183)
  
 -2014-04-06  Eli Zaretskii  <eliz@gnu.org>
 +2014-04-07  Eli Zaretskii  <eliz@gnu.org>
  
        * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
        "<F>".  (Bug#17199)
  
 -2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
        (mpc--status-idle-timer-run): Use mpc--status-timer-run.
  
 -2014-04-05  Glenn Morris  <rgm@gnu.org>
 +2014-04-07  Glenn Morris  <rgm@gnu.org>
  
        * help.el (view-lossage): Doc tweak.
  
 -2014-04-05  Matthias Dahl  <matthias.dahl@binary-island.eu>
 +2014-04-07  Matthias Dahl  <ml_emacs-lists@binary-island.eu>
  
        * faces.el (face-spec-recalc): Call make-face-x-resource-internal
        only when inhibit-x-resources is nil, and do that earlier in the
        (face-set-after-frame-default): Don't call
        make-face-x-resource-internal here.  (Bug#16434)
  
 -2014-04-04  Tassilo Horn  <tsdh@gnu.org>
 +2014-04-07  Tassilo Horn  <tsdh@gnu.org>
  
        * doc-view.el (doc-view-bookmark-jump):
        Use `bookmark-after-jump-hook' to jump to the right page after the
        buffer is shown in a window.  (bug#16090)
  
 -2014-04-04  Eli Zaretskii  <eliz@gnu.org>
 +2014-04-07  Eli Zaretskii  <eliz@gnu.org>
  
        * international/characters.el (mirroring): Fix last change:
        instead of loading uni-mirrored.el explicitly, do that implicitly
        by creating the 'mirroring' uniprop table.  This avoids announcing
        the loading of uni-mirrored.el.
  
 -2014-04-04  Glenn Morris  <rgm@gnu.org>
 +2014-04-07  Glenn Morris  <rgm@gnu.org>
  
        * files.el (buffer-stale--default-function)
        (buffer-stale-function, revert-buffer--default):
        * autorevert.el (auto-revert-buffers): Doc tweaks.
  
 -2014-04-03  Eli Zaretskii  <eliz@gnu.org>
 +2014-04-07  Eli Zaretskii  <eliz@gnu.org>
  
        * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
  
 -2014-04-03  Glenn Morris  <rgm@gnu.org>
 +2014-04-07  Glenn Morris  <rgm@gnu.org>
  
        * files.el (make-backup-file-name-function)
        (make-backup-file-name, make-backup-file-name--default-function)
        (make-backup-file-name-function): Bump :version.
        Restore nil as a valid but deprecated custom type.
  
 -2014-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
 -
 -      * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
 -      used as a variable (bug#17174).
 +2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 +      * progmodes/perl-mode.el (perl-syntax-propertize-function):
 +      Handle $' used as a variable (bug#17174).
  
        * progmodes/perl-mode.el (perl-indent-new-calculate):
        Handle forward-sexp failure (bug#16985).
        (perl-syntax-propertize-function): Add "foreach" and "for" statement
        modifiers introducing expressions (bug#17116).
  
 +2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
 +
 +2014-04-05  Leo Liu  <sdl.web@gmail.com>
 +
 +      * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
 +      Add define-compilation-mode.
 +
 +2014-04-04  João Távora  <joaotavora@gmail.com>
 +
 +      * elec-pair.el (electric-pair--syntax-ppss): When inside comments
 +      parse from comment beginning.
 +      (electric-pair--balance-info): Fix typo in comment.
 +      (electric-pair--in-unterminated-string-p): Delete.
 +      (electric-pair--unbalanced-strings-p): New function.
 +      (electric-pair-string-bound-function): New var.
 +      (electric-pair-inhibit-if-helps-balance): Decide quote pairing
 +      according to `electric-pair--in-unterminated-string-p'.
 +
 +2014-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
 +      Move declaration before first use.
 +      (reftex-move-to-next-arg): Silence compiler warning.
 +
 +2014-04-04  Joost Kremers  <joostkremers@fastmail.fm>  (tiny change)
 +
 +      * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
 +      Use `window-total-width' instead of `window-width'.
 +
 +2014-04-03  Daniel Colascione  <dancol@dancol.org>
 +
 +      * subr.el (set-transient-map): Remove rms's workaround entirely;
 +      use new `suspicious-object' subr to mark our lambda for closer
 +      scrutiny during gc.
 +
 +2014-04-02  Richard Stallman  <rms@gnu.org>
 +
 +      * subr.el (set-transient-map): Comment out previous change.
 +
  2014-04-02  Glenn Morris  <rgm@gnu.org>
  
        * menu-bar.el (menu-bar-file-menu):
  
        * simple.el (command-execute): Respect nil disabled-command-function.
  
 -2014-04-01  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
 +2014-04-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
  
        * simple.el (command-execute): Do not execute the command when it
        is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
  
 -2014-03-29  Juri Linkov  <juri@jurta.org>
 +2014-04-02  Juri Linkov  <juri@jurta.org>
  
        * dired-aux.el (dired-compress-file): Don't use string-match-p
        because its match data is used afterwards.
  
 -2014-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
        0 like nil.
  
 +2014-04-02  João Távora  <joaotavora@gmail.com>
 +
 +      * elec-pair.el (electric-pair-inhibit-if-helps-balance):
 +      Inhibit quote pairing if point-max is inside an unterminated string.
 +      (electric-pair--looking-at-unterminated-string-p):
 +      Delete.
 +      (electric-pair--in-unterminated-string-p): New function.
 +
 +2014-04-01  Daniel Colascione  <dancol@dancol.org>
 +
 +      * minibuffer.el (minibuffer-complete): Prevent assertion failure
 +      when trying to complete the prompt.
 +
 +2014-03-31  Leo Liu  <sdl.web@gmail.com>
 +
 +      * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
 +      Refactor out eldoc-documentation-function-default.
 +      (eldoc-documentation-function-default): New function.
 +      (eldoc-documentation-function): Change value.
 +
 +2014-03-31  Glenn Morris  <rgm@gnu.org>
 +
 +      * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
 +
 +      * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
 +      (vhdl-compose-components-package, vhdl-compose-configuration):
 +      Abbreviate default-directory (missing from some previous upstream sync).
 +
 +2014-03-31  Reto Zimmermann  <reto@gnu.org>
 +
 +      Sync with upstream vhdl mode v3.35.2.
 +      * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
 +      (top-level): No longer require assoc.
 +      (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
 +      New functions.  Use throughout to replace aget etc.
 +      (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
 +      (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
 +      (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
 +      (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
 +      (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
 +      except `vhdl-compiler'.
 +      (vhdl-error-regexp-add-emacs): Remove all other compilers,
 +      when appropriate.
 +
 +2014-03-31  Glenn Morris  <rgm@gnu.org>
 +
 +      * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
 +      Revert 2014-03-26 merge goof; go back to using defalias.
 +
 +2014-03-30  Daniel Colascione  <dancol@dancol.org>
 +
 +      * comint.el (comint-send-input):
 +      Deactivate completion-in-region-mode before we send comint input.
 +      (Bug#17139).
 +
 +      * simple.el (keyboard-quit): Deactivate completion-in-region-mode
 +      on keyboard-quit.
 +
 +2014-03-29  Glenn Morris  <rgm@gnu.org>
 +
 +      * textmodes/reftex.el: Manage most autoloads automatically.
 +      * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
 +      * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
 +      * textmodes/reftex-index.el, textmodes/reftex-parse.el:
 +      * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
 +      * textmodes/reftex-toc.el: Set generated-autoload-file,
 +      and add autoload cookies for reftex.el.
 +      * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
 +
 +2014-03-28  Glenn Morris  <rgm@gnu.org>
 +
 +      * cus-start.el (report-emacs-bug-address): Set custom properties.
 +      * mail/emacsbug.el (report-emacs-bug-address):
 +      Variable is now defined in emacs.c.
 +
 +      * mail/emacsbug.el (report-emacs-bug):
 +      Include system-configuration-features.
 +
 +2014-03-28  Michal Nazarewicz  <mina86@mina86.com>
 +
 +      * simple.el (cycle-spacing): Never delete spaces on first run by
 +      default, but do so in a new 'fast mode and if there are already
 +      N spaces (the previous behavior).
 +      Compare N with its value in previous invocation so that changing
 +      prefix argument restarts `cycle-spacing' sequence.
 +      The idea is that with this change, binding M-SPC to
 +      `cycle-spacing' should not introduce any changes in behavior of
 +      the binding so long as users do not type M-SPC twice in a raw with
 +      the same prefix argument or lack thereof.
 +
 +2014-03-28  Glenn Morris  <rgm@gnu.org>
 +
 +      * faces.el (term-file-aliases): New variable.
 +      (tty-run-terminal-initialization): Respect term-file-aliases.
 +      * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
 +      * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
 +      * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
 +
 +2014-03-27  Glenn Morris  <rgm@gnu.org>
 +
 +      * startup.el (inhibit-startup-hooks): Doc tweak.
 +      (normal-top-level): Simplify running of hooks.
 +      For window-setup-hook, respect inhibit-startup-hooks.
 +      (command-line-1): Don't set window-setup-hook to nil.
 +
 +      Allow selective autoloading from obsolete/ directory.
 +      * Makefile.in (obsolete-autoloads): New rule.
 +      (autoloads): Run obsolete-autoloads.
 +      * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
 +      * simple.el (iswitchb-mode): Remove hand-written autoloads.
 +
  2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
  
        * progmodes/ruby-mode.el (ruby-font-lock-keywords):
        * emacs-lisp/package-x.el (package--archive-contents-from-url):
        Use url-insert-file-contents; package-handle-response no longer exists.
  
 +2014-03-26  Daniel Colascione  <dancol@dancol.org>
 +
 +      * simple.el (process-menu-mode-map): New variable.
 +      (process-menu-delete-process): New command.
 +
  2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
  
        * emacs-lisp/package.el: Fix bug#16733 (again).
        dynamic binding of `buffer'.
        (describe-package-1): Do not decode readme-string.
  
 -2014-03-25  Barry O'Reilly  <gundaetiapo@gmail.com>
 -
 -      * simple.el (primitive-undo): Correction to 2014-03-24 change.
 -
 -2014-03-25  Michael Albinus  <michael.albinus@gmx.de>
 +2014-03-26  Michael Albinus  <michael.albinus@gmx.de>
  
        * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
  
        (tramp-do-copy-or-rename-file-directly): In the `rename' case,
        check whether source directory has set the sticky bit.
  
 -2014-03-24  Barry O'Reilly  <gundaetiapo@gmail.com>
 +2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
  
        * simple.el (primitive-undo): Only process marker adjustments
        validated against their corresponding (TEXT . POS).  Issue warning
        (undo-elt-in-region): Return nil when passed a marker adjustment
        and explain in function doc.
  
 -2014-03-24  Dmitry Gutov  <dgutov@yandex.ru>
 -
 -      * emacs-lisp/package.el (package--add-to-archive-contents):
 -      Include already installed and built-in packages in
 -      `package-archive-contents'.
 -      (package-install): Don't include already installed packages in the
 -      options during interactive invocation.  (Bug#16762)
 -
 -2014-03-24  Daniel Colascione  <dancol@dancol.org>
 -
 -      * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
 -      instead of cl-loop search function.
 -
 -2014-03-24  Juanma Barranquero  <lekktu@gmail.com>
 -
 -      * frameset.el (frameset--initial-params): Fix typo in parameter name.
 -
 -2014-03-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
 +2014-03-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
  
        * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
  
 -2014-03-24  Dmitry Gutov  <dgutov@yandex.ru>
 +2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
  
        * progmodes/ruby-mode.el (ruby-expression-expansion-re):
        Match special global variables without curlies, too.
        variables.  Don't require a non-word character after the variable.
        (Bug#17057)
  
 -2014-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * simple.el (redisplay-highlight-region-function): Increase priority of
        overlay to make sure boundaries are visible (bug#15899).
  
 -2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
 +2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * frameset.el (frameset-restore): Compare display strings with equal.
 +      * frameset.el (frameset--initial-params): Fix typo in parameter name.
 +      (frameset-restore): Compare display strings with equal.
  
        * frame.el (make-frame): Don't quote display name in error message,
        it is already a string.
  
 -2014-03-23  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
 +2014-03-26  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
  
        * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
        the password.
  
 -2014-03-23  Dmitry Gutov  <dgutov@yandex.ru>
 +2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
  
 -      * emacs-lisp/package.el (package-show-package-list): If the buffer
 -      is already displayed in another window, switch to that window.
 +      * emacs-lisp/package.el (package--add-to-archive-contents):
 +      Include already installed and built-in packages in
 +      `package-archive-contents'.
 +      (package-install): Don't include already installed packages in the
 +      options during interactive invocation.  (Bug#16762)
 +      (package-show-package-list): If the buffer is already displayed in
 +      another window, switch to that window.
 +
 +2014-03-26  Reto Zimmermann  <reto@gnu.org>
 +
 +      Sync with upstream vhdl mode v3.35.1.
 +      * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
 +      (vhdl-compiler-alist): Doc fix.
 +      (vhdl-goto-line): Remove.
 +      (vhdl-mode-abbrev-table-init): Add XEmacs compat.
 +      (vhdl-mode) <paragraph-start>: Fix value.
 +      (vhdl-fix-statement-region): Not `for' in wait-statement.
 +      (vhdl-beautify-region): Also (un)tabify.
 +      (vhdl-get-visible-signals):
 +      Scan declarative part of generate statements.
 +      (vhdl-template-record): Fix indentation for record type declaration.
 +      (vhdl-expand-abbrev, vhdl-expand-paren):
 +      Revert to using fset again rather than defalias.
 +      (vhdl-scan-directory-contents): Tweak.
 +      (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
 +      (vhdl-compose-components-package):
 +      Replace vhdl-goto-line with forward-line.
 +      (top-level): Tweak speedbar frame selection.
 +      (vhdl-generate-makefile-1): Support for compilers with no
 +      unit-to-file name mapping (create directory with dummy files).
 +
 +2014-03-26  Wilson Snyder  <wsnyder@wsnyder.org>
 +
 +      Sync with upstream verilog-mode revision 702457d.
 +      * progmodes/verilog-mode.el (verilog-mode-version): Update.
 +      (create-lockfiles): Declare.
 +      (verilog-read-decls): Fix module header imports, bug709.
 +      Reported by Victor Lau.
 +      Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
 +      (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
 +      interface-only modules, bug721.  Reported by Dean Hoyt.
  
 -2014-03-21  Daniel Colascione  <dancol@dancol.org>
 +2014-03-26  Glenn Morris  <rgm@gnu.org>
  
 -      * mail/emacsbug.el (report-emacs-bug): Include memory usage
 -      information in bug reports.
 +      * obsolete/gulp.el: Move here from emacs-lisp/.
 +
 +      * files.el (lock-buffer, unlock-buffer, file-locked-p):
 +      Remove fallback aliases, since they are always defined now.
 +
 +2014-03-24  Daniel Colascione  <dancol@dancol.org>
 +
 +      * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
 +      instead of cl-loop search function.
 +
 +2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
 +
 +      * calendar/parse-time.el (parse-time-iso8601-regexp)
 +      (parse-iso8601-time-string): Copied from `url-dav' so that we can use
 +      it more generally.
 +
 +2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
 +
 +      * net/dns.el (network-interface-list): Define for XEmacs.
 +
 +2014-03-23  Magnus Henoch  <magnus.henoch@gmail.com>
 +
 +      * net/dns.el (dns-servers-up-to-date-p): New function to see whether
 +      the network interfaces changed.
 +      (dns-query): Use it to flush the data.
 +
 +2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
 +
 +2014-03-23  Daniel Colascione  <dancol@dancol.org>
 +
 +      Change subword-mode to use `find-word-boundary-function-table' and
 +      replace `capitalized-words-mode'.  Also, convert to lexical
 +      binding.
 +
 +      * progmodes/cap-words.el: Delete now-obsolete file.
 +      * progmodes/subword.el: Reimplement using
 +      `find-word-boundary-function-table'.
 +      (subword-mode-map): Hollow out.
 +      (capitalized-words-mode): Define as obsolete alias for
 +      `subword-mode'.
 +      (subword-mode, superword-mode): Tweak documentation to reflect new
 +      implementation; call `subword-setup-buffer'.
 +      (subword-forward, subword-capitalize): Add underscore to indicate
 +      unused variable.
 +      (subword-find-word-boundary-function-table): New constant.
 +      (subword-empty-char-table): New constant.
 +      (subword-setup-buffer): New function.
 +      (subword-find-word-boundary): New function.
  
  2014-03-23  Daniel Colascione  <dancol@dancol.org>
  
        (Bug#3647) --- unfortunately, only for freshly-compiled code.
        Please make bootstrap.
  
 -2014-03-23  Richard Stallman  <rms@gnu.org>
 -
 -      * battery.el (battery-linux-sysfs): Search for each field
 -      from the beginning of the buffer.
 +2014-03-22  Glenn Morris  <rgm@gnu.org>
 +
 +      * dired.el (dired-read-regexp): Make obsolete.
 +      (dired-mark-files-regexp, dired-mark-files-containing-regexp)
 +      (dired-flag-files-regexp):
 +      * dired-aux.el (dired-mark-read-regexp):
 +      * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
 +
 +      * startup.el (fancy-startup-text):
 +      * help.el (describe-gnu-project): Visit online info about GNU project.
 +
 +      * help-fns.el (help-fns--interactive-only): New function.
 +      (help-fns-describe-function-functions): Add the above function.
 +      * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
 +      (next-line, previous-line): Remove hand-written interactive-only
 +      information from doc strings, it is auto-generated now.
 +      * bookmark.el (bookmark-write):
 +      * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
 +      (epa-mail-import-keys): Mark interactive-only,
 +      and remove hand-written interactive-only information from doc strings.
 +      * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
 +      (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
 +      * files.el (not-modified):
 +      * simple.el (mark-whole-buffer): Mark interactive-only.
 +
 +      * emacs-lisp/byte-run.el (defun-declarations-alist):
 +      Add interactive-only.  Doc tweak.
 +      (macro-declarations-alist): Doc tweak.
 +      * subr.el (declare): Doc tweak (add xref to manual).
 +      * comint.el (comint-run):
 +      * files.el (insert-file-literally, insert-file):
 +      * replace.el (replace-string, replace-regexp):
 +      * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
 +      (delete-forward-char, goto-line, insert-buffer, next-line)
 +      (previous-line): Set interactive-only via declare.
  
  2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
  
        * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
        benefit of doc.c; change parameter profile to match the X function.
  
 +2014-03-22  Leo Liu  <sdl.web@gmail.com>
 +
 +      * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
 +      (temp-buffer-show-hook): Remove help-mode-finish.  (Bug#16038)
 +
 +2014-03-21  Richard Stallman  <rms@gnu.org>
 +
 +      * battery.el (battery-linux-sysfs): Search for each field
 +      from the beginning of the buffer.
 +
 +      * subr.el (set-transient-map): Clear out function and value
 +      of the temporary symbol when we're done with it.
 +
 +      * mail/rmailsum.el (rmail-summary-delete-forward):
 +      Optimize case of reaching end and handling count.
 +      (rmail-summary-mark-deleted): Optimize when N is current msg.
 +      Don't create new summary line.
 +      (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
 +      (rmail-summary-undelete-many): Rewrite for speed.
 +      (rmail-summary-msg-number): New function.
 +
 +      * mail/rmail.el (rmail-delete-message): Update summary.
 +      (rmail-undelete-previous-message): Handle repeat count arg.
 +      (rmail-delete-backward, rmail-delete-forward): Likewise.
 +
 +2014-03-21  Daniel Colascione  <dancol@dancol.org>
 +
 +      * mail/emacsbug.el (report-emacs-bug): Include memory usage
 +      information in bug reports.
 +
  2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
  
        * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
        (tty-color-approximate, tty-color-by-index, tty-color-values)
        (tty-color-desc): Remove superfluous backslashes.
  
 +2014-03-21  Glenn Morris  <rgm@gnu.org>
 +
 +      * cus-start.el (history-length): Bump :version.
 +
 +      * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
 +      ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
 +      ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
 +      Don't set `make-backup-files'.
 +
 +      * info.el (info--prettify-description): New function,
 +      to give info-finder descriptions consistent case, punctuation.
 +      (Info-finder-find-node): Use it.  Sort packages.
 +      Refer to "description" rather than "commentary".
 +
 +2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * frameset.el (frameset--print-register): New function.
 +      (frameset-to-register): Use it.
 +
 +2014-03-20  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * progmodes/hideif.el (hif-string-to-number): New function.
 +      (hif-tokenize): Use it to understand non-decimal floats.
 +
 +      * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
 +
 +      * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
 +
  2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * electric.el (electric-newline-and-maybe-indent): New command.
  2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
  
        * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
 -      Do not add `nil' to the environment, when there's no remote `locale'.
 +      Do not add nil to the environment, when there's no remote `locale'.
        (tramp-find-inline-encoding): Check, that the remote host has
        installed perl, before sending scripts.
  
  
        * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
        Make it into a proper minor mode.
 -      (rectangle--region): (implicitly) rename to rectangle-mark-mode.
 +      (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
        (rectangle-mark-mode-map): New keymap.
        (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
  
  
  2013-10-28  Daiki Ueno  <ueno@gnu.org>
  
 -      * epa-file.el
 -      (epa-file-cache-passphrase-for-symmetric-encryption):
 +      * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
        Document that this option has no effect with GnuPG 2.0 (bug#15552).
  
  2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
        * textmodes/reftex-vars.el (reftex-ref-style-alist):
        Add cleveref macros.
  
 -      * textmodes/reftex-parse.el
 -      (reftex-locate-bibliography-files): Accept options for
 -      bibliography commands.
 +      * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
 +      Accept options for bibliography commands.
        * textmodes/reftex-vars.el (reftex-bibliography-commands):
        Add addbibresource.  Basic Biblatex support.
  
  2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
  
        New faster Imenu implementation (bug#14058).
 -      * progmodes/python.el:
 -      (python-imenu-prev-index-position):
 +      * progmodes/python.el (python-imenu-prev-index-position)
        (python-imenu-format-item-label-function)
        (python-imenu-format-parent-item-label-function)
        (python-imenu-format-parent-item-jump-label-function):
index 759b77737139e5496baa8f30d120e2fda57ccf5a,d8bca81ed9b96cf8e1af3818d8903940252369af..7429819adc94a026e0b2caeead9aa275a38dccee
  
  ;;; Commentary:
  
- ;; This package provides facilities for making, displaying, navigating
- ;; and editing todo lists, which are prioritized lists of todo items.
- ;; Todo lists are identified with named categories, so you can group
- ;; together and separately prioritize thematically related todo items.
- ;; Each category is stored in a file, which thus provides a further
- ;; level of organization.  You can create as many todo files, and in
- ;; each as many categories, as you want.
+ ;; This package provides facilities for making and maintaining
+ ;; prioritized lists of things to do.  These todo lists are identified
+ ;; with named categories, so you can group together thematically
+ ;; related todo items.  Each category is stored in a file, providing a
+ ;; further level of organization.  You can create as many todo files,
+ ;; and in each as many categories, as you want.
  
  ;; With Todo mode you can navigate among the items of a category, and
  ;; between categories in the same and in different todo files.  You
- ;; can edit todo items, reprioritize them within their category, move
- ;; them to another category, delete them, or mark items as done and
- ;; store them separately from the not yet done items in a category.
- ;; You can add new todo files, edit and delete them.  You can add new
- ;; categories, rename and delete them, move categories to another file
- ;; and merge the items of two categories.  You can also reorder the
- ;; sequence of categories in a todo file for the purpose of
- ;; navigation.  You can display summary tables of the categories in a
- ;; file and the types of items they contain.  And you can compile
- ;; lists of existing items from multiple categories in one or more
- ;; todo files, which are filtered by various criteria.
- ;; To get started, load this package and type `M-x todo-show'.  This
- ;; will prompt you for the name of the first todo file, its first
- ;; category and the category's first item, create these and display
- ;; them in Todo mode.  Now you can insert further items into the list
- ;; (i.e., the category) and assign them priorities by typing `i i'.
- ;; You will probably find it convenient to give `todo-show' a global
- ;; key binding in your init file, since it is one of the entry points
- ;; to Todo mode; a good choice is `C-c t', since `todo-show' is
- ;; bound to `t' in Todo mode.
- ;; To see a list of all Todo mode commands and their key bindings,
- ;; including other entry points, type `C-h m' in Todo mode.  Consult
- ;; the documentation strings of the commands for details of their use.
- ;; The `todo' customization group and its subgroups list the options
- ;; you can set to alter the behavior of many commands and various
- ;; aspects of the display.
- ;; This package is a new version of Oliver Seidel's todo-mode.el.
- ;; While it retains the same basic organization and handling of todo
- ;; lists and the basic UI, it significantly extends these and adds
- ;; many features.  This required also making changes to the internals,
- ;; including the file format.  If you have a todo file in old format,
- ;; then the first time you invoke `todo-show' (i.e., before you have
- ;; created any todo file in the current format), it will ask you
- ;; whether to convert that file and show it.  If you choose not to
- ;; convert the old-style file at this time, you can do so later by
- ;; calling the command `todo-convert-legacy-files'.
+ ;; can add and edit todo items, reprioritize them, move them to
+ ;; another category, or delete them.  You can also mark items as done
+ ;; and store them within their category or in separate archive files.
+ ;; You can include todo items in the Emacs Fancy Diary display and
+ ;; treat them as appointments.  You can add new todo files, and rename
+ ;; or delete them.  You can add new categories to a file, rename or
+ ;; delete them, move a category to another file and merge the items of
+ ;; two categories.  You can also reorder the sequence of categories in
+ ;; a todo file for the purpose of navigation.  You can display
+ ;; sortable summary tables of the categories in a file and the types
+ ;; of items they contain.  And you can filter items by various
+ ;; criteria from multiple categories in one or more todo files to
+ ;; create prioritizable cross-category overviews of your todo items.
+ ;; To get started, type `M-x todo-show'.  For full details of the user
+ ;; interface, commands and options, consult the Todo mode user manual,
+ ;; which is included in the Info documentation.
  
  ;;; Code:
  
  (require 'diary-lib)
- ;; For cl-remove-duplicates (in todo-insertion-commands-args) and
- ;; cl-oddp.
- (require 'cl-lib)
+ (require 'cl-lib)                     ; For cl-oddp and cl-assert.
  
  ;; -----------------------------------------------------------------------------
  ;;; Setting up todo files, categories, and items
@@@ -1736,31 -1710,40 +1710,40 @@@ means prompt user and omit comment onl
  
  (defun todo-toggle-mark-item (&optional n)
    "Mark item with `todo-item-mark' if unmarked, otherwise unmark it.
- With a positive numerical prefix argument N, change the
- marking of the next N items."
+ With positive numerical prefix argument N, change the marking of
+ the next N items in the current category.  If both the todo and
+ done items sections are visible, the sequence of N items can
+ consist of the the last todo items and the first done items."
    (interactive "p")
    (when (todo-item-string)
      (unless (> n 1) (setq n 1))
-     (dotimes (i n)
-       (let* ((cat (todo-current-category))
-            (marks (assoc cat todo-categories-with-marks))
-            (ov (progn
-                  (unless (looking-at todo-item-start)
-                    (todo-item-start))
-                  (todo-get-overlay 'prefix)))
-            (pref (overlay-get ov 'before-string)))
-       (if (todo-marked-item-p)
-           (progn
-             (overlay-put ov 'before-string (substring pref 1))
-             (if (= (cdr marks) 1)     ; Deleted last mark in this category.
-                 (setq todo-categories-with-marks
-                       (assq-delete-all cat todo-categories-with-marks))
-               (setcdr marks (1- (cdr marks)))))
-         (overlay-put ov 'before-string (concat todo-item-mark pref))
-         (if marks
-             (setcdr marks (1+ (cdr marks)))
-           (push (cons cat 1) todo-categories-with-marks))))
-       (todo-forward-item))))
+     (catch 'end
+       (dotimes (i n)
+       (let* ((cat (todo-current-category))
+              (marks (assoc cat todo-categories-with-marks))
+              (ov (progn
+                    (unless (looking-at todo-item-start)
+                      (todo-item-start))
+                    (todo-get-overlay 'prefix)))
+              (pref (overlay-get ov 'before-string)))
+         (if (todo-marked-item-p)
+             (progn
+               (overlay-put ov 'before-string (substring pref 1))
+               (if (= (cdr marks) 1)   ; Deleted last mark in this category.
+                   (setq todo-categories-with-marks
+                         (assq-delete-all cat todo-categories-with-marks))
+                 (setcdr marks (1- (cdr marks)))))
+           (overlay-put ov 'before-string (concat todo-item-mark pref))
+           (if marks
+               (setcdr marks (1+ (cdr marks)))
+             (push (cons cat 1) todo-categories-with-marks))))
+       (todo-forward-item)
+       ;; Don't try to mark the empty lines at the end of the todo
+       ;; and done items sections.
+       (when (looking-at "^$")
+         (if (eobp)
+             (throw 'end nil)
+           (todo-forward-item)))))))
  
  (defun todo-mark-category ()
    "Mark all visible items in this category with `todo-item-mark'."
            (if marks
                (setcdr marks (1+ (cdr marks)))
              (push (cons cat 1) todo-categories-with-marks))))
-       (todo-forward-item)))))
+       (todo-forward-item)
+       ;; Don't try to mark the empty line between the todo and done
+       ;; items sections.
+       (when (looking-at "^$")
+         (unless (eobp)
+           (todo-forward-item)))))))
  
  (defun todo-unmark-category ()
    "Remove `todo-item-mark' from all visible items in this category."
@@@ -2117,8 -2105,7 +2105,8 @@@ the item at point.
        (save-excursion
        (todo-item-start)
        (if (re-search-forward (concat " \\[" (regexp-quote todo-comment-string)
 -                                     ": \\([^]]+\\)\\]") end t)
 +                                     ": \\([^]]+\\)\\]")
 +                               end t)
            (if comment-delete
                (when (todo-y-or-n-p "Delete comment? ")
                  (delete-region (match-beginning 0) (match-end 0)))
                                                  (cons item 0))))))
         (when include-header
           (while (not (string-match (concat todo-date-string-start
 -                                           todo-date-pattern) new))
 +                                           todo-date-pattern)
 +                                     new))
             (setq new (read-from-minibuffer
                        "Item must start with a date: " new))))
         ;; Ensure lines following hard newlines are indented.
@@@ -3973,7 -3959,8 +3961,8 @@@ regexp items.
      (setq file (cdr (assoc-string file falist)))
      (find-file file)
      (unless (derived-mode-p 'todo-filtered-items-mode)
-       (todo-filtered-items-mode))))
+       (todo-filtered-items-mode))
+     (todo-prefix-overlays)))
  
  (defun todo-go-to-source-item ()
    "Display the file and category of the filtered item at point."
@@@ -4082,7 -4069,6 +4071,6 @@@ multifile commands for further details.
                        (progn (todo-multiple-filter-files)
                               todo-multiple-filter-files))
                  (list todo-current-todo-file)))
-        (multi (> (length flist) 1))
         (fname (if (equal flist 'quit)
                    ;; Pressed `cancel' in t-m-f-f file selection dialog.
                    (keyboard-quit)
                          (cond (top ".todt")
                                (diary ".tody")
                                (regexp ".todr")))))
+        (multi (> (length flist) 1))
         (rxfiles (when regexp
                    (directory-files todo-directory t ".*\\.todr$" t)))
         (file-exists (or (file-exists-p fname) rxfiles))
diff --combined lisp/faces.el
index d8b3c7a6b0fe3eac31ad0d74c0252a6ddddb16b6,d0e768c834ec771c7c60ad13204741f0a0974ae8..bb77af0425e26d9ed40197c643863408037d8f33
@@@ -35,26 -35,6 +35,26 @@@ the terminal-initialization file to be 
                 (string :tag "Name of directory with term files"))
    :group 'terminals)
  
 +(defcustom term-file-aliases
 +  '(("apollo" . "vt100")
 +    ("vt102" . "vt100")
 +    ("vt125" . "vt100")
 +    ("vt201" . "vt200")
 +    ("vt220" . "vt200")
 +    ("vt240" . "vt200")
 +    ("vt300" . "vt200")
 +    ("vt320" . "vt200")
 +    ("vt400" . "vt200")
 +    ("vt420" . "vt200")
 +    )
 +  "Alist of terminal type aliases.
 +Entries are of the form (TYPE . ALIAS), where both elements are strings.
 +This means to treat a terminal of type TYPE as if it were of type ALIAS."
 +  :type '(alist :key-type (string :tag "Terminal")
 +              :value-type (string :tag "Alias"))
 +  :group 'terminals
 +  :version "24.5")
 +
  (declare-function xw-defined-colors "term/common-win" (&optional frame))
  
  (defvar help-xref-stack-item)
@@@ -149,11 -129,15 +149,11 @@@ REGISTRY, ALTERNATIVE1, ALTERNATIVE2, a
    "Return a list of all defined faces."
    (mapcar #'car face-new-frame-defaults))
  
 -(defun make-face (face &optional no-init-from-resources)
 +(defun make-face (face)
    "Define a new face with name FACE, a symbol.
  Do not call this directly from Lisp code; use `defface' instead.
  
 -If FACE is already known as a face, leave it unmodified.  Return FACE.
 -
 -NO-INIT-FROM-RESOURCES has been deprecated and is no longer used
 -and will go away.  Handling of conditional X resources application
 -has been pushed down to make-x-resource-internal itself."
 +If FACE is already known as a face, leave it unmodified.  Return FACE."
    (interactive (list (read-from-minibuffer
                      "Make face: " nil nil t 'face-name-history)))
    (unless (facep face)
      (make-face-x-resource-internal face))
    face)
  
 -;; Handling of whether to apply X resources or not, has been pushed down
 -;; to make-face-x-resource-internal itself, thus the optional arg is no
 -;; longer evaluated at all and going away.
 -(set-advertised-calling-convention 'make-face '(face) "24.4")
 -
  (defun make-empty-face (face)
    "Define a new, empty face with name FACE.
  Do not call this directly from Lisp code; use `defface' instead."
@@@ -370,7 -359,10 +370,10 @@@ If `inhibit-x-resources' is non-nil, th
  
  (defun face-name (face)
    "Return the name of face FACE."
-   (symbol-name (check-face face)))
+   (check-face face)
+   (if (symbolp face)
+       (symbol-name face)
+     face))
  
  
  (defun face-all-attributes (face &optional frame)
@@@ -2065,16 -2057,17 +2068,16 @@@ Calculate the face definitions using th
  settings, X resources, and `face-new-frame-defaults'.
  Finally, apply any relevant face attributes found amongst the
  frame parameters in PARAMETERS."
 -  (let ((window-system-p (memq (window-system frame) '(x w32))))
 -    ;; The `reverse' is so that `default' goes first.
 -    (dolist (face (nreverse (face-list)))
 -      (condition-case ()
 -        (progn
 -          ;; Initialize faces from face spec and custom theme.
 -          (face-spec-recalc face frame)
 -          ;; Apply attributes specified by face-new-frame-defaults
 -          (internal-merge-in-global-face face frame))
 -      ;; Don't let invalid specs prevent frame creation.
 -      (error nil))))
 +  ;; The `reverse' is so that `default' goes first.
 +  (dolist (face (nreverse (face-list)))
 +    (condition-case ()
 +      (progn
 +        ;; Initialize faces from face spec and custom theme.
 +        (face-spec-recalc face frame)
 +        ;; Apply attributes specified by face-new-frame-defaults
 +        (internal-merge-in-global-face face frame))
 +      ;; Don't let invalid specs prevent frame creation.
 +      (error nil)))
  
    ;; Apply attributes specified by frame parameters.
    (let ((face-params '((foreground-color default :foreground)
@@@ -2156,16 -2149,11 +2159,16 @@@ This can be used to fine tune the `inpu
  The optional TYPE parameter may be used to override the autodetected
  terminal type to a different value.
  
 +This consults `term-file-aliases' to map terminal types to their aliases.
 +
  If optional argument RUN-HOOK is non-nil, then as a final step,
  this runs the hook `tty-setup-hook'.
  
  If you set `term-file-prefix' to nil, this function does nothing."
    (setq type (or type (tty-type frame)))
 +  (let ((alias (tty-find-type
 +              (lambda (typ) (assoc typ term-file-aliases)) type)))
 +    (if alias (setq type (cdr (assoc alias term-file-aliases)))))
    ;; Load library for our terminal type.
    ;; User init file can set term-file-prefix to nil to prevent this.
    (with-selected-frame frame
@@@ -2746,8 -2734,8 +2749,8 @@@ If PATTERN is nil, return the name of t
  contains wildcards.
  Given optional arguments FACE and FRAME, return a font which is
  also the same size as FACE on FRAME, or fail."
-   (or (symbolp face)
-       (setq face (face-name face)))
+   (when face
+     (setq face (face-name face)))
    (and (eq frame t)
         (setq frame nil))
    (if pattern
index eb6a55689c1b42d2c387c1dedcb09442faf6480e,724d22ab69b633201d44b22d25587a28ed38c98e..dd1057ebf8d085937940800a22c61d6a7c74c86c
      (ksh88 . jsh)
      (oash . sh)
      (pdksh . ksh88)
 +    (mksh . pdksh)
      (posix . sh)
      (tcsh . csh)
      (wksh . ksh88)
@@@ -263,7 -262,6 +263,7 @@@ sh         Bourne Shel
        ksh     Korn Shell '93
        dtksh   CDE Desktop Korn Shell
        pdksh   Public Domain Korn Shell
 +        mksh    MirOS BSD Korn Shell
        wksh    Window Korn Shell
        zsh     Z Shell
    oash                SCO OA (curses) Shell
    :version "24.4"                       ; added dash
    :group 'sh-script)
  
 -
  (defcustom sh-alias-alist
    (append (if (eq system-type 'gnu/linux)
             '((csh . tcsh)
         ;; for the time being
         '((ksh . ksh88)
             (bash2 . bash)
 -         (sh5 . sh)))
 +         (sh5 . sh)
 +           ;; Android's system shell
 +           ("^/system/bin/sh$" . mksh)))
    "Alist for transforming shell names to what they really are.
 -Use this where the name of the executable doesn't correspond to the type of
 -shell it really is."
 -  :type '(repeat (cons symbol symbol))
 +Use this where the name of the executable doesn't correspond to
 +the type of shell it really is.  Keys are regular expressions
 +matched against the full path of the interpreter.  (For backward
 +compatibility, keys may also be symbols, which are matched
 +against the interpreter's basename.  The values are symbols
 +naming the shell."
 +  :type '(repeat (cons (radio
 +                        (regexp :tag "Regular expression")
 +                        (symbol :tag "Basename"))
 +                       (symbol :tag "Shell")))
    :group 'sh-script)
  
  
@@@ -397,20 -387,15 +397,20 @@@ the car and cdr are the same symbol."
    "Non-nil if `sh-shell-variables' is initialized.")
  
  (defun sh-canonicalize-shell (shell)
 -  "Convert a shell name SHELL to the one we should handle it as."
 -  (if (string-match "\\.exe\\'" shell)
 -      (setq shell (substring shell 0 (match-beginning 0))))
 -  (or (symbolp shell)
 -      (setq shell (intern shell)))
 -  (or (cdr (assq shell sh-alias-alist))
 -      shell))
 -
 -(defvar sh-shell (sh-canonicalize-shell (file-name-nondirectory sh-shell-file))
 +  "Convert a shell name SHELL to the one we should handle it as.
 +SHELL is a full path to the shell interpreter; return a shell
 +name symbol."
 +  (cl-loop
 +     with shell = (cond ((string-match "\\.exe\\'" shell)
 +                         (substring shell 0 (match-beginning 0)))
 +                        (t shell))
 +     with shell-base = (intern (file-name-nondirectory shell))
 +     for (key . value) in sh-alias-alist
 +     if (and (stringp key) (string-match key shell)) return value
 +     if (eq key shell-base) return value
 +     finally return shell-base))
 +
 +(defvar sh-shell (sh-canonicalize-shell sh-shell-file)
    "The shell being programmed.  This is set by \\[sh-set-shell].")
  ;;;###autoload(put 'sh-shell 'safe-local-variable 'symbolp)
  
@@@ -695,7 -680,7 +695,7 @@@ removed when closing the here document.
            "jobs" "kill" "let" "local" "popd" "printf" "pushd" "shopt"
            "source" "suspend" "typeset" "unalias"
            ;; bash4
 -          "mapfile" "readarray")
 +          "mapfile" "readarray" "coproc")
  
      ;; The next entry is only used for defining the others
      (bourne sh-append shell
@@@ -1551,12 -1536,6 +1551,12 @@@ When the region is active, send the reg
  \f
  ;; mode-command and utility functions
  
 +(defun sh-after-hack-local-variables ()
 +  (when (assq 'sh-shell file-local-variables-alist)
 +    (sh-set-shell (if (symbolp sh-shell)
 +                      (symbol-name sh-shell)
 +                    sh-shell))))
 +
  ;;;###autoload
  (define-derived-mode sh-mode prog-mode "Shell-script"
    "Major mode for editing shell scripts.
@@@ -1667,9 -1646,7 +1667,9 @@@ with your script for an edit-interpret-
           ((string-match "[.]csh\\>"    buffer-file-name) "csh")
         ((equal (file-name-nondirectory buffer-file-name) ".profile") "sh")
           (t sh-shell-file))
 -   nil nil))
 +   nil nil)
 +  (add-hook 'hack-local-variables-hook
 +    #'sh-after-hack-local-variables nil t))
  
  ;;;###autoload
  (defalias 'shell-script-mode 'sh-mode)
@@@ -2012,9 -1989,10 +2012,10 @@@ May return nil if the line should not b
                          (<= indent initial)))))
       `(column . ,(+ initial sh-indentation)))
      (`(:before . ,(or `"(" `"{" `"["))
-      (when (smie-rule-hanging-p)
-        (if (not (smie-rule-prev-p "&&" "||" "|"))
-          (smie-rule-parent)
+      (if (not (smie-rule-prev-p "&&" "||" "|"))
+          (when (smie-rule-hanging-p)
+            (smie-rule-parent))
+        (unless (smie-rule-bolp)
         (smie-backward-sexp 'halfexp)
         `(column . ,(smie-indent-virtual)))))
      ;; FIXME: Maybe this handling of ;; should be made into
@@@ -2322,7 -2300,9 +2323,7 @@@ Calls the value of `sh-set-shell-hook' 
                     t))
    (if (string-match "\\.exe\\'" shell)
        (setq shell (substring shell 0 (match-beginning 0))))
 -  (setq sh-shell (intern (file-name-nondirectory shell))
 -      sh-shell (or (cdr (assq sh-shell sh-alias-alist))
 -                   sh-shell))
 +  (setq sh-shell (sh-canonicalize-shell shell))
    (if insert-flag
        (setq sh-shell-file
            (executable-set-magic shell (sh-feature sh-shell-arg)
    (when font-lock-mode
      (setq font-lock-set-defaults nil)
      (font-lock-set-defaults)
 -    (font-lock-fontify-buffer))
 +    (font-lock-flush))
    (setq sh-shell-process nil)
    (run-hooks 'sh-set-shell-hook))
  
diff --combined lisp/startup.el
index aa448848cea348c541ecabdb717cf2135849d000,a229207a2c85f2096024909fd4ccf0b09d7f3de7..d984e6269aea78a53f4b5c19507734f7a701b3f7
@@@ -293,9 -293,8 +293,9 @@@ see `tty-setup-hook'."
  `tty-setup-hook' instead." "24.4")
  
  (defvar inhibit-startup-hooks nil
 -  "Non-nil means don't run `term-setup-hook' and `emacs-startup-hook'.
 -This is because we already did so.")
 +  "Non-nil means don't run some startup hooks, because we already did.
 +Currently this applies to: `emacs-startup-hook', `term-setup-hook',
 +and `window-setup-hook'.")
  
  (defvar keyboard-type nil
    "The brand of keyboard you are using.
@@@ -649,7 -648,9 +649,7 @@@ It is the default value of the variabl
                                       (emacs-pid)
                                       (system-name))))))))
        (unless inhibit-startup-hooks
 -        (run-hooks 'emacs-startup-hook)
 -        (and term-setup-hook
 -             (run-hooks 'term-setup-hook)))
 +        (run-hooks 'emacs-startup-hook 'term-setup-hook))
  
        ;; Don't do this if we failed to create the initial frame,
        ;; for instance due to a dense colormap.
        ;; Now we know the user's default font, so add it to the menu.
        (if (fboundp 'font-menu-add-default)
            (font-menu-add-default))
 -      (and window-setup-hook
 -           (run-hooks 'window-setup-hook))))
 +      (unless inhibit-startup-hooks
 +        (run-hooks 'window-setup-hook))))
      ;; Subprocesses of Emacs do not have direct access to the terminal, so
      ;; unless told otherwise they should only assume a dumb terminal.
      ;; We are careful to do it late (after term-setup-hook), although the
@@@ -1182,18 -1183,25 +1182,25 @@@ please check its value"
                (funcall inner)
                (setq init-file-had-error nil))
            (error
-            (display-warning
-             'initialization
-             (format "An error occurred while loading `%s':\n\n%s%s%s\n\n\
+            ;; Postpone displaying the warning until all hooks
+            ;; in `after-init-hook' like `desktop-read' will finalize
+            ;; possible changes in the window configuration.
+            (add-hook
+             'after-init-hook
+             (lambda ()
+               (display-warning
+                'initialization
+                (format "An error occurred while loading `%s':\n\n%s%s%s\n\n\
  To ensure normal operation, you should investigate and remove the
  cause of the error in your initialization file.  Start Emacs with
  the `--debug-init' option to view a complete error backtrace."
-                     user-init-file
-                     (get (car error) 'error-message)
-                     (if (cdr error) ": " "")
-                     (mapconcat (lambda (s) (prin1-to-string s t))
-                                  (cdr error) ", "))
-             :warning)
+                        user-init-file
+                        (get (car error) 'error-message)
+                        (if (cdr error) ": " "")
+                        (mapconcat (lambda (s) (prin1-to-string s t))
+                                   (cdr error) ", "))
+                :warning))
+             t)
             (setq init-file-had-error t))))
  
        (if (and deactivate-mark transient-mark-mode)
@@@ -1403,9 -1411,8 +1410,9 @@@ If this is nil, no message will be disp
              `("GNU/Linux"
                ,(lambda (_button) (browse-url "http://www.gnu.org/gnu/linux-and-gnu.html"))
             "Browse http://www.gnu.org/gnu/linux-and-gnu.html")
 -          `("GNU" ,(lambda (_button) (describe-gnu-project))
 -         "Display info on the GNU project")))
 +          `("GNU" ,(lambda (_button)
 +                   (browse-url "http://www.gnu.org/gnu/thegnuproject.html"))
 +          "Browse http://www.gnu.org/gnu/thegnuproject.html")))
       " operating system.\n\n"
       :face variable-pitch
       :link ("Emacs Tutorial" ,(lambda (_button) (help-with-tutorial)))
@@@ -2434,7 -2441,10 +2441,7 @@@ A fancy display is used on graphic disp
        ;; If there are no switches to process, we might as well
        ;; run this hook now, and there may be some need to do it
        ;; before doing any output.
 -      (run-hooks 'emacs-startup-hook)
 -      (and term-setup-hook
 -         (run-hooks 'term-setup-hook))
 -      (setq inhibit-startup-hooks t)
 +      (run-hooks 'emacs-startup-hook 'term-setup-hook)
  
        ;; It's important to notice the user settings before we
        ;; display the startup message; otherwise, the settings
        ;; If there are no switches to process, we might as well
        ;; run this hook now, and there may be some need to do it
        ;; before doing any output.
 -      (when window-setup-hook
 -      (run-hooks 'window-setup-hook)
 -      ;; Don't let the hook be run twice.
 -      (setq window-setup-hook nil))
 +      (run-hooks 'window-setup-hook)
 +
 +      (setq inhibit-startup-hooks t)
  
        ;; ;; Do this now to avoid an annoying delay if the user
        ;; ;; clicks the menu bar during the sit-for.
diff --combined src/ChangeLog
index 4c4ca3a5e00d5e80de92e496c1e6c3884a28a697,d2f1999b546d9883cc6850640f9cb952fab349e8..ba56edda715482749c53a869e4dc9d13b4afebc9
 -2014-07-08  Eli Zaretskii  <eliz@gnu.org>
++2014-07-09  Eli Zaretskii  <eliz@gnu.org>
+       * xdisp.c (move_it_to): Adjust calculation of line_start_x to what
+       x_produce_glyphs does when it generates a stretch glyph that
+       represents a TAB.  (Bug#17969)
 -2014-07-05  Eli Zaretskii  <eliz@gnu.org>
 -
+       * xdisp.c (pos_visible_p): If CHARPOS is at beginning of window,
+       and there is a display property at that position, don't call
+       move_it_to to move to a position before window start.  (Bug#17942)
+       Fix condition for finding CHARPOS by the first call to move_it_to.
+       (Bug#17944)
 -2014-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
++2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * syntax.c (find_defun_start): Try the cache even
+       if !open_paren_in_column_0_is_defun_start.
+       (back_comment): If find_defun_start was pessimistic, use the
+       scan_sexps_forward result to improve the cache (bug#16526).
 -2014-07-04  Daniel Colascione  <dancol@dancol.org>
 -
 -      Backport from trunk.
 -      * xfns.c (create_frame_xic): Pass XNStatusAttributes to XCreateIC
 -      only if xic_style calls for it.  This change allows Emacs to work
 -      with ibus.  Also, don't leak resources if create_frame_xic fails,
 -      and stop caching xic_style across different displays (Bug#17928).
 -      (supported_xim_styles): Make const.
 -      (best_xim_style): Remove first parameter: it's always just
 -      supported_xim_styles.  Change to look at supported_xim_styles directly.
 -
 -2014-07-04  Eli Zaretskii  <eliz@gnu.org>
++2014-07-09  Eli Zaretskii  <eliz@gnu.org>
+       * xdisp.c (redisplay_window): If redisplay of a window ends up
+       with point in a partially visible line at end of the window, make
+       sure the amended position of point actually has smaller Y
+       coordinate; if not, give up and scroll the display.  (Bug#17905)
+       * window.c (window_scroll_pixel_based): When point ends up at the
+       last fully visible line, don't let move_it_to stop at the left
+       edge of the line and dupe us into thinking point is inside the
+       scroll margin.
+       * w32.c (network_interface_info): Make sure the argument is a
+       Lisp string.
 -2014-07-01  Eli Zaretskii  <eliz@gnu.org>
 +2014-07-08  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * process.c (read_and_dispose_of_process_output): Fix typo
 +      in previous patch: we want nonnegative fds, not nonzero fds.
 +
 +2014-07-08  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * chartab.c (char_table_translate): Move to...
 +      * character.h (char_table_translate): ... inline function here.
 +      Avoid Faref and assume that args are always valid.  This helps to
 +      speedup search, which is especially important for a huge buffers.
 +      * lisp.h (char_table_translate): Remove prototype.
 +
 +      * nsfont.m (nsfont_close): Free glyphs and metrics arrays as well.
 +      * font.c (font_build_object) [HAVE_XFT || HAVE_FREETYPE || HAVE_NS]:
 +      New function, with an intention to avoid code duplication between
 +      a few font drivers.
 +      * font.h (font_build_object) [HAVE_XFT || HAVE_FREETYPE || HAVE_NS]:
 +      Add prototype.
 +      * ftfont.c (ftfont_open):
 +      * macfont.m (macfont_open):
 +      * xftfont.c (xftfont_open): Use it.
 +
 +2014-07-08  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * process.c: Add sanity checks for file descriptors (Bug#17844).
 +      (wait_reading_process_output, Fprocess_filter_multibyte_p):
 +      Check that infd is nonnegative before using it as an fd.
 +      (read_and_dispose_of_process_output, Fprocess_send_eof):
 +      Likewise, for outfd.
 +      (wait_reading_process_output): Omit unnecessary check of infd.
 +
 +2014-07-07  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Minor fixups related to usage of the 'long' type.
 +      * gnutls.c (emacs_gnutls_handshake):
 +      * xfaces.c (dump_realized_face):
 +      Work even if 'long' is narrower than 'void *'.
 +      * termcap.c (scan_file):
 +      * xselect.c (x_decline_selection_request)
 +      (x_reply_selection_request, x_get_window_property):
 +      * xterm.c (x_set_frame_alpha):
 +      Remove unnecessary 'L' suffixes of integer constants.
 +      * xfns.c (hack_wm_protocols):
 +      * xselect.c (x_fill_property_data):
 +      * xterm.c (x_set_offset, x_set_window_size_1, x_make_frame_invisible):
 +      Remove unnecessary casts to 'long'.
 +      (set_machine_and_pid_properties): Don't assume pid_t fits in 32 bits.
 +
 +      Minor ImageMagick safety fixes.
 +      * image.c (imagemagick_compute_animated_image):
 +      Remove useless assignment to local.  Avoid problems if dest_width is 0.
 +      (imagemagick_load_image): Use int for pixel counts that can't
 +      exceed INT_MAX.  Avoid problem if PixelGetNextIteratorRow returns
 +      a row width greater than the image width (or greater than LONG_MAX!).
 +
 +2014-07-04  K. Handa  <handa@gnu.org>
 +
 +      * coding.c (MIN_CHARBUF_SIZE): Delete it.
 +      (MAX_CHARBUF_EXTRA_SIZE): New macro.
 +      (ALLOC_CONVERSION_WORK_AREA): Use MAX_CHARBUF_EXTRA_SIZE.
 +
 +2014-07-04  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * font.h (struct font_driver): Remove get_outline and free_outline;
 +      not used by any font driver.
 +      * ftfont.c (ftfont_driver):
 +      * macfont.m (macfont_driver):
 +      * nsfont.m (nsfont_driver):
 +      * w32font.c (w32font_driver):
 +      * w32uniscribe.c (uniscribe_font_driver):
 +      * xfont.c (xfont_driver): Related users changed.
 +      * xselect.c (x_get_window_property): Use convenient xmalloc.
 +      Call to xfree only if some data was really allocated.
 +
 +2014-07-03  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      On MS-Windows, display busy cursor on all GUI frames.
 +      This is similar to what we have on X.  Quickly tested by Dani Moncayo.
 +      * w32fns.c (toplevel): Remove hourglass_hwnd; no longer used.
 +      (w32_show_hourglass, w32_hide_hourglass, w32_note_current_window):
 +      Likewise.
 +      (hide_hourglass, show_hourglass): Redesign to match X counterparts.
 +      * xdisp.c (start_hourglass): Remove Windows-specific bits.
 +
 +2014-07-03  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      Use convenient alists to manage per-frame font driver-specific data.
 +      * frame.h (struct frame): Rename font_data_list to...
 +      [HAVE_XFT || HAVE_FREETYPE]: ... font_data, which is a Lisp_Object now.
 +      * font.h (struct font_data_list): Remove; no longer need a special
 +      data type.
 +      (font_put_frame_data, font_get_frame_data) [HAVE_XFT || HAVE_FREETYPE]:
 +      Adjust prototypes.
 +      * font.c (font_put_frame_data, font_get_frame_data)
 +      [HAVE_XFT || HAVE_FREETYPE]: Prefer alist functions to ad-hoc list
 +      management.
 +      * xftfont.c (xftfont_get_xft_draw, xftfont_end_for_frame):
 +      Related users changed.
 +      * ftxfont.c (ftxfont_get_gcs, ftxfont_end_for_frame): Likewise.
 +      Prefer convenient xmalloc and xfree.
 +
 +2014-07-03  Eli Zaretskii  <eliz@gnu.org>
  
        * dispnew.c (prepare_desired_row): Accept 2 additional arguments:
        the window whose glyph row is being prepared and a flag whether it
  
        * dispextern.h (prepare_desired_row): Adjust prototype.
  
 -2014-07-01  Dmitry Antipov  <dmantipov@yandex.ru>
 +2014-07-03  Dmitry Antipov  <dmantipov@yandex.ru>
  
        * xfaces.c (init_frame_faces): Always realize basic faces (Bug#17889).
        * menu.c (Fx_popup_dialog): Set Vmenu_updating_frame to avoid crash
        caused by xw_popup_dialog in daemon mode (Bug#17891).
  
 -2014-06-30  Eli Zaretskii  <eliz@gnu.org>
 +2014-07-03  Eli Zaretskii  <eliz@gnu.org>
  
        * frame.c (do_switch_frame): When switching to another TTY frame,
        make sure FrameCols and FrameRows are in sync with the new frame's
        data.  (Bug#17875)
  
 +2014-07-02  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      Shrink Lisp_Sub_Char_Table by preferring C integers to Lisp_Objects.
 +      * lisp.h (struct Lisp_Sub_Char_Table): Use C integers for depth and
 +      min_char slots.  Adjust comment.
 +      (enum char_table_specials): Rename from CHAR_TABLE_STANDARD_SLOTS.
 +      Add SUB_CHAR_TABLE_OFFSET member.
 +      (make_uninit_sub_char_table): New function.
 +      (toplevel): Add compile-time assert to verify suitable member layout
 +      in Lisp_Sub_Char_Table.
 +      * alloc.c (mark_char_table): Add extra argument to denote char table
 +      subtype.  Adjust to match new layout of sub char-table.
 +      (mark_object): Always mark sub char-tables with mark_char_table.
 +      * chartab.c (make_sub_char_table, copy_sub_char_table)
 +      (sub_char_table_ref, sub_char_table_ref_and_range, sub_char_table_set)
 +      (sub_char_table_set_range, optimize_sub_char_table, map_sub_char_table)
 +      (map_sub_char_table_for_charset, uniprop_table_uncompress):
 +      All related users changed.
 +      * lread.c (read1): Adjust to match new layout of sub char-table.
 +      * print.c (print_object): Likewise (Bug#17898).
 +
 +2014-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * keymap.c (get_keyelt): Simplify.
 +      (copy_keymap_item): Remove left-over code for when we had
 +      key-shortcut caches.
 +
 +2014-06-30  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * nsterm.m (judge): EmacsScroller: Move dealloc code here.
 +      (dealloc): Remove for EmacsScroller.
 +
 +      * nsterm.h (EmacsScroller): Remove dealloc.
 +
 +2014-06-30  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * coding.c (MIN_CHARBUF_SIZE): Enlarge to 32.  (Bug#17881)
 +
 +2014-06-30  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * nsmenu.m (update_frame_tool_bar): Set wait_for_tool_bar to NO
 +      when setNeedsDisplay is called so we don't trigger redisplay for every
 +      tool bar update.
 +
 +      * nsterm.m (any_help_event_p): New variable.
 +      (mouseMoved:): Set any_help_event_p to YES if help event is
 +      generated.  Remove else with empty help event that triggered redisplay
 +      for every mouse move.
 +      (windowDidResignKey:): If any_help_event_p, generate empty help event.
 +
 +2014-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * xfns.c (Qsuppress_icon): Remove; no real users.
 +      (syms_of_xfns): Don't DEFSYM it.  Remove ancient comments.
 +      * w32fns.c (Qsuppress_icon): Remove, for the same reason.
 +      (syms_of_w32fns): Don't DEFSYM it.
 +
 +2014-06-29  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (ns-app): Mark as PHONY.
 +
 +2014-06-28  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (mostlyclean): There are no libXMenu11.a,
 +      liblw.a in this directory.
 +
  2014-06-28  Andreas Schwab  <schwab@linux-m68k.org>
  
        * coding.c (encode_coding_utf_8): Correctly count produced_chars
        also in unibyte case.  (Bug#17865)
  
 -2014-06-25  Glenn Morris  <rgm@gnu.org>
 -
 -      * puresize.h (BASE_PURESIZE): Increase a bit.  (Bug#17846)
 +2014-06-28  K. Handa  <handa@gnu.org>
 +
 +      * coding.c (MAX_CHARBUF_SIZE): Renamed from CHARBUF_SIZE.
 +      (MIN_CHARBUF_SIZE): New macro.
 +      (ALLOC_CONVERSION_WORK_AREA): New arg SIZE.  Callers changed.
 +
 +2014-06-27  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in: Replace BOOTSTRAPEMACS sleight-of-hand
 +      with an order-only dependence on bootstrap-emacs.  (Bug#2151)
 +      (.el.elc): Replace suffix rule with pattern rule.
 +      (%.elc): New pattern rule, with order-only prerequisite.
 +      ($(lisp)): No more need to depend on BOOTSTRAPEMACS.
 +      ($(lispsource)/loaddefs.el): Use an order-only prerequisite
 +      in place of BOOTSTRAPEMACS.
 +
 +2014-06-26  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * fns.c (Fcompare_strings): Use FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE.
 +
 +2014-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      Consistently use validate_subarray to verify substring.
 +      * fns.c (validate_substring): Not static any more.  Adjust to
 +      use ptrdiff_t, not EMACS_INT, because string and vector limits
 +      can't exceed ptrdiff_t even if EMACS_INT is wider.
 +      (Fcompare_strings, Fsubstring, Fsubstring_no_properties)
 +      (secure_hash): Adjust user.
 +      * lisp.h (validate_subarray): Add prototype.
 +      * coding.c (Fundecodable_char_position):
 +      * composite.c (Fcomposition_get_gstring, Fcompose_string_internal):
 +      Use validate_subarray.  Adjust comment to mention substring.
 +
 +2014-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      Do not allow out-of-range character position in Fcompare_strings.
 +      * fns.c (validate_subarray): Add prototype.
 +      (Fcompare_substring): Use validate_subarray to check ranges.
 +      Adjust comment to mention that the semantics was changed.  Also see
 +      http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00447.html.
 +
 +2014-06-24  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Be more consistent about the 'Qfoo' naming convention.
 +      * image.c (Fimagemagick_types):
 +      * lisp.h (lisp_h_CHECK_TYPE, CHECK_TYPE, CHECK_ARRAY):
 +      * process.c (Fmake_network_process):
 +      Rename C local identifier 'Qfoo to avoid giving the false
 +      impression that it stands for the symbol 'foo'.
 +
 +2014-06-23  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      Simplify and cleanup character conversion stuff.
 +      * lisp.h (multibyte_char_to_unibyte, multibyte_char_to_unibyte_safe):
 +      Remove prototypes.
 +      * character.c (multibyte_char_to_unibyte)
 +      (multibyte_char_to_unibyte_safe): Remove; no longer used.
 +      * character.h (make_char): Remove; unused.
 +      (CHAR_TO_BYTE8, CHAR_TO_BYTE_SAFE): Simplify.
 +      (ASCII_BYTE_P): Remove; ASCII_CHAR_P does the same thing.
 +      * buffer.c, charset.c, charset.h, cmds.c, coding.c, editfns.c:
 +      * fileio.c, indent.c, insdel.c, keyboard.c, lread.c, print.c:
 +      * search.c, term.c, xdisp.c, xterm.c: Related users changed.
 +
 +2014-06-22  Mario Lang  <mlang@delysid.org>
 +
 +      * w32fns.c (Fw32_shell_execute): The the -> the.
 +
 +2014-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * xmenu.c (mouse_position_for_popup):
 +      * xselect.c (mouse_position_for_drop): Do not duplicate ...
 +      * xfns.c (x_relative_mouse_position): ... and prefer this function.
 +      * menu.c (Fx_popup_menu):
 +      * xselect.c (x_handle_dnd_message): Adjust users.
 +      * menu.h (mouse_position_for_popup): Remove prototype.
 +      * xterm.h (x_relative_mouse_position): Add prototype.
 +      * xterm.c (x_find_topmost_parent): Break from the loop and do not
 +      call XFree if XQueryTree returns zero.
  
  2014-06-21  Eli Zaretskii  <eliz@gnu.org>
  
        * fileio.c (Ffile_acl): Port to OS X, where acl_get_file (...,
        ACL_TYPE_ACCESS) doesn't work.
  
 -2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * keyboard.c (read_key_sequence): Don't invoke Vprefix_help_command
        before checking key-translation-map (bug#17659).
  
 -2014-06-19  Dmitry Antipov  <dmantipov@yandex.ru>
 +2014-06-21  Dmitry Antipov  <dmantipov@yandex.ru>
  
        * font.c (font_make_object): Avoid dangling pointer which may
        crash GC (Bug#17771).
  
 -2014-06-18  Eli Zaretskii  <eliz@gnu.org>
 +2014-06-21  Eli Zaretskii  <eliz@gnu.org>
  
        * image.c [5 < GIFLIB_MAJOR + (1 <= GIFLIB_MINOR)]: Declare the
        prototype of DGifCloseFile as appropriate for older and newer
        (gif_load): Call gif_close instead of DGifCloseFile.  Divulge the
        error string where appropriate.  (Bug#17790)
  
 -2014-06-16  Eli Zaretskii  <eliz@gnu.org>
 -
        * xdisp.c (Fmove_point_visually): Instead of testing for keyboard
        macro execution, make sure point didn't move since last complete
        redisplay, as the condition for using the glyph matrix
        information.  (Bug#17777)
  
 -2014-06-14  Eli Zaretskii  <eliz@gnu.org>
 +2014-06-19  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      Minor cleanup of fonset code.
 +      * fontset.c (FONTSET_ID, set_fontset_id, FONTSET_NAME)
 +      (set_fontset_name, FONTSET_ASCII, set_fontset_ascii)
 +      (FONTSET_BASE, set_fontset_base, FONTSET_FRAME)
 +      (set_fontset_frame, FONTSET_NOFONT_FACE, set_fontset_nofont_face)
 +      (FONTSET_DEFAULT, set_fontset_default, FONTSET_FALLBACK)
 +      (set_fontset_fallback): Reorder extra slots and avoid unused slots.
 +      (free_realized_fontset): Remove because a no-op since 2008.
 +      (free_face_fontset): Adjust user.
 +      (syms_of_fontset): Shrink fontset by one extra slot.
 +
 +2014-06-17  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Omit redundant extern decls.
 +      Most of this patch is from Dmitry Antipov, in:
 +      http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00263.html
 +      * commands.h (update_mode_lines):
 +      * frame.h (Qbackground_color, Qforeground_color)
 +      (x_set_menu_bar_lines):
 +      * ftfont.c (ftfont_font_format):
 +      * intervals.h (Qkeymap, Qfont):
 +      * keyboard.c (timer_check, safe_run_hooks, Qregion_extract_function):
 +      * lisp.h (Ffboundp, Qnil, Qt, Qlambda, Qintegerp, Qwholenump)
 +      (Qsymbolp, Qlisp, Qconsp, Qstringp, Qarrayp, Qbufferp, Qmarkerp)
 +      (Qvectorp, Qbuffer_or_string_p, Qchar_table_p, Qvector_or_char_table_p)
 +      (Qfloatp, Qnumberp, Qfont_spec, Qfont_entity, Qfont_object)
 +      (Fbyteorder, wrong_type_argument, Fmax_char, syms_of_composite)
 +      (Fidentity, extract_float, init_display, syms_of_display, Qdisplay):
 +      (Qimage, Qbox, redisplay_preserve_echo_area, char_table_ref)
 +      (char_table_set, char_table_translate, Qautoload, Qbottom, Qtop)
 +      (Qvisible, Qfont, Qfront_sticky, Qrear_nonsticky, init_sigio)
 +      (Qtool_bar, Qheader_line):
 +      * macros.c (Fexecute_kbd_macro):
 +      * xdisp.c (Ftool_bar_height, Ftool_bar_height):
 +      * xterm.c (x_delete_terminal, XSetIMValues):
 +      * xterm.h (x_set_window_size, x_query_color, x_get_focus_frame)
 +      (x_implicitly_set_name, popup_activated)
 +      (widget_store_internal_border):
 +      Remove redundant decls.
 +      * frame.c [USE_X_TOOLKIT]: Include widget.h.
 +      * keyboard.c (Fexit_recursive_edit, Fabort_recursive_edit):
 +      Remove _Noreturn, as make-docfile now does that for us.
 +      * lisp.h (DEFUN): Don't declare fnname here; rely on make-docfile.
 +      (Qregion_extract_function): New decl.
 +      * window.c, xfns.c: Include menu.h.
 +
 +2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * callint.c (Fcall_interactively): Fix up last change (bug#17701).
 +
 +2014-06-17  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * fileio.c (Fread_file_name): Do not pass redundant args and ...
 +      * callint.c (read_file_name): ... convert to static here.
 +      * lisp.h (Fread_file_name): Do not EXFUN it.
 +      (STRING_COPYIN): Remove; unused.
 +      * composite.c (CHAR_COMPOSABLE_P): Replace unsafe macro with ...
 +      (char_composable_p): ... static function.  All users changed.
 +      * eval.c (toplevel): Remove redundant #include directives.
 +      * xterm.c (x_initialize): Add static to match prototype.
 +      * ccl.c (Fccl_execute_on_string):
 +      * font.c (fon_intern_prop): Use make_specified_string.
 +
 +2014-06-16  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * Makefile.in (ns-app): Fix typo that broke build on OS X.
 +      Reported by David Caldwell in:
 +      http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00251.html
 +
 +2014-06-16  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      Do not ask for XRender extension each time XFT font is opened.
 +      * xftfont.c (xftfont_open): Move call to XRenderQueryExtension ...
 +      * xterm.c (x_term_init) [HAVE_XFT]: ... to here.  Adjust comment.
 +
 +2014-06-15  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in: Use `make -C' rather than `cd && make' throughout.
 +
 +2014-06-15  Eli Zaretskii  <eliz@gnu.org>
  
        * xdisp.c (Fmove_point_visually): Don't use the glyph matrix
        information if we are in the middle of executing a keyboard macro,
        since redisplay doesn't update the screen until the macro is
        finished.  (Bug#17777)
  
 -2014-06-13  Eli Zaretskii  <eliz@gnu.org>
 -
        * alloc.c (cleanup_vector): Don't dereference a font driver
        pointer if it is NULL.  (Bug#17771)
  
 +2014-06-13  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in ($(leimdir)/leim-list.el, $(srcdir)/macuvs.h)
 +      ($(lispsource)/international/charprop.el)
 +      ($(libsrc)/make-docfile$(EXEEXT), $(lwlibdir)/liblw.a)
 +      ($(oldXMenudir)/libXMenu11.a, ns-app, .el.elc)
 +      ($(lispsource)/loaddefs.el, bootstrap-emacs$(EXEEXT)):
 +      GNU make automatically passes command-line arguments to sub-makes.
 +
 +2014-06-13  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Avoid hangs in accept-process-output (Bug#17647).
 +      * lisp.h, process.c (wait_reading_process_input):
 +      Return int, not bool.  All uses changed.
 +      * process.c (SELECT_CANT_DO_WRITE_MASK):
 +      Remove macro, replacing with ...
 +      (SELECT_CAN_DO_WRITE_MASK): ... new constant, with inverted sense.
 +      All uses changed.
 +      (status_notify): New arg WAIT_PROC.  Return int, not void.
 +      All uses changed.
 +
 +2014-06-13  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * menu.c (Fx_popup_menu): Don't call the frame's menu_show_hook if
 +      the frame is the initial frame, because the hook is not set up
 +      then, and Emacs crashes.
 +      Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
 +
 +2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * keymap.c (silly_event_symbol_error): Don't recommend the use
 +      of strings.
 +
  2014-06-11  Eli Zaretskii  <eliz@gnu.org>
  
        * xdisp.c (set_cursor_from_row): Fix an off-by-one error when
        matching overlay strings with 'cursor' property against buffer
        positions traversed in the glyph row.  (Bug#17744)
  
 +2014-06-11  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * nsterm.h (EmacsApp): Always compile in shouldKeepRunning, isFirst
 +      on Cocoa.
 +
 +      * nsterm.m (run): Always compile for Cocoa.  Use runtime check to
 +      determine 10.9 (Bug#17751).
 +
 +      * macfont.m (macfont_draw): Positions were not freed.
 +
 +2014-06-10  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * dispextern.h (PREPARE_FACE_FOR_DISPLAY): Remove as a duplicate of ...
 +      * xfaces.c (prepare_face_for_display) [HAVE_WINDOW_SYSTEM]: ... this
 +      function.  Also adjust comment.
 +      * fringe.c, w32term.c, xdisp.c, xterm.c: All users changed.
 +
 +      * dispextern.h (struct face) [HAVE_XFT]: Ifdef 'extra' member.
 +      * font.c (font_done_for_face):
 +      * xface.c (realize_non_ascii_face): Adjust user.
 +      * font.h (struct font_driver): Convert 'prepare_face' to return
 +      void because its return value is never used anyway.
 +      * xfont.c (xfont_prepare_face): Return void.
 +      * xftfont.c (xftfont_prepare_face): Likewise.  Use xmalloc.
 +      (xftfont_done_face): Use xfree.
 +
 +      * dispextern.h (last_tool_bar_item): Remove declaration.
 +      * frame.h (struct frame): New member last_tool_bar_item.
 +      * frame.c (make_frame): Initialize it.
 +      * xdisp.c (toplevel): Remove last_tool_bar_item.
 +      (handle_tool_bar_click, note_tool_bar_highlight):
 +      * w32term.c (w32_read_socket, w32_initialize):
 +      * xterm.c (handle_one_xevent, x_initialize): Adjust users.
 +
 +      * frame.h (window_system_available) [!HAVE_WINDOW_SYSTEM]: Always false.
 +      * frame.c (window_system_available) [HAVE_WINDOW_SYSTEM]: Now here.
 +
 +2014-06-09  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Say (accept-process-output P)'s result pertains to P if P is non-nil.
 +      * process.c (Faccept_process_output)
 +      (wait_reading_process_output): Mention that if PROCESS is non-nil,
 +      the return value is about PROCESS, not about other processes.
 +
 +2014-06-09  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      Further adjustments to mark_object and friends.
 +      Now the mark_object's stack is just 32 bytes on a 64-bit
 +      system, which means extra 20% off the stack usage.
 +      * alloc.c (mark_save_value): As before, refactored out from ...
 +      (mark_object): ... adjusted user.  Also add comment.
 +
 +2014-06-09  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Fix core dump after a dropped X connection (Bug#17704).
 +      * sysdep.c (stuff_char): Don't abort merely because the selected frame
 +      is dead, as we may be shutting down.
 +
  2014-06-08  Glenn Morris  <rgm@gnu.org>
  
        * fileio.c (write-region-inhibit-fsync): Doc tweak.
  
        * data.c (Flss, Fgtr, Fleq, Fgeq): Doc tweaks.
  
 -2014-06-04  Eli Zaretskii  <eliz@gnu.org>
 +2014-06-08  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      If a C name must be extern on some platforms, make it extern on all.
 +      * dispextern.h (set_vertical_scroll_bar, erase_phys_cursor)
 +      (load_color):
 +      * font.h (ftxfont_driver) [HAVE_XFT]:
 +      * keyboard.h (menu_items_inuse, ignore_mouse_drag_p, make_ctrl_char):
 +      * lisp.h (get_frame_param):
 +      * menu.h (tty_menu_show):
 +      * process.h (conv_sockaddr_to_lisp, catch_child_signal):
 +      * termhooks.h (encode_terminal_code):
 +      * xterm.h (x_menu_wait_for_event):
 +      Always declare.
 +      * frame.c (get_frame_param):
 +      * fringe.c (max_used_fringe_bitmap):
 +      * ftxfont.c (ftxfont_driver):
 +      * keyboard.c (ignore_mouse_drag_p, make_ctrl_char):
 +      * menu.c (menu_items_inuse):
 +      * process.c (conv_sockaddr_to_lisp, catch_child_signal):
 +      * term.c (encode_terminal_code, tty_menu_show):
 +      * xdisp.c (set_vertical_scroll_bar, erase_phys_cursor):
 +      * xfaces.c (load_color):
 +      * xmenu.c (x_menu_wait_for_event):
 +      Now always extern.
 +
 +2014-06-08  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      Change object marking routines to minimize stack usage.
 +      This change moves a few cold paths from mark_object to NO_INLINE
 +      functions and adjusts symbol marking loop.  According to GCC 4.8.2
 +      -Wstack-usage, this reduces mark_object's stack usage from 80 to
 +      48 bytes on a 64-bit system.  For a long byte-force-recompile runs,
 +      stack usage at the mark phase is reduced up to 28%.  Surprisingly,
 +      it also gains up to 3% in speed (with default '-O2 -g3' flags).
 +      * alloc.c (mark_compiled, mark_localized_symbol): New functions,
 +      refactored out from ...
 +      (mark_object): ... adjusted user.  Also mark symbols in a tight
 +      inner loop.
 +      (mark_face_cache): Add NO_INLINE.
 +
 +2014-06-08  Eli Zaretskii  <eliz@gnu.org>
  
        * sysdep.c (reset_sys_modes): Use cursorX, not curX, as the latter
        contains garbage on WINDOWSNT (which could potentially infloop at
        exit).
  
        Minimize cursor motion during TTY menu updates.
 -      * term.c (tty_menu_display): Don't position cursor here.  Instead,
 -      pass the cursor coordinates to update_frame_with_menu.
 +      * term.c (tty_menu_display): Don't position cursor here.
 +      Instead, pass the cursor coordinates to update_frame_with_menu.
        (tty_menu_activate): Send the hide cursor command only once in an
        iteration through the outer 'while' loop.
  
        update_frame_with_menu.
        (update_frame_with_menu): Accept 2 additional arguments ROW and
        COL; if they are non-negative, instruct update_frame_1 not to
 -      position the cursor, and instead position it according to ROW and
 -      COL.
 +      position the cursor, and instead position it according to ROW and COL.
  
        * dispextern.h (update_frame_with_menu): Update prototype.
  
 -2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * callproc.c (call_process): Don't check read-only if we don't insert
        anything (bug#17666).
  
 -2014-06-02  Eli Zaretskii  <eliz@gnu.org>
 +2014-06-08  Eli Zaretskii  <eliz@gnu.org>
  
        * dispnew.c (update_frame_with_menu): Set display_completed.
  
 -2014-06-01  Paul Eggert  <eggert@cs.ucla.edu>
 +2014-06-07  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * term.c (tty_menu_show) [WINDOWSNT]: Make tty_menu_show extern
 +      only for WINDOWSNT.
 +      * menu.h (tty_menu_show) [WINDOWSNT]: Declare extern only for WINDOWSNT.
 +
 +2014-06-06  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * term.c (tty_menu_show) [!HAVE_NTGUI]: Now static.
 +      * menu.h (tty_menu_show) [!HAVE_NTGUI]: Omit extern decl.
 +
 +2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * window.c (Frecenter): Signal an error if window-buffer is not
 +      current-buffer.
 +
 +      * keyboard.c (make_lispy_position): Don't include a buffer position in
 +      mode/header-line mouse events.
 +
 +      * keyboard.c (read_char): Handle (t . <event>) in the second use of
 +      Vunread_command_events (bug#17650).
 +
 +2014-06-06  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * xterm.c (x_setup_pointer_blanking):
 +      Conditionally probe Xfixes until this stuff is stabilized (Bug#17609).
 +
 +2014-06-05  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * keyboard.c, process.c: Do not define POLL_FOR_INPUT here
 +      because it will be defined in generated config.h if needed.
 +
 +2014-06-04  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      Use terminal-specific hooks to display popup dialogs.
 +      * termhooks.h (struct terminal): New field popup_dialog_hook.
 +      * menu.c (emulate_dialog_with_menu): New function, refactored from ...
 +      (Fx_popup_dialog): ... adjusted user.  Also remove old #if 0
 +      code and use popup_dialog_hook.
 +      * nsmenu.m (ns_popup_dialog): Make hook-compatible.
 +      * nsterm.h (ns_popup_dialog): Adjust prototype.
 +      * nsterm.m (ns_create_terminal):
 +      * w32term.c (w32_create_terminal):
 +      * xterm.c (x_create_terminal) [USE_X_TOOLKIT || USE_GTK]:
 +      Setup popup_dialog_hook.
 +
 +2014-06-04  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * w32heap.c (report_temacs_memory_usage): Improve the report by
 +      reporting the large blocks that are actually occupied at dump time.
 +
 +      * w32console.c (initialize_w32_display): Set the console
 +      menu_show_hook, otherwise TTY menus are broken on w32.
 +
 +2014-06-04  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      Use terminal-specific hooks to display menus.
 +      * termhooks.h (struct terminal): New field menu_show_hook.
 +      * menu.h (<anonymous enum>): Bit flags for menu hooks.
 +      (x_menu_show, w32_menu_show, ns_menu_show, tty_menu_show):
 +      Adjust prototypes.
 +      * menu.c (Fx_popup_menu): Use bit flags and menu_show_hook.
 +      * nsmenu.m (ns_menu_show):
 +      * w32menu.c (w32_menu_show):
 +      * xmenu.c (x_menu_show):
 +      * term.c (tty_menu_show): Adjust to use bit flags.
 +      (set_tty_hooks): Set menu_show_hook.
 +      * xterm.c (x_create_terminal):
 +      * nsterm.m (ns_create_terminal):
 +      * msdos.c (initialize_msdos_display):
 +      * w32term.c (w32_create_terminal): Likewise.
 +
 +2014-06-03  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * w32heap.c (DUMPED_HEAP_SIZE) [!_WIN64]: Reduce to 11 MB.
 +
 +2014-06-03  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * sysselect.h (fd_CLR, fd_ISSET, fd_SET, FD_CLR, FD_ISSET)
 +      (FD_SET): Don't define on WINDOWSNT.
 +
 +2014-06-03  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * emacs.c: Include "sysselect.h", to define its inline functions.
 +      Problem reported by Glenn Morris in:
 +      http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00077.html
 +
 +      Do not require libXt-devel when building with gtk.
 +      * gtkutil.h, menu.h: Include lwlib-widget.h, not lwlib-h, to avoid
 +      dependency on libXt-devel.
 +      * menu.h [HAVE_NTGUI]: Include lwlib-widget.h in this case too.
 +      (enum button_type, widget_value) [HAVE_NTGUI]: Remove, as
 +      lwlib-widget.h now does this.
 +      * nsmenu.m (ns_menu_show): "enabled" -> "enable" to fix typo.
 +
 +2014-06-03  Paul Eggert  <eggert@penguin.cs.ucla.edu>
 +
 +      If ENABLE_CHECKING, range-check args of FD_CLR, FD_ISSET, FD_SET.
 +      * process.c (add_read_fd, delete_read_fd, add_write_fd)
 +      (delete_write_fd, wait_reading_process_output):
 +      Remove now-redundant easserts.
 +      * sysselect.h (SYSSELECT_H): New macro, to avoid double-inclusion woes.
 +      Use INLINE_HEADER_BEGIN, INLINE_HEADER_END.
 +      (fd_CLR, fd_ISSET, fd_SET): New inline functions.
 +      (FD_CLR, FD_ISSET, FD_SET): Redefine in terms of these functions.
 +
 +2014-06-03  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * w32heap.c (DUMPED_HEAP_SIZE): Move from w32heap.h.  Don't use
 +      HEAPSIZE; instead, define separate values for the 32- and 64-bit builds.
 +      (calloc): Don't undef, it is never defined.
 +      (HEAP_ENTRY_SHIFT): Remove unused macro.
 +
 +      * Makefile.in (C_HEAP_SWITCH): Remove.
 +      (ALL_CFLAGS): Don't use $(C_HEAP_SWITCH).
 +
 +      Fix MS-Windows build broken by menu changes on 2014-06-02.
 +      * w32menu.c (w32_menu_show): Fix a typo that broke compilation.
 +
 +      * menu.h (enum button_type, struct _widget_value) [HAVE_NTGUI]:
 +      Define instead of including ../lwlib/lwlib.h, which causes
 +      compilation errors due to missing X11 headers.
 +
 +2014-06-03  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * process.c (wait_reading_process_output): Omit incorrect test of
 +      p->infd against zero.  Add easserts for infd having a plausible value.
 +
 +2014-06-02  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      Adjust to match recent lwlib changes.
 +      * menu.h (xmalloc_widget_value): Replace by ...
 +      (make_widget_value): ... new prototype.
 +      * menu.c (xmalloc_widget_value): Replace by ...
 +      (make_widget_value): ... new function.
 +      (free_menubar_widget_value_tree, digest_single_submenu): Adjust users.
 +      * gtkutil.c (malloc_widget_value, free_widget_value):
 +      (widget_value_free_list, malloc_cpt): Remove old lwlib-compatible code.
 +      * keyboard.h (enum button_type, struct _widget_value):
 +      * gtkutil.h, nsgui.h, w32gui.h (malloc_widget_value, free_widget_value):
 +      Likewise.
 +      * nsmenu.m (ns_update_menubar, ns_menu_show):
 +      * w32menu.c (set_frame_menubar, w32_menu_show, w32_dialog_show):
 +      * xmenu.c (set_frame_menubar, xmenu_show, x_dialog_show): Adjust users.
 +      * xterm.h (XtParent) [USE_GTK]: Remove unused macro.
 +
 +2014-06-02  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * image.c (x_query_frame_background_color)
 +      [HAVE_PNG || HAVE_NS || HAVE_IMAGEMAGICK || HAVE_RSVG]:
 +      Fix --enable-gcc-warnings compilation without image libraries.
 +
 +2014-06-02  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * w32heap.c (malloc_after_dump, realloc_after_dump): Update the
 +      emulated break value only if it goes up.
 +      (sbrk): Add assertion that the INCREMENT argument is strictly
 +      zero.  Improve and correct the commentary.
 +
 +2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Improve AIX-related merge from emacs-24.
 +      * conf_post.h (FLEXIBLE_ARRAY_MEMBER): Fix comment.
 +      * lisp.h (ENUMABLE) [!_AIX]: Don't define to 0 merely because we're
 +      not on AIX; since we're on the trunk we can use enums more broadly.
  
        * frame.c (x_set_frame_parameters): Don't read uninitialized storage.
  
 -2014-06-01  Jan Djärv  <jan.h.d@swipnet.se>
 +2014-06-02  Jan Djärv  <jan.h.d@swipnet.se>
  
        * xterm.c (xg_scroll_callback): Remove position, for jump set portion
        to min(value, whole).
  
 -2014-06-01  Paul Eggert  <eggert@cs.ucla.edu>
 +2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
  
        Bring back the changes to GDB-visible symbols, but only on AIX.
        And only if it's not pre-4.2 GCC.
        (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val):
        New macros.
  
 -2014-05-31  Eli Zaretskii  <eliz@gnu.org>
 +2014-06-02  Eli Zaretskii  <eliz@gnu.org>
  
        * fileio.c (Finsert_file_contents): Call prepare_to_modify_buffer
        with PT, not GPT.  (Bug#16433)
        (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val):
        Delete macros.
  
 -2014-05-31  Glenn Morris  <rgm@gnu.org>
 +2014-06-02  Glenn Morris  <rgm@gnu.org>
  
        * cmds.c (Fself_insert_command): Allow zero repeat count.  (Bug#17649)
  
 -2014-05-30  Paul Eggert  <eggert@cs.ucla.edu>
 +2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
  
        Fix port to 32-bit AIX with xlc (Bug#17598).
        * alloc.c (gdb_make_enums_visible): Remove FLOAT_TO_STRING_BUFSIZE.
        * lisp.h (FLOAT_TO_STRING_BUFSIZE): Make it a macro, instead of an enum,
        to work around a compiler bug in IBM xlc 12.1.
  
 -2014-05-29  Eli Zaretskii  <eliz@gnu.org>
 +2014-06-02  Eli Zaretskii  <eliz@gnu.org>
  
        * xterm.c (x_update_window_end): Don't invalidate the entire
        mouse-highlight info, just signal frame_up_to_date_hook that mouse
        highlight needs to be redisplayed.  (Bug#17588)
  
 -2014-05-29  Paul Eggert  <eggert@cs.ucla.edu>
 +2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
  
        Port the GDB-visible symbols to AIX.
        Without them, GDB doesn't work to debug Emacs, since the AIX linker
        (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val):
        New macros.
  
 -2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
 -
        Include sources used to create macuvs.h.
        * Makefile.in ($(srcdir)/macuvs.h): New rule.
        * macuvs.h: Use automatically-generated header.
  
 -2014-05-25  Eli Zaretskii  <eliz@gnu.org>
 +2014-06-01  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Port signal-handling to DragonFly BSD (Bug#17646).
 +      * callproc.c, sysdep.c (block_child_signal, unblock_child_signal):
 +      Move implementations from callproc.c to sysdep.c.
 +      * process.h, syssignal.h (block_child_signal, unblock_child_signal):
 +      Move declarations from process.h to syssignal.h.
 +
 +2014-06-01  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * callint.c (Ffuncall_interactively): Add usage.
 +
 +2014-06-01  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * nsfns.m (ns_appkit_version_str): Add os version for Cocoa.
 +
 +2014-05-30  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * w32heap.c (malloc_before_dump, malloc_after_dump)
 +      (malloc_before_dump, realloc_after_dump, realloc_before_dump)
 +      (mmap_alloc, mmap_realloc): Check for errors more thoroughly and
 +      set errno where appropriate to emulate CRT functions.
 +
 +2014-05-30  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      Debugging facility to check whether 'const char *' points to
 +      relocatable data of non-pure Lisp string.
 +      * alloc.c (maybe_lisp_pointer): New function, refactored out of ...
 +      (mark_maybe_pointer): ... adjusted user.
 +      (relocatable_string_data_p): New function.
 +      * lisp.h (relocatable_string_data_p): Add prototype.
 +      * xdisp.c (message_with_string): If ENABLE_CHECKING, make sure
 +      the pointer to relocatable Lisp data is not used.
 +
 +2014-05-30  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Don't let SIGINT handling block SIGCHLD indefinitely (Bug#17561).
 +      * atimer.c (block_atimers):
 +      * callproc.c (block_child_signal): Block SIGINT too;
 +      otherwise, its handler might now unblock signals that it shouldn't.
 +      * keyboard.c (read_char): Clear signal mask, since we may
 +      be in a SIGINT handler, and many signals may be masked.
 +      * keyboard.c (handle_interrupt):
 +      * sysdep.c (handle_arith_signal):
 +      Clear signal mask instead of just unblocking the signal that
 +      was received, since several signals may be blocked at this point.
 +
 +2014-05-29  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * Makefile.in (TEMACS_POST_LINK): Remove target.
 +      (emacs$(EXEEXT)): Remove $(ADDSECTION) from prerequisites.
 +      (temacs$(EXEEXT)): Remove $(TEMACS_POST_LINK) from the recipe.
 +
 +2014-05-29  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * xmenu.c (xdialog_show): Remove prototype, rename to
 +      x_dialog_show, remove 2nd arg because it's always zero
 +      and simplify accordingly.
 +      (xw_popup_dialog): Adjust user.
 +      * w32menu.c (w32_dialog_show): Adjust prototype, remove
 +      2nd arg because it's always zero and simplify accordingly.
 +      (w32_popup_dialog): Adjust user.
 +
 +2014-05-29  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * w32heap.c (report_temacs_memory_usage): New function.
 +
 +      * unexw32.c (unexec) [ENABLE_CHECKING]:
 +      Call report_temacs_memory_usage.
 +
 +      * w32heap.h (report_temacs_memory_usage): Add prototype.
 +
 +2014-05-29  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Don't substitute sigprocmask for pthread_sigmask (Bug#17561).
 +      * Makefile.in (LIB_PTHREAD_SIGMASK): Remove; all uses removed.
 +
 +2014-05-29  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * buffer.c (init_buffer): Accept an argument 'initialized'.
 +      [USE_MMAP_FOR_BUFFERS]: If 'initialized' is non-zero, reset
 +      mmap_regions and mmap_fd, to avoid referencing stale data from the
 +      dump phase.  Add an assertion for buffer text of buffers created
 +      in temacs before this function is called.  (Bug#17622)
 +      (mmap_regions_1, mmap_fd_1): Remove unused variables.
 +
 +      * lisp.h (init_buffer): Update prototype.
 +
 +      * emacs.c (main): Pass 'initialized' as the argument to init_buffer.
 +
 +2014-05-29  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * alloc.c (Fgarbage_collect): Fix compilation with
 +      GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE.
 +
 +2014-05-29  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * frame.c, frame.h (frame_char_to_pixel_position)
 +      (frame_set_mouse_position): Now static, and made private in
 +      frame.c rather than public in frame.h.
 +
 +2014-05-28  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      Refactor mouse positioning stuff to avoid code duplication.
 +      * frame.h (frame_char_to_pixel_position): New function.
 +      (x_set_mouse_position): Rename to...
 +      (frame_set_mouse_position): ...new function.
 +      (frame_set_mouse_pixel_position): Add prototype.
 +      * nsterm.m, w32term.c, xterm.c (x_set_mouse_pixel_position):
 +      Rename to frame_set_mouse_pixel_position.
 +      * frame.c (Fset_mouse_pixel_position, Fset_mouse_position):
 +      Adjust users.
 +      * xterm.h, w32term.h ( x_set_mouse_position)
 +      (x_set_mouse_pixel_position): Remove prototypes.
 +
 +2014-05-28  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      On X, always make pointer visible when deleting frame (Bug#17609).
 +      * frame.c (frame_make_pointer_visible, frame_make_pointer_invisible):
 +      Pass frame as arg.
 +      * frame.h (frame_make_pointer_visible, frame_make_pointer_invisible):
 +      Adjust prototypes.
 +      * cmds.c (Fself_insert_command): Use SELECTED_FRAME.
 +      * keyboard.c (gobble_input): If there is no terminal input error,
 +      make sure the pointer is visible for all frames on this terminal.
 +      * xterm.c (x_free_frame_resources): Enable pointer visibility if
 +      it was previously disabled.
 +
 +2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * data.c (Fzerop): Move to Elisp.
 +      (syms_of_data): Don't defsubr it.
 +      * keyboard.c (echo_keystrokes_p): New function.
 +      (read_char, record_menu_key, read_key_sequence): Use it.
 +
 +      * callint.c (Qfuncall_interactively): New var.
 +      (Qcall_interactively): Remove.
 +      (Ffuncall_interactively): New function.
 +      (Fcall_interactively): Use it.
 +      (syms_of_callint): Defsubr it.
 +
 +2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * bytecode.c (FETCH) [BYTE_CODE_SAFE]: Check the bytecode wasn't
 +      relocated from under us.
 +
 +2014-05-27  Fabrice Popineau  <fabrice.popineau@gmail.com>
 +
 +      Use mmap(2) emulation for allocating buffer text on MS-Windows.
 +      * Makefile.in (C_HEAP_SWITCH): Get the predefined heap size from
 +      configure.
 +      (ADDSECTION, MINGW_TEMACS_POST_LINK): Remove, no longer used.
 +
 +      * lisp.h (NONPOINTER_BITS): Modify the condition to define to zero
 +      for MinGW, since it no longer uses gmalloc.
 +
 +      * buffer.c: Do not define mmap allocations functions for Windows.
 +      Remove mmap_find which is unused. Remove mmap_set_vars which does
 +      nothing useful.
 +      [WINDOWSNT]: Include w32heap.h.
 +      (init_buffer): Always allocate new memory for buffers.
 +
 +      * emacs.c: Remove mmap_set_vars calls.
 +
 +      * image.c (free_image): Undef free for Windows because it is
 +      redirected to our private version.
 +
 +      * unexw32.c (COPY_PROC_CHUNK): Use %p format for 64bits compatibility.
 +      (copy_executable_and_dump_data): Remove dumping the heap section.
 +      (unexec): Restore using_dynamic_heap after dumping.
 +
 +      * w32heap.c (dumped_data_commit, malloc_after_dump)
 +      (malloc_before_dump, realloc_after_dump, realloc_before_dump)
 +      (free_after_dump, free_before_dump, mmap_alloc, mmap_realloc)
 +      (mmap_free): New functions.
 +
 +      * w32heap.h: Declare dumped_data and mmap_* function prototypes.
 +
 +2014-05-27  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * image.c (imagemagick_load_image): Use MagickRealType for local
 +      'color_scale', instead of double, to avoid a GCC warning about
 +      double promotion.
 +
 +      * xfns.c (Fx_window_property): Remove unused local.
 +
 +      Don't kill already-reaped process (Bug#17561).
 +      * process.c (process_send_signal): Fix race condition where a
 +      subprocess was reaped by a signal handler between the check for
 +      liveness and calling 'kill', which meant that Emacs could in
 +      theory kill an innocent bystander process.  Do the fix by blocking
 +      SIGCHLD in a critical section that checks liveness before killing.
 +
 +2014-05-26  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * w32.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Define only if undefined.
 +
 +2014-05-26  Ken Brown  <kbrown@cornell.edu>
 +
 +      * w32term.c (x_delete_display): Don't free dpyinfo->w32_id_name,
 +      even if !CYGWIN (see bug#17510).
 +
 +2014-05-26  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * nsfns.m (Fns_do_applescript): Surround NSApp run
 +      with calls to ns_init_events, ns_finish_events (Bug#17424).
 +
 +      * nsterm.h (ns_init_events, ns_finish_events): Declare.
 +
 +      * nsterm.m (ns_init_events, ns_finish_events): New functions.
 +      (ns_read_socket, ns_select): Call ns_init_events, ns_finish_events.
 +
 +      * nsfns.m (ns_do_applescript): Surround executeAndReturnError
 +      with calls to ns_init_events, ns_finish_events (Bug#17424).
 +
 +2014-05-26  Eli Zaretskii  <eliz@gnu.org>
  
        * xdisp.c (move_it_in_display_line_to): Don't record wrap position
        if we are iterating over an object that generates glyphs for
        marginal areas.  (Bug#17585)
  
 -2014-05-24  Paul Eggert  <eggert@cs.ucla.edu>
 +2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
  
        * xdisp.c (safe__call1, safe__eval): Now static.
  
 -2014-05-24  Eli Zaretskii  <eliz@gnu.org>
 +2014-05-26  Eli Zaretskii  <eliz@gnu.org>
  
        * xdisp.c (safe__call): Accept va_list argument instead of '...'.
        (safe_call, safe__call1): Construct a va_list argument for safe_call.
        (safe_call1): Call safe_call instead of safe__call directly.
  
 -2014-05-24  Ken Brown  <kbrown@cornell.edu>
 +2014-05-26  Ken Brown  <kbrown@cornell.edu>
  
        * w32term.c (x_delete_display) [CYGWIN]: Don't free
        dpyinfo->w32_id_name, to make sure it doesn't get freed more than
        once.  (Bug#17510)
  
 -2014-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * xdisp.c: Bind inhibit-quit during pre-redisplay-function.
        (safe__call, safe__call1, safe__eval): New functions.
        (prepare_menu_bars): Use it for pre-redisplay-function (bug#17577).
        (display_mode_element): Same for `:eval'.
  
 -2014-05-22  Paul Eggert  <eggert@cs.ucla.edu>
 +2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
  
        Fix port to 32-bit AIX (Bug#17540).
        * unexaix.c (copy_text_and_data): Don't add text_scnptr to ptr
        twice.  _text already includes this offset.
        (unrelocate_symbols): Don't cast 64-bit integer to pointer.
  
 -2014-05-21  Eli Zaretskii  <eliz@gnu.org>
 +2014-05-26  Eli Zaretskii  <eliz@gnu.org>
  
        * xdisp.c (move_it_in_display_line_to): Avoid infinite recursion:
        when closest_pos is identical to to_charpos, don't recurse, since
        we already tried that, and failed.  (Bug#17539)
  
 -2014-05-20  Eli Zaretskii  <eliz@gnu.org>
 -
        * w32fns.c (unwind_create_frame) [GLYPH_DEBUG]: If we are
        unwinding when frame's faces were not initialized yet, increment
        the frame's image-cache reference count before calling
        x_free_frame_resources.  Don't dereference
        dpyinfo->terminal->image_cache if it is NULL.  (Bug#17524)
  
 -2014-05-11  Glenn Morris  <rgm@gnu.org>
 +2014-05-25  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * nsfont.m (nsfont_draw): Simplify as arguments are adjusted in
 +      nsterm.m now.
 +
 +      * nsterm.m (ns_draw_glyph_string): Move isComposite and end from
 +      macfont.m, call draw with adjusted arguments so font drivers
 +      don't need to do that.
 +
 +      * macfont.m (macfont_draw): Merge changes from Macport.
 +
 +2014-05-24  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * alloc.c (garbage_collect_1): New function, with all of the guts
 +      of Fgarbage_collect.
 +      (mark_stack): Accept an argument END and don't mark Lisp objects
 +      on the stack beyond the address given by END.  Calculation of END
 +      was moved to Fgarbage_collect.
 +      (Fgarbage_collect): Calculate the end address of the stack portion
 +      that needs to be examined by mark_stack, and pass that address to
 +      garbage_collect_1, which will pass it to mark_stack.
 +      See http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00270.html
 +      for more details about the underlying problems.  In particular,
 +      this avoids dumping Emacs with the large hash-table whose value is
 +      held in purify-flag for most of the time loadup.el runs.
 +
 +2014-05-24  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * xfns.c (x_window_property_intern): New function (code from
 +      x_window_property).
 +      (Fx_window_property): Call x_window_property_intern.  If property
 +      not found and NILP (source) and outer window != inner window,
 +      check outer window for property (Bug#17537).
 +
 +2014-05-22  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Supply malloc and alloc_size attributes for extern allocators.
 +      This documents the C API, and helps GCC generate a bit better code.
 +      * conf_post.h (ATTRIBUTE_MALLOC, ATTRIBUTE_ALLOC_SIZE)
 +      (ATTRIBUTE_MALLOC_SIZE): New macros.
 +      * gmalloc.c (malloc, realloc, calloc):
 +      * gtkutil.h (malloc_widget_value):
 +      * lisp.h (ralloc, r_re_alloc, xmalloc, xzalloc, xrealloc, xnmalloc)
 +      (xnrealloc, xstrdup, xlispstrdup, record_xmalloc):
 +      Use them.
 +
 +2014-05-21  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Don't assume that ImageMagick uses a 16-bit quantum (Bug#17519).
 +      * image.c (imagemagick_load_image): Port to hosts that do not use
 +      a 16-bit quantum, i.e., QuantumRange does not equal 65535.
 +
 +2014-05-21  Leo Liu  <sdl.web@gmail.com>
 +
 +      * fns.c (Fnreverse): Accept strings for SEQ and update doc-string.
 +
 +2014-05-20  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * dbusbind.c (xd_signature): Revert last 2 patches.
 +
 +2014-05-19  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Allow any non-nil value to count as true in bool-vector.
 +      Likewise for xd_signature in dbusbind.c.
 +      This is more consistent with the usual practice in Emacs, which is
 +      that any non-nil value counts as true.
 +      * alloc.c (Fbool_vector): Don't require args to be t or nil.
 +      * dbusbind.c (xd_signature): Likewise, for booleans.
 +      * data.c, lisp.h (Qbooleanp):
 +      * lisp.h (CHECK_BOOLEAN): Remove.  All uses removed.
 +
 +2014-05-19  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * lisp.h (CHECK_BOOLEAN): New function.
 +      * alloc.c (Fbool_vector): New function.
 +      (syms_of_alloc): Defsubr it.
 +      * data.c (Qbooleanp): New symbol.
 +      (syms_of_data): DEFSYM it.
 +      * dbusbind.c (xd_signature): Use CHECK_BOOLEAN.
 +
 +      * font.c (font_matching_entity): Extract font-entity object
 +      from the vector of matching entities (Bug#17486).
 +
 +2014-05-17  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Assume C99 or later (Bug#17487).
 +      * bytecode.c (B__dummy__): Remove.
 +      * conf_post.h (bool_bf) [!NS_IMPL_GNUSTEP]: Use bool.
 +      (FLEXIBLE_ARRAY_MEMBER): Now always empty.
 +      * dbusbind.c (XD_DEBUG_MESSAGE) [!DBUS_DEBUG]:
 +      * regex.c (DEBUG_PRINT): Assume varargs macros.
 +      * lisp.h (DEFUN_FUNCTION_INIT): Remove.  All uses now assume C99.
 +
 +2014-05-17  Fabrice Popineau  <fabrice.popineau@gmail.com>
 +
 +      * buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Always map new
 +      memory for every buffer that was dumped.
 +
 +2014-05-15  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * fns.c (Freverse): Allow vectors, bool vectors and strings.
 +      (Fnreverse): Allow vectors and bool vectors.
 +
 +2014-05-14  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      Minor cleanup for terminal setup.
 +      * termhooks.h (create_terminal): Adjust prototype.
 +      * terminal.c (create_terminal): Pass output method and RIF as args.
 +      (init_initial_terminal):
 +      * nsterm.m (ns_create_terminal):
 +      * term.c (init_tty):
 +      * w32term.c (w32_create_terminal):
 +      * xterm.c (x_create_terminal): Adjust users.
 +      Avoid redundant NULL initializers and add comments.
 +
 +2014-05-13  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * keyboard.c (Qdeactivate_mark): Now static.
 +
 +2014-05-13  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      If available, use Xfixes extension to do pointer blanking.
 +      * Makefile.in (XFIXES_CFLAGS, XFIXES_LIBS): New var.
 +      * xfns.c (x_set_mouse_color): Do not call make_invisible_cursor here.
 +      (make_invisible_cursor): Move to...
 +      * xterm.c (make_invisible_cursor): ...here.
 +      (x_probe_xfixes_extension, xfixes_toggle_visible_pointer)
 +      (x_toggle_visible_pointer, x_setup_pointer_blanking): New functions.
 +      (x_term_init): Call to x_setup_pointer_blanking.
 +      (XTtoggle_invisible_pointer): Use blanking specific to this display.
 +      * xterm.h (struct x_display_info): New member toggle_visible_pointer.
 +
 +2014-05-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 +
 +      * xdisp.c (draw_glyphs): Set clipping to highlight boundaries.
 +
 +2014-05-12  Glenn Morris  <rgm@gnu.org>
  
        * fileio.c (Ffile_executable_p): Doc tweak.
  
 -2014-05-10  Jan Djärv  <jan.h.d@swipnet.se>
 +2014-05-12  Jan Djärv  <jan.h.d@swipnet.se>
  
        * xsettings.c (init_gsettings): Use g_settings_schema_source_lookup
        instead of deprecated g_settings_list_schemas if possible (Bug#17434).
  
 -2014-05-07  Paul Eggert  <eggert@cs.ucla.edu>
 +2014-05-08  Paul Eggert  <eggert@cs.ucla.edu>
  
        * minibuf.c (read_minibuf): Avoid C99ism in previous patch (Bug#17430).
  
 -2014-05-07  Jarek Czekalski  <jarekczek@poczta.onet.pl>
 +2014-05-08  Jarek Czekalski  <jarekczek@poczta.onet.pl>
  
        Fix initialization of minibuffer history variable (Bug#17430).
        * minibuf.c (read_minibuf): Initialize histval to Qnil if unbound.
        Move the initialization up to prevent any "value void" message.
  
 -2014-05-06  Samuel Bronson  <naesten@gmail.com>
 +2014-05-08  Samuel Bronson  <naesten@gmail.com>
  
        * keyboard.c (Frecursive_edit): Ensure inc&dec of command_loop_level
        are matched (bug#17413).
  
 -2014-05-06  Jarek Czekalski  <jarekczek@poczta.onet.pl>
 +2014-05-08  Jarek Czekalski  <jarekczek@poczta.onet.pl>
  
        Stop tooltips pulling Emacs window to front (Bug#17408).
        * w32fns.c (Fx_show_tip): Add SWP_NOOWNERZORDER flag to
        SetWindowPos invocations.
  
 -2014-05-05  Jan Djärv  <jan.h.d@swipnet.se>
 +2014-05-08  Jan Djärv  <jan.h.d@swipnet.se>
  
        * nsselect.m (Fx_selection_exists_p): Just return Qnil if window system
        not initialized (Bug#17398).
  
 +2014-05-07  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * image.c: Include <png.h> before <setjmp.h> (Bug#17429).
 +
 +2014-05-06  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * image.c: Do not use libpng if HAVE_NS, as NS does its own thing.
 +      [HAVE_NS]: Do not include png.h.
 +      (x_query_frame_background_color): New function.
 +      (png_load_body, imagemagick_load_image, svg_load_image): Use it.
 +      (png_load_body): Coalesce duplicate code.
 +
  2014-05-04  Paul Eggert  <eggert@cs.ucla.edu>
  
 -      Revert recent libpng changes (Bug#17339).
 -      * Makefile.in (PNG_CFLAGS): Remove; all uses removed.
 -      * image.c [HAVE_LIBPNG_PNG_H]: Include <libpng/png.h>, not <png.h>.
 +      Consult libpng-config more consistently (Bug#17339).
 +      * Makefile.in (PNG_CFLAGS): New var.
 +      (ALL_CFLAGS): Use it.
 +      * image.c [HAVE_PNG]: Don't worry about <libpng/png.h>, as
 +      CFLAGS now handles this.
  
  2014-05-03  Paul Eggert  <eggert@cs.ucla.edu>
  
  
        * buffer.c (overlay_strings): Fix the wording of the commentary.
  
 -2014-05-02  Paul Eggert  <eggert@cs.ucla.edu>
 -
 -      Consult libpng-config more consistently (Bug#17339).
 -      * Makefile.in (PNG_CFLAGS): New var.
 -      (ALL_CFLAGS): Use it.
 -      * image.c [HAVE_PNG]: Don't worry about <libpng/png.h>, as
 -      CFLAGS now handles this.
 -
  2014-05-01  Glenn Morris  <rgm@gnu.org>
  
        * floatfns.c (Fisnan):
        GCC 4.9.0 warned about this, and I couldn't easily prove to my own
        satisfaction that they would always be initialized.
  
 -2014-04-29  Eli Zaretskii  <eliz@gnu.org>
 +2014-04-30  Eli Zaretskii  <eliz@gnu.org>
  
 -      * term.c (tty_menu_display): Move the cursor to the active menu
 -      item.
 +      * term.c (tty_menu_display): Move the cursor to the active menu item.
        (tty_menu_activate): Return the cursor to the active menu item
 -      after displaying the menu and after displaying help-echo.  See
 -      http://lists.gnu.org/archive/html/emacs-devel/2014-04/msg00402.html
 +      after displaying the menu and after displaying help-echo.
 +      See http://lists.gnu.org/archive/html/emacs-devel/2014-04/msg00402.html
        for the details of why this is needed by screen readers and
        Braille displays.
  
 -2014-04-29  Glenn Morris  <rgm@gnu.org>
 +2014-04-30  Glenn Morris  <rgm@gnu.org>
  
        * process.c (handle_child_signal):
        Handle systems without WCONTINUED.  (Bug#15110, 17339)
  
 -2014-04-23  Eli Zaretskii  <eliz@gnu.org>
 +2014-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * window.c (struct saved_window): Remove mark.
 +      (Fset_window_configuration, save_window_save)
 +      (compare_window_configurations): Don't touch marks any more.
 +
 +2014-04-28  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Use bits_word for gcmarkbits.
 +      * alloc.c (struct cons_block, struct float_block): On 64-bit hosts,
 +      bits_word is typically a tad more efficient for mark bits than
 +      unsigned is, so use bits_word.  All uses changed.
 +      * lisp.h (BITS_PER_INT): Remove; no longer used.
 +
 +      Avoid undefined behavior in signed left shift.
 +      This ports to GCC 4.9.0 with -fsanitize=undefined.
 +      * alloc.c (bool_vector_fill, SETMARKBIT, UNSETMARKBIT):
 +      * data.c (Fash):
 +      * regex.c (extract_number):
 +      * lisp.h (make_number, XINT):
 +      Do not shift a 1 bit left into a sign bit.
 +      * alloc.c (struct cons_block, struct float_block): Use unsigned,
 +      not int, for gcmarkbits.  All uses changed.
 +
 +2014-04-25  Eli Zaretskii  <eliz@gnu.org>
  
        * search.c (Fnewline_cache_check): Don't try to count newlines
        outside the buffer's restriction, as find_newline doesn't support that.
  
 +2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * window.c (Fset_window_configuration): Deactivate the mark before
 +      unsetting the mark.
 +      (set_window_buffer): Ignore window_initialized.
 +      (window_initialized): Remove.
 +      * keyboard.c (Qdeactivate_mark): Not static any more.
 +      * buffer.c (buffer_local_value): Rename from buffer_local_value_1.
 +      Update all callers.
 +
 +2014-04-23  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * conf_post.h (ADDRESS_SANITIZER_WORKAROUND): Port to GCC 4.9.0
 +      and to clang 3.4, which have fixed the bug.  This should let us
 +      run a bit faster on these platforms when address sanitization is
 +      in effect.
 +
  2014-04-22  Paul Eggert  <eggert@cs.ucla.edu>
  
        Port to GCC 4.9.0 with --enable-gcc-warnings.
        (Fnewline_cache_check): New function.
        (syms_of_search): Defsubr it.
  
 -2014-04-21  Jarek Czekalski  <jarekczek@poczta.onet.pl>
 +2014-04-22  Jarek Czekalski  <jarekczek@poczta.onet.pl>
  
        Fix freezing with scroll bars of GTK3 Toolkit (bug#15801).
        * keyboard.c (unblock_input): Add comment.
        * xgselect.c (xg_select): Prevent Glib main loop recursion.
  
 +2014-04-22  Daniel Colascione  <dancol@dancol.org>
 +
 +      * lread.c (readevalloop_eager_expand_eval): New function
 +      that can recurse into toplevel forms.
 +      (readevalloop): Call it.
 +      * lisp.h: Declare Qprogn.
 +      * callint.c (Qprogn): No longer static.
 +
  2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * intervals.c (rotate_right, rotate_left): Fix up length computation.
        Also change identifiers to match the comments, and add more assertions
        (bug#16234).
  
 -2014-04-18  Eli Zaretskii  <eliz@gnu.org>
 -
 -      * xdisp.c (insert_left_trunc_glyphs): Ensure the left truncation
 -      glyph is written to TEXT_AREA of the temporary glyph_row.
 -      (Bug#17288)
 -
  2014-04-18  Paul Eggert  <eggert@cs.ucla.edu>
  
        * emacs.c (close_output_streams): Don't clear and restore errno.
  
 -2014-04-17  Jan Djärv  <jan.h.d@swipnet.se>
 +2014-04-18  Jan Djärv  <jan.h.d@swipnet.se>
  
        * xterm.c (x_make_frame_visible): Prevent endless loop when frame
        never becomes visible, i.e. using XMonad  (Bug#17237).
  
 -2014-04-17  Eli Zaretskii  <eliz@gnu.org>
 +2014-04-18  Eli Zaretskii  <eliz@gnu.org>
  
 -      * xdisp.c (Fline_pixel_height): Don't assume that the current
 -      buffer and the selected window's buffer are one and the same.
 -      (Bug#17281)
 +      * xdisp.c (insert_left_trunc_glyphs): Ensure the left truncation
 +      glyph is written to TEXT_AREA of the temporary glyph_row.  (Bug#17288)
 +      (Fline_pixel_height): Don't assume that the current buffer and the
 +      selected window's buffer are one and the same.  (Bug#17281)
  
        * insdel.c (invalidate_buffer_caches): Invalidate the bidi
        paragraph-start cache before the newline cache.  (Bug#17269)
  
 +2014-04-17  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * term.c (tty_send_additional_strings): No need to fflush here,
 +      as callers fflush.
 +      (tty_set_terminal_modes): fflush after sending additional strings,
 +      not before.
 +
 +2014-04-17  Daniel Colascione  <dancol@dancol.org>
 +
 +      * term.c (Qtty_mode_set_strings, Qtty_mode_reset_strings):
 +      New symbols.
 +      (tty_send_additional_strings): New function.
 +      (tty_set_terminal_modes, tty_reset_terminal_modes): Use it.
 +      (syms_of_term): Intern tty-mode-set-strings and
 +      tty-mode-reset-strings.
 +
  2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * window.c (save_window_save): Lookup window_point_insertion_type in
        Move vfork-related portions under #ifndef MSDOS.
        (syms_of_callproc): Unify templates of MSDOS and WINDOWSNT.
  
 -2014-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * buffer.c (Foverlays_at): Add argument `sorted'.
  
 -2014-04-14  Eli Zaretskii  <eliz@gnu.org>
 +2014-04-16  Eli Zaretskii  <eliz@gnu.org>
  
        * insdel.c (invalidate_buffer_caches): When deleting or replacing
        text, invalidate the bidi_paragraph_cache upto and including the
        preceding newline.
  
 -2014-04-13  Paul Eggert  <eggert@cs.ucla.edu>
 +2014-04-16  Paul Eggert  <eggert@cs.ucla.edu>
  
        Port to IRIX 6.5 (Bug#9684).
 -      * alloc.c (TAGGABLE_NULL): New constant,
 -      for porting to hosts with nontrivial DATA_SEG_BITS settings.
 -      (next_vector, set_next_vector): Use it.
        * conf_post.h (INET6) [IRIX6_5]: Define.
        (HAVE_GETADDRINFO) [IRIX6_5]: Undef.
        * data.c (BITS_PER_ULL): Don't assume ULLONG_MAX is defined.
 -      * lisp.h (lisp_h_XPNTR): Don't OR in bits that aren't masked out,
 -      for consistency with how TAGGABLE_NULL is computed.
  
 -2014-04-13  Eli Zaretskii  <eliz@gnu.org>
 +2014-04-16  Eli Zaretskii  <eliz@gnu.org>
  
        * keyboard.c (Fopen_dribble_file): Encode the dribble file-name
        before passing it to system APIs.
  
 -      * puresize.h (BASE_PURESIZE): Bump by 1K.  (Bug#17255)
 -
 -2014-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * bytecode.c (exec_byte_code): Rework the volatiles.  Most importantly,
        make sure stack.byte_string_start is not de-adjusted by pushhandler.
  
 -2014-04-12  Paul Eggert  <eggert@cs.ucla.edu>
 +2014-04-16  Paul Eggert  <eggert@cs.ucla.edu>
  
        * keyboard.c (Fopen_dribble_file): Avoid some races.  (Bug#17187)
  
 +2014-04-15  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Remove DATA_SEG_BITS.
 +      The DATA_SEG_BITS hack was needed for older 32 bit platforms.
 +      As a result of this change, Emacs won't work on IRIX 6.5 with IRIX
 +      cc, but that platform is so old that SGI itself stopped supporting
 +      it in December 2013.  If you still need Emacs on IRIX, please
 +      either compile with GCC and port the undumping code, or run
 +      './configure --with-wide-int'.
 +      * alloc.c (gdb_make_enums_visible): Update to match lisp.h.
 +      * lisp.h (GCTYPEBITS): Move definition up, and switch to the
 +      DEFINE_GDB_SYMBOL_START way to define it.
 +      (NONPOINTER_BITS): New macro.
 +      (EMACS_INT): Use it.
 +      [!USE_LSB_TAG && !WIDE_EMACS_INT]: Fail, and suggest reporting
 +      the problem and/or configuring --with-wide-int.
 +      (USE_LSB_TAG): Simplify, based on above changes.
 +      (gdb_DATA_SEG_BITS): Remove.  All uses removed.
 +      * vm-limit.c (exceeds_lisp_ptr): Remove.  All uses removed.
 +
  2014-04-12  Eli Zaretskii  <eliz@gnu.org>
  
        * xdisp.c (move_it_by_lines): If a large portion of buffer text is
        * indent.c (Fvertical_motion): Handle correctly the case when the
        display string is preceded by an empty line.
  
 -2014-04-11  Eli Zaretskii  <eliz@gnu.org>
 -
        * w32.c (sys_umask) <WRITE_USER>: Remove redundant constant, and
        use S_IWRITE instead.
  
  
        * keyboard.c (Fopen_dribble_file): Make file private.  (Bug#17187)
  
 -2014-04-09  Ken Brown  <kbrown@cornell.edu>
 +2014-04-11  Ken Brown  <kbrown@cornell.edu>
  
        * Makefile.in (EMACS_MANIFEST): Revert last change.
  
 +2014-04-10  Daniel Colascione  <dancol@dancol.org>
 +
 +      * puresize.h (BASE_PURESIZE): Increase.
 +
 +2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * keyboard.c (syms_of_keyboard): Make deactivate-mark buffer-local.
 +
 +      * insdel.c (prepare_to_modify_buffer_1): Cancel lock-file checks and
 +      region handling (and don't call signal_before_change) if
 +      inhibit_modification_hooks is set.
 +      (signal_before_change): Don't check inhibit_modification_hooks any more.
 +
 +2014-04-08  Daniel Colascione  <dancol@dancol.org>
 +
 +      * alloc.c (sweep_symbols, mark_object): Assert that symbol
 +      function cells contain valid lisp objects.  (Modified version of
 +      patch from Dmitry).
 +
 +      * alloc.c (detect_suspicious_free): Split actual stack capturing
 +      out into new function for easier breakpoint setting.
 +      (note_suspicious_free): New function.
 +
  2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * lisp.h (struct Lisp_Symbol): New bitfield `pinned'.
        (Fgarbage_collect): Use it.
        (gc_sweep): Remove hack made unnecessary.
  
 -2014-04-05  Glenn Morris  <rgm@gnu.org>
 +2014-04-07  Glenn Morris  <rgm@gnu.org>
  
        * keyboard.c (Fopen_dribble_file): Doc tweak.
  
 -2014-04-04  Jan Djärv  <jan.h.d@swipnet.se>
 -
 -      Backport from trunk.
 -      * nsterm.m (updateFrameSize:): If waiting for the tool bar and tool
 -      bar is zero height, just return (Bug#16976).
 -      (initFrameFromEmacs:): Initialize wait_for_tool_bar.
 -      * nsterm.h (EmacsView): Add wait_for_tool_bar.
 -      * nsmenu.m (update_frame_tool_bar): Return early if view or toolbar
 -      is nil.  If waiting for toolbar to complete, force a redraw.
 -      (free_frame_tool_bar): Set wait_for_tool_bar = NO (Bug#16976).
 -
 -2014-04-03  Ken Brown  <kbrown@cornell.edu>
 +2014-04-07  Ken Brown  <kbrown@cornell.edu>
  
        * Makefile.in (EMACS_MANIFEST): Update comment.  (Bug#17176)
  
 +2014-04-07  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * alloc.c: Simplify by removing use of HAVE_EXECINFO_H.
 +      We have a substitute execinfo.h on hosts that lack it.
 +      (suspicious_free_history): Make it EXTERNALLY_VISIBLE so it
 +      isn't optimized away.
 +
 +2014-04-05  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Prefer 'ARRAYELTS (x)' to 'sizeof x / sizeof *x'.
 +      * alloc.c (memory_full):
 +      * charset.c (syms_of_charset):
 +      * doc.c (Fsnarf_documentation):
 +      * emacs.c (main):
 +      * font.c (BUILD_STYLE_TABLE):
 +      * keyboard.c (make_lispy_event):
 +      * profiler.c (setup_cpu_timer):
 +      * xgselect.c (xg_select):
 +      * xterm.c (record_event, STORE_KEYSYM_FOR_DEBUG):
 +      Use ARRAYELTS.
 +      * font.c (FONT_PROPERTY_TABLE_SIZE): Remove.
 +      Replace the only use with ARRAYELTS (font_property_table).
 +      * xfaces.c (DIM): Remove.  All uses replaced by ARRAYELTS.
 +
 +2014-04-03  Daniel Colascione  <dancol@dancol.org>
 +
 +      * xterm.c (x_term_init):
 +      * xfns.c (best_xim_style):
 +      * xfaces.c (Fdump_colors):
 +      * w32fns.c (w32_default_color_map):
 +      * w32.c (init_environment, N_ENV_VARS):
 +      * unexcw.c (read_exe_header):
 +      * term.c (term_get_fkeys_1):
 +      * sysdep.c (init_baud_rate):
 +      * nsterm.m (ns_convert_key):
 +      * nsfns.m (get_geometry_from_preferences):
 +      * msdos.c (dos_set_window_size, init_environment):
 +      * macfont.m (mac_font_get_glyph_for_cid)
 +      (macfont_store_descriptor_attributes)
 +      (macfont_create_attributes_with_spec, mac_ctfont_get_glyph_for_cid):
 +      * keyboard.c (command_loop_1, read_menu_command, make_lispy_event)
 +      (NUM_MOD_NAMES, read_key_sequence_vs, Fcurrent_input_mode)
 +      (syms_of_keyboard):
 +      * image.c (xpm_str_to_color_key):
 +      * fringe.c (MAX_STANDARD_FRINGE_BITMAPS):
 +      * frame.c (x_set_frame_parameters):
 +      * fileio.c (Ffile_selinux_context):
 +      * emacs.c (sort_args):
 +      * dosfns.c (msdos_stdcolor_name):
 +      * dired.c (file_attributes):
 +      * chartab.c (uniprop_decoder_count, uniprop_encode_count):
 +      Change expressions of the form sizeof(arr) / sizeof(arr[0])
 +      to ARRAYELTS (arr).
 +
 +2014-04-02  Daniel Colascione  <dancol@dancol.org>
 +
 +      * data.c (Ffset): Abort if we're trying to set a function call to
 +      a dead lisp object.
 +
 +      * lisp.h (ARRAYELTS): New macro.
 +
 +      * alloc.c: Include execinfo.h if available.
 +      (SUSPICIOUS_OBJECT_CHECKING): New macro; define unconditionally.
 +      (suspicious_free_record): New structure.
 +      (suspicious_objects, suspicious_object_index)
 +      (suspicious_free_history, suspicious_free_history_index):
 +      New variables.
 +      (find_suspicious_object_in_range, detect_suspicious_free)
 +      (Fsuspicious_object): New functions.
 +      (cleanup_vector): Call find_suspicious_object_in_range.
 +
  2014-04-02  Martin Rudalics  <rudalics@gmx.at>
  
        * xterm.c (x_new_font): Don't calculate non-toolkit scrollbar
        width from font width (Bug#17163).
  
 -2014-03-30  Martin Rudalics  <rudalics@gmx.at>
 -
        * frame.c (x_set_frame_parameters): Calculate default values of
        new frame sizes only after all other frame parameters have been
        processed (Bug#17142).
  
 -2014-03-28  Ken Brown  <kbrown@cornell.edu>
 +2014-04-02  Ken Brown  <kbrown@cornell.edu>
  
        * conf_post.h (SYSTEM_PURESIZE_EXTRA) [CYGWIN]: Set to 10000.
        (Bug#17112)
  
 -2014-03-28  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 +2014-04-02  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
  
        * xterm.c (x_draw_image_glyph_string): Adjust image background
        width accordingly when its x position is adjusted.  (Bug#17115)
  
 +2014-04-02  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * font.c (font_list_entities): Do not add empty vector to font cache.
 +      (font_matching_entity): Likewise.  If matching entity is found, insert
 +      1-item vector with this entity instead of entity itself (Bug#17125).
 +
 +      * xterm.c (x_term_init) [USE_LUCID]: Fix minor memory leak.
 +
 +2014-04-01  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * fns.c (validate_subarray): Rename from validate_substring,
 +      since it works for vectors too.  New arg ARRAY.  Optimize for the
 +      non-nil case.  Instead of returning bool, throw an error if out of
 +      range, so that the caller needn't do that.  All uses changed.
 +      Report original values if out of range.
 +      (Fsubstring, Fsubstring_no_properties, secure_hash):
 +      Also optimize the case where FROM is 0 or TO is the size.
 +
 +2014-03-31  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * search.c (Freplace_match): Use make_specified_string.
 +      * xterm.c, w32term.c (x_set_glyph_string_gc): Use emacs_abort
 +      to catch bogus override face of glyph strings.
 +      * fns.c (Fsubstring, Fsubstring_no_properties, secure_hash):
 +      Move common substring range checking code to...
 +      (validate_substring): ...this function.
 +
 +2014-03-31  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * nsmenu.m (free_frame_tool_bar): Set wait_for_tool_bar = NO (Bug#16976)
 +
 +2014-03-30  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * nsterm.m (updateFrameSize:): If waiting for the tool bar and tool
 +      bar is zero height, just return (Bug#16976).
 +      (initFrameFromEmacs:): Initialize wait_for_tool_bar.
 +
 +      * nsterm.h (EmacsView): Add wait_for_tool_bar.
 +
 +      * nsmenu.m (update_frame_tool_bar): Return early if view or toolbar
 +      is nil.  If waiting for toolbar to complete, force a redraw.
 +
 +2014-03-28  Glenn Morris  <rgm@gnu.org>
 +
 +      * emacs.c (emacs_version): Use PACKAGE_VERSION rather than VERSION.
 +      (emacs_bugreport): New variable.
 +      (usage_message): Use PACKAGE_BUGREPORT.
 +      (syms_of_emacs) <report-emacs-bug-address>: New variable.
 +
 +      * emacs.c (syms_of_emacs) <system-configuration-features>: New var.
 +
 +2014-03-27  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Port recent signal-related changes to FreeBSD.
 +      Problem reported by Herbert J. Skuhra.
 +      * lisp.h (block_tty_out_signal, unblock_tty_out_signal):
 +      Move decls from here ...
 +      * syssignal.h: ... to here, so that lisp.h doesn't depend on signal.h.
 +
  2014-03-27  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
  
        * w32term.c (x_draw_image_glyph_string): Fix computation of height
        and width of image background when it is displayed with a 'box'
        face.  (Bug#17115)
  
 -2014-03-26  Paul Eggert  <eggert@penguin.cs.ucla.edu>
 +2014-03-27  Paul Eggert  <eggert@penguin.cs.ucla.edu>
  
        More backward-compatible fix to char-equal core dump (Bug#17011).
        * editfns.c (Fchar_equal): In unibyte buffers, assume values in
        range 128-255 are raw bytes.  Suggested by Eli Zaretskii.
  
 +2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * image.c (init_svg_functions): When loading SVG-related libraries,
 +      free already loaded libraries if the initialization fails.
 +      (rsvg_handle_set_size_callback): Remove declaration, unused.
 +
 +2014-03-26  Paul Eggert  <eggert@cs.ucla.edu>
 +
        Fix core dump in char-equal (Bug#17011).
        * editfns.c (Fchar_equal): Do not use MAKE_CHAR_MULTIBYTE in
        unibyte buffers, as we can't tell whether the characters are
  
        * insdel.c (adjust_markers_for_delete): Remove unused local.
  
 -2014-03-24  Barry O'Reilly  <gundaetiapo@gmail.com>
 +2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
  
        Have (MARKER . ADJUSTMENT) undo records always be immediately
        after their corresponding (TEXT . POS) record in undo list.
        (record_point): at_boundary calculation no longer needs to account
        for marker adjustments.
  
 -2014-03-24  Martin Rudalics  <rudalics@gmx.at>
 +2014-03-26  Martin Rudalics  <rudalics@gmx.at>
  
        * w32term.c (x_set_window_size): Refine fix from 2014-03-14
        (Bug#17077).
  
 -2014-03-23  Glenn Morris  <rgm@gnu.org>
 +2014-03-26  Glenn Morris  <rgm@gnu.org>
  
        * fileio.c (Ffile_symlink_p): Doc fix. (Bug#17073)
  
 -2014-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
 +2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * buffer.c (struct sortvec): Add field `spriority'.
        (compare_overlays): Use it.
        (sort_overlays): Set it.
  
 -2014-03-23  Eli Zaretskii  <eliz@gnu.org>
 +2014-03-26  Eli Zaretskii  <eliz@gnu.org>
  
        * xdisp.c (redisplay_window): If all previous attempts to find the
        cursor row failed, try a few alternatives before falling back to
        the top-most row of the window.  Use row_containing_pos.  (Bug#17047)
  
 -2014-03-22  Daniel Colascione  <dancol@dancol.org>
 +2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
  
 -      * process.c (conv_sockaddr_to_lisp): When extracting the string
 -      names of AF_LOCAL sockets, stop before reading uninitialized
 -      memory.
 +      * image.c (x_bitmap_height, x_bitmap_width) [HAVE_X_WINDOWS]:
 +      * sysdep.c (reset_sigio) [!DOS_NT]: Declare conditionally.
 +
 +      * keyboard.c (read_decoded_event_from_main_queue): #ifdef out
 +      variables on Windows.
 +
 +      * w32fns.c (Ffile_system_info): Use parenthesis in and/or expression.
 +
 +      * w32.c (unsetenv): Remove unused var `retval'.
 +      (emacs_gnutls_pull): Remove unused vars `fdset' and `timeout'.
 +
 +      * w32notify.c (watch_worker): Remove unnecesary var sleep_result.
 +      (start_watching): Remove unused var `thr'.
 +
 +      * w32proc.c (sys_spawnve): Comment out unused vars `first', `last'.
 +      (find_child_console): Remove unnecesary var `thread_id'.
 +
 +      * w32term.c (w32_read_socket): Comment out unused vars `row', `columns'.
 +      (x_focus_frame): #ifdef 0 unused variable `dpyinfo'.
 +
 +2014-03-26  Glenn Morris  <rgm@gnu.org>
 +
 +      * filelock.c (Flock_buffer): Doc tweak.
 +
 +      * buffer.c (Frestore_buffer_modified_p, Fkill_buffer):
 +      * emacs.c (shut_down_emacs):
 +      * fileio.c (Finsert_file_contents, write_region):
 +      * filelock.c (top-level, syms_of_filelock):
 +      * insdel.c (prepare_to_modify_buffer_1):
 +      CLASH_DETECTION is always defined now.
 +
 +2014-03-25  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * w32.c (w32_delayed_load): Call DisableThreadLibraryCalls on the
 +      DLL handle, to speed up thread startup.
 +
 +2014-03-25  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Handle sigmask better with nested signal handlers  (Bug#15561).
 +      * atimer.c (sigmask_atimers): Remove.
 +      Remaining use rewritten to use body of this function.
 +      * atimer.c (block_atimers, unblock_atimers):
 +      * callproc.c (block_child_signal, unblock_child_signal):
 +      * sysdep.c (block_tty_out_signal, unblock_tty_out_signal):
 +      New arg OLDSET.  All callers changed.
 +      * atimer.c (block_atimers, unblock_atimers):
 +      * callproc.c (block_child_signal, unblock_child_signal):
 +      * keyboard.c (handle_interrupt):
 +      * sound.c (vox_configure, vox_close):
 +      Restore the old signal mask rather than unilaterally clearing bits
 +      from the mask, in case a handler is running within another
 +      handler.  All callers changed.
 +      * lisp.h, process.c, process.h, term.c:
 +      Adjust decls and callers to match new API.
 +      * sysdep.c (emacs_sigaction_init): Don't worry about masking SIGFPE;
 +      signal handlers aren't supposed to use floating point anyway.
 +      (handle_arith_signal): Unblock just SIGFPE rather than clearing mask.
 +
 +2014-03-23  Daniel Colascione  <dancol@dancol.org>
 +
 +      Split gc_sweep into discrete functions for legibility and better
 +      stack traces.
 +
 +      * alloc.c (sweep_strings, sweep_vectors): Add NO_INLINE
 +      (sweep_vectors): Fix typo in comment.
 +      (sweep_conses, sweep_floats, sweep_intervals)
 +      (sweep_symbols, sweep_misc, sweep_buffers): New functions.
 +      (gc_sweep): Call new functions, to which existing functionality is
 +      moved.
 +      * fns.c (sweep_weak_hash_tables): Add NO_INLINE.
 +
 +2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * w32fns.c (Fw32_shell_execute): Declare `result' only on Cygwin.
 +
 +2014-03-23  Daniel Colascione  <dancol@dancol.org>
 +
 +      * xfns.c (create_frame_xic): Pass XNStatusAttributes to XCreateIC
 +      only if xic_style calls for it.  This change allows Emacs to work
 +      with ibus.  Also, don't leak resources if create_frame_xic fails,
 +      and stop caching xic_style across different displays.
 +      (supported_xim_styles): Make const.
 +      (best_xim_style): Remove first parameter: it's always just
 +      supported_xim_styles.  Change to look at supported_xim_styles
 +      directly.
 +
 +2014-03-23  Daniel Colascione  <dancol@dancol.org>
 +
 +      * term.c (init_tty): Rearrange condition for clarity; print
 +      appropriate diagnostic.
  
  2014-03-23  Daniel Colascione  <dancol@dancol.org>
  
        * process.c (DATAGRAM_CONN_P): Don't underflow datagram_address
        array.  (ASAN caught.)
  
 +2014-03-22  Glenn Morris  <rgm@gnu.org>
 +
 +      * callproc.c (init_callproc): In etc, look for NEWS rather than GNU.
 +
 +2014-03-22  Daniel Colascione  <dancol@dancol.org>
 +
 +      * process.c (conv_sockaddr_to_lisp): When extracting the string
 +      names of AF_LOCAL sockets, stop before reading uninitialized memory.
 +
  2014-03-21  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
  
        Fix regression introduced by patch for Bug#10500.
        constrain frame size in SW_SHOWMAXIMIZED case so we can truly
        maximize a frame for odd default fonts.
  
 +2014-03-21  Glenn Morris  <rgm@gnu.org>
 +
 +      * minibuf.c (history-length): Increase default from 30 to 100.
 +
 +2014-03-21  Daniel Colascione  <dancol@dancol.org>
 +
 +      * xterm.c (x_bitmap_icon): Stop reading the icon bitmap from disk
 +      every time we switch to minibuffer.
 +
 +      * alloc.c (lisp_align_malloc, allocate_string_data)
 +      (allocate_vectorlike): Allow mmap allocation of lisp objects.
 +      (pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): New functions.
 +
 +2014-03-21  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * w32fns.c (Fw32_shell_execute) [!CYGWIN]: Use ShellExecuteEx, to
 +      support more "verbs".
 +
 +2014-03-21  Daniel Colascione  <dancol@dancol.org>
 +
 +      Always prohibit dumping a dumped Emacs.
 +
 +      * emacs.c (might_dump): New variable.
 +      (Fdump_emacs): Always prohibit dumping of dumped Emacs.
 +      * lisp.h (might_dump): Declare.
 +      * unexcw.c (unexec): Remove now-redundant multiple-dump detection code.
 +
  2014-03-20  Paul Eggert  <eggert@cs.ucla.edu>
  
        * doc.c (store_function_docstring): Fix pointer signedness mismatch.
diff --combined src/w32.c
index 4643fc7fbec042731e763f26fa4fd475ba8d1226,15e53600d95b9720e9633304693124f662d006af..c5d4aa0fe8e879f2885b266cb4eb0b74df5be660
+++ b/src/w32.c
@@@ -73,11 -73,9 +73,11 @@@ along with GNU Emacs.  If not, see <htt
  #include <grp.h>
  
  /* MinGW64 (_W64) defines these in its _mingw.h.  */
 -#if defined(__GNUC__) && !defined(_W64)
 -#define _ANONYMOUS_UNION
 -#define _ANONYMOUS_STRUCT
 +#ifndef _ANONYMOUS_UNION
 +# define _ANONYMOUS_UNION
 +#endif
 +#ifndef _ANONYMOUS_STRUCT
 +# define _ANONYMOUS_STRUCT
  #endif
  #include <windows.h>
  /* Some versions of compiler define MEMORYSTATUSEX, some don't, so we
@@@ -1709,7 -1707,7 +1709,7 @@@ static unsigned num_of_processors
  /* We maintain 1-sec samples for the last 16 minutes in a circular buffer.  */
  static struct load_sample samples[16*60];
  static int first_idx = -1, last_idx = -1;
 -static int max_idx = sizeof (samples) / sizeof (samples[0]);
 +static int max_idx = ARRAYELTS (samples);
  
  static int
  buf_next (int from)
@@@ -2415,6 -2413,7 +2415,6 @@@ unsetenv (const char *name
  {
    char *var;
    size_t name_len;
 -  int retval;
  
    if (name == NULL || *name == '\0' || strchr (name, '=') != NULL)
      {
@@@ -2513,7 -2512,7 +2513,7 @@@ init_environment (char ** argv
  
    int i;
  
 -  const int imax = sizeof (tempdirs) / sizeof (tempdirs[0]);
 +  const int imax = ARRAYELTS (tempdirs);
  
    /* Implementation note: This function explicitly works with ANSI
       file names, not with UTF-8 encoded file names.  This is because
        {"LANG", NULL},
      };
  
 -#define N_ENV_VARS sizeof (dflt_envvars)/sizeof (dflt_envvars[0])
 +#define N_ENV_VARS ARRAYELTS (dflt_envvars)
  
      /* We need to copy dflt_envvars[] and work on the copy because we
         don't want the dumped Emacs to inherit the values of
@@@ -8612,6 -8611,7 +8612,7 @@@ network_interface_list (void
  Lisp_Object
  network_interface_info (Lisp_Object ifname)
  {
+   CHECK_STRING (ifname);
    return network_interface_get_info (ifname);
  }
  
@@@ -8698,13 -8698,6 +8699,13 @@@ w32_delayed_load (Lisp_Object library_i
                               /* Possibly truncated */
                               ? make_specified_string (name, -1, len, 1)
                               : Qnil);
 +              /* This prevents thread start and end notifications
 +                 from being sent to the DLL, for every thread we
 +                 start.  We don't need those notifications because
 +                 threads we create never use any of these DLLs, only
 +                 the main thread uses them.  This is supposed to
 +                 speed up thread creation.  */
 +              DisableThreadLibraryCalls (dll_handle);
                break;
              }
          }
@@@ -9257,6 -9250,8 +9258,6 @@@ ssize_
  emacs_gnutls_pull (gnutls_transport_ptr_t p, void* buf, size_t sz)
  {
    int n, err;
 -  SELECT_TYPE fdset;
 -  struct timespec timeout;
    struct Lisp_Process *process = (struct Lisp_Process *)p;
    int fd = process->infd;
  
diff --combined src/window.c
index 8a608433ed78dd5eb8458ef463ba1a50aa14fbe9,5e9dd0ec718cc51011359d5270a724d3c83d1f53..6afe7454149f99f5abb770a0815695fa60b65903
@@@ -27,7 -27,6 +27,7 @@@ along with GNU Emacs.  If not, see <htt
  #include "buffer.h"
  #include "keyboard.h"
  #include "keymap.h"
 +#include "menu.h"
  #include "frame.h"
  #include "window.h"
  #include "commands.h"
@@@ -120,6 -119,9 +120,6 @@@ static Lisp_Object Qtemp_buffer_show_ho
  /* Incremented for each window created.  */
  static int sequence_number;
  
 -/* Nonzero after init_window_once has finished.  */
 -static int window_initialized;
 -
  /* Hook to run when window config changes.  */
  static Lisp_Object Qwindow_configuration_change_hook;
  
@@@ -3437,10 -3439,14 +3437,10 @@@ set_window_buffer (Lisp_Object window, 
    wset_redisplay (w);
    w->update_mode_line = true;
  
 -  /* We must select BUFFER for running the window-scroll-functions.  */
 -  /* We can't check ! NILP (Vwindow_scroll_functions) here
 -     because that might itself be a local variable.  */
 -  if (window_initialized)
 -    {
 -      record_unwind_current_buffer ();
 -      Fset_buffer (buffer);
 -    }
 +  /* We must select BUFFER to run the window-scroll-functions and to look up
 +     the buffer-local value of Vwindow_point_insertion_type.  */
 +  record_unwind_current_buffer ();
 +  Fset_buffer (buffer);
  
    XMARKER (w->pointm)->insertion_type = !NILP (Vwindow_point_insertion_type);
  
@@@ -4868,7 -4874,7 +4868,7 @@@ window_scroll_pixel_based (Lisp_Object 
    /* If PT is not visible in WINDOW, move back one half of
       the screen.  Allow PT to be partially visible, otherwise
       something like (scroll-down 1) with PT in the line before
 -     the partially visible one would recenter. */
 +     the partially visible one would recenter.  */
  
    if (!pos_visible_p (w, PT, &x, &y, &rtop, &rbot, &rowh, &vpos))
      {
      }
    else if (auto_window_vscroll_p)
      {
 -      if (rtop || rbot)               /* partially visible */
 +      if (rtop || rbot)               /* Partially visible.  */
        {
          int px;
          int dy = frame_line_height;
        charpos = IT_CHARPOS (it);
        bytepos = IT_BYTEPOS (it);
  
+       /* If PT is in the screen line at the last fully visible line,
+        move_it_to will stop at X = 0 in that line, because the
+        required Y coordinate is reached there.  See if we can get to
+        PT without descending lower in Y, and if we can, it means we
+        reached PT before the scroll margin.  */
+       if (charpos != PT)
+       {
+         struct it it2;
+         void *it_data;
+         it2 = it;
+         it_data = bidi_shelve_cache ();
+         move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS);
+         if (IT_CHARPOS (it) == PT && it.current_y == it2.current_y)
+           {
+             charpos = IT_CHARPOS (it);
+             bytepos = IT_BYTEPOS (it);
+             bidi_unshelve_cache (it_data, 1);
+           }
+         else
+           {
+             it = it2;
+             bidi_unshelve_cache (it_data, 0);
+           }
+       }
        /* See if point is on a partially visible line at the end.  */
        if (it.what == IT_EOB)
        partial_p = it.current_y + it.ascent + it.descent > it.last_visible_y;
@@@ -5644,16 -5676,14 +5670,16 @@@ and redisplay normally--don't erase an
  {
    struct window *w = XWINDOW (selected_window);
    struct buffer *buf = XBUFFER (w->contents);
 -  struct buffer *obuf = current_buffer;
    bool center_p = 0;
    ptrdiff_t charpos, bytepos;
    EMACS_INT iarg IF_LINT (= 0);
    int this_scroll_margin;
  
 +  if (buf != current_buffer)
 +    error ("`recenter'ing a window that does not display current-buffer.");
 +  
    /* If redisplay is suppressed due to an error, try again.  */
 -  obuf->display_error_modiff = 0;
 +  buf->display_error_modiff = 0;
  
    if (NILP (arg))
      {
  
        center_p = 1;
      }
 -  else if (CONSP (arg)) /* Just C-u. */
 +  else if (CONSP (arg)) /* Just C-u.  */
      center_p = 1;
    else
      {
        iarg = XINT (arg);
      }
  
 -  set_buffer_internal (buf);
 -
    /* Do this after making BUF current
       in case scroll_margin is buffer-local.  */
 -  this_scroll_margin =
 -    max (0, min (scroll_margin, w->total_lines / 4));
 +  this_scroll_margin
 +    max (0, min (scroll_margin, w->total_lines / 4));
  
    /* Handle centering on a graphical frame specially.  Such frames can
       have variable-height lines and centering point on the basis of
            h -= it.current_y;
          else
            {
 -            /* Last line has no newline */
 +            /* Last line has no newline */
              h -= line_bottom_y (&it);
              it.vpos++;
            }
  
    w->optional_new_start = 1;
  
 -  w->start_at_line_beg = (bytepos == BEGV_BYTE ||
 -                        FETCH_BYTE (bytepos - 1) == '\n');
 +  w->start_at_line_beg = (bytepos == BEGV_BYTE
 +                        || FETCH_BYTE (bytepos - 1) == '\n');
  
 -  set_buffer_internal (obuf);
    return Qnil;
  }
  
@@@ -5953,12 -5986,12 +5979,12 @@@ struct save_window_dat
      int frame_menu_bar_height, frame_tool_bar_height;
    };
  
 -/* This is saved as a Lisp_Vector  */
 +/* This is saved as a Lisp_Vector.  */
  struct saved_window
  {
    struct vectorlike_header header;
  
 -  Lisp_Object window, buffer, start, pointm, mark;
 +  Lisp_Object window, buffer, start, pointm;
    Lisp_Object pixel_left, pixel_top, pixel_height, pixel_width;
    Lisp_Object left_col, top_line, total_cols, total_lines;
    Lisp_Object normal_cols, normal_lines;
@@@ -6260,6 -6293,8 +6286,6 @@@ the return value is nil.  Otherwise th
              set_marker_restricted (w->start, p->start, w->contents);
              set_marker_restricted (w->pointm, p->pointm,
                                     w->contents);
 -            Fset_marker (BVAR (XBUFFER (w->contents), mark),
 -                         p->mark, w->contents);
  
              /* As documented in Fcurrent_window_configuration, don't
                 restore the location of point in the buffer which was
@@@ -6610,21 -6645,32 +6636,21 @@@ save_window_save (Lisp_Object window, s
          else
            p->pointm = Fcopy_marker (w->pointm, Qnil);
          XMARKER (p->pointm)->insertion_type
 -          = !NILP (buffer_local_value_1 /* Don't signal error if void.  */
 +          = !NILP (buffer_local_value /* Don't signal error if void.  */
                     (Qwindow_point_insertion_type, w->contents));
  
          p->start = Fcopy_marker (w->start, Qnil);
          p->start_at_line_beg = w->start_at_line_beg ? Qt : Qnil;
 -
 -        tem = BVAR (XBUFFER (w->contents), mark);
 -        p->mark = Fcopy_marker (tem, Qnil);
        }
        else
        {
          p->pointm = Qnil;
          p->start = Qnil;
 -        p->mark = Qnil;
          p->start_at_line_beg = Qnil;
        }
  
 -      if (NILP (w->parent))
 -      p->parent = Qnil;
 -      else
 -      p->parent = XWINDOW (w->parent)->temslot;
 -
 -      if (NILP (w->prev))
 -      p->prev = Qnil;
 -      else
 -      p->prev = XWINDOW (w->prev)->temslot;
 +      p->parent = NILP (w->parent) ? Qnil : XWINDOW (w->parent)->temslot;
 +      p->prev = NILP (w->prev) ? Qnil : XWINDOW (w->prev)->temslot;
  
        if (WINDOWP (w->contents))
        i = save_window_save (w->contents, vector, i);
@@@ -6638,8 -6684,8 +6664,8 @@@ DEFUN ("current-window-configuration", 
         doc: /* Return an object representing the current window configuration of FRAME.
  If FRAME is nil or omitted, use the selected frame.
  This describes the number of windows, their sizes and current buffers,
 -and for each displayed buffer, where display starts, and the positions of
 -point and mark.  An exception is made for point in the current buffer:
 +and for each displayed buffer, where display starts, and the position of
 +point.  An exception is made for point in the current buffer:
  its value is -not- saved.
  This also records the currently selected frame, and FRAME's focus
  redirection (see `redirect-frame-focus').  The variable
@@@ -7083,7 -7129,8 +7109,7 @@@ compare_window_configurations (Lisp_Obj
                  || !EQ (sw1->min_hscroll, sw2->min_hscroll)
                  || !EQ (sw1->start_at_line_beg, sw2->start_at_line_beg)
                  || NILP (Fequal (sw1->start, sw2->start))
 -                || NILP (Fequal (sw1->pointm, sw2->pointm))
 -                || NILP (Fequal (sw1->mark, sw2->mark))))
 +                || NILP (Fequal (sw1->pointm, sw2->pointm))))
          || !EQ (sw1->left_margin_cols, sw2->left_margin_cols)
          || !EQ (sw1->right_margin_cols, sw2->right_margin_cols)
          || !EQ (sw1->left_fringe_width, sw2->left_fringe_width)
  DEFUN ("compare-window-configurations", Fcompare_window_configurations,
         Scompare_window_configurations, 2, 2, 0,
         doc: /* Compare two window configurations as regards the structure of windows.
 -This function ignores details such as the values of point and mark
 +This function ignores details such as the values of point
  and scrolling positions.  */)
    (Lisp_Object x, Lisp_Object y)
  {
@@@ -7117,6 -7164,8 +7143,6 @@@ init_window_once (void
    Vterminal_frame = selected_frame;
    minibuf_window = f->minibuffer_window;
    selected_window = f->selected_window;
 -
 -  window_initialized = 1;
  }
  
  void
diff --combined src/xdisp.c
index 6cec0bf1925963986fe2f771ed1a3ad3924284a0,61d1fa24c6855423f92099d1fb5f5ee0b9901682..6b2fa4be846977fcc7df2d0b0298f065d346bafa
@@@ -1436,7 -1436,7 +1436,7 @@@ pos_visible_p (struct window *w, ptrdif
              (charpos >= 0 ? MOVE_TO_POS : 0) | MOVE_TO_Y);
  
    if (charpos >= 0
-       && (((!it.bidi_p || it.bidi_it.scan_dir == 1)
+       && (((!it.bidi_p || it.bidi_it.scan_dir != -1)
           && IT_CHARPOS (it) >= charpos)
          /* When scanning backwards under bidi iteration, move_it_to
             stops at or _before_ CHARPOS, because it stops at or to
                  /* Move to the last buffer position before the
                     display property.  */
                  start_display (&it3, w, top);
-                 move_it_to (&it3, start - 1, -1, -1, -1, MOVE_TO_POS);
+                 if (start > CHARPOS (top))
+                   move_it_to (&it3, start - 1, -1, -1, -1, MOVE_TO_POS);
                  /* Move forward one more line if the position before
                     the display string is a newline or if it is the
                     rightmost character on a line that is
      }
    else
      {
-       /* We were asked to provide info about WINDOW_END.  */
+       /* Either we were asked to provide info about WINDOW_END, or
+        CHARPOS is in the partially visible glyph row at end of
+        window.  */
        struct it it2;
        void *it2data = NULL;
  
@@@ -8269,7 -8272,7 +8272,7 @@@ next_element_from_buffer (struct it *it
  
        /* Get the next character, maybe multibyte.  */
        p = BYTE_POS_ADDR (IT_BYTEPOS (*it));
 -      if (it->multibyte_p && !ASCII_BYTE_P (*p))
 +      if (it->multibyte_p && !ASCII_CHAR_P (*p))
        it->c = STRING_CHAR_AND_LENGTH (p, it->len);
        else
        it->c = *p, it->len = 1;
@@@ -9247,6 -9250,25 +9250,25 @@@ move_it_to (struct it *it, ptrdiff_t to
                {
                  line_start_x = it->current_x + it->pixel_width
                    - it->last_visible_x;
+                 if (FRAME_WINDOW_P (it->f))
+                   {
+                     struct face *face = FACE_FROM_ID (it->f, it->face_id);
+                     struct font *face_font = face->font;
+                     /* When display_line produces a continued line
+                        that ends in a TAB, it skips a tab stop that
+                        is closer than the font's space character
+                        width (see x_produce_glyphs where it produces
+                        the stretch glyph which represents a TAB).
+                        We need to reproduce the same logic here.  */
+                     eassert (face_font);
+                     if (face_font)
+                       {
+                         if (line_start_x < face_font->space_width)
+                           line_start_x
+                             += it->tab_width * face_font->space_width;
+                       }
+                   }
                  set_iterator_to_next (it, 0);
                }
            }
@@@ -9932,7 -9954,9 +9954,7 @@@ message_dolog (const char *m, ptrdiff_
          for (i = 0; i < nbytes; i += char_bytes)
            {
              c = string_char_and_length (msg + i, &char_bytes);
 -            work[0] = (ASCII_CHAR_P (c)
 -                       ? c
 -                       : multibyte_char_to_unibyte (c));
 +            work[0] = CHAR_TO_BYTE8 (c);
              insert_1_both (work, 1, 1, 1, 0, 0);
            }
        }
@@@ -10214,17 -10238,19 +10236,17 @@@ message_with_string (const char *m, Lis
      {
        if (m)
        {
 -        /* ENCODE_SYSTEM below can GC and/or relocate the Lisp
 -           String whose data pointer might be passed to us in M.  So
 -           we use a local copy.  */
 -        char *fmt = xstrdup (m);
 +        /* ENCODE_SYSTEM below can GC and/or relocate the
 +           Lisp data, so make sure we don't use it here.  */
 +        eassert (relocatable_string_data_p (m) != 1);
  
          if (noninteractive_need_newline)
            putc ('\n', stderr);
          noninteractive_need_newline = 0;
 -        fprintf (stderr, fmt, SDATA (ENCODE_SYSTEM (string)));
 +        fprintf (stderr, m, SDATA (ENCODE_SYSTEM (string)));
          if (!cursor_in_echo_area)
            fprintf (stderr, "\n");
          fflush (stderr);
 -        xfree (fmt);
        }
      }
    else if (INTERACTIVE)
@@@ -11819,6 -11845,11 +11841,6 @@@ update_menu_bar (struct frame *f, int s
  
  #ifdef HAVE_WINDOW_SYSTEM
  
 -/* Tool-bar item index of the item on which a mouse button was pressed
 -   or -1.  */
 -
 -int last_tool_bar_item;
 -
  /* Select `frame' temporarily without running all the code in
     do_switch_frame.
     FIXME: Maybe do_switch_frame should be trimmed down similarly
@@@ -12277,6 -12308,11 +12299,6 @@@ tool_bar_height (struct frame *f, int *
  
  #endif /* !USE_GTK && !HAVE_NS */
  
 -#if defined USE_GTK || defined HAVE_NS
 -EXFUN (Ftool_bar_height, 2) ATTRIBUTE_CONST;
 -EXFUN (Ftool_bar_lines_needed, 1) ATTRIBUTE_CONST;
 -#endif
 -
  DEFUN ("tool-bar-height", Ftool_bar_height, Stool_bar_height,
         0, 2, 0,
         doc: /* Return the number of lines occupied by the tool bar of FRAME.
@@@ -12615,7 -12651,7 +12637,7 @@@ handle_tool_bar_click (struct frame *f
       where the button was pressed, disregarding where it was
       released.  */
    if (NILP (Vmouse_highlight) && !down_p)
 -    prop_idx = last_tool_bar_item;
 +    prop_idx = f->last_tool_bar_item;
  
    /* If item is disabled, do nothing.  */
    enabled_p = AREF (f->tool_bar_items, prop_idx + TOOL_BAR_ITEM_ENABLED_P);
        /* Show item in pressed state.  */
        if (!NILP (Vmouse_highlight))
        show_mouse_face (hlinfo, DRAW_IMAGE_SUNKEN);
 -      last_tool_bar_item = prop_idx;
 +      f->last_tool_bar_item = prop_idx;
      }
    else
      {
        event.arg = key;
        event.modifiers = modifiers;
        kbd_buffer_store_event (&event);
 -      last_tool_bar_item = -1;
 +      f->last_tool_bar_item = -1;
      }
  }
  
@@@ -12702,7 -12738,8 +12724,7 @@@ note_tool_bar_highlight (struct frame *
    mouse_down_p = (x_mouse_grabbed (dpyinfo)
                  && f == dpyinfo->last_mouse_frame);
  
 -  if (mouse_down_p
 -      && last_tool_bar_item != prop_idx)
 +  if (mouse_down_p && f->last_tool_bar_item != prop_idx)
      return;
  
    draw = mouse_down_p ? DRAW_IMAGE_SUNKEN : DRAW_IMAGE_RAISED;
@@@ -15712,6 -15749,9 +15734,6 @@@ try_cursor_movement (Lisp_Object window
    return rc;
  }
  
 -#if !defined USE_TOOLKIT_SCROLL_BARS || defined USE_GTK
 -static
 -#endif
  void
  set_vertical_scroll_bar (struct window *w)
  {
@@@ -16088,6 -16128,18 +16110,18 @@@ redisplay_window (Lisp_Object window, b
          /* Point does appear, but on a line partly visible at end of window.
             Move it back to a fully-visible line.  */
          new_vpos = window_box_height (w);
+         /* But if window_box_height suggests a Y coordinate that is
+            not less than we already have, that line will clearly not
+            be fully visible, so give up and scroll the display.
+            This can happen when the default face uses a font whose
+            dimensions are different from the frame's default
+            font.  */
+         if (new_vpos >= w->cursor.y)
+           {
+             w->cursor.vpos = -1;
+             clear_glyph_matrix (w->desired_matrix);
+             goto try_to_scroll;
+           }
        }
        else if (w->cursor.vpos >= 0)
        {
@@@ -22755,7 -22807,7 +22789,7 @@@ decode_mode_spec (struct window *w, reg
        return decode_mode_spec_buf;
      no_value:
          {
 -        charp = decode_mode_spec_buf;
 +        char *p = decode_mode_spec_buf;
          int pad = width - 2;
          while (pad-- > 0)
            *p++ = ' ';
@@@ -23503,7 -23555,7 +23537,7 @@@ calc_pixel_width_or_height (double *res
            return OK_PIXELS (WINDOW_SCROLL_BAR_AREA_WIDTH (it->w));
        }
  
 -      prop = buffer_local_value_1 (prop, it->w->contents);
 +      prop = buffer_local_value (prop, it->w->contents);
        if (EQ (prop, Qunbound))
        prop = Qnil;
      }
              return OK_PIXELS (pixels);
            }
  
 -        car = buffer_local_value_1 (car, it->w->contents);
 +        car = buffer_local_value (car, it->w->contents);
          if (EQ (car, Qunbound))
            car = Qnil;
        }
@@@ -23732,7 -23784,7 +23766,7 @@@ get_char_face_and_encoding (struct fram
  #endif
      {
        eassert (face != NULL);
 -      PREPARE_FACE_FOR_DISPLAY (f, face);
 +      prepare_face_for_display (f, face);
      }
  
    return face;
@@@ -23755,7 -23807,7 +23789,7 @@@ get_glyph_face_and_encoding (struct fra
  
    /* Make sure X resources of the face are allocated.  */
    eassert (face != NULL);
 -  PREPARE_FACE_FOR_DISPLAY (f, face);
 +  prepare_face_for_display (f, face);
  
    if (two_byte_p)
      *two_byte_p = 0;
@@@ -24072,7 -24124,7 +24106,7 @@@ fill_stretch_glyph_string (struct glyph
    s->ybase += voffset;
  
    /* The case that face->gc == 0 is handled when drawing the glyph
 -     string by calling PREPARE_FACE_FOR_DISPLAY.  */
 +     string by calling prepare_face_for_display.  */
    eassert (s->face);
    return glyph - s->row->glyphs[s->area];
  }
@@@ -24670,16 -24722,13 +24704,16 @@@ draw_glyphs (struct window *w, int x, s
          else
            overlap_hl = DRAW_NORMAL_TEXT;
  
 +        if (hl != overlap_hl)
 +          clip_head = head;
          j = i;
          BUILD_GLYPH_STRINGS (j, start, h, t,
                               overlap_hl, dummy_x, last_x);
          start = i;
          compute_overhangs_and_x (t, head->x, 1);
          prepend_glyph_string_lists (&head, &tail, h, t);
 -        clip_head = head;
 +        if (clip_head == NULL)
 +          clip_head = head;
        }
  
        /* Prepend glyph strings for glyphs in front of the first glyph
          else
            overlap_hl = DRAW_NORMAL_TEXT;
  
 -        clip_head = head;
 +        if (hl == overlap_hl || clip_head == NULL)
 +          clip_head = head;
          BUILD_GLYPH_STRINGS (i, start, h, t,
                               overlap_hl, dummy_x, last_x);
          for (s = h; s; s = s->next)
          else
            overlap_hl = DRAW_NORMAL_TEXT;
  
 +        if (hl != overlap_hl)
 +          clip_tail = tail;
          BUILD_GLYPH_STRINGS (end, i, h, t,
                               overlap_hl, x, last_x);
          /* Because BUILD_GLYPH_STRINGS updates the first argument,
             we don't have `end = i;' here.  */
          compute_overhangs_and_x (h, tail->x + tail->width, 0);
          append_glyph_string_lists (&head, &tail, h, t);
 -        clip_tail = tail;
 +        if (clip_tail == NULL)
 +          clip_tail = tail;
        }
  
        /* Append glyph strings for glyphs following the last glyph
          else
            overlap_hl = DRAW_NORMAL_TEXT;
  
 -        clip_tail = tail;
 +        if (hl == overlap_hl || clip_tail == NULL)
 +          clip_tail = tail;
          i++;                  /* We must include the Ith glyph.  */
          BUILD_GLYPH_STRINGS (end, i, h, t,
                               overlap_hl, x, last_x);
@@@ -25021,7 -25065,7 +25055,7 @@@ produce_image_glyph (struct it *it
    face = FACE_FROM_ID (it->f, it->face_id);
    eassert (face);
    /* Make sure X resources of the face is loaded.  */
 -  PREPARE_FACE_FOR_DISPLAY (it->f, face);
 +  prepare_face_for_display (it->f, face);
  
    if (it->image_id < 0)
      {
@@@ -25299,7 -25343,7 +25333,7 @@@ produce_stretch_glyph (struct it *it
      {
        struct face *face = FACE_FROM_ID (it->f, it->face_id);
        font = face->font ? face->font : FRAME_FONT (it->f);
 -      PREPARE_FACE_FOR_DISPLAY (it->f, face);
 +      prepare_face_for_display (it->f, face);
      }
  #endif
  
@@@ -25763,7 -25807,7 +25797,7 @@@ produce_glyphless_glyph (struct it *it
  
        face = FACE_FROM_ID (it->f, face_id);
        font = face->font ? face->font : FRAME_FONT (it->f);
 -      PREPARE_FACE_FOR_DISPLAY (it->f, face);
 +      prepare_face_for_display (it->f, face);
  
        if (it->glyphless_method == GLYPHLESS_DISPLAY_ACRONYM)
        {
          sprintf (buf, "%0*X", it->c < 0x10000 ? 4 : 6, it->c);
          str = buf;
        }
 -      for (len = 0; str[len] && ASCII_BYTE_P (str[len]) && len < 6; len++)
 +      for (len = 0; str[len] && ASCII_CHAR_P (str[len]) && len < 6; len++)
        code[len] = font->driver->encode_char (font, str[len]);
        upper_len = (len + 1) / 2;
        font->driver->text_extents (font, code, upper_len,
@@@ -27104,6 -27148,9 +27138,6 @@@ draw_phys_cursor_glyph (struct window *
  
  /* Erase the image of a cursor of window W from the screen.  */
  
 -#ifndef HAVE_NTGUI
 -static
 -#endif
  void
  erase_phys_cursor (struct window *w)
  {
@@@ -28629,8 -28676,8 +28663,8 @@@ note_mode_line_or_margin_highlight (Lis
          else if (area == ON_MODE_LINE)
            {
              Lisp_Object default_help
 -              = buffer_local_value_1 (Qmode_line_default_help_echo,
 -                                      w->contents);
 +              = buffer_local_value (Qmode_line_default_help_echo,
 +                                    w->contents);
  
              if (STRINGP (default_help))
                {
@@@ -30683,6 -30730,13 +30717,6 @@@ start_hourglass (void
    else
      delay = make_timespec (DEFAULT_HOURGLASS_DELAY, 0);
  
 -#ifdef HAVE_NTGUI
 -  {
 -    extern void w32_note_current_window (void);
 -    w32_note_current_window ();
 -  }
 -#endif /* HAVE_NTGUI */
 -
    hourglass_atimer = start_atimer (ATIMER_RELATIVE, delay,
                                   show_hourglass, NULL);
  }