Merge from emacs-23; up to 2012-01-19T07:15:48Z!rgm@gnu.org.
[bpt/emacs.git] / lisp / ChangeLog
index 6497182..0fea6a4 100644 (file)
@@ -1,3 +1,92 @@
+2012-01-18  Alan Mackenzie  <acm@muc.de>
+
+       Eliminate sluggishness and hangs in fontification of "semicolon
+       deserts".
+
+       * progmodes/cc-engine.el (c-state-nonlit-pos-interval): change
+       value 10000 -> 3000.
+       (c-state-safe-place): Reformulate so it doesn't stack up an
+       infinite number of wrong entries in c-state-nonlit-pos-cache.
+       (c-determine-limit-get-base, c-determine-limit): New functions to
+       determine backward search limits disregarding literals.
+       (c-find-decl-spots): Amend commenting.
+       (c-cheap-inside-bracelist-p): New function which detects "={".
+
+       * progmodes/cc-fonts.el
+       (c-make-font-lock-BO-decl-search-function): Give a limit to a
+       backward search.
+       (c-font-lock-declarations): Fix an occurrence of point being
+       undefined.  Check additionally for point being in a bracelist or
+       near a macro invocation without a semicolon so as to avoid a
+       fruitless time consuming search for a declarator.  Give a more
+       precise search limit for declarators using the new
+       c-determine-limit.
+
+2012-01-18  Glenn Morris  <rgm@gnu.org>
+
+       * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
+       (set-auto-mode): Doc fixes.
+
+2012-01-17  Glenn Morris  <rgm@gnu.org>
+
+       * isearch.el (search-nonincremental-instead): Fix doc typo.
+
+       * dired.el (dired-insert-directory): Handle newlines in directory name.
+       (dired-build-subdir-alist): Unescape newlines in directory name.
+
+2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-local-end-of-line): New defcustom.
+       (tramp-action-login, tramp-action-yesno, tramp-action-yn)
+       (tramp-action-terminal): Use it.  (Bug#10530)
+
+2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (completion--replace): Strip properties (bug#10062).
+
+2012-01-16  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (window-state-ignored-parameters): Remove variable.
+       (window--state-get-1): Rename argument MARKERS to IGNORE.
+       Handle persistent window parameters.  Make copy of clone-of
+       parameter only if requested.  (Bug#10348)
+       (window--state-put-2): Install a window parameter only if it has
+       a non-nil value or an existing parameter shall be overwritten.
+
+2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
+
+2012-01-14  Eli Zaretskii  <eliz@gnu.org>
+
+       * info.el (Info-toc-build): If the Info file has no "Up" pointer,
+       don't pass the (nil) value of `upnode' to string-match.
+
+2012-01-14  Chong Yidong  <cyd@gnu.org>
+
+       * startup.el (command-line): Fix X resource class for cursorColor.
+       Fix values recognized by the cursorBlink resource.
+
+2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * epg.el (epg--make-temp-file): Avoid permission race condition
+       when running on old Emacs versions (bug#10403).
+
+2012-01-14  Glenn Morris  <rgm@gnu.org>
+
+       * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
+
+2012-01-13  Alan Mackenzie  <acm@muc.de>
+
+       Fix filling for when filladapt mode is enabled.
+
+       * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
+       c-mask-paragraph, pass in `fill-paragraph' rather than
+       `fill-region-as-paragraph'.  (This is a reversion of a previous
+       change.)
+       * progmodes/cc-mode.el (c-basic-common-init): Make
+       fill-paragraph-handle-comment buffer local and set it to nil.
+
 2012-01-13  Glenn Morris  <rgm@gnu.org>
 
        * dired.el (dired-switches-escape-p): New function.
 2012-01-13  Glenn Morris  <rgm@gnu.org>
 
        * dired.el (dired-switches-escape-p): New function.
 
        Fix Emacs bug #10463 - put `widen's around the critical spots.
 
 
        Fix Emacs bug #10463 - put `widen's around the critical spots.
 
-        * progmodes/cc-engine.el (c-in-literal, c-literal-limits): put a
+       * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
        widen around each invocation of c-state-pp-to-literal.  Remove an
        unused let variable.
 
        widen around each invocation of c-state-pp-to-literal.  Remove an
        unused let variable.
 
 
 2012-01-10  Chong Yidong  <cyd@gnu.org>
 
 
 2012-01-10  Chong Yidong  <cyd@gnu.org>
 
-       * net/network-stream.el (network-stream-open-starttls): Avoid
-       emitting a confusing error message when the server gives a bad
+       * net/network-stream.el (network-stream-open-starttls):
+       Avoid emitting a confusing error message when the server gives a bad
        response to the capability command.
 
 2012-01-10  Glenn Morris  <rgm@gnu.org>
        response to the capability command.
 
 2012-01-10  Glenn Morris  <rgm@gnu.org>
 
        * custom.el (enable-theme): Don't set custom-safe-themes.
 
 
        * custom.el (enable-theme): Don't set custom-safe-themes.
 
-       * cus-theme.el (custom-theme-merge-theme): Ignore
-       custom-enabled-themes and custom-safe-themes.
+       * cus-theme.el (custom-theme-merge-theme):
+       Ignore custom-enabled-themes and custom-safe-themes.
 
 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
 
 
 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
 
 
 2012-01-03  Chong Yidong  <cyd@gnu.org>
 
 
 2012-01-03  Chong Yidong  <cyd@gnu.org>
 
-       * shell.el (shell-dynamic-complete-functions): Put
-       pcomplete-completions-at-point, so as to try
+       * shell.el (shell-dynamic-complete-functions):
+       Put pcomplete-completions-at-point, so as to try
        comint-filename-completion first (Bug#10417).
 
 2012-01-02  Richard Stallman  <rms@gnu.org>
        comint-filename-completion first (Bug#10417).
 
 2012-01-02  Richard Stallman  <rms@gnu.org>
 
 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
 
 
 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
 
-       * term/w32-win.el (dynamic-library-alist) <gnutls>: Load
-       libgnutls-28.dll, from GnuTLS version 3.x, in preference to
+       * term/w32-win.el (dynamic-library-alist) <gnutls>:
+       Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
        libgnutls-26.dll.
 
 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
        libgnutls-26.dll.
 
 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
 2011-12-24  Alan Mackenzie  <acm@muc.de>
 
        Introduce a mechanism to widen the region used in context font
 2011-12-24  Alan Mackenzie  <acm@muc.de>
 
        Introduce a mechanism to widen the region used in context font
-       locking.  Use this to protect declarations from losing their
-       contexts.
+       locking.  Use this to protect declarations from losing their contexts.
 
 
-       * progmodes/cc-langs.el (c-before-font-lock-functions): Replace
-       c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
+       * progmodes/cc-langs.el (c-before-font-lock-functions):
+       Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
        (c-before-context-fontification-functions): New defvar, a list of
        functions to be run just before context (etc.) font locking.
 
        (c-before-context-fontification-functions): New defvar, a list of
        functions to be run just before context (etc.) font locking.
 
 
        * progmodes/cc-langs (c-label-kwds): Let AWK take the same
        expression as the rest.
 
        * progmodes/cc-langs (c-label-kwds): Let AWK take the same
        expression as the rest.
-       (c-nonlabel-token-key): Allow string literals for AWK.  Refactor
-       for the other modes.
+       (c-nonlabel-token-key): Allow string literals for AWK.
+       Refactor for the other modes.
 
        Large brace-block initialisation makes CC Mode slow: Fix.
 
        Large brace-block initialisation makes CC Mode slow: Fix.
-       Tidy up and accelerate c-in-literal, etc. by using the
-       c-parse-state
+       Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
        routines.  Limit backward searching in c-font-lock-enclosing.decl.
 
        * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
        pp-state and literal type in addition to the limits.
        routines.  Limit backward searching in c-font-lock-enclosing.decl.
 
        * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
        pp-state and literal type in addition to the limits.
-       (c-state-safe-place): New defun, extracted from
-       c-state-literal-at.
+       (c-state-safe-place): New defun, extracted from c-state-literal-at.
        (c-state-literal-at): Use the above new defun.
        (c-state-literal-at): Use the above new defun.
-       (c-slow-in-literal, c-fast-in-literal): Removed.
-       (c-in-literal, c-literal-limits): Amended to use
-       c-state-pp-to-literal.
+       (c-slow-in-literal, c-fast-in-literal): Remove.
+       (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
 
        * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
        being in a literal.  Add a limit for backward searching.
 
        * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
        being in a literal.  Add a limit for backward searching.
 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
 
        * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
 
        * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
-       `from' or `to' address before taking its substring.  Fixes
-       incorrect display in Rmail summary buffer whereby an RFC2047
+       `from' or `to' address before taking its substring.
+       Fixes incorrect display in Rmail summary buffer whereby an RFC2047
        encoded name is chopped in the middle of the encoded string, and
        thus displayed encoded.
 
        encoded name is chopped in the middle of the encoded string, and
        thus displayed encoded.
 
        (verilog-uvm-statement-re): Support UVM indentation and
        highlighting, with old OVM keywords only.
        (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
        (verilog-uvm-statement-re): Support UVM indentation and
        highlighting, with old OVM keywords only.
        (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
-       Support AUTOTIEOFF creating non-wire data types.  Suggested by Jonathan
-       Greenlaw.
+       Support AUTOTIEOFF creating non-wire data types.
+       Suggested by Jonathan Greenlaw.
        (verilog-auto-insert-lisp, verilog-delete-to-paren)
        (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
        (verilog-inject-sense, verilog-read-inst-pins)
        (verilog-auto-insert-lisp, verilog-delete-to-paren)
        (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
        (verilog-inject-sense, verilog-read-inst-pins)
        Andrew Drake.
        (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
        (verilog-inst-comment-re): Fix not deleting Interfaced comment
        Andrew Drake.
        (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
        (verilog-inst-comment-re): Fix not deleting Interfaced comment
-       when expanding .* in interfaces, bug320.  Reported by Pierre-David
-       Pfister.
+       when expanding .* in interfaces, bug320.
+       Reported by Pierre-David Pfister.
        (verilog-read-module-name): Fix import statements between module
        (verilog-read-module-name): Fix import statements between module
-       name and open parenthesis, bug317.  Reported by Pierre-David
-       Pfister.
+       name and open parenthesis, bug317.
+       Reported by Pierre-David Pfister.
        (verilog-simplify-range-expression): Fix simplification of
        multiplications inside AUTOWIRE connections, bug303.
        (verilog-auto-inst-port): Support parameter expansion in
        (verilog-simplify-range-expression): Fix simplification of
        multiplications inside AUTOWIRE connections, bug303.
        (verilog-auto-inst-port): Support parameter expansion in
 
 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
 
 
 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
 
-       * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
-       bash.
+       * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
 
 2011-11-19  Juri Linkov  <juri@jurta.org>
 
 
 2011-11-19  Juri Linkov  <juri@jurta.org>
 
 
        * window.el (window-resize, delete-window, split-window):
        Replace window-splits by window-combination-resize.
 
        * window.el (window-resize, delete-window, split-window):
        Replace window-splits by window-combination-resize.
-       * cus-start.el (window-splits): Replace by
-       window-combination-resize.
+       * cus-start.el (window-splits): Replace by window-combination-resize.
 
 2011-11-17  Glenn Morris  <rgm@gnu.org>
 
 
 2011-11-17  Glenn Morris  <rgm@gnu.org>
 
        * window.el (split-window, window-state-get-1)
        (window-state-put-1, window-state-put-2): Rename occurrences of
        window-nest to window-combination-limit.
        * window.el (split-window, window-state-get-1)
        (window-state-put-1, window-state-put-2): Rename occurrences of
        window-nest to window-combination-limit.
-       * cus-start.el (window-nest): Rename to
-       window-combination-limit.
+       * cus-start.el (window-nest): Rename to window-combination-limit.
 
 2011-11-16  Chong Yidong  <cyd@gnu.org>
 
 
 2011-11-16  Chong Yidong  <cyd@gnu.org>