Merge from emacs-24; up to 2014-05-26T10:21:18Z!rgm@gnu.org
authorGlenn Morris <rgm@gnu.org>
Mon, 26 May 2014 02:28:09 +0000 (19:28 -0700)
committerGlenn Morris <rgm@gnu.org>
Mon, 26 May 2014 02:28:09 +0000 (19:28 -0700)
23 files changed:
1  2 
ChangeLog
admin/ChangeLog
configure.ac
doc/emacs/ChangeLog
doc/lispref/ChangeLog
doc/misc/ChangeLog
etc/ChangeLog
etc/NEWS
lib-src/ChangeLog
lisp/ChangeLog
lisp/emacs-lisp/lisp.el
lisp/emacs-lisp/nadvice.el
lisp/emacs-lisp/package.el
lisp/minibuffer.el
lisp/mouse.el
lisp/progmodes/scheme.el
lisp/simple.el
src/ChangeLog
src/lisp.h
src/minibuf.c
src/w32fns.c
src/w32term.c
src/xdisp.c

diff --cc ChangeLog
+++ b/ChangeLog
@@@ -1,90 -1,33 +1,96 @@@
 -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).
+       * configure.ac (opsys): On Power Architecture, treat release 7 of
+       AIX like releases 5 and 6.
 +2014-05-19  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Remove dependencies on getdelim and getline.
 +      * configure.ac (getdelim, getline): Remove.
 +
  2014-05-18  Glenn Morris  <rgm@gnu.org>
  
 -      * configure.ac (INSTALL_INFO):
 -      Revert to just checking for "install-info".
 +      * configure.ac: Do not bother testing for png in non-graphical builds.
  
 -2014-05-17  Glenn Morris  <rgm@gnu.org>
 +2014-05-18  Paul Eggert  <eggert@cs.ucla.edu>
  
 -      * configure.ac (INSTALL_INFO): Try the identical-but-quieter-on-Debian
 -      "ginstall-info" before "install-info".
 +      Port ctags+etags build to Sun C 5.12.
 +      * .bzrignore: Remove lib-src/ctags.c.
  
 -2014-05-04  Paul Eggert  <eggert@cs.ucla.edu>
 +      Port recent libpng changes to hosts with missing png.h.
 +      * configure.ac (HAVE_PNG): Port to platforms where libpng-config
 +      succeeds but png.h is absent, by testing libpng-config's output
 +      rather than trusting it.  I ran into this problem when building
 +      Emacs trunk on a Solaris 10 host.
  
 -      Revert recent libpng changes (Bug#17339).
 -      They fix only bugs that aren't being reported, so it may be better
 -      to do them on the trunk.
 -      * configure.ac (PNG_CFLAGS): Remove.  All uses removed.
 -      (LIBPNG): Don't be consistent about -lpng16 versus -lpng.
 -      Ignore libpng-config's exit status.  Always append -lz -lm.
 +2014-05-17  Paul Eggert  <eggert@cs.ucla.edu>
  
 -      * configure.ac (LIBPNG): Add -lz -lm on platforms where they're needed
 -      but libpng-config --libs omits them.  Problem reported by Glenn
 -      Morris.
 +      Assume C99 or later (Bug#17487).
 +      * lib/stdarg.in.h, lib/stdbool.in.h, m4/stdarg.m4, m4/stdbool.m4:
 +      Remove.
 +      * configure.ac (_AC_PROG_CC_C89): Define a dummy, to keep 'configure'
 +      smaller.
 +      (gl_PROG_CC_C99): Use this to get C99 or later.
 +      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
  
 -2014-05-03  Paul Eggert  <eggert@cs.ucla.edu>
 +2014-05-16  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Don't require pkg-config when building from repository.
 +      * INSTALL: Prefer './configure FOO=BAR' to 'FOO=BAR ./configure'.
 +      * INSTALL.REPO: pkg-config is no longer required to build from
 +      the repository.
 +      * autogen.sh: Don't check for pkg-config.
 +      (progs): Remove pkg-config.
 +      (pkg_config_min, AUTORECONF_ENV, env_space, ACLOCAL_PATH):
 +      Remove.  All uses removed.
 +      * m4/pkg.m4: New file, built by admin/merge-pkg-config.
 +      * configure.ac: Remove unnecessary m4_pattern_forbid of ^PKG_ and
 +      an AC_ARG_VAR of PKG_CONFIG_PATH.  pkg.m4 does that for us.
 +      (EMACS_CHECK_MODULES): Remove workaround for old pkg-config bug,
 +      as we use pkg.m4 from a newer pkg-config.
 +
 +2014-05-15  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * configure.ac (LIBPNG): Do not test for libpng if NS_IMPL_COCOA.
 +
 +2014-05-13  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * configure.ac (HAVE_XFIXES): Define if available.
 +      (XFIXES_CFLAGS, XFIXES_LIBS): New AC_SUBSTs.
 +      (--enable-link-time-optimization): Add clang support.
 +      * INSTALL: Mention it.
 +
 +2014-05-12  Katsumi Yamaoka  <yamaoka@jpl.org>
 +
 +      * configure.ac (EMACS_CHECK_MODULES): Fix typo in previous change.
 +
 +2014-05-11  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Work around bug in pkg-config before 0.26 (Bug#17438).
 +      * configure.ac (EMACS_CHECK_MODULES): Check for failed exit status
 +      of pkg-config, on older pkg-config versions that don't do it
 +      properly.
 +
 +2014-05-07  Glenn Morris  <rgm@gnu.org>
 +
 +      * autogen.sh: Check for failing aclocal.
 +
 +2014-05-05  Glenn Morris  <rgm@gnu.org>
 +
 +      * autogen.sh: Check any pre-existing ACLOCAL_PATH.
 +
 +2014-05-04  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Consult libpng-config more consistently (Bug#17339).
 +      This is mainly for simplicity, but it should also avoid
 +      some future problems like the ones we recently had with NetBSD.
 +      * configure.ac (LIBPNG): Configure after LIBZ.  Use libpng-config
 +      for cflags, too.  Append -lz if we're not already doing that with
 +      LIBZ.  Do not bother appending -lm, since we always append that.
 +      Coalesce some duplicate code.
 +
 +      * autogen.sh: Use ‘"’ to quote a message that often contains ‘'’.
  
        Require ImageMagick >= 6.3.5, due to PixelSetMagickColor (Bug#17339).
        * configure.ac (IMAGEMAGICK_MODULE): Bump prereq from 6.2.8 to 6.3.5.
diff --cc admin/ChangeLog
@@@ -1,27 -1,12 +1,26 @@@
- 2014-05-25  Jan Djärv  <jan.h.d@swipnet.se>
 -2014-05-26  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
++2014-05-25  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
  
-       * mac/uvs.el: New file from Mac port.  src/macuvs.h is generated
-       by it.
 -      * mac/uvs.el: New file.  Generates ../src/macuvs.h.
++      * mac/uvs.el: New file from Mac port.  Generates src/macuvs.h.
  
 -2014-05-11  Glenn Morris  <rgm@gnu.org>
 +2014-05-17  Paul Eggert  <eggert@cs.ucla.edu>
  
 -      * find-gc.el: Move here from ../lisp/emacs-lisp.
 +      Assume C99 or later (Bug#17487).
 +      * merge-gnulib (GNULIB_MODULES): Remove stdarg, stdbool.
 +      (GNULIB_TOOL_FLAGS): Avoid stdarg, stdbool.
 +
 +2014-05-16  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Don't require pkg-config when building from repository.
 +      * merge-pkg-config: New script.
 +      * notes/copyright: Update for m4/*.m4, in particular m4/pkg.m4.
 +
 +2014-05-13  Paul Eggert  <eggert@cs.ucla.edu>
  
 -2014-05-10  Glenn Morris  <rgm@gnu.org>
 +      * merge-gnulib: Defer to autogen.sh for ACLOCAL_PATH computation.
 +
 +2014-05-12  Glenn Morris  <rgm@gnu.org>
 +
 +      * find-gc.el: Move here from ../lisp/emacs-lisp.
  
        * admin.el (set-version-in-file): Don't set identical version.
        (set-version): Provide default version number.
diff --cc configure.ac
Simple merge
@@@ -1,8 -1,15 +1,14 @@@
 -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)
@@@ -1,38 -1,9 +1,43 @@@
 -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.
@@@ -1,12 -1,17 +1,25 @@@
 -2014-05-24  Paul Eggert  <eggert@cs.ucla.edu>
++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
+       Texinfo markup.
+       (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.
diff --cc etc/ChangeLog
@@@ -1,31 -1,8 +1,36 @@@
 -2014-05-24  Paul Eggert  <eggert@cs.ucla.edu>
++2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
+       Specify coding if Latin-1 Emacs would misinterpret (Bug#17575).
+       * ETAGS.EBNF, NEWS, ORG-NEWS: Add "coding: utf-8".
 +2014-05-17  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * NEWS: Assume C99 or later (Bug#17487).
 +
 +2014-05-16  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Don't require pkg-config when building from repository.
 +      * NEWS: Prefer './configure FOO=BAR' to 'FOO=BAR ./configure'.
 +      * PROBLEMS (Build-time-problems): Remove pkg-config problem
 +      that is no longer an issue.
 +
 +2014-05-13  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * PROBLEMS: Mention potential problems with
 +      --enable-link-time-optimization and clang on Fedora 20.
 +
 +2014-05-04  Leo Liu  <sdl.web@gmail.com>
 +
 +      * NEWS: Mention support for Chinese dates in calendar and diary.
 +
 +2014-04-20  Daniel Colascione  <dancol@dancol.org>
 +
 +      * NEWS: Mention new struct functions and changes to `cl-the'.
 +
 +2014-04-17  Daniel Colascione  <dancol@dancol.org>
 +
 +      * NEWS: Mention bracketed paste support.
 +
  2014-04-11  Glenn Morris  <rgm@gnu.org>
  
        * refcards/cs-dired-ref.tex, refcards/cs-refcard.tex:
diff --cc etc/NEWS
Simple merge
@@@ -1,37 -1,14 +1,47 @@@
 -2014-05-20  Paul Eggert  <eggert@cs.ucla.edu>
++2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
+       Fix rcs2log problems with CVS.
+       Problem reported by Glenn Morris in
+       <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00277.html>.
+       Plus, fix some security and filename quoting problems.
+       * rcs2log (logdir): Prefer mktemp if available.
+       (logdir, llogdir): Work even if TMPDIR begins with '-' or has spaces.
+       (output_authors, main awk script): Parse more-recent CVS output format.
 -2014-05-03  Paul Eggert  <eggert@cs.ucla.edu>
 +2014-05-19  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Remove dependencies on getline and getdelim.
 +      Also, remove update-game-scores's limits on game scores and
 +      simplify its file-locking code.
 +      * update-game-score.c (struct score_entry): Unify the username and
 +      data members to a single user_data member, since they don't need to be
 +      changed independently and getdelim and getline aren't helpful.
 +      Make the score member char *, not intmax_t, so that scores are not
 +      limited to intmax_t.  All uses changed.
 +      (lose_syserr): A zero errno stands for invalid data in score file.
 +      (normalize_integer): New function.
 +      (main): Use it.  Check for invalid scores.  Omit redundant stat check.
 +      (read_score): First arg is now a string, not a FILE *.  All uses
 +      changed.  Do not use getdelim or getline; that's way simpler.
 +      (read_scores): Read the whole file, and let read_score handle each
 +      line.
 +      (score_compare): Compare strings representing integers, not integers.
 +      (write_scores) [DOS_NT]: Eliminate unnecessary chmod.
 +      (lock_file): Simplify locking code, eliminating goto.
 +      Check for unlink failure.
 +
 +2014-05-18  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Port ctags+etags build to Sun C 5.12.
 +      * Makefile.in (etags_args): Remove, replacing with ...
 +      (etags_cflags, etags_libs): New macros.  All uses changed.
 +      (ctags${EXEEXT}): Don't compile etags.c, as compiling etags.c in
 +      parallel (once for ctags, once for etags) breaks parallel makes
 +      with compilers that use the source file name to name temporaries,
 +      such as Sun C 5.12.  Instead, compile ctags.c.
 +      * ctags.c: New file.
 +
 +2014-05-04  Paul Eggert  <eggert@cs.ucla.edu>
  
        Handle systems without WCONTINUED consistently.  (Bug#15110, 17339)
        * emacsclient.c (WCONTINUED): Move to ../src/syswait.h.
diff --cc lisp/ChangeLog
 -2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
++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
+       located outside to todo-directory, and to allow having such files
+       without them being tied to Todo mode (bug#17482).
+       (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
+       (todo-archive-done-item, todo-find-filtered-items-file)
+       (todo-filter-items, todo-find-item, todo-diary-goto-entry)
+       (todo-category-completions, todo-read-category): When visiting a
+       Todo file, make sure we're in the right mode and the buffer local
+       variables are set.
+       (todo-make-categories-list, todo-reset-nondiary-marker)
+       (todo-reset-done-string, todo-reset-comment-string): After
+       processing all Todo files, kill the buffers of those files that
+       weren't being visited before the processing.
+       (todo-display-as-todo-file, todo-add-to-buffer-list)
+       (todo-visit-files-commands): Comment out.
+       (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
+       (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
+       file, make sure to update the todo file's category sexp.
+       (todo-move-category): Keep the moved category's name unless the
+       file moved to already has a category with that name.  If the
+       numerically last category of the source file was moved, make the
+       first category current to avoid selecting a nonexisting category.
+       (todo-merge-category): Fix implementation to make merging to a
+       category in another file work as documented.  Eliminate now
+       insufficient and unnecessary renaming of archive category, correct
+       document string accordingly, and clarify it.  If the numerically
+       last category of the source file was merged, make the first
+       category current to avoid selecting a nonexisting category.
+       (todo-archive-done-item): When there are marked items and point
+       happens to be on an unmarked item, ignore the latter.  Don't leave
+       point below last item after archiving marked items.
+       (todo-unarchive-items): Fix logic to ensure unarchiving an item
+       from an archive with only one category deletes the archive only
+       when the category is empty after unarchiving.  Make sure the todo
+       file's category sexp is updated.
+       (todo-read-file-name): Allow an existing file name even when it is
+       not required (todo-move-category needs this to work as documented).
+       (todo-add-file): Call todo-validate-name to reject the name of an
+       existing todo file (needed due to fix in todo-read-file-name).
+       (todo-reset-nondiary-marker): Also reset in filtered items files.
+       (todo-reset-done-string, todo-reset-comment-string): Also reset in
+       regexp filtered items files.
+       (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
+       hooks.  (Bug#17155)
+       (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'.
+       Add more modifiers: meta, control, shift, hyper, super, alt.
+       (Bug#17439)
+       * 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.
+       (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
+       New functions.
+       (scheme-mode-variables): Set syntax-propertize-function instead of
+       font-lock-syntactic-face-function.
+       (scheme-font-lock-syntactic-face-function): Delete.
+       * 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>
  
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc lisp/mouse.el
Simple merge
Simple merge
diff --cc lisp/simple.el
Simple merge
diff --cc src/ChangeLog
 -2014-05-25  Eli Zaretskii  <eliz@gnu.org>
++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.
+       (safe_call): Use it.
+       (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.
  
diff --cc src/lisp.h
Simple merge
diff --cc src/minibuf.c
Simple merge
diff --cc src/w32fns.c
Simple merge
diff --cc src/w32term.c
Simple merge
diff --cc src/xdisp.c
Simple merge