New defun movement commands.
[bpt/emacs.git] / lisp / ChangeLog
index 9a47125..11666c6 100644 (file)
@@ -1,3 +1,353 @@
+2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
+
+       New defun movement commands.
+       * progmodes/python.el (python-nav--syntactically)
+       (python-nav--forward-defun, python-nav-backward-defun)
+       (python-nav-forward-defun): New functions.
+
+2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
+
+       * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
+       (python-syntax-context): Use named compiler-macro for backwards
+       compatibility with Emacs 24.x.
+
+2013-04-17  Leo Liu  <sdl.web@gmail.com>
+
+       * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
+       octave-hide-process-buffer.
+
+2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
+       (bug#14216).
+
+2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
+
+       * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
+       Fix adjustment of offset when receiving incomplete responses from GDB
+       (bug#14129).
+
+2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
+       python-mode-abbrev-table.
+       (python-skeleton-define): Adjust accordingly.
+       (python-mode-abbrev-table): New table that inherits from it so that
+       python-skeleton-autoinsert does not affect non-skeleton abbrevs.
+
+       * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
+       (abbrev-symbol): Use it.
+       (abbrev--before-point): Use it since we already handle inheritance.
+
+2013-04-16  Leo Liu  <sdl.web@gmail.com>
+
+       * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
+       binding to info-lookup-symbol.
+
+2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
+
+       * minibuffer.el (completion--twq-all):
+       * term/ns-win.el (ns-initialize-window-system):
+       * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
+
+2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/nadvice.el (add-function): Default simple vars to their
+       global bindings.
+
+       * doc-view.el (doc-view-start-process): Handle url-handler directories.
+
+2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-beginning-of-defun)
+       (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
+       to nil.
+       (ruby-end-of-defun): Remove the unused arg, change the docstring
+       to reflect that this function is only used as the value of
+       `end-of-defun-function'.
+       (ruby-beginning-of-defun): Remove "top-level" from the docstring,
+       to reflect an earlier change that beginning/end-of-defun functions
+       jump between methods in a class definition, as well as top-level
+       functions.
+
+2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (minibuffer-complete): Don't just scroll
+       a *Completions* that's been iconified.
+       (minibuffer-force-complete): Make sure repetitions do cycle when going
+       through completion-in-region -> minibuffer-complete.
+
+2013-04-15  Alan Mackenzie  <acm@muc.de>
+
+       Correct the placement of c-cpp-delimiters when there're #s not at
+       col 0.
+
+       * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
+       place a submatch around the #.
+       * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
+       Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
+       on the #, not BOL.
+
+2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/nadvice.el: Properly test names when adding advice.
+       (advice--member-p): New arg `name'.
+       (advice--add-function, advice-member-p): Use it (bug#14202).
+
+2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
+
+       Reformulate java imenu-generic-expression.
+       The old expression contained ill formed regexps.
+
+       * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
+       (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
+       (cc-imenu-java-method-arg-regexp): New defconsts.
+       (cc-imenu-java-build-type-args-regex): New defun.
+       (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
+       handling of spaces in the regexp.
+
+2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
+
+       * textmodes/ispell.el (ispell-command-loop): Remove
+       flyspell highlight of a word when ispell accepts it (bug #14178).
+
+2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
+       uses code from the previous `ange-ftp-run-real-handler'.
+       (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
+       only in case that function exist.  This is needed for proper
+       unloading of Tramp.
+
+2013-04-15  Tassilo Horn  <tsdh@gnu.org>
+
+       * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
+
+       * textmodes/reftex.el (reftex-compile-variables): Use it.
+
+2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * files.el (normal-mode): Only use default major-mode if no other mode
+       was specified.
+
+       * emacs-lisp/trace.el (trace-values): New function.
+
+       * files.el: Allow : in local variables (bug#14089).
+       (hack-local-variable-regexp): New var.
+       (hack-local-variables-prop-line, hack-local-variables): Use it.
+
+2013-04-13  Roland Winkler  <winkler@gnu.org>
+
+       * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
+       data before it gets modified by bibtex-beginning-of-entry.
+
+2013-04-13  Roland Winkler  <winkler@gnu.org>
+
+       * textmodes/bibtex.el (bibtex-url): Doc fix.
+
+2013-04-13  Roland Winkler  <winkler@gnu.org>
+
+       * textmodes/bibtex.el (bibtex-initialize): If the current buffer
+       does not visit a BibTeX file, exclude it from the list of buffers
+       returned by bibtex-initialize.
+
+2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
+
+       * window.el (split-window): Remove interactive form, since as a
+       command this function is a special case of split-window-below.
+       Correct doc string.
+
+2013-04-12  Roland Winkler  <winkler@gnu.org>
+
+       * faces.el (read-face-name): Do not override value of arg default.
+       Allow single faces and strings as default values.  Remove those
+       elements from return value that are not faces.
+       (describe-face): Simplify.
+       (face-at-point): New optional args thing and multiple so that this
+       function can provide the same functionality previously provided by
+       read-face-name.
+       (make-face-bold, make-face-unbold, make-face-italic)
+       (make-face-unitalic, make-face-bold-italic, invert-face)
+       (modify-face, read-face-and-attribute): Use face-at-point.
+
+       * cus-edit.el (customize-face, customize-face-other-window)
+       * cus-theme.el (custom-theme-add-face)
+       * face-remap.el (buffer-face-set)
+       * facemenu.el (facemenu-set-face): Use face-at-point.
+
+2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
+
+       * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
+
+2013-04-10  Tassilo Horn  <tsdh@gnu.org>
+
+       * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
+       off leading { and trailing } from field values.
+
+2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/timer.el (timer--check): New function.
+       (timer--time, timer-set-function, timer-event-handler): Use it.
+       (timer-set-idle-time): Simplify.
+       (timer--activate): CSE.
+       (timer-event-handler): Give more info in error message.
+       (internal-timer-start-idle): New function, moved from C.
+
+       * mpc.el (mpc-proc): Add `restart' argument.
+       (mpc-proc-cmd): Use it.
+       (mpc--status-timer-run): Also catch signals from `mpc-proc'.
+       (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
+       less often.
+
+2013-04-10  Masatake YAMATO  <yamato@redhat.com>
+
+       * progmodes/sh-script.el: Implement `sh-mode' own
+       `add-log-current-defun-function' (bug#14112).
+       (sh-current-defun-name): New function.
+       (sh-mode): Use the function.
+
+2013-04-09  Bastien Guerry  <bzg@gnu.org>
+
+       * simple.el (choose-completion-string): Fix docstring (bug#14163).
+
+2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
+
+       * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
+       timer (bug#14156).
+
+2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
+
+       * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
+       declaration.
+
+2013-04-07  Leo Liu  <sdl.web@gmail.com>
+
+       * pcmpl-x.el: New file.
+
+2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       Do not set x-display-name until X connection is established.
+       This is needed to prevent from weird situation described at
+       <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
+       * frame.el (make-frame): Set x-display-name after call to
+       window system initialization function, not before.
+       * term/x-win.el (x-initialize-window-system): Add optional
+       display argument and use it.
+       * term/w32-win.el (w32-initialize-window-system):
+       * term/ns-win.el (ns-initialize-window-system):
+       * term/pc-win.el (msdos-initialize-window-system):
+       Add compatible optional display argument.
+
+2013-04-06  Eli Zaretskii  <eliz@gnu.org>
+
+       * files.el (normal-backup-enable-predicate): On MS-Windows and
+       MS-DOS compare truenames of temporary-file-directory and of the
+       file, so that 8+3 aliases (usually found in $TEMP on Windows)
+       don't fail comparison by compare-strings.  Also, compare file
+       names case-insensitively on MS-Windows and MS-DOS.
+
+2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
+       Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
+
+2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * whitespace.el (whitespace-color-on, whitespace-color-off):
+       Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
+
+2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
+
+       * ispell.el (ispell-set-spellchecker-params):
+       Really set `ispell-args' for all equivs.
+
+2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * ido.el (ido-completions): Use extra elements of ido-decorations
+       (bug#14143).
+       (ido-decorations): Update docstring.
+
+2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
+
+       * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
+       (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
+       nil during initialization, in order not to miss changes since the
+       file was opened.  (Bug#14140)
+
+2013-04-05  Leo Liu  <sdl.web@gmail.com>
+
+       * kmacro.el (kmacro-call-macro): Fix bug#14135.
+
+2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc-units.el (calc-convert-units): Rewrite conditional.
+
+2013-04-04  Glenn Morris  <rgm@gnu.org>
+
+       * electric.el (electric-pair-inhibit-predicate): Add :version.
+
+2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/package.el (package-compute-transaction): Fix ordering
+       when a package is required several times (bug#14082).
+
+2013-04-04  Roland Winkler  <winkler@gnu.org>
+
+       * faces.el (read-face-name): Behave as promised by the docstring.
+       Assume that arg default is a list of faces.
+       (describe-face): Call read-face-name with list of default faces.
+
+2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
+
+       * bookmark.el: Fix deletion of bookmarks (bug#13972).
+       (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
+       (bookmark-bmenu-execute-deletions): Only skip first line if it's
+       the header.
+       (bookmark-exit-hook-internal): Save even if list is empty.
+
+2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
+
+       * emacs-lisp/package.el (package-pinned-packages): New var.
+       (package--add-to-archive-contents): Obey it (bug#14118).
+
+2013-04-03  Alan Mackenzie  <acm@muc.de>
+
+       Handle `parse-partial-sexp' landing inside a comment opener
+       (Bug#13244). Also adapt to the new values of element 7 of a parse
+       state.
+
+       * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
+       parameter `not-in-delimiter'.  Handle being inside comment opener.
+       (c-invalidate-state-cache-1): Reckon with an extra "invalid"
+       character in case we're typing a '*' after a '/'.
+       (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
+       instead by passing the parameter to c-state-pp-to-literal.
+
+       * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
+       for elt. 7 of a parse state.
+
+2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Use UTF-8 for most files with non-ASCII characters (Bug#13936).
+       * international/latin1-disp.el, international/mule-util.el:
+       * language/cyril-util.el, language/european.el, language/ind-util.el:
+       * language/lao-util.el, language/thai.el, language/tibet-util.el:
+       * language/tibetan.el, language/viet-util.el:
+       Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
+
+2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
+       (electric-pair-post-self-insert-function): Use it.
+       (electric-pair-default-inhibit): New function, extracted from
+       electric-pair-post-self-insert-function.
+
+2013-03-31  Roland Winkler  <winkler@gnu.org>
+
+       * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
+
 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
 
        * eshell/em-unix.el: Move su and sudo to...
-       * eshell/em-tramp.el: ...Eshell tramp module
+       * eshell/em-tramp.el: ...Eshell tramp module.
 
 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 
        * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
 
-2013-03-16  Glenn Morris  <rgm@gnu.org>
-
-       * Version 24.3 released.
-
 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
 
        * startup.el (command-line-normalize-file-name): Fix handling of
        * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
        (eieio-browse-tree, eieio-browse): Use eieio--check-type.
 
-
 2013-02-18  Aidan Gauland  <aidalgol@no8wireless.co.nz>
 
        * eshell/em-cmpl.el: Correct "context-related help" keybinding in
        [scpc, rsyncc]: Remove methods.
        (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
        and "ssh2_old".
-       (tramp-do-copy-or-rename-file-out-of-band):  Change trace level.
+       (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
        (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
 
 2013-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 2013-02-13  Jambunathan K  <kjambunathan@gmail.com>
 
-       * icomplete.el (icomplete-hide-common-prefix):  New user option.
+       * icomplete.el (icomplete-hide-common-prefix): New user option.
        (icomplete-first-match): New face.
        (icomplete-completions): Correct handling of "complete but not
        unique" (Bug#12638).
        instead passing extra parameter HERE to several functions.
        Remove 'BOD strategy.
 
-2013-02-06  Nicolas Richard <theonewiththeevillook@yahoo.fr>  (tiny change)
+2013-02-06  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
 
        * emacs-lisp/package.el (describe-package-1): Tell what archive is
        used to install the package.
 
        * xml.el (xml-entity-or-char-ref-re): Fix regexp.
 
-2013-01-24  Aaron Ecay <aaronecay@gmail.com>  (tiny change)
+2013-01-24  Aaron Ecay  <aaronecay@gmail.com>  (tiny change)
 
        * paren.el (show-paren-function): Make sure to set 'priority and
        'face only if the overlay does exist.
 
 2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>
 
-       * progmodes/sql.el: (sql-imenu-generic-expression):
+       * progmodes/sql.el (sql-imenu-generic-expression):
        (sql-mode-font-lock-object-name): Match schema qualified names.
        (sql-connect): Use string keys.
        (sql-product-interactive): Wait for interpreter prompt.
        * calc/calc-forms.el (math-parse-date): Try using
        `math-parse-iso-date' when it looks like it might be needed.
        Allow times of 24:00.
-       (math-parse-date-validate, math-parse-iso-date-validate):  Allow times
+       (math-parse-date-validate, math-parse-iso-date-validate): Allow times
        of 24:00.
 
 2012-12-30  Glenn Morris  <rgm@gnu.org>
        (tramp-adb-get-toolbox): New defun.  Check for remote shell
        implementation (BusyBox or Toolbox).
 
-2012-12-24  Constantin Kulikov <zxnotdead@gmail.com>  (tiny change)
+2012-12-24  Constantin Kulikov  <zxnotdead@gmail.com>  (tiny change)
 
        * startup.el (initial-buffer-choice): Allow function as value
        (Bug#13251).
        Add `file-acl' and `set-file-acl' handlers.
        (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
 
-2012-12-17  Kelly Dean  <kellydeanch@yahoo.com> (tiny change)
+2012-12-17  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
 
        * help-macro.el (make-help-screen): Instead of switch-to-buffer
        use pop-to-buffer with NORECORD argument t.  As buffer name, use
 
 2012-12-11  Jay Belanger  <jay.p.belanger@gmail.com>
 
-       * calc/calc.el (calc-standard-date-formats):  Add more date
+       * calc/calc.el (calc-standard-date-formats): Add more date
        formats.
        * calc/calc-forms.el (math-parse-iso-date): New function.
        (math-parse-date): Use `math-parse-iso-date' when appropriate.
 
        * subr.el (inotify-event-p, inotify-handle-event): New functions.
 
-2012-12-10  Dani Moncayo <dmoncayo@gmail.com>
+2012-12-10  Dani Moncayo  <dmoncayo@gmail.com>
 
        * simple.el (just-one-space): Doc fix.
 
 
 2012-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
 
-       * calc/calc-forms.el (math-leap-year-p):  Fix formula for negative
+       * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
        year numbers.
        (math-date-to-julian-dt): Adjust the initial approximation for the
        year to deal with the new definition of the DATE.
        Recover input meta mode when the new coding system doesn not use 8-bit.
        Supply TERMINAL arg to set-input-meta-mode.
 
-2012-10-17  Michael Heerdegen <michael_heerdegen@web.de>
+2012-10-17  Michael Heerdegen  <michael_heerdegen@web.de>
 
        * wdired.el (wdired-old-marks): New variable.
        (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
 
        * term/ns-win.el (ns-read-file-name): Update declaration to match
        nsfns.m.
-       (ns-respond-to-change-font): Change fontsize separatly so we are sure
+       (ns-respond-to-change-font): Change fontsize separately so we are sure
        it is set when font is acted upon.
 
 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>