Merge from emacs-23; up to 2010-05-26T14:19:15Z!monnier@iro.umontreal.ca.
authorGlenn Morris <rgm@gnu.org>
Sat, 5 Feb 2011 22:30:14 +0000 (14:30 -0800)
committerGlenn Morris <rgm@gnu.org>
Sat, 5 Feb 2011 22:30:14 +0000 (14:30 -0800)
19 files changed:
1  2 
doc/emacs/ChangeLog
doc/emacs/custom.texi
doc/emacs/maintaining.texi
doc/emacs/rmail.texi
doc/lispref/ChangeLog
doc/lispref/commands.texi
etc/NEWS.23
lisp/ChangeLog
lisp/calendar/diary-lib.el
lisp/emacs-lisp/cl-macs.el
lisp/faces.el
lisp/ibuf-ext.el
lisp/progmodes/f90.el
src/ChangeLog
src/editfns.c
src/ftfont.c
src/window.c
src/xfaces.c
src/xftfont.c

@@@ -1,4 -1,17 +1,17 @@@
 -2011-02-04  Glenn Morris  <rgm@gnu.org>
+ 2011-02-05  Chong Yidong  <cyd@stupidchicken.com>
+       * rmail.texi (Rmail Display): Document Rmail MIME support more
+       accurately.
+       * maintaining.texi (VC Change Log): Document vc-log-incoming and
+       vc-log-outgoing.
+       (Merging): Document vc-find-conflicted-file.
 -2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
