Merge from emacs-24 branch
authorChong Yidong <cyd@gnu.org>
Fri, 20 Apr 2012 08:48:50 +0000 (16:48 +0800)
committerChong Yidong <cyd@gnu.org>
Fri, 20 Apr 2012 08:48:50 +0000 (16:48 +0800)
22 files changed:
1  2 
ChangeLog
autogen/configure
configure.in
doc/lispref/ChangeLog
doc/lispref/files.texi
doc/lispref/help.texi
doc/lispref/keymaps.texi
doc/lispref/minibuf.texi
doc/lispref/processes.texi
doc/misc/ChangeLog
etc/ChangeLog
lib-src/ChangeLog
lisp/ChangeLog
lisp/battery.el
lisp/progmodes/gdb-mi.el
lisp/progmodes/grep.el
lisp/server.el
lisp/subr.el
lisp/window.el
src/ChangeLog
src/process.c
src/xdisp.c

diff --cc ChangeLog
+++ b/ChangeLog
@@@ -1,73 -1,11 +1,81 @@@
 -2012-04-18  Ludovic Courtès  <ludo@gnu.org>
++2012-04-20  Ludovic Courtès  <ludo@gnu.org>
+       * configure.in: Don't use the -R option (Bug#11251).
 -2012-04-12  Teodor Zlatanov  <tzz@lifelogs.com>
