Merge from emacs-24; up to 2014-06-06T02:22:40Z!monnier@iro.umontreal.ca
authorGlenn Morris <rgm@gnu.org>
Sat, 21 Jun 2014 19:45:59 +0000 (12:45 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 21 Jun 2014 19:45:59 +0000 (12:45 -0700)
25 files changed:
1  2 
ChangeLog
admin/ChangeLog
configure.ac
doc/lispref/ChangeLog
doc/lispref/positions.texi
doc/misc/ChangeLog
doc/misc/autotype.texi
doc/misc/dbus.texi
lisp/ChangeLog
lisp/dired.el
lisp/mouse.el
lisp/progmodes/python.el
lisp/progmodes/sh-script.el
lisp/simple.el
lisp/skeleton.el
lisp/term/xterm.el
lisp/xt-mouse.el
src/ChangeLog
src/dispextern.h
src/fileio.c
src/font.c
src/image.c
src/keyboard.c
src/xdisp.c
test/ChangeLog

diff --cc ChangeLog
+++ b/ChangeLog
@@@ -1,35 -1,14 +1,45 @@@
 -2014-06-20  Paul Eggert  <eggert@cs.ucla.edu>
++2014-06-21  Paul Eggert  <eggert@cs.ucla.edu>
+       * configure.ac: Warn about --enable-link-time-optimization's issues
+       in --help message (Bug#17806).
+       Port to GCC 4.9.0 with link time optimization (Bug#17806).
+       * configure.ac (CFLAGS): With link time optimization,
+       use -ffat-lto-objects if supported; otherwise Emacs won't
+       build with GCC 4.9.0.
 -2014-06-14  Paul Eggert  <eggert@cs.ucla.edu>
 +2014-06-20  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Diagnose failures due to colons in directory names (Bug#17278).
 +      * Makefile.in (epaths-force): Don't allow ':' in directories whose
 +      names go into a colon-separated path.
 +      * configure.ac: Fail if submake fails.
 +
 +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
 +      * configure.ac (WERROR_CFLAGS): Add -Wredundant-decls.
 +
 +      Merge from gnulib, incorporating:
 +      2014-06-17 acl: port to gcc -Wredundant-decls
 +      2014-06-01 gnulib-common.m4: Fix typo in _GL_UNUSED_LABEL.
 +      * lib/acl.h, m4/gnulib-common.m4: Update from gnulib.
 +
 +2014-06-15  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in: Use `make -C' rather than `cd && make' throughout.
 +
 +      * Makefile.in: Parallelize clean rules using GNU make features.
 +      (submake_template): New definition.
 +      (mostlyclean_dirs, clean_dirs, distclean_dirs, maintainer_clean_dirs):
 +      New variables.
 +      (mostlyclean, clean, distclean, bootstrap-clean, maintainer-clean)
 +      (extraclean): Define using each subdirectory as a prequisite.
 +      * lib/Makefile.am (bootstrap-clean): New.
 +
 +2014-06-15  Paul Eggert  <eggert@cs.ucla.edu>
  
        Port part of the AIX fix to Solaris (Bug#17598).
        * configure.ac (_REENTRANT): Define on Solaris if HAVE_PTHREAD.
diff --cc admin/ChangeLog
@@@ -1,9 -1,9 +1,14 @@@
 -2014-06-16  Stephen Berman  <Stephen.Berman@gmx.net>
++2014-06-21  Stephen Berman  <Stephen.Berman@gmx.net>
+       * notes/elpa: Use "git" instead of "bzr" in the name of machine to
+       clone the repository from.
 -2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
 +2014-06-13  Glenn Morris  <rgm@gnu.org>
 +
 +      * unidata/Makefile.in (${DSTDIR}/charprop.el):
 +      GNU make automatically passes command-line arguments to sub-makes.
 +
 +2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
  
        Include sources used to create macuvs.h.
        * unidata/IVD_Sequences.txt: New file.
diff --cc configure.ac
@@@ -928,51 -914,6 +928,61 @@@ edit_cflags=
    s/^ //
  "
  
-                This is supported for gcc since 4.5.0 and clang.
-                Note that clang support is experimental - see INSTALL])],
 +AC_ARG_ENABLE(link-time-optimization,
 +[AS_HELP_STRING([--enable-link-time-optimization],
 +                [build emacs with link-time optimization.
++               This requires GCC 4.5.0 or later, or clang.
++               (Note that clang support is experimental - see INSTALL.)
++               It also makes Emacs harder to debug, and when we tried it
++               with GCC 4.9.0 x86-64 it made Emacs slower, so it's not
++               recommended for typical use.])],
 +if test "${enableval}" != "no"; then
 +   ac_lto_supported=no
 +   if test $emacs_cv_clang = yes; then
 +      AC_MSG_CHECKING([whether link-time optimization is supported by clang])
 +      GOLD_PLUGIN=`$CC -print-file-name=LLVMgold.so 2>/dev/null`
 +      if test -x "$GOLD_PLUGIN"; then
 +       LTO="-flto"
 +      fi
 +   elif test x$GCC = xyes; then
 +      AC_MSG_CHECKING([whether link-time optimization is supported by gcc])
 +      CPUS=`getconf _NPROCESSORS_ONLN 2>/dev/null`
 +      if test x$CPUS != x; then
 +       LTO="-flto=$CPUS"
 +      else
 +       LTO="-flto"
 +      fi
 +   else
 +      AC_MSG_ERROR([Link-time optimization is not supported with your compiler.])
 +   fi
 +   if test -z "$LTO"; then
 +      ac_lto_supported=no
 +   else
 +      old_CFLAGS=$CFLAGS
 +      CFLAGS="$CFLAGS $LTO"
 +      AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
 +         [ac_lto_supported=yes], [ac_lto_supported=no])
 +         CFLAGS="$old_CFLAGS"
 +   fi
 +   AC_MSG_RESULT([$ac_lto_supported])
 +   if test "$ac_lto_supported" = "yes"; then
 +      CFLAGS="$CFLAGS $LTO"
 +      if test x$emacs_cv_clang = xyes; then
 +       AC_MSG_WARN([Please read INSTALL before using link-time optimization with clang])
 +       # WARNING: 'ar --plugin ...' doesn't work without
 +       # command, so plugin name is appended to ARFLAGS.
 +       ARFLAGS="cru --plugin $GOLD_PLUGIN"
 +       RANLIB="$RANLIB --plugin $GOLD_PLUGIN"
++      else
++        dnl The following is needed for GCC 4.9.0.  The GCC 4.9.0 release notes
++        dnl suggest that instead of -ffat-lto-objects we should use gcc-ar and
++        dnl gcc-ranlib in place of ar and ranlib, but gcc-ar makes /usr/bin/ar
++        dnl dump core on Fedora 20, so play it safe for now.
++        gl_COMPILER_OPTION_IF([-ffat-lto-objects],
++          [CFLAGS="$CFLAGS -ffat-lto-objects"])
 +      fi
 +   fi
 +fi)
  
  dnl Some other nice autoconf tests.
  dnl These are commented out, since gl_EARLY and/or Autoconf already does them.
@@@ -1,8 -1,9 +1,13 @@@
 -2014-06-14  Eli Zaretskii  <eliz@gnu.org>
+ 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
+       * positions.texi (Screen Lines): Clarify how columns are counted
+       by vertical-motion.
 +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)