++2011-02-05  Glenn Morris  <rgm@gnu.org>
+       * custom.texi (Variables): Fix typo.
 +2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
  
        * search.texi (Regexps): Copyedits.  Mention character classes
        (Bug#7809).
Simple merge
Simple merge
Simple merge
@@@ -1,13 -1,8 +1,18 @@@
+ 2011-02-05  Chong Yidong  <cyd@stupidchicken.com>
+       * commands.texi (Accessing Mouse): Note that a header line is not
+       included in the row of posn-col-row.
 +2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * modes.texi (Major Mode Conventions): Add face guidelines.
 +      (Faces for Font Lock): List faces in order of prominence.
 +
 +2011-02-01  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      format-time-string now supports subsecond time stamp resolution
 +      * os.texi (Time Parsing): Document %N.
 +
  2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
  
        * vol1.texi (Top):
Simple merge
diff --cc etc/NEWS.23
Simple merge
diff --cc lisp/ChangeLog
 -2011-02-04  Glenn Morris  <rgm@gnu.org>
 -
+ 2011-02-05  Glenn Morris  <rgm@gnu.org>
+       * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
 -2011-02-03  Glenn Morris  <rgm@gnu.org>
 -
+       * calendar/diary-lib.el (diary-font-lock-keywords):
+       Tweak diary-time-regexp match.  (Bug#7891)
+       * progmodes/f90.el (f90-find-tag-default): New function.  (Bug#7919)
+       (f90-mode): Use it for mode's `find-tag-default-function' property.
 -2011-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)
+       * faces.el (set-face-attribute): Doc fix.  (Bug#2659)
 +2011-02-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
  
 -      * pcomplete.el (pcomplete-here*): Backport fix for mistaken change
 -      (bug#7959) and (bug#5935).
 +      * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
 +      (Bug#6386).
  
 -2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
 +2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
  
 -      * net/rcirc.el: Clean log filenames (Bug#7933).
 -      (rcirc-log-write): Use convert-standard-filename.
 -      (rcirc-log-filename-function): Documentation updates.
 +      * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
 +      font-lock-syntax-table remappings.
 +      (sh-here-doc-markers, sh-here-doc-re): Remove.
 +      (sh-font-lock-close-heredoc): Remove.
 +      (sh-syntax-propertize-here-doc): New function.
 +      (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
 +      instead of the sh-here-doc-re.
 +      (sh-font-lock-paren): Don't do anything in comments or strings.
 +      Handle line continuations.  Accept a few more chars.
 +      Don't rely on the font-lock-syntax-table remappings.
 +      `esac' is not a valid pattern.
 +      (sh-syntax-propertize-function): Handle here-docs differently, so we
 +      don't bother syntax-propertizing the insides.
 +
 +      * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
 +      Handle new bashisms ";&" and ";;&" (bug#7947).
 +
 +2011-02-05  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
 +      Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
 +
 +2011-02-05  Era Eriksson  <era+tramp@iki.fi>  (tiny change)
 +
 +      * net/tramp.el (tramp-postfix-method-format)
 +      (tramp-postfix-method-regexp, tramp-prefix-domain-format)
 +      (tramp-prefix-domain-regexp, tramp-postfix-user-format)
 +      (tramp-postfix-user-regexp, tramp-prefix-port-format)
 +      (tramp-prefix-port-regexp, tramp-postfix-host-format)
 +      (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
 +      Doc fix.
 +
 +2011-02-04  Sam Steingold  <sds@gnu.org>
 +
 +      * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
 +
 +2011-02-04  Andreas Schwab  <schwab@linux-m68k.org>
 +
 +      * international/mule-util.el (with-coding-priority): Doc fix.
 +
 +2011-02-04  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * arc-mode.el (archive-mode-map): Fix a typo in last change.
 +
 +2011-02-03  Sam Steingold  <sds@gnu.org>
 +
 +      * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
 +      Do not error out when `func' is nil.
 +
 +2011-02-03  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * net/tramp-sh.el (tramp-remote-path): Add default settings for
 +      `tramp-default-remote-path' to the docstring.
 +      (tramp-get-remote-path): Suppress error message when `getconf
 +      PATH' fails.
 +
 +      * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
 +
 +2011-02-03  Glenn Morris  <rgm@gnu.org>
 +
 +      * vc/vc-hg.el (vc-hg-command): Doc fix.
 +
 +      * term/w32-win.el (libpng-version): Declare for compiler.
 +
 +      * msb.el: No need to load dired while compiling.
 +
 +      * emacs-lisp/elint.el (elint-standard-variables):
 +      Remove a couple of built-ins that now have doc-strings.
 +
 +      * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
 +      `require' is automatically `eval-and-compile'd.
 +
 +      * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
 +      (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
 +
 +      * strokes.el (strokes-fill-current-buffer-with-whitespace):
 +      Move definition before use.
 +      (strokes-report-bug): Make it obsolete.
 +
 +2011-02-02  Sam Steingold  <sds@gnu.org>
 +
 +      * apropos.el (apropos-print): Now that `apropos-mode' inherits
 +      from `special-mode', entering it makes the buffer read-only, so
 +      call it only when everything has been already inserted.
 +      * emacs-lisp/ert.el (ert--setup-results-buffer)
 +      (ert-results-pop-to-backtrace-for-test-at-point)
 +      (ert-results-pop-to-messages-for-test-at-point)
 +      (ert-results-pop-to-timings): Ditto.
 +      * emacs-lisp/package.el (package--list-packages): Ditto.
 +      * play/solitaire.el (solitaire): Ditto.
 +
 +2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * progmodes/compile.el: Make all faces inherit.
 +      (compilation-warning): Inherit from font-lock-variable-name-face.
 +      (compilation-info): Inherit from font-lock-type-face.
 +      (compilation-line-number): Reassign to font-lock-keyword-face.
 +      (compilation-column-number): Reassign to font-lock-doc-face.
 +      (compilation-leave-directory-face): Reassign to
 +      font-lock-builtin-face.
 +
 +2011-02-02  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * dired.el (dired-insert-directory): Don't invoke `ls' when
 +      ls-lisp.el is used to emulate it.
 +
 +2011-02-01  Julien Danjou  <julien@danjou.info>
 +
 +      * color.el (color-gradient): Add a color-gradient function.
 +
 +2011-02-01  Sam Steingold  <sds@gnu.org>
 +
 +      * simple.el (special-mode-map): Bind "h" to `describe-mode';
 +      bind "z" to `kill-this-buffer'.
 +      (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
 +      * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
 +      (apropos-mode): Inherit from `special-mode'.
 +      * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
 +      * bookmark.el (bookmark-bmenu-mode): Define using
 +      `define-derived-mode' inheriting from `special-mode'.
 +      * dired.el (dired-mode-map): Inherit from `special-mode-map'.
 +      * image-mode.el (image-mode-map): Ditto.
 +      * replace.el (occur-mode): Define using
 +      `define-derived-mode' inheriting from `special-mode'.
 +      * tar-mode.el (tar-mode): Inherit from `special-mode'.
 +      * calendar/diary-lib.el (diary-fancy-display-mode):
 +      Inherit from `special-mode-map'.
 +      * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
 +      Inherit from `special-mode'.
 +      * emacs-lisp/package.el (package-menu-mode-map): Copy from
 +      `special-mode-map'.
 +      (package-menu-mode): Define using `define-derived-mode'
 +      inheriting from `special-mode'.
 +      * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
 +      * net/xesam.el (xesam-mode): Inherit from `special-mode'.
 +      (xesam-mode-map): Define separately.
 +      * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
 +      * progmodes/compile.el (compilation-minor-mode-map)
 +      (compilation-mode-map): Inherit from `special-mode-map'.
 +      * vc/diff-mode.el (diff-mode-shared-map):
 +      Inherit from `special-mode-map'.
 +      * vc/log-view.el (log-view-mode-map): Add a comment.
 +
 +2011-02-01  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * custom.el (load-theme): Define return value.  Drop use of
 +      unsafep; call custom-theme-load-confirm for non-known-safe themes.
 +      (custom-theme-load-confirm): Scroll in the correct window.
 +      (custom-enabled-themes): Add custom-safe-themes to :set-after.
 +
 +      * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
 +      checkbox if load-theme fails.
 +
 +2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * progmodes/compile.el (compilation-next-error): Check there's
 +      a message before using it (bug#7941).
 +
 +2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
 +
 +      * calc/calc-mtx.el (math-lud-pivot-check): New function.
 +      (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
 +      of potential pivots.
  
  2011-01-31  Alan Mackenzie  <acm@muc.de>
  
Simple merge
Simple merge
diff --cc lisp/faces.el
Simple merge
Simple merge
Simple merge
diff --cc src/ChangeLog
 -2011-02-03  Glenn Morris  <rgm@gnu.org>
++2011-02-05  Glenn Morris  <rgm@gnu.org>
+       * xfaces.c (Finternal_set_lisp_face_attribute):
+       Try to clarify some error messages.  (Bug#2659)
 -2011-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
++2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
+       * editfns.c (save_restriction_restore): Don't forget to invalidate the
+       current_column cache (bug#7946).
 -2011-02-02  Kenichi Handa  <handa@m17n.org>
++2011-02-05  Kenichi Handa  <handa@m17n.org>
+       * ftfont.c (ftfont_open): Use FC_DUAL only when it is defined.
+       * xftfont.c (xftfont_open): Likewise.
 -2011-02-01  Andreas Schwab  <schwab@linux-m68k.org>
++2011-02-05  Andreas Schwab  <schwab@linux-m68k.org>
+       * window.c (Fselect_window): Add missing return value.
 -2011-01-29  Andreas Schwab  <schwab@linux-m68k.org>
 +2011-02-05  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      xstrcasecmp: conform to C89 pointer rules
 +      * xfaces.c (xstrcasecmp): Change args from const unsigned char *
 +      to const char *, since they're usually low-level C strings, and
 +      this stays compatible with C89 pointer rules.  All callers changed.
 +
 +      * charset.c: conform to C89 pointer rules
 +      (define_charset_internal): Switch between char * and unsigned char *.
 +
 +      * xmenu.c: conform to C89 const rules
 +      (xmenu_show, xdialog_show): Declare local var as char *, not
 +      const char *, to stay compatible with C89 const rules.
 +
 +      * xdisp.c: conform to C89 pointer rules
 +      (store_mode_line_noprop, display_string, reseat_to_string):
 +      (c_string_pos, number_of_chars, message_dolog):
 +      (message_log_check_duplicate, set_message_1, store_mode_line_noprop):
 +      (display_mode_element, display_string):
 +      Switch between char * and unsigned char * to stay compatible wth
 +      C89 pointer rules.
 +
 +      * regex.c: conform to C89 pointer rules
 +      (re_wctype): Add cast, as C89 does not allow assigning between
 +      char * and unsigned char *.
 +      (regex_compile): Likewise.
 +
 +      sync from gnulib to remove HAVE_STDBOOL_H
 +      * config.in: Regenerate.
 +
 +2011-02-04  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * makefile.w32-in (LISP_H, PROCESS_H): New variables.
 +      Replace all uses of lisp.h with $(LISP_H), and all uses of
 +      process.h with $(PROCESS_H).
 +      ($(BLD)/editfns.$(O)): Depend on ../lib/strftime.h.
 +      ($(BLD)/print.$(O)): Depend on ../lib/ftoastr.h and ../lib/intprops.h.
 +
 +      * deps.mk: Update for recent changes: gnutls support, gnulib
 +      imports, addition of globals.h.
 +
 +      * makefile.w32-in ($(BLD)/sysdep.$(O)): Depend on
 +      ../lib/ignore-value.h.
 +
 +2011-02-03  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      allow C code to suppress warnings about ignored return values
 +
 +      We need to go through the code and for each such warning, either
 +      fix the code to pay attention to the returned value, or tell GCC
 +      that we really do want to ignore the returned value.  Here is one
 +      example of how to do the latter.
 +      * sysdep.c: Include <ignore-value.h>.
 +      (sys_subshell): Suppress an undesirable warning about not checking
 +      the returned value of 'write', as there's nothing useful one can
 +      do with that returned value.
 +
 +2011-02-03  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * xterm.c (x_connection_closed): Remove all calls that calls
 +      XSync (Bug#7949).
 +
 +2011-02-01  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * image.c (tiff_load): Avoid compiler warning in 2nd arg to
 +      TIFFClientOpen.
 +
 +2011-02-01  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * xsmfns.c (ice_connection_closed): Call delete_read_fd.
 +      (x_session_check_input): Change args and return type so it can be used
 +      as argument to add_read_fd.  Make static.  Remove call to select.
 +      Call kbd_buffer_store_event for emacs_event.
 +      (smc_save_yourself_CB): Also store initial argv to SmRestartCommand.
 +      (ice_conn_watch_CB): Call add_read_fd.
 +
 +      * xterm.c (XTread_socket): Remove HAVE_X_SM block with call to
 +      x_session_check_input.
 +      (x_session_initialized): Remove definition.
 +      (x_initialize): Remove setting of x_session_initialized.
 +
 +      * xterm.h (x_session_check_input): Remove declaration.
 +
 +2011-02-01  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      format-time-string now supports subsecond time stamp resolution
 +      * editfns.c (emacs_nmemftime): Renamed from emacs_memftimeu,
 +      for consistency with its new argument and with gnulib nstrftime.
 +      All callers changed.  New argument NS.
 +      (Fformat_time_string): Check that the time argument's microseconds
 +      component, if any, is in range; this avoids integer overflow and
 +      also nstrftime needs this.  Document %N.
 +
 +2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
  
        * image.c (DEF_IMGLIB_FN): Add parameter rettype, use it instead
        of int.  All uses adjusted.
diff --cc src/editfns.c
Simple merge
diff --cc src/ftfont.c
Simple merge
diff --cc src/window.c
@@@ -3587,9 -3679,10 +3587,9 @@@ make this window the most recently sele
  
  Note that the main editor command loop selects the buffer of the
  selected window before each command.  */)
 -     (window, norecord)
 -     register Lisp_Object window, norecord;
 +     (register Lisp_Object window, Lisp_Object norecord)
  {
-   select_window (window, norecord, 0);
+   return select_window (window, norecord, 0);
  }
  
  static Lisp_Object
diff --cc src/xfaces.c
Simple merge
diff --cc src/xftfont.c
Simple merge