* lisp/subr.el (add-to-list): Fix compiler-macro when `append' is
[bpt/emacs.git] / lisp / ChangeLog
index 6dcbb90..38c79fc 100644 (file)
@@ -1,3 +1,170 @@
+2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * subr.el (add-to-list): Fix compiler-macro when `append' is
+       not constant.  Don't use `cl-member' for the base case.
+
+       * progmodes/subword.el: Fix boundary case (bug#13758).
+       (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
+       own group.
+       (subword-backward-regexp): Make it a constant.
+       (subword-forward-internal): Don't treat a trailing capital as the
+       beginning of a word.
+
+2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
+
+       * emacs-lisp/package.el (package-menu-mode): Don't modify the
+       global value of tabulated-list-revert-hook (bug#14930).
+
+2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
+
+       * desktop.el: Require 'cl-lib.
+       (desktop-before-saving-frames-functions): New hook.
+       (desktop--process-minibuffer-frames): Set desktop-mini parameter only
+       for frames being saved.  Rename from desktop--save-minibuffer-frames.
+       (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
+       Do not save frames with non-nil `desktop-dont-save' parameter.
+       Filter out deleted frames.
+       (desktop--find-frame): Use cl-find-if.
+       (desktop--select-frame): Use cl-(first|second|third) to access values
+       of desktop-mini.
+       (desktop--make-frame): Use cl-delete-if.
+       (desktop--sort-states): Fix sorting of minibuffer-owning frames.
+       (desktop-restore-frames): Use cl-(first|second|third) to access values
+       of desktop-mini.  Look for visible frame at the end, not while
+       restoring frames.
+
+       * dired-x.el (dired-mark-unmarked-files, dired-virtual)
+       (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
+       Use string-match-p, looking-at-p (bug#14927).
+
+2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
+
+       * desktop.el (desktop-saved-frame-states):
+       Rename from desktop--saved-states; all users changed.
+       (desktop-save-frames): Rename from desktop--save-frames.
+       Do not save state to desktop file.
+       (desktop-save): Save desktop-saved-frame-states to desktop file
+       and reset to nil.
+       (desktop-restoring-frames-p): New function.
+       (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
+       (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
+       buffer-lists when restoring frames.  Suggested by Martin Rudalics.
+
+       * desktop.el: Correctly restore iconified frames.
+       (desktop--filter-iconified-position): New function.
+       (desktop-filter-parameters-alist): Add entries for `top' and `left'.
+
+2013-07-20  Glenn Morris  <rgm@gnu.org>
+
+       * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
+       Let `message' do the formatting.
+       (def-gdb-preempt-display-buffer): Add explicit format.
+
+       * image-dired.el (image-dired-track-original-file):
+       Use with-current-buffer.
+       (image-dired-track-thumbnail): Use with-current-buffer.
+       Avoid changing point of wrong window.
+
+       * image-dired.el (image-dired-track-original-file):
+       Avoid changing point of wrong window.  (Bug#14909)
+
+2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
+
+       * progmodes/gdb-mi.el (gdb-done-or-error):
+       Guard against "%" in gdb output.  (Bug#14127)
+
+2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
+       (Bug#14826)
+
+       * international/mule.el (coding-system-iso-2022-flags): Fix last
+       change.
+
+2013-07-20  Kenichi Handa  <handa@gnu.org>
+
+       * international/mule.el (coding-system-iso-2022-flags):
+       Add `8-bit-level-4'.  (Bug#8522)
+
+2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/shr.el (shr-mouse-browse-url): New command and keystroke
+       (bug#14815).
+
+       * net/eww.el (eww-process-text-input): Allow inputting when the
+       point is at the start of the line, as the properties aren't
+       front-sticky.
+
+       * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
+       degenerate widths.
+
+2013-07-19  Richard Stallman  <rms@gnu.org>
+
+       * epa.el (epa-popup-info-window): Doc fix.
+
+       * subr.el (split-string): New arg TRIM.
+
+2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
+
+       * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
+       Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
+
+2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
+
+       * filenotify.el (file-notify--library): Rename from
+       `file-notify-support'.  Do not autoload.  Adapt all uses.
+       (file-notify-supported-p): New defun.
+
+       * autorevert.el (auto-revert-use-notify):
+       Use `file-notify-supported-p' instead of `file-notify-support'.
+       Adapt docstring.
+       (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
+
+       * net/tramp.el (tramp-file-name-for-operation):
+       Add `file-notify-supported-p'.
+
+       * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
+       New defun.
+       (tramp-sh-file-name-handler-alist): Add it as handler for
+       `file-notify-supported-p '.
+
+       * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
+       * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
+       * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
+       Add `ignore' as handler for `file-notify-*' functions.
+
+2013-07-17  Eli Zaretskii  <eliz@gnu.org>
+
+       * simple.el (line-move-partial, line-move): Don't start vscroll or
+       scroll-up if the current line is not taller than the window.
+       (Bug#14881)
+
+2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
+       highlight question marks in the method names as strings.
+       (ruby-block-beg-keywords): Inline.
+       (ruby-font-lock-keyword-beg-re): Extract from
+       `ruby-font-lock-keywords'.
+
+2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * frame.el (blink-cursor-blinks): New defcustom.
+       (blink-cursor-blinks-done): New defvar.
+       (blink-cursor-start): Set blink-cursor-blinks-done to 1.
+       (blink-cursor-timer-function): Check if number of blinks has been
+       done on X and NS.
+       (blink-cursor-suspend, blink-cursor-check): New defuns.
+
+2013-07-15  Glenn Morris  <rgm@gnu.org>
+
+       * edmacro.el (edmacro-format-keys): Fix previous change.
+
+2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
+       The hack didn't work outside English locales anyway.
+
 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
 
        * simple.el (define-alternatives): Rename from alternatives-define,
 
 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
 
-       * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
-       conversion methods on Kernel.
+       * progmodes/ruby-mode.el (ruby-font-lock-keywords):
+       Highlight conversion methods on Kernel.
 
 2013-07-13  Alan Mackenzie  <acm@muc.de>
 
 
        * net/tramp.el (tramp-current-connection): New defvar, moved from
        tramp-sh.el.
-       (tramp-message-show-progress-reporter-message): Removed, not
+       (tramp-message-show-progress-reporter-message): Remove, not
        needed anymore.
-       (tramp-error-with-buffer): Show message in minibuffer.  Discard
-       input before waiting.  Reset connection timestamp.
+       (tramp-error-with-buffer): Show message in minibuffer.
+       Discard input before waiting.  Reset connection timestamp.
        (with-tramp-progress-reporter): Improve messages.
        (tramp-process-actions): Use progress reporter.  Delete process in
        case of error.  Improve messages.
 
-       * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use
-       condition-case.  Call `tramp-error-with-buffer' with vector and buffer.
-       (tramp-current-connection): Removed.
+       * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
+       Call `tramp-error-with-buffer' with vector and buffer.
+       (tramp-current-connection): Remove.
        (tramp-maybe-open-connection): The car of
        `tramp-current-connection' are the first 3 slots of the vector.
 
        (prolog-char-quote-workaround):
        * progmodes/cperl-mode.el (cperl-under-as-char):
        * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
-        Mark as obsolete.
-        (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
+       Mark as obsolete.
+       (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
        their declaration.
        (vhdl-mode-syntax-table-init): Remove.