++2012-04-20  Teodor Zlatanov  <tzz@lifelogs.com>
+       * info/dir, Makefile.in (INFO_FILES): Add emacs-gnutls.
 +2012-04-18  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      configure: new option --enable-gcc-warnings (Bug#11207)
 +      I have been using this change for many months in my private copy
 +      of Emacs, and have used it to find several bugs.  It's mature
 +      enough to publish now.
 +      * Makefile.in (GNULIB_MODULES): Add warnings, manywarnings.
 +      * configure.in: Support --enable-gcc-warnings, in the style of
 +      other GNU packages such as coreutils.
 +      (C_WARNINGS_SWITCH): Remove, replacing with...
 +      (WARN_CFLAGS, GNULIB_WARN_CFLAGS): New variable.
 +      (PKG_CHECK_MODULES, C_SWITCH_X_SITE): Use -isystem rather than -I,
 +      when including system files with GCC.
 +      * etc/NEWS: Mention --enable-gcc-warnings.
 +      * INSTALL (DETAILED BUILDING AND INSTALLATION): Likewise.
 +      * lib/Makefile.am (AM_CFLAGS): New macro.
 +      * m4/manywarnings.m4, m4/warnings.m4: New files, from gnulib.
 +
 +2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * configure.in (AC_CHECK_FUNCS):
 +      Add getpwent, endpwent, getgrent, endgrent. (Bug#7900)
 +
 +2012-04-16  Glenn Morris  <rgm@gnu.org>
 +
 +      * configure.in (NS_HAVE_NSINTEGER): Remove unnecessary variable.
 +
 +      * configure.in: Remove X libs workaround for old autoconf.
 +
 +2012-04-12  Ken Brown  <kbrown@cornell.edu>
 +
 +      * configure.in: Warn that Cygwin 1.5 is unsupported.  (Bug#10398)
 +
 +2012-04-11  Glenn Morris  <rgm@gnu.org>
 +
 +      * configure.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM.
 +
 +2012-04-10  Glenn Morris  <rgm@gnu.org>
 +
 +      * configure.in: Conditionally generate admin/unidata/Makefile.
 +
 +2012-04-09  Teodor Zlatanov  <tzz@lifelogs.com>
 +
 +      * info/dir, Makefile.in (INFO_FILES): Add emacs-gnutls manual.
 +
 +2012-04-09  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (leim): Check cd return value.  Pass fewer variables.
 +      (install-leim): Check cd return value.  Pass $MFLAGS.
 +      (install-strip): Pass $MFLAGS.
 +
 +      * configure.in: Require makeinfo >= 4.7.  (Bug#10910)
 +      Eg org.texi has been using 4.7 functions for some time.
 +
 +2012-04-07  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Check pkg-config exit status when configuring (Bug#10626).
 +      * configure.in (PKG_CHECK_MODULES): Do not assume that pkg-config
 +      works; check its exit status.  Problem reported by Jordi Gutiérrez
 +      Hermoso in
 +      <http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00787.html>.
 +
 +2012-04-07  Glenn Morris  <rgm@gnu.org>
 +
 +      * README, configure.in (AC_INIT): Bump version to 24.1.50.
 +
 +2012-04-07  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * lib/makefile.w32-in (gnulib, all): Don't depend on stamp_BLD.
 +
  2012-03-04  Paul Eggert  <eggert@cs.ucla.edu>
  
        configure: fix ncurses 'configure' issue on Solaris 10 (Bug#10677)
Simple merge
diff --cc configure.in
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -1280,51 -1283,10 +1282,11 @@@ complete in the set of extant Lisp symb
  
  @defun read-variable prompt &optional default
  @anchor{Definition of read-variable}
--This function reads the name of a user variable and returns it as a
- symbol.
- The argument @var{default} specifies the default value to return if
- the user enters null input.  It can be a symbol, a string, or a list
- of strings.  If it is a string, @code{read-variable} interns it to
- make the default value.  If it is a list, @code{read-variable} interns
- the first element.  If @var{default} is @code{nil}, that means no
- default has been specified; then if the user enters null input, the
- return value is @code{(intern "")}.
- @example
- @group
- (read-variable "Variable name? ")
- ;; @r{After evaluation of the preceding expression,}
- ;;   @r{the following prompt appears,}
- ;;   @r{with an empty minibuffer:}
- @end group
- @group
- ---------- Buffer: Minibuffer ----------
- Variable name? @point{}
- ---------- Buffer: Minibuffer ----------
- @end group
- @end example
- @noindent
- If the user then types @kbd{fill-p @key{RET}}, @code{read-variable}
- returns @code{fill-prefix}.
- In general, @code{read-variable} is similar to @code{read-command},
- but uses the predicate @code{custom-variable-p} instead of
- @code{commandp}:
- @cindex @code{custom-variable-p} example
- @example
- @group
- (read-variable @var{prompt})
- @equiv{}
- (intern
-  (completing-read @var{prompt} obarray
-                   'custom-variable-p t nil))
- @end group
- @end example
 -symbol.  Its arguments have the same form as those of @code{read-command}.
 -In general, this function is similar to @code{read-command}, but uses
 -the predicate @code{user-variable-p} instead of @code{commandp}.
++This function reads the name of a customizable variable and returns it
++as a symbol.  Its arguments have the same form as those of
++@code{read-command}.  It behaves just like @code{read-command}, except
++that it uses the predicate @code{custom-variable-p} instead of
++@code{commandp}.
  @end defun
  
  @deffn Command read-color &optional prompt convert allow-empty display
Simple merge
@@@ -1,4 -1,23 +1,24 @@@
 -2012-04-13  Glenn Morris  <rgm@gnu.org>
+ 2012-04-20  Glenn Morris  <rgm@gnu.org>
+       * faq.texi (New in Emacs 24): New section.
+       (Packages that do not come with Emacs): Mention M-x list-packages.
 -2012-04-12  Eli Zaretskii  <eliz@gnu.org>
++2012-04-20  Glenn Morris  <rgm@gnu.org>
+       * Makefile.in: Replace non-portable use of $< in emacs-gnutls rules.
 -2012-04-12  Teodor Zlatanov  <tzz@lifelogs.com>
++2012-04-20  Eli Zaretskii  <eliz@gnu.org>
+       * makefile.w32-in (INFO_TARGETS, DVI_TARGETS, clean): Add emacs-gnutls.
+       ($(infodir)/emacs-gnutls, emacs-gnutls.dvi): New targets.
 -2012-04-11  Alan Mackenzie  <acm@muc.de>
++2012-04-20  Teodor Zlatanov  <tzz@lifelogs.com>
+       * emacs-gnutls.texi: Add documentation for the GnuTLS integration.
+       * Makefile.in: Add emacs-gnutls.texi to build.
++2012-04-20  Alan Mackenzie  <acm@muc.de>
 +2012-04-14  Alan Mackenzie  <acm@muc.de>
  
        * cc-mode.texi (c-offsets-alist): Correct a typo.
  
diff --cc etc/ChangeLog
@@@ -1,6 -1,9 +1,12 @@@
+ 2012-04-20  Glenn Morris  <rgm@gnu.org>
+       * CONTRIBUTE: Expand a bit on copyright assignments.
+       * MORE.STUFF: General update.  Mention list-packages.
+       Remove many old/outdated URLs.
 +2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 +
 +      * publicsuffix.txt: New file (bug#1401).
  
  2012-04-02  Alan Mackenzie  <acm@muc.de>
  
@@@ -1,18 -1,9 +1,23 @@@
 -2012-04-15  Chong Yidong  <cyd@gnu.org>
++2012-04-20  Chong Yidong  <cyd@gnu.org>
+       * emacsclient.c (decode_options): Move -t -n corner case handling
+       into server.el (Bug#11102).
 -2012-04-12  Juanma Barranquero  <lekktu@gmail.com>
 +2012-04-18  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      configure: new option --enable-gcc-warnings (Bug#11207)
 +      * Makefile.in (C_WARNINGS_SWITCH): Remove.
 +      (WARN_CFLAGS, WERROR_CFLAGS): New macros.
 +      (BASE_CFLAGS): Use new macros rather than old.
 +
 +2012-04-16  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Assume less-ancient POSIX support.
 +      * update-game-score.c: Include <getopt.h> rather than rolling our
 +      own decls for optarg, optind, opterr.  See
 +      <http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html>.
 +
 +2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
  
        * emacsclient.c (decode_options) [WINDOWSNT]:
        Call ttyname instead of passing its address (typo in 2011-12-04T17:13:01Z!lekktu@gmail.com).
diff --cc lisp/ChangeLog
 -      * progmodes/gdb-mi.el (gdb): Revert 2012-04-19 change.
+ 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
+       * battery.el (battery-echo-area-format): Display remaining time
+       for sysfs backend too (Bug#11269).
+       (battery-linux-sysfs): Fix conditional for the charge.
+ 2012-04-20  Chong Yidong  <cyd@gnu.org>
 -2012-04-19  Chong Yidong  <cyd@gnu.org>
++      * progmodes/gdb-mi.el (gdb): Revert previous change.
+       (gdb-inferior-io--init-proc): New function.
+       (gdb-init-1): Use it.
+       (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
+       responsible for allocating a new pty and hooking it to gdb when
+       the old pty gets an EIO due to process exit.
+       (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
+       (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
+       (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
+ 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
+       * window.el (window-min-size, window-sizable, window-min-delta)
+       (window-max-delta, window--resizable, window-resizable)
+       (window-total-size, window-full-height-p, window-full-width-p)
+       (window-in-direction, window--resize-mini-window, window-resize)
+       (window--resize-child-windows-normal)
+       (window--resize-child-windows, window--resize-siblings)
+       (window--resize-this-window, adjust-window-trailing-edge)
+       (enlarge-window, shrink-window): Doc fixes.
 -2012-04-18  Chong Yidong  <cyd@gnu.org>
 -
++2012-04-20  Chong Yidong  <cyd@gnu.org>
+       * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New
+       function to call delete-process on the gdb-inferior buffer's pty.
+       (gdb-reset): Use it, instead of relying on kill-buffer to kill the
+       pty process (Bug#11273).
+       (gdb-update): New arg to suppress talking to the gdb process.
+       (gdb-done-or-error): Use it.
+       (gdb-stopped-functions): Rename from gdb-stopped-hooks.
+       (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
+       sentinel not being called.
+       * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
 -2012-04-18  Glenn Morris  <rgm@gnu.org>
+       * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
 -2012-04-17  Chong Yidong  <cyd@gnu.org>
++2012-04-20  Glenn Morris  <rgm@gnu.org>
+       * net/network-stream.el (open-network-stream): Doc fix.
 -2012-04-16  Alan Mackenzie  <acm@muc.de>
++2012-04-20  Chong Yidong  <cyd@gnu.org>
+       * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
 -      (c-context-line-break): bind case-fold-search to nil.
++2012-04-20  Alan Mackenzie  <acm@muc.de>
+       Ensure searching for keywords is case sensitive.
+       * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
+       (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
+       (c-defun-name, c-mark-function, c-cpp-define-name)
+       (c-comment-indent, c-scan-conditionals, c-indent-defun)
 -      * progmodes/cc-mode.el (c-font-lock-fontify-region): bind
++      (c-context-line-break): Bind case-fold-search to nil.
 -2012-04-16  Chong Yidong  <cyd@gnu.org>
++      * progmodes/cc-mode.el (c-font-lock-fontify-region): Bind
+       case-fold-search to nil.
 -2012-04-15  Chong Yidong  <cyd@gnu.org>
 -
++2012-04-20  Chong Yidong  <cyd@gnu.org>
+       * mail/sendmail.el (mail-bury): Call return action with the right
+       Rmail buffer (Bug#11242).
+       * server.el (server-process-filter): Handle corner case where both
+       tty and nowait options are present (Bug#11102).
 +2012-04-20  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
 +      (top level): Put into the executable the ident-style '$Id:' tag on
 +      windows-nt as well.
 +
 +2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * electric.el (electric-indent-post-self-insert-function): Check that
 +      electric-indent-mode is enabled in current buffer.
 +
 +2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * imenu.el (imenu-progress-message): Restore; it is "used" in
 +      erc/erc-imenu.el and net/snmp-mode.el.
 +
 +2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * avoid.el (mouse-avoidance-mode): Mark unused arg.
 +      (mouse-avoidance-nudge-mouse): Remove unused binding.
 +
 +      * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
 +
 +      * descr-text.el (describe-char):
 +      * progmodes/python.el (python-describe-symbol):
 +      Don't call `toggle-read-only', set `buffer-read-only'.
 +
 +      * imenu.el (imenu-default-goto-function): Mark unused args.
 +      (imenu-progress-message): Remove obsolete macro; all callers changed.
 +
 +      * subr.el (keymap-canonicalize): Remove unused binding.
 +      (read-passwd): Mark unused arg.
 +
 +      * tutorial.el (tutorial--display-changes): Remove unused binding.
 +      (tutorial--save-tutorial-to): Remove unused variable.
 +
 +      * emacs-lisp/package.el (define-package, package-menu-mark-delete)
 +      (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
 +      (package-generate-autoloads, package-menu--generate)
 +      (package-menu--find-upgrades): Remove unused bindings.
 +
 +      * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
 +      (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
 +      (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
 +      (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
 +      (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
 +      (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
 +      (cua--rectangle-aux-replace, cua--left-fill-rectangle)
 +      (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
 +      (cua-delete-char-rectangle): Mark unused args.
 +      (cua-align-rectangle): Remove unused binding.
 +
 +      * mail/rmail.el (compilation--message->loc)
 +      (epa--find-coding-system-for-mime-charset): Declare.
 +
 +      * net/dbus.el (dbus-register-service): Declare.
 +      (dbus-name-owner-changed-handler): Remove unused binding.
 +
 +      * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
 +      (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
 +      (nxml-scan-backward-within): Mark unused arg.
 +      (nxml-dynamic-markup-word): Remove unused binding.
 +
 +      * mouse.el (mouse-menu-major-mode-map):
 +      * emacs-lisp/authors.el (authors-scan-change-log)
 +      (authors-add-to-author-list):
 +      * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
 +      * emacs-lisp/smie.el (smie-auto-fill):
 +      * mail/sendmail.el (mail-bury):
 +      * mail/unrmail.el (unrmail):
 +      * net/tls.el (open-tls-stream):
 +      * textmodes/picture.el (picture-mouse-set-point):
 +      Remove unused bindings.
 +
 +2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * net/tramp.el (tramp-action-password): Let-bind
 +      `enable-recursive-minibuffers' to t.
 +
 +2012-04-18  Sam Steingold  <sds@gnu.org>
 +
 +      * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
 +      instead of 'string to accommodate values like [f11].
 +      Always use `vconcat' instead of `concat' on it, like in `gud-def'.
 +      * progmodes/gdb-mi.el: Likewise.
 +
 +2012-04-18  Leo Liu  <sdl.web@gmail.com>
 +
 +      * abbrev.el (edit-abbrevs): Move point to the abbrev table of
 +      current buffer.
 +      (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
 +      LOCAL is nil.
 +
 +2012-04-18  Chong Yidong  <cyd@gnu.org>
 +
 +      * simple.el (line-move): Use forward-line if in batch mode
 +      (Bug#11053).
 +
 +2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
 +
 +      * files.el (after-find-file): Do not try to add a final newline if
 +      the buffer is read-only (Bug#11156).
 +
 +2012-04-17  Richard Stallman  <rms@gnu.org>
 +
 +      * mail/rmail.el (rmail-start-mail):
 +      Pass (rmail-mail-return...) for the return-action.
 +      Pass (rmail-yank-current-message...) for the yank-action.
 +      (rmail-yank-current-message): New function.
 +      (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
 +      (rmail-reply): Likewise.
 +      (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
 +
 +      * mail/sendmail.el (mail-bury): Choose the first rmail-mode
 +      buffer, not the last.  Reject temp buffers.  Use the rmail-mode
 +      buffer, not newbuf.
 +
 +2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * server.el (server-ensure-safe-dir): Simplify.
 +
 +2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/smie.el: Provide smarter auto-filling.
 +      (smie-auto-fill): New function.
 +      (smie-setup): Use it.
 +
 +      * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
 +
 +2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
 +
 +      * newcomment.el (comment-inline-offset): New custom var (bug#11090).
 +      (comment-indent): Use it.
 +
 +2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
 +
 +      * ses.el: The overall change is to add cell renaming, that is
 +      setting fancy names for cell symbols other than name matching
 +      "\\`[A-Z]+[0-9]+\\'" regexp .
 +      (ses-localvars): Add ses--renamed-cell-symb-list.
 +      (ses-create-cell-variable): New defun.
 +      (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
 +      (ses-relocate-formula): Relocate formulas only for cells the
 +      symbols of which are not renamed, i.e. symbols whose names do not
 +      match regexp "\\`[A-Z]+[0-9]+\\'".
 +      (ses-relocate-all): Relocate values only for cells the symbols of
 +      which are not renamed.
 +      (ses-load): Create cells variables as the (ses-cell ...) are read,
 +      in order to check row col consistency with cell symbol name only
 +      for cells that are not renamed.
 +      (ses-replace-name-in-formula): New defun.
 +      (ses-rename-cell): New defun.
 +
 +2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
 +
 +      * progmodes/perl-mode.el (perl-indent-parens-as-block):
 +      New option (bug#11118).
 +      (perl-calculate-indent): Respect it.
 +
 +2012-04-17  Glenn Morris  <rgm@gnu.org>
 +
 +      * dired-aux.el (dired-mark-read-string): Doc fix.
 +
 +2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * dired-aux.el (dired-mark-read-string): Offer optional completion.
 +      (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
 +
 +2012-04-17  Glenn Morris  <rgm@gnu.org>
 +
 +      * mouse.el (mouse-drag-track):
 +      * speedbar.el (speedbar-frame-mode):
 +      Use auto-hscroll-mode rather than the alias automatic-hscrolling.
 +
 +2012-04-16  Leo Liu  <sdl.web@gmail.com>
 +
 +      * progmodes/python.el: Trivial cleanup.
 +
 +2012-04-16  Glenn Morris  <rgm@gnu.org>
 +
 +      * vc/vc.el (vc-string-prefix-p):
 +      * vc/pcvs-util.el (cvs-string-prefix-p):
 +      * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
 +      * mpc.el (mpc-string-prefix-p):
 +      Make all of these into obsolete aliases for string-prefix-p.
 +      Update callers.
 +      * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
 +
 +      * textmodes/two-column.el: Move custom options to the start.
 +      (frame-width): Remove compat definition.
 +      (2C-associate-buffer, 2C-dissociate):
 +      Use with-current-buffer rather than save-excursion.
 +      (2C-dissociate): Force a mode-line update.
 +      (2C-autoscroll): Use ignore-errors.
 +
 +      * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
 +      Autoload trivia.
 +
 +      * emacs-lisp/cl-extra.el (*random-state*):
 +      Remove unnecessary declaration.
 +
 +      * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
 +
 +      * play/cookie1.el (cookie-snarf):
 +      Give an explicit error if input file cannot be read.
 +
 +      * play/yow.el (yow-file): Use expand-file-name rather than concat.
 +
 +      * progmodes/perl-mode.el (c-macro-expand):
 +      Remove unnecessary autoload (it is in loaddefs.el).
 +
 +      * textmodes/picture.el (picture-desired-column)
 +      (picture-update-desired-column): Convert comments to doc-strings.
 +      (picture-substitute): Remove function.
 +      (picture-mode-map): Initialize in the defvar.
 +
 +      * woman.el: Remove eval-after-load for tar-mode.
 +      * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
 +      (woman-tar-extract-file): Autoload it.
 +
 +      * frame.el (automatic-hscrolling): Make this alias obsolete.
 +
 +2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
 +
 +      * ispell.el (ispell-set-spellchecker-params): Post-process
 +      `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
 +      (ispell-dictionary-base-alist): Revert to original XEmacs
 +      friendly version for default.  [:alpha:] will be added in
 +      `ispell-set-spellchecker-params' if needed
 +
 +2012-04-16  Chong Yidong  <cyd@gnu.org>
 +
 +      * image.el (imagemagick--extension-regexp): New variable.
 +      (imagemagick-register-types): Use it.
 +      (imagemagick-types-inhibit): Add :set function.  Allow new value
 +      of t to inhibit all types.
 +
 +      * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
 +      so we can preload it.
 +
 +      * loadup.el (fboundp): Preload regexp-opt, needed by
 +      imagemagick-register-types.
 +
 +2012-04-15  Chong Yidong  <cyd@gnu.org>
 +
 +      * frame.el (scrolling): Remove nearly unused customization group.
 +
 +      * scroll-all.el (scroll-all-mode): Move to windows group.
 +
 +2012-04-15  Chong Yidong  <cyd@gnu.org>
 +
 +      * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
 +
 +2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      Avoid the use of ((lambda ...) ...) in lexical-binding code.
 +      * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
 +
  2012-04-15  Glenn Morris  <rgm@gnu.org>
  
        * simple.el (process-file-side-effects): Doc fix.
diff --cc lisp/battery.el
@@@ -78,9 -78,11 +78,9 @@@ introduced by a `%' character in a cont
    (cond ((eq battery-status-function 'battery-linux-proc-acpi)
         "Power %L, battery %B at %r (%p%% load, remaining time %t)")
        ((eq battery-status-function 'battery-linux-sysfs)
-        "Power %L, battery %B (%p%% load)")
+        "Power %L, battery %B (%p%% load, remaining time %t)")
        ((eq battery-status-function 'battery-pmset)
         "%L power, battery %B (%p%% load, remaining time %t)")
 -      ((eq battery-status-function 'battery-yeeloong-sysfs)
 -       "%L power, battery %B (%p%% load, remaining time %t)")
        (battery-status-function
         "Power %L, battery %B (%p%% load, remaining time %t)"))
    "Control string formatting the string to display in the echo area.
Simple merge
Simple merge
diff --cc lisp/server.el
Simple merge
diff --cc lisp/subr.el
Simple merge
diff --cc lisp/window.el
Simple merge
diff --cc src/ChangeLog
 -2012-04-18  Glenn Morris  <rgm@gnu.org>
+ 2012-04-20  Chong Yidong  <cyd@gnu.org>
+       * process.c (wait_reading_process_output): If EIO occurs on a pty,
+       set the status to "failed" and ensure that sentinel is run.
 -2012-04-17  Eli Zaretskii  <eliz@gnu.org>
++2012-04-20  Glenn Morris  <rgm@gnu.org>
+       * process.c (Fset_process_inherit_coding_system_flag)
+       (Fset_process_query_on_exit_flag): Doc fix (mention return value).
+       (Fmake_network_process, Fmake_serial_process): Doc fix.
 -2012-04-13  Atsuo Ohki  <ohki@gssm.otsuka.tsukuba.ac.jp>  (tiny change)
++2012-04-20  Eli Zaretskii  <eliz@gnu.org>
+       * xdisp.c (string_buffer_position_lim): Limit starting position to
+       BEGV.
+       (set_cursor_from_row): If called for a mode-line or header-line
+       row, return zero immediately.
+       (try_cursor_movement): If inside continuation line, don't back up
+       farther than the first row after the header line, if any.  Don't
+       consider the header-line row as "partially visible", even if
+       MATRIX_ROW_PARTIALLY_VISIBLE_P returns non-zero.  (Bug#11261)
 -2012-04-10  Teodor Zlatanov  <tzz@lifelogs.com>
++2012-04-20  Atsuo Ohki  <ohki@gssm.otsuka.tsukuba.ac.jp>  (tiny change)
+       * lread.c (lisp_file_lexically_bound_p): Fix hang at ";-*-\n" (bug#11238).
++2012-04-20  Teodor Zlatanov  <tzz@lifelogs.com>
 +2012-04-18  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      configure: new option --enable-gcc-warnings (Bug#11207)
 +      * Makefile.in (C_WARNINGS_SWITCH): Remove.
 +      (WARN_CFLAGS, WERROR_CFLAGS): New macros.
 +      (ALL_CFLAGS): Use new macros rather than old.
 +      * process.c: Ignore -Wstrict-overflow to work around GCC bug 52904.
 +      * regex.c: Ignore -Wstrict-overflow.  If !emacs, also ignore
 +      -Wunused-but-set-variable, -Wunused-function, -Wunused-macros,
 +      -Wunused-result, -Wunused-variable.  This should go away once
 +      the Emacs and Gnulib regex code is merged.
 +      (xmalloc, xrealloc): Now static.
 +
 +2012-04-17  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * dired.c (Fsystem_groups): Remove unused local.
 +
 +2012-04-17  Glenn Morris  <rgm@gnu.org>
 +
 +      * dired.c (Fsystem_users): Doc fix.
 +
 +2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * dired.c (Fsystem_users, Fsystem_groups): New functions.  (Bug#7900)
 +      (syms_of_dired): Add them.
 +
 +2012-04-16  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Fix minor alloc.c problems found by static checking.
 +      * alloc.c (_malloc_internal, _free_internal) [!DOUG_LEA_MALLOC]:
 +      New extern decls, to avoid calling undeclared functions.
 +      (dont_register_blocks): Define if ((!SYSTEM_MALLOC && !SYNC_INPUT)
 +      && GC_MALLOC_CHECK), not if ((GC_MARK_STACK || defined
 +      GC_MALLOC_CHECK) && GC_MALLOC_CHECK), to match when it's used.
 +      (NEED_MEM_INSERT): New macro.
 +      (mem_insert, mem_insert_fixup) [!NEED_MEM_INSERT]: Remove; unused.
 +      Remove one incorrect comment and fix another.
 +
 +      Fix minor ralloc.c problems found by static checking.
 +      See http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html
 +      * ralloc.c (ALIGNED, ROUND_TO_PAGE, HEAP_PTR_SIZE)
 +      (r_alloc_size_in_use, r_alloc_freeze, r_alloc_thaw): Remove; unused.
 +      (r_alloc_sbrk): Now static.
 +
 +      Improve ralloc.c interface checking.
 +      See http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html
 +      * buffer.c (ralloc_reset_variable, r_alloc, r_re_alloc)
 +      (r_alloc_free) [REL_ALLOC]: Move decls from here ...
 +      * lisp.h (r_alloc, r_alloc_free, r_re_alloc, r_alloc_reset_variable)
 +      [REL_ALLOC]: ... to here, to check interface.
 +      * m/ia64.h (r_alloc, r_alloc_free) [REL_ALLOC && !_MALLOC_INTERNAL]:
 +      Remove decls.  This fixes an "It stinks!".
 +
 +      * alloc.c (which_symbols): Fix alignment issue / type clash.
 +
 +2012-04-15  Andreas Schwab  <schwab@linux-m68k.org>
 +
 +      * lisp.h (struct Lisp_Symbol): Remove explicit padding.
 +      (struct Lisp_Misc_Any): Likewise.
 +      (struct Lisp_Free): Likewise.
 +      * alloc.c (union aligned_Lisp_Symbol): Define.
 +      (SYMBOL_BLOCK_SIZE, struct symbol_block): Use union
 +      aligned_Lisp_Symbol instead of struct Lisp_Symbol.
 +      (union aligned_Lisp_Misc): Define.
 +      (MARKER_BLOCK_SIZE, struct marker_block): Use union
 +      aligned_Lisp_Misc instead of union Lisp_Misc.
 +      (Fmake_symbol, allocate_misc, gc_sweep): Adjust
 +
 +2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      Make GC_MAKE_GCPROS_NOOPS the default (Bug#9926).
 +      * lisp.h (GC_MARK_STACK): Default to GC_MAKE_GCPROS_NOOPS.
 +      * s/cygwin.h, s/darwin.h, s/freebsd.h, s/gnu.h, s/irix6-5.h, s/msdos.h:
 +      * s/netbsd.h, s/sol2-6.h:
 +      Remove definition of GC_MARK_STACK, since the default now works.
 +      * s/aix4-2.h, s/hpux10-20.h, s/unixware.h:
 +      Define GC_MARK_STACK to GC_USE_GCPROS_AS_BEFORE, since that's
 +      no longer the default.
 +      * s/gnu-linux.h (GC_MARK_STACK): Adjust to change in default.
 +
 +2012-04-14  Atsuo Ohki  <ohki@gssm.otsuka.tsukuba.ac.jp>  (tiny change)
 +
 +      * lread.c (lisp_file_lexically_bound_p):
 +      Fix hang at ";-*-\n" (bug#11238).
 +
 +2012-04-14  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * xdisp.c (find_last_unchanged_at_beg_row): Don't consider a row
 +      "unchanged" if its end.pos is beyond ZV.  (Bug#11199)
 +
 +2012-04-14  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * nsterm.m (constrainFrameRect): Always constrain when there is only
 +      one screen (Bug#10962).
 +
 +2012-04-13  Ken Brown  <kbrown@cornell.edu>
 +
 +      * s/cygwin.h (PTY_OPEN): Don't try to close a bogus file descriptor.
 +
 +2012-04-13  Reuben Thomas  <rrt@sc3d.org>
 +
 +      * indent.c (Fmove_to_column): Change interactive spec (Bug#739).
 +
 +2012-04-11  Daniel Colascione  <dancol@dancol.org>
 +
 +      * s/cygwin.h: The vfork the #define in cygwin.h was protecting
 +      against is gone.  It's better to use vfork now so that when Cygwin
 +      gains a new, working vfork, we use it automatically (bug#10398).
 +
 +2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * window.c (save_window_save): Obey window-point-insertion-type.
 +
 +2012-04-11  Glenn Morris  <rgm@gnu.org>
 +
 +      * Makefile.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM.
 +
 +2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * alloc.c (lisp_align_malloc): Remove unneeded prototype.
 +
 +2012-04-10  Jason S. Cornez  <jcornez@ravenpack.com>  (tiny change)
 +
 +      * keyboard.c: Override inhibit-quit after the third C-g (bug#6585).
 +      (force_quit_count): New var.
 +      (handle_interrupt): Use it.
 +
 +2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * w32.c (w32_delayed_load): Record the full path of the library
 +      being loaded (bug#10424).
 +
 +2012-04-09  Glenn Morris  <rgm@gnu.org>
 +
 +      * doc.c (Fsnarf_documentation): Check variables, functions are bound,
 +      not just in the obarray, before snarfing them.  (Bug#11036)
 +
 +      * Makefile.in ($(leimdir)/leim-list.el):
 +      Pass EMACS rather than BUILT_EMACS.
 +
 +2012-04-09  Teodor Zlatanov  <tzz@lifelogs.com>
  
        * process.c (make_process):
        * process.h: Add integer `gnutls_handshakes_tried' member to
diff --cc src/process.c
Simple merge
diff --cc src/xdisp.c
Simple merge