]> code.delx.au - gnu-emacs/blobdiff - lisp/ChangeLog
Fix highlight-regexp's use of Font Lock mode.
[gnu-emacs] / lisp / ChangeLog
index d0d4a31ab65226fe0767be73e2d7ebdd36952894..285e69d9db1d351310b9daeb1401849c540f1978 100644 (file)
@@ -1,3 +1,322 @@
+2012-08-14  Chong Yidong  <cyd@gnu.org>
+
+       * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
+       (hi-lock-set-pattern): When deciding whether to use font lock or
+       overlays, look at font-lock-mode instead of font-lock-fontified
+       (Bug#12168).
+       (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
+       (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
+
+2012-08-14  Daiki Ueno  <ueno@unixuser.org>
+
+       * subr.el (internal--after-with-selected-window): Fix typo
+       (Bug#12193).
+
+2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
+
+       Use `completion-table-dynamic' for completion functions.
+       * progmodes/python.el
+       (python-shell-completion--do-completion-at-point)
+       (python-shell-completion--get-completions): Remove
+       functions.
+       (python-shell-completion-complete-at-point): New function.
+       (python-completion-complete-at-point): Use it.
+
+2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
+
+       * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
+       (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
+
+2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * subr.el (function-get): Refine `autoload' arg so it can also
+       autoload functions for gv.el (bug#12191).
+       * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
+       autoloads macros.
+
+       * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
+       Prefer pcase-let over destructuring-bind.
+       * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
+       Also, remove whitespace as we go, rather than after accumulating the
+       various places.
+
+       * subr.el (internal--before-with-selected-window)
+       (internal--after-with-selected-window): Fix typo seleted->selected.
+       (with-selected-window): Adjust callers.
+       Reported by Dmitry Gutov <dgutov@yandex.ru>.
+
+2012-08-13  Bastien Guerry  <bzg@gnu.org>
+
+       * window.el (special-display-popup-frame): Small docstring
+       enhancement.  (Bug#12172)
+
+2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * tar-mode.el (tar-header-data-end): Only ignore size for files of
+       type 1-6.
+       (tar-header-block-summarize, tar-get-descriptor): Handle pax
+       extended headers.
+
+       * files.el (hack-local-variables-filter): Remove useless eval.
+
+2012-08-13  Martin Rudalics  <rudalics@gmx.at>
+
+       * subr.el (with-selected-window): Fix last change.
+
+2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * subr.el (internal--before-with-seleted-window)
+       (internal--after-with-seleted-window): New functions.
+       (with-selected-window): Use them, to replace dependency on
+       tty-top-frame.
+
+2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
+
+       * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
+       binding for `newline'.
+       (ruby-move-to-block): When moving backward, stop at block opening,
+       not indentation.
+       * progmodes/ruby-mode.el (ruby-brace-to-do-end)
+       (ruby-do-end-to-brace, ruby-toggle-block): New functions.
+       * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
+       `ruby-toggle-block'.
+
+2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * ibuffer.el (ibuffer-do-toggle-read-only):
+       * dired.el (dired-toggle-read-only):
+       * buff-menu.el (Buffer-menu-toggle-read-only):
+       * bindings.el (mode-line-toggle-read-only):
+       * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
+
+2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * descr-text.el (describe-char): Put the overlays over the
+       "displayed as" character.
+
+2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc-units.el (math-default-units-table): Give an
+       initial value.
+       (math-put-default-units): Add options to put composite units and
+       unit systems in the default units table.
+       (calc-convert-units): Send composite units to
+       `math-put-default-units' when appropriate.
+
+2012-08-11  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
+
+       * tutorial.el (help-with-tutorial):
+       * emacs-lisp/copyright.el (copyright-update-directory):
+       * emacs-lisp/autoload.el (autoload-find-generated-file)
+       (autoload-find-file): Disable local eval: (for insurance).
+
+       * files.el (hack-local-variables-filter): If an eval: form is not
+       known to be safe, and enable-local-variables is :safe, then ignore
+       the form totally, as is done for non-eval forms.  (Bug#12155)
+
+2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
+       (rx-form): Simplify.
+
+2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
+       ?, _, and : are symbol constituents, ! is not (but kinda should be).
+       (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
+       (ruby-syntax-propertize-function): Adjust for changes in
+       `ruby-syntax-propertize-heredoc'.
+
+2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
+
+       * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
+       binding (use `M-;' instead).
+       (ruby-singleton-class-p): New function.
+       (ruby-expr-beg, ruby-in-here-doc-p) Use it.
+
+2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
+
+2012-08-10  Chong Yidong  <cyd@gnu.org>
+
+       * progmodes/python.el (python-shell-get-process-name): Don't mess
+       with same-window-buffer-names.
+
+       * eshell/eshell.el (eshell-add-to-window-buffer-names)
+       (eshell-remove-from-window-buffer-names): Make obsolete.
+       (eshell-buffer-name, eshell-unload-hook): Don't use them.
+       (eshell): Just use pop-to-buffer-same-window instead.
+
+2012-08-10  Chong Yidong  <cyd@gnu.org>
+
+       * bindings.el: Bind M-= back to count-words-region.
+
+       * simple.el (count-words-region): Accept a prefix arg for acting
+       on the entire buffer.
+       (count-words--buffer-message): New helper function.
+
+2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
+       * subr.el (eventp): `nil' is not an event, and eventp is not hot.
+       (event-start, event-end): Use posn-at-point to return a more
+       informative posn.
+       (posnp): New function.
+       * mouse.el (popup-menu-normalize-position): Use it.
+
+2012-08-10  Masatake YAMATO  <yamato@redhat.com>
+
+       * mouse.el (popup-menu-normalize-position): New function.
+       (popup-menu): Use `popup-menu-normalize-position' to normalize
+       the form for POSITION argument.
+
+       * term/x-win.el (x-menu-bar-open):
+       Use the value returend from (posn-at-point) as position
+       passed to `popup-menu'.
+
+2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calccomp.el (math-compose-expr): Add extra argument
+       indicating that parentheses should be put around products in
+       denominators.  Give multiplication precedence over division during
+       composition.
+
+2012-08-09  Chong Yidong  <cyd@gnu.org>
+
+       * man.el (Man-switches, Man-sed-command, Man-awk-command)
+       (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
+       (Man-untabify-command, manual-program): Convert to defcustom
+       (Bug#10429).
+
+       * vc/add-log.el (change-log-mode): Bind comment-start to nil.
+
+       * descr-text.el (describe-char): Don't insert extra newlines
+       (Bug#10127).
+
+       * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
+       (log-view-diff-changeset, log-view-minor-wrap): Likewise.
+
+       * align.el (align-region): Delete temporary markers (Bug#10047).
+       Plus some code cleanups.
+
+2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
+
+       * progmodes/python.el (python-pdbtrack-tracked-buffer)
+       (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
+       (python-shell-internal-last-output): Use make-local-variable
+       instead of make-variable-buffer-local.
+
+2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
+
+       * progmodes/python.el: Enhancements to forward-sexp.
+       (python-nav-forward-sexp): Rename from
+       python-nav-forward-sexp-function.
+       (python-nav--forward-sexp, python-nav--backward-sexp):
+       New functions.
+
+2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
+       modes and simplification modes.
+
+2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * delsel.el (delete-selection-pre-hook): Don't propagate the
+       file-supersession signals (bug#12161).
+
+2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
+       (cl-map-extents): Add compatibility aliases (bug#12135).
+
+2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
+       tests by `ignore-error'.
+       (tramp-find-shell): Open also a new shell, when cache is already
+       set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
+
+2012-08-08  Juri Linkov  <juri@jurta.org>
+
+       * bookmark.el: Add `defaults' property to the bookmark record.
+       (bookmark-current-buffer): Doc fix.
+       (bookmark-make-record): Add `defaults' property with default values
+       to the bookmark record.
+       (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
+       with `bookmark-insert-current-bookmark'.
+       (bookmark-set): Get `defaults' property from the bookmark record
+       and use it in `read-from-minibuffer'.
+       (bookmark-insert-current-bookmark): Remove function.
+
+       * info.el (Info-bookmark-make-record): Add `defaults' property
+       with values of canonical Info node name, the current Info file
+       name and the current Info node name.  (Bug#12107)
+
+2012-08-08  Juri Linkov  <juri@jurta.org>
+
+       * files.el (basic-save-buffer): Use `buffer-name' as the default
+       of `read-file-name' when buffer is not visiting a file (bug#12128).
+
+2012-08-08  Juri Linkov  <juri@jurta.org>
+
+       * info.el (Info-isearch-search): Doc fix.
+       (Info-search): Change search-failed message from "initial node" to
+       "end of node" (bug#12078).
+       (Info-isearch-search): Change `isearch-string-state' to
+       `isearch--state-string'.
+
+2012-08-08  Glenn Morris  <rgm@gnu.org>
+
+       * language/persian.el: Remove file.
+       * language/misc-lang.el: Move unique part of persian.el here.
+       * loadup.el: Remove language/persian.
+
+2012-08-08  Óscar Fuentes  <ofv@wanadoo.es>
+
+       * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
+
+2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
+
+       * progmodes/python.el Fixed defsubst warning.
+       (python-syntax-context) Rename from python-info-ppss-context.
+       (python-syntax-context-type): Rename from
+       python-info-ppss-context-type.
+       (python-syntax-comment-or-string-p): Rename from
+       python-info-ppss-comment-or-string-p.
+
+2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc-misc.el (calc-record-why): Don't record a message twice.
+
+2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
+       a defcustom that is quoted with backquote.
+
+       * calc/calc-prog.el (math-do-defmath): Use backquote forms.
+       Fix handling of interactive spec when the body uses return.
+       (math-do-arg-check, math-define-function-body): Use backquote forms.
+       * calc/calc-ext.el (math-defcache): Likewise.
+       * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
+       * allout.el (allout-new-exposure): Likewise.
+       * calc/calcalg2.el (math-tracing-integral): Likewise.
+       * info.el (Info-last-menu-item): Likewise.
+       * emulation/vip.el (vip-loop): Likewise.
+       * textmodes/artist.el (artist-funcall): Likewise.
+       * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
+       Construct menu-item directly.
+
+       * progmodes/autoconf.el (font-lock-syntactic-keywords):
+       Don't declare.
+
+2012-08-07  Chong Yidong  <cyd@gnu.org>
+
+       * simple.el (deactivate-mark): Preserve text properties when
+       saving the primary selection (Bug#8384).
+
 2012-08-07  Kevin Ryde  <user42@zip.com.au>
 
        * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
        * proced.el (proced): Add substitution string to docstring to
        trigger autoloading of the proced library on C-h f (Bug#1768).
 
-       * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
-       show defvars which have no second argument (Bug#8638).
+       * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
+       Don't show defvars which have no second argument (Bug#8638).
 
        * imenu.el (imenu-generic-expression): Move documentation here
        from imenu--generic-function.
 
        * files.el (file-truename): Don't skip symlink-chasing part on
        windows-nt.  Incorporate the resolution of 8+3 short aliases on
-       Windows into the loop that recursively chases symlinks.  Compare
-       directory and its parent case-insensitively on MS-Windows and
+       Windows into the loop that recursively chases symlinks.
+       Compare directory and its parent case-insensitively on MS-Windows and
        MS-DOS.
 
 2012-08-03  Chong Yidong  <cyd@gnu.org>
 
        * register.el (copy-to-register, copy-rectangle-to-register):
        Deactivate the mark, and use indicate-copied-region (Bug#10056).
-       (append-to-register, prepend-to-register): Call
-
-2012-07-29  Juri Linkov  <juri@jurta.org>
+       (append-to-register, prepend-to-register):
+       Call 2012-07-29  Juri Linkov  <juri@jurta.org>
 
        * simple.el (async-shell-command-buffer): New defcustom.
        (shell-command): Use it.  (Bug#4719)
        * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
        gdb-get-location.
 
-2012-07-25  Leo Liu  <sdl.web@gmail.com>
+2012-07-28  Leo Liu  <sdl.web@gmail.com>
 
        * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
        the alist (bug#12029).
 
 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
 
-       * progmodes/python.el (python-mode-map): Added keybinding for
+       * progmodes/python.el (python-mode-map): Add keybinding for
        run-python.
        (python-shell-make-comint): Fix pop-to-buffer call.
        (run-python): Autoload.  New arg SHOW.
 
 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
 
-       * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
-       support for the lstlisting and minted environments, and for the
+       * textmodes/reftex-vars.el (reftex-label-alist-builtin):
+       Add support for the lstlisting and minted environments, and for the
        ctable macro.
        * textmodes/reftex.el (reftex-compile-variables): Also recognize
        labels written in keyvals syntax.
        * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
        ($(lisp)/calendar/diary-loaddefs.el)
        ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
-       ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.  Fixes
-       failures in parallel bootstrap because subdirs.el is being
+       ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
+       Fixes failures in parallel bootstrap because subdirs.el is being
        rewritten while the autoload files are built at the same time,
        which needs to load subdirs.el.