Simple merge
@@@ -1,41 -1,13 +1,50 @@@
 -2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
+ 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
+       * autotype.texi (Skeleton Language): Document the feature of \n
+       when at eol.
 -2014-06-10  Glenn Morris  <rgm@gnu.org>
++2014-06-21  Michael Albinus  <michael.albinus@gmx.de>
+       * dbus.texi (Type Conversion): Formatting edits in example.
 +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.
  
Simple merge
Simple merge
diff --cc lisp/ChangeLog
 -2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+ 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
+       Fix completion retrieval parsing (bug#17209).
+       * progmodes/python.el (python-mode):
+       (python-util-strip-string): New function.
+       (python-shell-completion-get-completions): Use it.
+ 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
+       * skeleton.el (skeleton-insert): Fix last change.
+ 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
+       Enhancements for outline integration (bug#17796).
+       * progmodes/python.el (python-mode): Properly set
+       outline-heading-end-regexp so that comments after colons for
+       defuns are supported.
+ 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
+       * skeleton.el (skeleton-insert): Doc fix.
 -2014-06-20  Martin Rudalics  <rudalics@gmx.at>
++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
+       (bug#17818).
+       * 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  Stefan Monnier  <monnier@iro.umontreal.ca>
++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  Eli Zaretskii  <eliz@gnu.org>
++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  Stefan Monnier  <monnier@iro.umontreal.ca>
++2014-06-21  Eli Zaretskii  <eliz@gnu.org>
+       * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
+       locally to nil.
+       (texinfo-insert-block, texinfo-insert-@end)
+       (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
+       local setting of skeleton-end-newline by adding an explicit \n to
+       the skeletons where appropriate.  (Bug#17801)
 -2014-06-20  Leo Liu  <sdl.web@gmail.com>
++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-19  Stefan Monnier  <monnier@iro.umontreal.ca>
++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-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.
++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  Eli Zaretskii  <eliz@gnu.org>
++      * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
++      Drop unknown events instead of burping.
 -2014-06-18  Juri Linkov  <juri@jurta.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-17  Stefan Monnier  <monnier@iro.umontreal.ca>
++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-16  Dmitry  <dgutov@yandex.ru>
++2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * delsel.el (electric-newline-and-maybe-indent): Mark it as well
+       (bug#17737).
 -2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
++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-14  Glenn Morris  <rgm@gnu.org>
++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-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  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.
diff --cc lisp/dired.el
Simple merge
diff --cc lisp/mouse.el
Simple merge
Simple merge
Simple merge
diff --cc lisp/simple.el
Simple merge
Simple merge
Simple merge
@@@ -145,22 -158,23 +145,21 @@@ http://invisible-island.net/xterm/ctlse
  (defun xterm-mouse--read-event-sequence-1000 ()
    (let* ((code (- (read-event) 32))
           (type
-         (intern
-          ;; For buttons > 3, the release-event looks differently
-          ;; (see xc/programs/xterm/button.c, function EditorButton),
-          ;; and come in a release-event only, no down-event.
-          (cond ((>= code 64)
-                 (format "mouse-%d" (- code 60)))
-                ((memq code '(8 9 10))
-                 (format "M-down-mouse-%d" (- code 7)))
-                ((memq code '(3 11))
-                   (let ((down (car (terminal-parameter
-                                     nil 'xterm-mouse-last-down))))
-                     (when (and down (string-match "[0-9]" (symbol-name down)))
-                       (format (if (eq code 3) "mouse-%s" "M-mouse-%s")
-                               (match-string 0 (symbol-name down))))))
-                ((memq code '(0 1 2))
-                 (format "down-mouse-%d" (+ 1 code))))))
 -          ;; For buttons > 3, the release-event looks differently
 -          ;; (see xc/programs/xterm/button.c, function EditorButton),
 -          ;; and come in a release-event only, no down-event.
 -          (cond ((>= code 64)
 -                 (format "mouse-%d" (- code 60)))
 -                ((memq code '(8 9 10))
 -                 (setq xterm-mouse-last (- code 8))
 -                 (format "M-down-mouse-%d" (- code 7)))
 -                ((and (= code 11) xterm-mouse-last)
 -                 (format "M-mouse-%d" (1+ xterm-mouse-last)))
 -                ((and (= code 3) xterm-mouse-last)
 -                 ;; For buttons > 5 xterm only reports a button-release event.
 -                 ;; Drop them since they're not usable and can be spurious.
 -                 (format "mouse-%d" (1+ xterm-mouse-last)))
 -                ((memq code '(0 1 2))
 -                 (setq xterm-mouse-last code)
 -                 (format "down-mouse-%d" (+ 1 code)))))
++        ;; For buttons > 3, the release-event looks differently
++        ;; (see xc/programs/xterm/button.c, function EditorButton),
++        ;; and come in a release-event only, no down-event.
++        (cond ((>= code 64)
++               (format "mouse-%d" (- code 60)))
++              ((memq code '(8 9 10))
++               (format "M-down-mouse-%d" (- code 7)))
++              ((memq code '(3 11))
++                 (let ((down (car (terminal-parameter
++                                   nil 'xterm-mouse-last-down))))
++                   (when (and down (string-match "[0-9]" (symbol-name down)))
++                     (format (if (eq code 3) "mouse-%s" "M-mouse-%s")
++                             (match-string 0 (symbol-name down))))))
++              ((memq code '(0 1 2))
++               (format "down-mouse-%d" (+ 1 code)))))
           (x (- (read-event) 33))
           (y (- (read-event) 33)))
      (and type (wholenump x) (wholenump y)
diff --cc src/ChangeLog
 -2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+ 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
+       * indent.c (Fvertical_motion): Doc fix.
+       Move to the goal column, if any, with a single call to
+       move_it_in_display_line, not in two calls.  Doing this with two
+       calls causes move_it_in_display_line apply the line-prefix
+       handling twice instead of just once.  (Bug#17823)
+ 2014-06-21  Paul Eggert  <eggert@cs.ucla.edu>
+       Port to OS X ACLs (Bug#17810).
+       * fileio.c (Ffile_acl): Port to OS X, where acl_get_file (...,
+       ACL_TYPE_ACCESS) doesn't work.
 -2014-06-19  Dmitry Antipov  <dmantipov@yandex.ru>
++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-18  Eli Zaretskii  <eliz@gnu.org>
++2014-06-21  Dmitry Antipov  <dmantipov@yandex.ru>
+       * font.c (font_make_object): Avoid dangling pointer which may
+       crash GC (Bug#17771).
 -2014-06-16  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
+       versions of giflib.
+       (gif_close): New function, encapsulates the differences in the
+       calling sequence of DGifCloseFile before v5.1.0 and after it.
+       (gif_load): Call gif_close instead of DGifCloseFile.  Divulge the
+       error string where appropriate.  (Bug#17790)
 -2014-06-14  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-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,
Simple merge
diff --cc src/fileio.c
Simple merge
diff --cc src/font.c
Simple merge
diff --cc src/image.c
Simple merge
diff --cc src/keyboard.c
Simple merge
diff --cc src/xdisp.c
Simple merge
diff --cc test/ChangeLog
@@@ -1,96 -1,7 +1,100 @@@
+ 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
+       * automated/python-tests.el (python-util-strip-string-1): New test.
 +2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      Sync with Tramp 2.2.10.
 +
 +      * automated/tramp-tests.el (tramp--test-enabled): Ignore errors.
 +      (tramp--instrument-test-case): Extend docstring.
 +      (tramp-test15-copy-directory): Skip for tramp-smb.el.
 +      (tramp-test21-file-links): Use `file-truename' for directories.
 +      (tramp-test27-start-file-process, tramp-test28-shell-command):
 +      Retrieve process output more robustly.
 +      (tramp--test-check-files): Extend test.
 +      (tramp-test30-special-characters): Skip for tramp-adb.el,
 +      tramp-gvfs.el and tramp-smb.el.  Add further file names.
 +
 +2014-06-13  Glenn Morris  <rgm@gnu.org>
 +
 +      * automated/Makefile.in (compile-main):
 +      GNU make automatically passes command-line arguments to sub-makes.
 +
 +2014-06-05  Michal Nazarewicz  <mina86@mina86.com>
 +
 +      * automated/tildify-tests.el (tildify-test--test): Optimise the test
 +      slightly by reusing the same temporary buffer across multiple test
 +      cases.
 +
 +      * automated/tildify-tests.el (tildify-test-find-env-end-re-bug)
 +      (tildify-test-find-env-group-index-bug): Update to support new
 +      signature of the `tildify-foreach-region-outside-env' function.
 +      Namely, it now takes pairs as an argument instead of looking it up in
 +      `tildify-ignored-environments-alist'.
 +
 +      * automated/tildify-tests.el (tildify-test--example-html): Add support
 +      for generating XML code, so that…
 +      (tildify-test-xml) …test can be added to check handling of XML
 +      documents.
 +
 +      * automated/tildify-tests.el (tildify-test-find-env-group-index-bug):
 +      New test checking end-regex building when multiple environment pairs
 +      use integers to refer to capture groups.
 +
 +      * automated/tildify-tests.el (tildify-test-find-env-end-re-bug): New
 +      test checking end-regex building in `tildify-find-env' function when
 +      integers (denoting capture groups) and strings are mixed together.
 +
 +2014-06-02  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * automated/tramp-tests.el (tramp-remote-process-environment): Declare.
 +      (tramp-test29-vc-registered): Set $BZR_HOME.  Remove instrumentation.
 +
 +2014-06-01  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * automated/tramp-tests.el (tramp-test29-vc-registered):
 +      Instrument failed test case.
 +
 +2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * automated/ruby-mode-tests.el (ruby-assert-face): Use font-lock-ensure.
 +      (ruby-interpolation-keeps-non-quote-syntax): Use syntax-propertize.
 +
 +2014-05-21  Michal Nazarewicz  <mina86@mina86.com>
 +
 +      * automated/tildify-tests.el: New file.
 +
 +2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * indent/ruby.rb: Add one more test.
 +
 +      * indent/ps-mode.ps: New file.
 +
 +      * indent/octave.m: Add a few more tests.
 +
 +      * automated/core-elisp-tests.el
 +      (core-elisp-test-window-configurations): New test.
 +
 +2014-05-26  Glenn Morris  <rgm@gnu.org>
 +
 +      * automated/package-test.el (package-test-install-single):
 +      Update for changed output.
 +
 +2014-05-22  Glenn Morris  <rgm@gnu.org>
 +
 +      * automated/bytecomp-tests.el (test-byte-comp-compile-and-load):
 +      Fix handling of temporary elc files.
 +
 +      * automated/fns-tests.el (fns-tests-nreverse):
 +      Update for changed string behavior.
 +
 +2014-05-15  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * automated/fns-tests.el: New file.
 +      * automated/fns-tests.el (fns-tests-nreverse)
 +      (fns-tests-nreverse-bool-vector): New tests.
 +
  2014-05-08  Glenn Morris  <rgm@gnu.org>
  
        * automated/vc-bzr.el (vc-bzr-test-bug9726, vc-bzr-test-bug9781)