Merge from emacs-24; up to 2012-12-19T13:01:16Z!michael.albinus@gmx.de
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Feb 2013 06:35:54 +0000 (22:35 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Feb 2013 06:35:54 +0000 (22:35 -0800)
1  2 
ChangeLog
configure.ac
doc/lispref/ChangeLog
doc/lispref/modes.texi
lisp/ChangeLog
lisp/progmodes/python.el
src/ChangeLog
src/lisp.h
src/w32.c
src/w32proc.c

diff --cc ChangeLog
+++ b/ChangeLog
@@@ -1,74 -1,12 +1,79 @@@
 -2013-02-14  Paul Eggert  <eggert@cs.ucla.edu>
++2013-02-15  Paul Eggert  <eggert@cs.ucla.edu>
+       Fix AIX port (Bug#13650).
+       * configure.ac (DATA_START, DATA_SEG_BITS): Set to 0x20000000 on AIX.
 -      (GC_MARK_STACK): Do not set to GC_USE_GCPROS_AS_BEFORE on AIX, as that
 -      runs afoul of some other bug in Emacs, and the default value
 -      GC_MAKE_GCPROS_NOOPS has been tested and works.
 -2013-01-16  Glenn Morris  <rgm@gnu.org>
 +2013-02-12  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/memrchr.$(O).
 +      ($(BLD)/memrchr.$(O)): New dependency.
 +
 +2013-02-11  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Tune by using memchr and memrchr.
 +      * .bzrignore: Add string.h.
 +      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
 +      * lib/memrchr.c, lib/string.in.h, m4/memrchr.m4, m4/string_h.m4:
 +      New files, from gnulib.
 +
 +      Merge from gnulib, incorporating:
 +      2013-02-11 unsetenv etc.: port to Solaris 11 + GNU Emacs
 +      2013-02-09 secure_getenv: fix C++ declaration typo
 +
 +2013-02-11  Glenn Morris  <rgm@gnu.org>
 +
 +      * configure.ac (emacs_config_options): Record some env vars.
 +
 +2013-02-10  Glenn Morris  <rgm@gnu.org>
 +
 +      * configure.ac (emacs_config_options): Strip out the (internal)
 +      arguments --no-create and --no-recursion.
 +
 +2013-02-08  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Merge from gnulib, incorporating:
 +      2013-02-08 careadlinkat: stop exporting careadlinkatcwd
 +      The MS-Windows port can remove careadlinkatcwd at its convenience.
 +      2013-02-08 extensions: port better to HP-UX
 +      2013-02-06 extensions: port better to MINIX 3, HP-UX, autoheader 2.62
 +      2013-02-06 unistd: avoid namespace pollution on non-glibc systems
 +      2013-02-04 secure_getenv: new module [module not used by Emacs]
 +      2013-01-30 sys_time: port to Solaris 2.6
 +
 +2013-02-01  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
 +      On my host, this speeds up directory-files-and-attributes by a
 +      factor of 3, when applied to Emacs's src directory.
 +      These functions are standardized by POSIX and are common these
 +      days; fall back on a (slower) gnulib implementation if the host
 +      is too old to supply them.
 +      * .bzrignore: Add lib/dirent.h.
 +      * lib/Makefile.am (libgnu_a_SOURCES): Add openat-die.c, save-cwd.c.
 +      * lib/careadlinkat.c, lib/careadlinkat.h: Merge from gnulib,
 +      incorporating: 2013-01-29 careadlinkat: do not provide careadlinkatcwd.
 +      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
 +      * lib/dirent.in.h, lib/fdopendir.c, lib/fstatat.c, lib/openat-priv.h:
 +      * lib/openat-proc.c, lib/openat.h, m4/dirent_h.m4, m4/fdopendir.m4:
 +      * m4/fstatat.m4: New files, from gnulib.
 +      * lib/openat-die.c, lib/save-cwd.c, lib/save-cwd.h: New files.
 +      These last three are specific to Emacs and are not copied from gnulib.
 +      They are simpler than the gnulib versions and are tuned for Emacs.
 +
 +2013-02-01  Glenn Morris  <rgm@gnu.org>
 +
 +      * make-dist: Only README files exist in lisp/ now, not README*.
 +
 +2013-01-23  Giorgos Keramidas  <gkeramidas@gmail.com>  (tiny change)
 +
 +      * .bzrignore: add lib-src/blessmail.
 +
 +2013-01-23  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Merge from gnulib, incorporating:
 +      2013-01-16 unistd: port to recent mingw
 +
 +2013-01-19  Glenn Morris  <rgm@gnu.org>
  
        * Makefile.in (install-arch-indep): Put back a chmod that was
        removed 2012-05-19.  (Bug#13430)
diff --cc configure.ac
Simple merge
Simple merge
Simple merge
diff --cc lisp/ChangeLog
 -2013-02-14  Glenn Morris  <rgm@gnu.org>
++2013-02-15  Michael Albinus  <michael.albinus@gmx.de>
+       * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
 -2013-02-14  Stefan Monnier  <monnier@iro.umontreal.ca>
++2013-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * net/goto-addr.el (goto-address-fontify): Add start and end args.
+       (goto-address-fontify-region): Use them instead of narrowing, so
+       syntax-ppss has access to the whole buffer.
 -2013-02-14  Fabián Ezequiel Gallina  <fgallina@cuca>
++2013-02-15  Fabián Ezequiel Gallina  <fgallina@cuca>
+       * progmodes/python.el: Explain how to restore "cc-mode"-like
+       forward-sexp movement in header documentation (Bug#13642).
+       (python-nav--forward-sexp): Behave like emacs-lisp-mode in
+       comments and strings (GH bug 114).
 -2013-02-13  Fabián Ezequiel Gallina  <fgallina@cuca>
++2013-02-15  Fabián Ezequiel Gallina  <fgallina@cuca>
+       * progmodes/python.el (python-info-current-defun): Fix current
+       defun detection (Bug#13618).
 -2013-02-13  Chong Yidong  <cyd@gnu.org>
++2013-02-15  Chong Yidong  <cyd@gnu.org>
+       * xml.el (xml-parse-string): Fix typo in handling of bad character
+       references.
 -2013-02-10  Michael Albinus  <michael.albinus@gmx.de>
 +2013-02-15  Glenn Morris  <rgm@gnu.org>
 +
 +      * play/fortune.el (fortune-compile): Simplify and fix previous change.
 +
 +2013-02-14  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * net/tramp.el (tramp-debug-message): Add
 +      `tramp-condition-case-unless-debug'.
 +      (tramp-debug-on-error): New defvar.
 +      (tramp-condition-case-unless-debug): New defun.
 +      (tramp-file-name-handler): Use it.
 +
 +2013-02-14  Juri Linkov  <juri@jurta.org>
 +
 +      * info.el (Info-isearch-filter): Treat non-nil values of
 +      `search-invisible' including its default value `open'
 +      like the value `t' to match hidden text.  (Bug#13402)
 +
 +2013-02-14  Glenn Morris  <rgm@gnu.org>
 +
 +      * help-fns.el (find-lisp-object-file-name): Give special treatment
 +      to all ~/.foo.elc files, not just ~/.emacs.  (Bug#9007)
 +
 +2013-02-14  David Biesack  <sasdjb@d72933.na.sas.com>  (tiny change)
 +
 +      * net/quickurl.el (quickurl-save-urls):
 +      Ensure quickurl-urls is not truncated on printing.  (Bug#9276)
 +
 +2013-02-14  Dmitry Gutov  <dgutov@yandex.ru>
 +
 +      * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
 +      depth for unfinished percent literal.  Not using it in the caller.
 +      (ruby-move-to-block): Jump over multiline literals of all types,
 +      ignoring code-looking contents inside them.
 +      (ruby-add-log-current-method): Improve performance at the expense
 +      of accuracy.  `ruby-block-contains-point' is relatively slow, so
 +      only use it for method and singleton class blocks.
 +
 +2013-02-13  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      Use ControlMaster where applicable.  (Bug#13677)
 +
 +      * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
 +      replacing `tramp-detect-ssh-controlmaster'.
 +      (tramp-default-method): Use it.
 +
 +      * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
 +      [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
 +      arguments.
 +      [scpc, rsyncc]: Remove methods.
 +      (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
 +      and "ssh2_old".
 +      (tramp-do-copy-or-rename-file-out-of-band):  Change trace level.
 +      (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
 +
 +2013-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/package.el (package--initialized): Move before first use.
 +
 +2013-02-13  Jambunathan K  <kjambunathan@gmail.com>
 +
 +      * icomplete.el (icomplete-hide-common-prefix):  New user option.
 +      (icomplete-first-match): New face.
 +      (icomplete-completions): Correct handling of "complete but not
 +      unique" (Bug#12638).
 +
 +2013-02-13  YE Qianchuan  <stool.ye@gmail.com>  (tiny change)
 +
 +      * descr-text.el (describe-char): Display the script (bug#13698).
 +
 +2013-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * tmm.el: Use lexical-binding and current-active-maps.
 +      (tmm-menubar): Use map-keymap and pcase.
 +      (tmm--completion-table): New function.
 +      (tmm-prompt): Use it to fix the menu order.
 +      (tmm-get-keybind): Use current-active-maps.
 +
 +2013-02-12  Christopher Schmidt  <christopher@ch.ristopher.com>
 +
 +      Add dired-hide-details-mode.  (Bug#6799)
 +
 +      * locate.el (locate-mode): Set parent mode property to dired-mode.
 +
 +      * find-dired.el (find-dired): Call dired-insert-set-properties on
 +      initial information line.  Set process mark on end of buffer.
 +      (find-dired-sentinel):
 +      Call dired-insert-set-properties on summary.
 +
 +      * dired.el (dired-hide-details-hide-symlink-targets)
 +      (dired-hide-details-hide-information-lines): New options.
 +      (dired-insert-directory):
 +      Set properties after final treatment of output.
 +      (dired-insert-set-properties):
 +      Set dired-hide-details-* properties.
 +      (dired-mode-map): Bind dired-hide-details-mode.
 +      (dired-mode): Set buffer-invisibility-spec to a list.
 +      (dired-next-line): Skip hidden lines.
 +      (dired-previous-line): Use dired-next-line.
 +      (dired-hide-details-mode): New minor mode.
 +      (dired-hide-details-update-invisibility-spec): New function.
 +
 +2013-02-13  Glenn Morris  <rgm@gnu.org>
 +
 +      * play/yow.el: Move to obsolete/.  (Bug#9384)
 +
 +2013-02-13  Juri Linkov  <juri@jurta.org>
 +
 +      * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
 +      to select `ediff-control-frame' and set input focus correctly on Xfce.
 +      (Bug#12218)
 +
 +2013-02-13  Juri Linkov  <juri@jurta.org>
 +
 +      * image-mode.el (image-mode-map):
 +      * doc-view.el (doc-view-mode-map):
 +      * vc/ediff-util.el (ediff-setup-keymap):
 +      Make S-SPC scroll in the opposite sense to SPC.  (Bug#2145)
 +
 +2013-02-13  Dmitry Gutov  <dgutov@yandex.ru>
 +
 +      * progmodes/ruby-mode.el (ruby-move-to-block): Improve
 +      performance.  Instead of recalculating indentation fully for each
 +      line, sum up indentation depth based only on visited lines.
 +      (ruby-parse-partial): Increase the depth after "do" even when END
 +      is right after it.
 +      (ruby-parse-partial): When END is in the middle of a percent
 +      literal, increase the depth if the delimiter chars belong to the
 +      paren syntax class.
 +
 +2013-02-13  Kirill A. Korinskiy  <catap@catap.ru>
 +
 +      * play/fortune.el (fortune-compile): Also make the compiled file
 +      if it does not exist at all, not just if it is old.  (Bug#5338)
 +
 +2013-02-13  Glenn Morris  <rgm@gnu.org>
 +
 +      * emacs-lisp/package.el (package-menu-execute): Doc fix.
 +
 +2013-02-13  Yves Baumes  <ybaumes@gmail.com>  (tiny change)
 +
 +      * lisp/emacs-lisp/package.el (package-menu-execute):
 +      Add optional noquery argument.  (Bug#13625)
 +
 +2013-02-13  Michael Albinus  <michael.albinus@gmx.de>
  
        * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
        if DIR exists and PARENTS is non-nil.
Simple merge
diff --cc src/ChangeLog
@@@ -1,25 -1,38 +1,45 @@@
 -2013-02-14  Paul Eggert  <eggert@cs.ucla.edu>
 -
 -      Backport GCPRO fix from trunk (Bug#13650).
 -      The bug was reported for AIX before today's changes.
 -      I reproduced the problem on Fedora 17 x86-64 when setting
 -      GC_MARK_STACK by hand, and I presume it occurs with default
 -      configurations on HP-UX and Unixware.
 -      Trunk fix on 2013-01-14 by Dmitry Antipov <dmantipov@yandex.ru>:
 -      Fix compilation with GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE.
 -      * eval.c (eval_sub): Protect `form' from being GCed before its
 -      car and cdr becomes protected with the backtrace entry.
++2013-02-15  Paul Eggert  <eggert@cs.ucla.edu>
+       Fix AIX port (Bug#13650).
+       * lisp.h (XPNTR) [!USE_LSB_TAG && DATA_SEG_BITS]:
+       Fix bug introduced in 2012-07-27 change.  DATA_SEG_BITS, if set,
+       was #undeffed earlier, so it cannot be used as a macro here.
+       Use the constant and not the macro.
 -      * unexaix.c: Revert 2013-02-11 and 2013-02-12 changes to this
 -      file.  They're almost surely OK but we're just before a release so
 -      we should avoid changes unless they're clearly needed.  Instead,
 -      make the following minor change:
 -      (ADDR_CORRECT): New macro.
 -2013-02-13  Eli Zaretskii  <eliz@gnu.org>
++2013-02-15  Eli Zaretskii  <eliz@gnu.org>
+       * w32proc.c (new_child): If no vacant slots are found in
+       child_procs[], make another pass looking for slots whose process
+       has exited or died.  (Bug#13546)
+       * w32.c (sys_pipe): When failing due to file descriptors above
+       MAXDESC, set errno to EMFILE.
+       (_sys_read_ahead): Update cp->status when failing to read serial
+       communications input, so that the status doesn't stay at
+       STATUS_READ_IN_PROGRESS.  (Bug#13546)
 +2013-02-14  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * gtkutil.c (tb_size_cb): New function.
 +      (xg_create_tool_bar): Connect size-allocate to tb_size_cb (Bug#13512).
 +
 +2013-02-14  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * keyboard.c (active_maps): Fcurrent_active_maps expects a position, not
 +      an event.
 +
 +2013-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * keyboard.c (syms_of_keyboard): Further tweaks of docstring.
 +
 +2013-02-13  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * font.c (font_range): Add pos_byte argument.  Adjust comment
 +      and break long line.
 +      * font.h (font_range): Adjust prototype.
 +      * composite.c (autocmp_chars): Pass byte position to font_range.
 +      Break long line.  Remove useless prototype and format comment.
 +
  2013-02-13  Glenn Morris  <rgm@gnu.org>
  
        * keyboard.c (input-decode-map, key-translation-map): Doc fixes.
diff --cc src/lisp.h
Simple merge
diff --cc src/w32.c
Simple merge
diff --cc src/w32proc.c
Simple merge