apropos.el (apropos-words-to-regexp): Fix algorithm.
[bpt/emacs.git] / lisp / ChangeLog
index 2b1b2fe..fa79352 100644 (file)
@@ -1,5 +1,390 @@
+2013-12-18  Shigeru Fukaya <shigeru.fukaya@gmail.com>
+
+       * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
+
+2013-12-18  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
+       * cus-start.el (load-prefer-newer): New option.
+
+2013-12-18  Le Wang  <l26wang@gmail.com>
+
+       * comint.el (comint-previous-matching-input-from-input): Retain
+       point (Bug#13404).
+
+2013-12-18  Chong Yidong  <cyd@gnu.org>
+
+       * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
+
+2013-12-18  Glenn Morris  <rgm@gnu.org>
+
+       * mail/emacsbug.el (report-emacs-bug):
+       Only mention enable-multibyte-characters if non-standard.
+
+2013-12-17  Juri Linkov  <juri@jurta.org>
+
+       * arc-mode.el (archive-extract-by-file): Check if directory exists
+       before deletion to not show irrelevant errors if it doesn't exist.
+
+2013-12-17  Juri Linkov  <juri@jurta.org>
+
+       * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
+       (Bug#14751)
+
+       * net/eww.el (browse-web): Add alias to `eww'.
+       (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
+       Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
+
+       * net/browse-url.el (browse-url-browser-function): Move `eww'
+       closer to similar functions.
+
+       * startup.el (fancy-startup-screen, fancy-about-screen):
+       Set browse-url-browser-function to eww-browse-url locally.
+       (Bug#14751)
+
+2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * window.el (window--pixel-to-total): Remove unused `mini' var.
+       (maximize-window, minimize-window): Remove unused `pixelwise' arg.
+       (split-window): Remove unused `new' var.
+       (window--display-buffer): Remove unused `frame' and `delta' vars.
+       (fit-window-to-buffer): Remove unused vars `frame', `display-height',
+       and display-width'.
+
+2013-12-17  Martin Rudalics  <rudalics@gmx.at>
+
+       * dired.el (dired-mark-pop-up):
+       * register.el (register-preview): Don't bind
+       split-height-threshold here since it's now done in
+       display-buffer-below-selected.
+
+2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
+
+       * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
+       xterm-rgb-convert-to-16bit.
+       (rxvt-register-default-colors): Standardize with
+       xterm-register-default-colors (Bug#14078).
+
+2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
+
+       * simple.el (kill-region): Pass mark first, then point, so that
+       kill-append works right (Bug#12819).
+       (copy-region-as-kill, kill-ring-save): Likewise.
+
+2013-12-17  Leo Liu  <sdl.web@gmail.com>
+
+       * net/rcirc.el (rcirc-add-face):
+       * eshell/em-prompt.el (eshell-emit-prompt):
+       * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
+       (Bug#16167)
+
+2013-12-17  Chong Yidong  <cyd@gnu.org>
+
+       * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
+       Suggested by Xue Fuqiao.
+
+2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
+
+2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * net/shr.el (shr-insert-document): Remove unused var
+       `shr-preliminary-table-render'.
+       (shr-rescale-image): Remove unused arg `force'.
+       (shr-put-image): Update calls accordingly.
+       (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
+
+2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
+       (smie-indent-close): Call `smie-indent--rule-1' with METHOD
+       :close-all, to see which indentation method to use (Bug#16116).
+       (smie-rules-function): Document the method :close-all.
+
+2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
+
+       * net/eww.el (eww-display-html): If we can't find the anchor we're
+       looking for, then go to point-min.
+
+2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix problems with CANNOT_DUMP and EMACSLOADPATH.
+       * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
+       * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
+       Expand dir too, in case it's relative.
+
+2013-12-16  Juri Linkov  <juri@jurta.org>
+
+       * desktop.el (desktop-auto-save-timeout): Change default to
+       `auto-save-timeout'.  Doc fix.
+       (desktop-save): Skip the timestamp in desktop-saved-frameset
+       when checking for auto-save changes.
+       (desktop-auto-save): Don't call desktop-auto-save-set-timer since
+       `desktop-auto-save' is called repeatedly by the idle timer.
+       (desktop-auto-save-set-timer): Replace `run-with-timer' with
+       `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
+       (Bug#15331)
+
+2013-12-16  Juri Linkov  <juri@jurta.org>
+
+       * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
+       (Bug#16035)
+       (isearch-pre-command-hook): Check `this-command' for symbolp.
+
+2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
+
+2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * progmodes/cfengine.el (cfengine3--current-word): Remove.
+       (cfengine3--current-function): Bring in the current-function
+       functionality from `cfengine3--current-word'.
+       (cfengine3-completion-function): Bring in the
+       bounds-of-current-word functionality from
+       `cfengine3--current-word'.
+
+2013-12-16  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (display-buffer-below-selected):
+       Bind split-height-threshold to 0 as suggested by Juri Linkov.
+
+2013-12-16  Leo Liu  <sdl.web@gmail.com>
+
+       * progmodes/compile.el (compile-goto-error): Do not push-mark.
+       Remove NOMSG arg and all uses changed.
+
+2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
+       (cua--deactivate-rectangle): Don't deactivate the mark.
+       (cua-set-rectangle-mark): Don't set mark-active since
+       cua--activate-rectangle already does it for us.
+       (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
+       non-rectangular region.
+
+       * emulation/cua-base.el (cua-repeat-replace-region):
+       Use with-current-buffer.
+
+       * net/gnutls.el: Use cl-lib.
+       (gnutls-negotiate): `mapcan' -> cl-mapcan.
+
+2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * emacs-lisp/package.el (package-built-in-p): Support both
+       built-in and the package.el converted package descriptions.
+       (package-show-package-list): Allow keywords.
+       (package-keyword-button-action): Use it instead of
+       `finder-list-matches'.
+       (package-menu-filter-interactive): Interactive filtering (by
+       keyword) function.
+       (package-menu--generate): Support keywords and change keymappings
+       and headers when they are given.
+       (package--has-keyword-p): Helper function.
+       (package-menu--refresh): Use it.
+       (package--mapc): Helper function.
+       (package-all-keywords): Use it.
+       (package-menu-mode-map): Set up menu items and keybindings to
+       provide a filtering UI.
+
+2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * net/gnutls.el (gnutls-verify-error): New defcustom to control
+       the behavior when a certificate fails validation.  Defaults to
+       old behavior: never abort, just warn.
+       (gnutls-negotiate): Use it.
+
+2013-12-14  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (display-buffer-below-selected): Never split window
+       horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
+
+2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
+
+       * emacs-lisp/package.el (package--prepare-dependencies): New function.
+       (package-buffer-info): Use it (bug#15108).
+
+       * icomplete.el (icomplete-completions): Make sure the prefix is already
+       displayed elsewhere before hiding it.
+
+2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
+       open-paren tokens when preceded by a open-paren, too.
+       (ruby-smie-rules): Handle virtual indentation after open-paren
+       tokens specially.  If there is code between it and eol, return the
+       column where is starts (Bug#16118).
+
+2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * progmodes/cfengine.el: Fix `add-hook' doc.
+       (cfengine-mode-syntax-functions-regex): Initialize sensibly.
+       (cfengine3--current-word): Fix parameters.
+       (cfengine3-make-syntax-cache): Simplify further.
+       (cfengine3-completion-function, cfengine3--current-function):
+       Use `assq' for symbols.
+       (cfengine3--current-function): Fix `cfengine3--current-word' call.
+
+2013-12-13  Glenn Morris  <rgm@gnu.org>
+
+       * loadup.el (load-path): Warn if site-load or site-init changes it.
+       No more need to reset it when bootstrapping.
+
+2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * progmodes/cfengine.el (cfengine-cf-promises): Add more default
+       locations for cf-promises.
+       (cfengine-mode-syntax-functions-regex): New caching variable.
+       (cfengine3-fallback-syntax): Fallback syntax for cases where
+       cf-promises doesn't run.
+       (cfengine3--current-word): Reimplement using
+       `cfengine-mode-syntax-functions-regex'.
+       (cfengine3-completion-function, cfengine3--current-function):
+       Use `cfengine3-make-syntax-cache' directly.
+       (cfengine3-clear-syntax-cache): New function.
+       (cfengine3-make-syntax-cache): Simplify and create
+       `cfengine-mode-syntax-functions-regex' on demand.
+       (cfengine3-format-function-docstring): Don't call
+       `cfengine3-make-syntax-cache' explicitly.
+
+2013-12-13  Martin Rudalics  <rudalics@gmx.at>
+
+       Fix windmove-find-other-window broken after pixelwise resizing
+       (Bug#16017).
+       * windmove.el (windmove-other-window-loc): Revert change from
+       2013-12-04.
+       (windmove-find-other-window): Call window-in-direction.
+       * window.el (window-in-direction): New arguments SIGN, WRAP and
+       MINI to emulate original windmove-find-other-window behavior.
+
+2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * simple.el (blink-matching--overlay): New variable.
+       (blink-matching-open): Instead of moving point, highlight the
+       matching paren with an overlay
+       (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
+
+       * faces.el (paren-showing-faces, show-paren-match)
+       (show-paren-mismatch): Move from paren.el.
+
+2013-12-13  Leo Liu  <sdl.web@gmail.com>
+
+       * indent.el (indent-region): Disable progress reporter in
+       minibuffer.  (Bug#16108)
+
+       * bindings.el (visual-order-cursor-movement): Fix version.
+
+2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
+
+       * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
+       Also match after beginning of line.
+       (python-pdbtrack-set-tracked-buffer): Fix logic for remote
+       files.  Thanks to Russell Sim. (Bug#15378)
+
+2013-12-13  Juri Linkov  <juri@jurta.org>
+
+       * simple.el <Keypad support>: Remove key bindings duplicated
+       with bindings.el.  (Bug#14397)
+
+2013-12-13  Juri Linkov  <juri@jurta.org>
+
+       * comint.el (comint-mode-map): Replace `delete-char' with
+       `delete-forward-char'.  (Bug#16109)
+
+2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
+
+       * progmodes/python.el (python-indent-calculate-indentation):
+       Fix de-denters cornercase. (Bug#15731)
+
+2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
+       (advice--make): Pay attention to `depth'.
+       (advice--make-1): Don't autoload commands eagerly.
+       * emacs-lisp/elp.el (elp-instrument-function):
+       * emacs-lisp/trace.el (trace-function-internal):
+       * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
+
+       * iswitchb.el (iswitchb-mode): Don't belittle ido.
+
+2013-12-12  Eli Zaretskii  <eliz@gnu.org>
+
+       * term/w32-win.el (w32-handle-dropped-file):
+       * startup.el (normal-top-level):
+       * net/browse-url.el (browse-url-file-url):
+       * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
+       decode file names using 'utf-8' rather than
+       file-name-coding-system.
+
+2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
+
+       * progmodes/python.el (python-indent-context)
+       (python-indent-calculate-indentation): Fix auto-identation
+       behavior for comment blocks. (Bug#15916)
+
+2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
+
+       * progmodes/python.el (python-indent-calculate-indentation):
+       When determining indentation, don't treat "return", "pass", etc., as
+       operators when they are just string constituents.  (Bug#15812)
+
+2013-12-12  Juri Linkov  <juri@jurta.org>
+
+       * uniquify.el (uniquify-buffer-name-style): Change default to
+       `post-forward-angle-brackets'.
+
+       * menu-bar.el (menu-bar-options-menu): Don't require preloaded
+       `uniquify'.  Change default to `post-forward-angle-brackets'.
+
+2013-12-11  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/package.el (finder-list-matches):
+       Autoload rather than falsely declaring.
+
+2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
+       (eww-mode-map): Use them.
+
+2013-12-11  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (display-buffer-in-side-window): Fix doc-string
+       (Bug#16115).
+
+2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
+
+       * vc/vc-git.el: Silence byte-compiler warnings.
+       (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
+       (log-edit-set-header): Declare.
+
+2013-12-11  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in (custom-deps, finder-data): Run output file names
+       through unmsys--file-name.  (Bug#16099)
+
 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
+       comment-start-skip, which fails when that uses submatch 1 (bug#16041).
+
+       * emulation/cua-base.el (cua-paste): Add `delete-selection' property
+       instead of deleting the selection "by hand" (bug#16098).
+       Rely on insert-for-yank to yank rectangles.
+       (cua-highlight-region-shift-only): Mark obsolete.
+       (cua-mode): Don't enable/disable transient-mark-mode,
+       shift-select-mode (cua-mode works both with and without them), and
+       pc-selection-mode (obsolete).
+       * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
+       (cua--deactivate-rectangle): Deactivate it.
+
+       * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
+       (delete-selection-helper): Make sure yank starts at the top of the
+       deleted region.
+       (minibuffer-keyboard-quit): Use region-active-p.
+
        * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
 
        * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
 
 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
 
-       * emacs-lisp/package.el (package-keyword-button-action): Remove
-       finder.el require dependency.
+       * emacs-lisp/package.el (package-keyword-button-action):
+       Remove finder.el require dependency.
 
 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
 
 
 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
 
-       * progmodes/ruby-mode.el (ruby-forward-string): Document.  Handle
-       caret-delimited strings (Bug#16079).
+       * progmodes/ruby-mode.el (ruby-forward-string): Document.
+       Handle caret-delimited strings (Bug#16079).
 
 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
 
-       * progmodes/ruby-mode.el (ruby-accurate-end-of-block): When
-       `ruby-use-smie' is t, use `smie-forward-sexp' instead of
+       * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
+       When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
        `ruby-parse-partial' (Bug#16078).
 
 2013-12-09  Leo Liu  <sdl.web@gmail.com>
        "default" is actually a key in an object literal.
        (js--same-line): New function.
        (js--multi-line-declaration-indentation): Use it.
-       (js--indent-in-array-comp, js--array-comp-indentation): New
-       functions.
+       (js--indent-in-array-comp, js--array-comp-indentation):
+       New functions.
        (js--proper-indentation): Use them, to handle array comprehension
        continuations.