Fix handling of persistent window parameters.
[bpt/emacs.git] / lisp / ChangeLog
index d0ab5d2..8fa8031 100644 (file)
+2012-01-19  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (window--state-get-1, window-state-get): Do not use
+       special state value for window-persistent-parameters.  Rename
+       argument IGNORE to WRITABLE.  Rewrite doc-string.
+       (window--state-put-2): Reset all window parameters to nil before
+       assigning values of persistent parameters.
+
+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.
+       (dired-insert-directory): Use dired-switches-escape-p.
+       (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
+
+       * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
+
+2012-01-12  Glenn Morris  <rgm@gnu.org>
+
+       * mail/sendmail.el (mail-mode): Update paragraph-separate for
+       changes in adaptive-fill-regexp.  (Bug#10276)
+
+2012-01-11  Alan Mackenzie  <acm@muc.de>
+
+       Fix Emacs bug #10463 - put `widen's around the critical spots.
+
+       * 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.
+
+2012-01-11  Glenn Morris  <rgm@gnu.org>
+
+       * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
+       Doc fix.
+
+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
+       response to the capability command.
+
+2012-01-10  Glenn Morris  <rgm@gnu.org>
+
+       * mail/unrmail.el (unrmail): Tweak previous change.
+
+2012-01-09  Chong Yidong  <cyd@gnu.org>
+
+       * custom.el (custom-safe-themes): Use SHA-256 for hashing.
+
+2012-01-08  Alan Mackenzie  <acm@muc.de>
+
+       Optimise font locking in long enum definitions.
+
+       * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
+       arm to a cond form to handle enums.
+       * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
+       * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
+
+2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * files.el (move-file-to-trash): Preserve default file modes on error.
+       (Bug#10401)
+
 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * faces.el (set-face-attribute): Clarify the meaning of the nil
+       frame (bug#10294).
+
        * subr.el (with-selected-frame): Mention that the selected frame
        is restored (bug#9980).
 
        * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
        (bug#9759).
 
-       * mail/smtpmail.el (password-cache-add): Removed unused declaration.
+       * mail/smtpmail.el (password-cache-add): Remove unused declaration.
        (password-read): Don't autoload unused function.
 
 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
 
        * 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-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>
 
 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>
 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.
 
 
        * 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.
-       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.
-       (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-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.
 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.
 
        (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)
        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
-       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
 
 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>
 
 
        * 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>
 
        * 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>
 
        (window-list-no-nils): Remove.
        (window-state-get-1, window-state-get): Use backquote instead.
 
-2011-11-08  thierry  <thierry.volpiatto@gmail.com>
+2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
 
        * emacs-lisp/find-func.el (find-function-read):
        Fix incorrect use of default argument in `completing-read'.
 
        * printing.el: Add documentation to all the `pr-toggle-' commands.
 
-2011-07-11  Leo  <sdl.web@gmail.com>  (tiny change)
+2011-07-11  Leo Liu  <sdl.web@gmail.com>
 
        * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
        backends where it makes sense (bug#2623).
 2011-05-23  Kevin Ryde  <user42@zip.com.au>
 
        * emacs-lisp/advice.el (ad-read-advised-function):
-       Use `function-called-at-point' as the default default, if it has
+       Use `function-called-at-point' as the default, if it has
        advice and passes PREDICATE.
 
 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
        * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
        verify-error, and verify-hostname-error parameters.  Check whether
        default trustfile exists before going to use it.  Add missing
-       argument to gnutls-message-maybe call.  Return return value.
+       argument to gnutls-message-maybe call.  Return value.
        Reported by Claudio Bley <claudio.bley@gmail.com>.
        (open-gnutls-stream): Add usage example.
 
        * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
        units and musical notes.
 
-2011-03-20  Leo  <sdl.web@gmail.com>
+2011-03-20  Leo Liu  <sdl.web@gmail.com>
 
        * ido.el (ido-read-internal): Use completing-read-default.
        (ido-completing-read): Fix compatibility with completing-read.