]> code.delx.au - gnu-emacs/blobdiff - lisp/ChangeLog
Merge from emacs-24; up to 2012-11-19T11:36:02Z!yamaoka@jpl.org
[gnu-emacs] / lisp / ChangeLog
index 431f45c36957e432b210170cb6a6fdf66f33ea47..c127bfd42e67e9f684376f9100ff08a1dc069353 100644 (file)
@@ -1,9 +1,9 @@
-2012-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
+2012-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
        lexical-binding (bug#12938).
 
-2012-11-23  Wolfgang Jenkner  <wjenkner@inode.at>
+2012-11-24  Wolfgang Jenkner  <wjenkner@inode.at>
 
        * image-mode.el (image-transform-check-size): Use assertions only
        for images of type imagemagick.
        Otherwise no error, image-transform-fit-to-{width,height} is
        silently ignored, as before.  Doc fix.
 
-2012-11-23  Chong Yidong  <cyd@gnu.org>
+2012-11-24  Chong Yidong  <cyd@gnu.org>
 
        * faces.el (color-defined-p): Doc fix (Bug#12853).
 
-2012-11-23  Juri Linkov  <juri@jurta.org>
+2012-11-24  Juri Linkov  <juri@jurta.org>
 
        * dired.el (dired-mark): Add optional arg `interactive'.
        Check for `use-region-p' if `interactive' is non-nil.
@@ -23,8 +23,6 @@
        `interactive'.  Call `dired-mark' with the arg `interactive'.
        (Bug#10624)
 
-2012-11-23  Juri Linkov  <juri@jurta.org>
-
        * wdired.el: Revert 2012-10-17 change partly and replace it with
        Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
        (wdired-finish-edit): Add marks for new file names to
@@ -33,7 +31,7 @@
        (wdired-do-renames): Remove calls to `dired-remove-file',
        `dired-add-file', `dired-add-entry'.  (Bug#11795)
 
-2012-11-21  Alan Mackenzie  <acm@muc.de>
+2012-11-24  Alan Mackenzie  <acm@muc.de>
 
        * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
 
        Call c-invalidate-state-cache from `c-before-change' instead of
        `c-after-change'.
 
-2012-11-20  Daniel Colascione  <dancol@dancol.org>
+2012-11-23  Chong Yidong  <cyd@gnu.org>
 
-       * term/w32-win.el (cygwin-convert-path-from-windows):
-       Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
-       This change is a backport from trunk.
+       * find-cmd.el (find-constituents): Add executable, ipath,
+       readable, samefile, writable, daystart, regextype (Bug#12856).
 
-2012-11-20  Eli Zaretskii  <eliz@gnu.org>
+2012-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
 
-       * simple.el (line-move): Don't call line-move-partial if
-       scroll-conservatively is in effect.  (Bug#12927)
+       * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
 
-2012-11-20  Michael Albinus  <michael.albinus@gmx.de>
+2012-11-22  Paul Eggert  <eggert@cs.ucla.edu>
 
-       * net/trampver.el (tramp-version): Downgrade to 2.2.6-24.3, in
-       order to distinguish from trunk.
+       * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
+       definition.  This fixes a bootstrap failure.
+       (calc-gregorian-switch): In menu, put dates before regions.
+       This is easier to follow, lines up better in the menu, and lets us
+       coalesce regions that switch at the same time.  Give country
+       names, not "Vatican", as that's better for non-expert users.
+       Use names that are stable between the date of switch and now, e.g.,
+       Bohemia and Moravia (which existed then and now) and not
+       Czechoslovakia (which didn't exist then and doesn't exist now).
+       What is now the U.S. mostly did not switch at the same time as
+       Britain, so omit the U.S.  Correct spelling of "Britain".
+       Catholic Switzerland was too much of a mess, so omit it.
 
-2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+2012-11-22  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
+       after the variable is changed.
+
+2012-11-21  Daniel Colascione  <dancol@dancol.org>
+
+       * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
+       in SQL declarations for font-lock.
+       (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
 
-       * emacs-lisp/byte-run.el (defun-declarations-alist): Don't accept
-       non-symbols for compiler macros (yet).
+2012-11-21  Glenn Morris  <rgm@gnu.org>
+
+       * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
+       (face-italic-p): Add optional argument "inherit".
+
+       * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
+       Remove -p suffix from names, for consistency with other set-face-*.
+       (set-face-inverse-video): Fix interactive spec.
+       * play/gamegrid.el (gamegrid-make-mono-tty-face):
+       * textmodes/table.el (table--update-cell-face):
+       Use set-face-inverse-video rather than now obsolete alias.
+
+2012-11-21  Eli Zaretskii  <eliz@gnu.org>
+
+       * simple.el (line-move): Don't call line-move-partial if
+       scroll-conservatively is in effect.  (Bug#12927)
+
+2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
        Fallback on completion-at-point rather than
 
        * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
 
-2012-11-19  Michael Albinus  <michael.albinus@gmx.de>
+2012-11-21  Michael Albinus  <michael.albinus@gmx.de>
 
        * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
        are remote, check out-of-band property for both.
 
-2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * window.el (switch-to-buffer): Re-add the warning that was lost in the
        code rewrite.
 
-2012-11-18  Paul Eggert  <eggert@cs.ucla.edu>
+2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
 
        More minor time fixes.
        * calendar/time-date.el: Commentary fix.
        * ps-bdf.el (bdf-file-newer-than-time):
        Process four-integers time stamps, not two.  Doc fixes.
 
+2012-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * uniquify.el (uniquify-managed): Use defvar-local.
+       (rename-buffer, create-file-buffer): Advise with advice-add.
+       (uniquify-unload-function): Unadvise accordingly.
+
+       * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
+       (trace-buffer): Don't purecopy.
+       (trace-entry-message, trace-exit-message): Add `context' arg.
+       (trace--timer): New var.
+       (trace-make-advice): Adjust for use in nadvice.
+       Add `context' argument.  Delay `display-buffer' via a timer.
+       (trace-function-internal): Use advice-add.
+       (trace--read-args): New function.
+       (trace-function-foreground, trace-function-background): Use it.
+       (trace-function): Rename to trace-function-foreground and redefine as
+       an alias to that new name.
+       (untrace-function, untrace-all): Adjust to the use of nadvice.
+
+       * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
+
+       * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
+
+       * subr.el (called-interactively-p-functions): New var.
+       (internal--called-interactively-p--get-frame): New macro.
+       (called-interactively-p, interactive-p): Rewrite in Lisp.
+       * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
+       (called-interactively-p-functions): Use it.
+       * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
+       (called-interactively-p-functions): Use it.
+       * allout.el (allout-called-interactively-p): Don't assume
+       called-interactively-p is a subr.
+
+2012-11-20  Glenn Morris  <rgm@gnu.org>
+
+       * profiler.el (profiler-report-mode-map): Add a menu.
+       No need to bind `q' because we derive from special-mode.
+       (profiler-report-find-entry): Handle calls from the menu-bar.
+
+2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/byte-run.el (defun-declarations-alist):
+       Allow a compiler-macro to be a lambda expression.
+
+       * progmodes/python.el: Use cl-lib.  Move var declarations outside of
+       eval-when-compile.
+       (python-syntax-context): Add compiler-macro.
+       (python-font-lock-keywords): Simplify with De Morgan.
+
+       * vc/diff-mode.el (diff-hunk): Don't make useless timers.
+
+       * files.el (load-file): Require match in minibuffer selection, as was
+       the case in Emacs-20 before we changed the spec to allow .elc files
+       (bug#12935).
+
+       * json.el: Don't require cl since we don't use it.
+       * color.el: Don't require cl.
+       (color-complement): `caddr' -> `nth 2'.
+
+       * calendar/time-date.el (time-to-seconds): De-obsolete.
+
+2012-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * 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.
+
+2012-11-19  Daniel Colascione  <dancol@dancol.org>
+
+       * term/w32-win.el (cygwin-convert-path-from-windows):
+       Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
+
+2012-11-18  Chong Yidong  <cyd@gnu.org>
+
+       * filecache.el (file-cache--read-list): New function.
+       (file-cache-add-directory-list, file-cache-add-file-list)
+       (file-cache-delete-file-list, file-cache-delete-directory-list):
+       Use it to read a list of files or directories (Bug#12846).
+       (file-cache-add-file, file-cache-add-directory)
+       (file-cache-delete-file-list, file-cache-delete-file-regexp)
+       (file-cache-delete-directory): Print an message.
+
+2012-11-18  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc-forms.el (math-date-to-dt): Use integer date when
+       calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
+
 2012-11-18  Glenn Morris  <rgm@gnu.org>
 
        * image.el (insert-image, insert-sliced-image): Doc fix.
 
-2012-11-17  Chong Yidong  <cyd@gnu.org>
+2012-11-18  Chong Yidong  <cyd@gnu.org>
 
        * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
        (Bug#12810).
 
-2012-11-17  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
+2012-11-18  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
 
        * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
        response when the target file is in a subdirectory (Bug#12757).
 
-2012-11-17  Chong Yidong  <cyd@gnu.org>
+2012-11-18  Chong Yidong  <cyd@gnu.org>
 
        * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
 
-2012-11-17  Glenn Morris  <rgm@gnu.org>
+2012-11-18  Glenn Morris  <rgm@gnu.org>
 
-       * woman.el (woman-non-underline-faces):
        * emacs-lisp/cl-lib.el (face-underline-p):
        Use set-face-underline rather than the alias set-face-underline-p.
 
        * subr.el (with-output-to-temp-buffer):
        Add doc xref to with-temp-buffer-window.
 
+2012-11-18  Juanma Barranquero  <lekktu@gmail.com>
+
+       * woman.el (woman-non-underline-faces): Use `set-face-underline'.
+       * calc/calc.el (math-format-date-cache): Declare.
+
+2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Calc by default uses the Gregorian calendar for all dates (Bug#12633).
+       It also uses January 1, 1 AD as its day number 1.
+       * calc/calc-forms.el (math-julian-date-beginning)
+       (math-julian-date-beginning-int): Implement this.
+
+2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
+
+       * descr-text.el (quail-find-key):
+       * dired.el (desktop-file-name):
+       * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
+       * generic-x.el (comint-mode, comint-exec):
+       * image-dired.el (widget-forward):
+       * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
+       (speedbar-change-expand-button-char)
+       (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
+       (speedbar-make-specialized-keymap, speedbar-make-tag-line):
+       * printing.el (easy-menu-add-item, easy-menu-remove-item)
+       (widget-field-action, widget-value-set):
+       * speedbar.el (imenu--make-index-alist):
+       * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
+       (ring-length, ring-insert):
+       * vcursor.el (compare-windows-skip-whitespace):
+       * woman.el (dired-get-filename):
+       Declare functions.
+
+       * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
+
+2012-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc.el (calc-gregorian-switch): New variable.
+
+       * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
+       (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
+       (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
+       (math-leap-year-p): Add option to distinguish between Julian
+       and Gregorian calendars.
+       (math-day-number): Use `math-day-in-year' to do the computations.
+       (math-absolute-from-dt): Rename from `math-absolute-from-date'.
+       Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
+       to do the computations.
+       (math-date-to-dt): Use `math-date-to-julian-dt' and
+       `math-date-to-gregorian-dt' to do the computations.
+       (calcFunc-weekday, math-format-date-part): Use the new version of
+       the DATE to determine the weekday.
+       (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
+       when necessary.
+
+2012-11-17  Eli Zaretskii  <eliz@gnu.org>
+
+       * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
+       Cygwin; otherwise use 'file:'.  (Bug#12914)
+       (cygwin-convert-path-from-windows): Declare, to avoid
+       byte-compiler warnings.
+
+2012-11-17  Andreas Politz  <politza@fh-trier.de>
+
+       * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
+       (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
+       prefix and negative numeric prefix args (Bug#12795).
+
+2012-11-17  Stephen Berman  <stephen.berman@gmx.net>
+
+       * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
+       Don't signal an error with a score that is too low to add to the
+       list of top scores. (Bug#12779)
+
+2012-11-17  Chong Yidong  <cyd@gnu.org>
+
+       * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
+
+       * filecache.el (file-cache-add-file): Handle relative file name in
+       the argument (Bug#12694).
+
+2012-11-16  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
+
+       * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
+
 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
+
        * emacs-lisp/cl-lib.el: Set more meaningful version number.
 
 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
 
        * faces.el (face-underline-p): Use face-attribute-specified-or.
 
-2012-11-15  Juanma Barranquero  <lekktu@gmail.com>
+2012-11-16  Juanma Barranquero  <lekktu@gmail.com>
 
        * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
 
-2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
+2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
 
-2012-11-15  Glenn Morris  <rgm@gnu.org>
+2012-11-16  Glenn Morris  <rgm@gnu.org>
 
        * eshell/em-cmpl.el (eshell-pcomplete): New command.  (Bug#12838)
        (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
        * term.el (ansi-term): Don't let C-x escape-char binding
        clobber the more standard C-c binding.  (Bug#12842)
 
-2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
-
-       * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
-       (bug#12879).
-
-2012-11-14  Glenn Morris  <rgm@gnu.org>
-
        * subr.el (set-temporary-overlay-map): Doc fix.
 
-2012-11-13  Martin Rudalics  <rudalics@gmx.at>
+2012-11-16  Martin Rudalics  <rudalics@gmx.at>
 
        * window.el (record-window-buffer)
        (display-buffer-record-window): When copying the markers to
        window-point preserve window-point-insertion-type. (Bug#12588)
 
-2012-11-13  Glenn Morris  <rgm@gnu.org>
+2012-11-16  Glenn Morris  <rgm@gnu.org>
 
        * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
        * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
        Use new names for hooks rather than obsolete aliases.
 
-2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+2012-11-15  Daniel Colascione  <dancol@dancol.org>
+
+       * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
+       prefix instead of "file:" so that when FILE-NAME begins with "//",
+       as it does when the target file is on a network share, url-handler
+       isn't confused.
+
+2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
+       a preactivated advice from an old advice.el; they're not compatible!
+
+2012-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * emacs-lisp/nadvice.el (advice--make-interactive-form):
+       Fix string-spec case.
+
+       * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
+
+2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
+       (advice--buffer-local-function-sample): New var.
+       (advice--set-buffer-local, advice--buffer-local): New functions.
+       (add-function, remove-function): Use them.
+
+2012-11-15  Drew Adams  <drew.adams@oracle.com>
+
+       * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
+
+2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
+       potential binding of print-gensym to t, and prettify (back)quotes in
+       case they appear in args's default values (bug#12884).
+
+2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/nadvice.el: Add around advice for interactive specs.
+       (advice-eval-interactive-spec): New function.
+       (advice--make-interactive-form): Support around advice (bug#12844).
+
+2012-11-14  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
+       more strict.  Add docstring.
+       (ruby-expression-expansion-re): Extract from
+       `ruby-match-expression-expansion'.
+       (ruby-syntax-propertize-function): After everything else, search
+       for expansions in string literals, mark their insides as
+       whitespace syntax and save match data for font-lock.
+       (ruby-font-lock-keywords): Use the 2nd group from expression
+       expansion matches.
+       (ruby-match-expression-expansion): Use the match data saved to the
+       text property in ruby-syntax-propertize-function.
+
+2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
+       (bug#12879).
+
+2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
+       start/end keyword a bit harder.  Works with different values of N.
+       Add more comments.
+       (ruby-end-of-block): Update accordingly.
+
+2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * woman.el (woman-file-name): Don't mess with unread-command-events
+       (bug#12861).
+
+       * emacs-lisp/advice.el: Layer on top of nadvice.el.
+       Remove out of date self-require hack.
+       (ad-do-advised-functions): Use simple `dolist'.
+       (ad-advice-name, ad-advice-protected, ad-advice-enabled)
+       (ad-advice-definition): Redefine as functions.
+       (ad-advice-classes): Move before first use.
+       (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
+       (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
+       (ad--defalias-fset): Remove functions.
+       (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
+       (ad-get-orig-definition): Rewrite.
+       (ad-make-advised-definition-docstring): Change base docstring.
+       (ad-real-orig-definition): Rewrite.
+       (ad-map-arglists): Change name of called function.
+       (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
+       (ad-make-advised-definition): Simplify.
+       (ad-assemble-advised-definition): Tweak for new calling context.
+       (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
+       (ad--defalias-fset): Rename from ad-handle-definition.  Make it set the
+       function and call ad-activate if needed.
+       (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
+       (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
+       (ad-compile-function): Compile ad-Advice-*.
+       (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
+       (ad-start-advice, ad-stop-advice): Remove.
+
+2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
+       period before class method names, not after.  Remove handling of
+       one impossible case.  Add comments.
+
+2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/advice.el: Remove support for freezing.
+       (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
+       (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
+       Remove support for `freeze'.
+
+       * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
+       override the default.
+       * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
+       cl--dotimes/dolist.
+       * subr.el (dolist, dotimes, declare): Redefine them normally, even when
+       `cl' is loaded.
+
+       * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
+       from add-advice.
+       (advice--strip-macro): New function.
+       (advice--defalias-fset): Use them to handle macros.
+       (advice-add): Use them.
+       (advice-member-p): Correctly handle macros.
+
+2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-font-lock-keywords):
+       Never font-lock the beginning of singleton class as heredoc.
+
+2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
 
-2012-11-12  Wolfgang Jenkner  <wjenkner@inode.at>
+2012-11-13  Wolfgang Jenkner  <wjenkner@inode.at>
 
        * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
-       39 and 49.  This fixes bug#12792.  Also, treat unimplemented
-       parameters as 0, thereby restoring the behavior of revisions prior
-       to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
+       39 and 49 (bug#12792).  Also, treat unimplemented parameters as 0,
+       thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
 
-2012-11-12  Fabián Ezequiel Gallina  <fgallina@cuca>
+2012-11-13  Fabián Ezequiel Gallina  <fgallina@cuca>
 
        Fix end-of-defun misbehavior.
        * progmodes/python.el (python-nav-beginning-of-defun): Rename from
        with new fixed python-nav-{end,beginning}-of-defun.  Stop scanning
        parent defuns as soon as possible.
 
-2012-11-12  Glenn Morris  <rgm@gnu.org>
+2012-11-13  Glenn Morris  <rgm@gnu.org>
 
        * progmodes/flymake.el (flymake-error-bitmap)
        (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
        (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
 
-2012-11-12  Dmitry Gutov  <dgutov@yandex.ru>
+2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
 
        * progmodes/ruby-mode.el (ruby-move-to-block): When moving
        backward, always stop at indentation.  Reverts the change from
        2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
 
-2012-11-11  Glenn Morris  <rgm@gnu.org>
+2012-11-13  Glenn Morris  <rgm@gnu.org>
 
        * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
        Add ibuffer-filter-by-derived-mode.
        * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
        * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
 
-2012-11-10  Leo Liu  <sdl.web@gmail.com>
+2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 
-       * ido.el (ido-set-matches-1): Fix split-string args to avoid
-       performance issue.  (Bug#12796)
+       * emacs-lisp/nadvice.el: New package.
+       * subr.el (special-form-p): New function.
+       * emacs-lisp/elp.el: Use lexical-binding and advice-add.
+       (elp-all-instrumented-list): Remove var.
+       (elp-not-profilable): Remove elp-wrapper.
+       (elp-profilable-p): Use autoloadp and special-form-p.
+       (elp--advice-name): New const.
+       (elp-instrument-function): Use advice-add.
+       (elp--instrumented-p): New predicate.
+       (elp-restore-function): Use advice-remove.
+       (elp-restore-all, elp-reset-all): Use mapatoms.
+       (elp-set-master): Use elp--instrumented-p.
+       (elp--make-wrapper): Rename from elp-wrapper, return a function
+       suitable for advice-add.  Use cl-inf.
+       (elp-results): Use mapatoms+elp--instrumented-p.
+       * emacs-lisp/debug.el: Use lexical-binding and advice-add.
+       (debug-function-list): Remove var.
+       (debug): Rename arg, and then let-bind it explicitly inside.
+       (debugger-setup-buffer): Rename arg.
+       (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
+       (debugger-frame-number): Adjust to new debug-on-entry setup.
+       (debug--implement-debug-on-entry): Rename from
+       implement-debug-on-entry, add argument.
+       (debugger-special-form-p): Remove, use special-form-p instead.
+       (debug-on-entry): Use advice-add.
+       (debug--function-list): New function.
+       (cancel-debug-on-entry): Use it, along with advice-remove.
+       (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
+       (debugger-list-functions): Use debug--function-list instead of
+       debug-function-list.
+       * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
+       (ad-special-form-p): Remove, use special-form-p instead.
+       (ad-set-advice-info): Use add-function and remove-function.
+       (ad--defalias-fset): Adjust accordingly.
 
 2012-11-10  Glenn Morris  <rgm@gnu.org>
 
+       * mail/emacsbug.el (report-emacs-bug-tracker-url)
+       (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
+       (report-emacs-bug-create-existing-bugs-buffer)
+       (report-emacs-bug-parse-query-results)
+       (report-emacs-bug-query-existing-bugs): Remove.  (Bug#7449)
+
        * term.el (term-default-fg-color, term-default-bg-color):
        Make obsolete, rather than just saying "deprecated" in the doc.
 
        (term-default-fg-color, term-default-bg-color, term-ansi-reset):
        Update all users.
 
-2012-11-09  Jan Djärv  <jan.h.d@swipnet.se>
-
-       * server.el (server-create-window-system-frame): Improve comment.
-
-2012-11-08  Jan Djärv  <jan.h.d@swipnet.se>
+2012-11-10  Jan Djärv  <jan.h.d@swipnet.se>
 
        * server.el (server-create-window-system-frame): Handle Nextstep
        specially (Bug#12780).
 
-2012-11-08  Glenn Morris  <rgm@gnu.org>
+2012-11-10  Glenn Morris  <rgm@gnu.org>
 
        * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
        Unautoload, and make obsolete.  (Bug#7449)
 
-2012-11-08  Chong Yidong  <cyd@gnu.org>
+2012-11-10  Chong Yidong  <cyd@gnu.org>
 
        * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
        rename from diff-remove-trailing-whitespace (Bug#12831).
 
-2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
        miscompilation of trace.el.
 
-2012-11-08  Glenn Morris  <rgm@gnu.org>
+2012-11-10  Glenn Morris  <rgm@gnu.org>
 
        * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
 
-2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
        (bug#12812).
 
-2012-11-07  Chong Yidong  <cyd@gnu.org>
+2012-11-10  Chong Yidong  <cyd@gnu.org>
 
        * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
        a defcustom with an appropriate :set function.
        (minibuffer-default--in-prompt-regexps): New function.
 
-2012-11-07  Glenn Morris  <rgm@gnu.org>
+2012-11-10  Glenn Morris  <rgm@gnu.org>
 
        * emacs-lisp/cl.el (define-setf-expander, defsetf)
        (define-modify-macro): Doc fixes.
        * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
        (gv-define-simple-setter): Update doc of `fix-return'.
 
-2012-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
        twice when `fix-return' is set (bug#12813).
        * emacs-lisp/cl.el (defsetf): Pass the third arg to
        gv-define-simple-setter (bug#12812).
 
-2012-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
-
        * woman.el (woman-decode-region): Disable adaptive-fill when rendering
        (bug#12756).
 
-2012-11-06  Glenn Morris  <rgm@gnu.org>
+2012-11-10  Glenn Morris  <rgm@gnu.org>
 
        * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
 
-2012-11-05  Glenn Morris  <rgm@gnu.org>
-
        * emacs-lisp/cl-extra.el (cl-prettyexpand):
        * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
        * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
 
        * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
 
+2012-11-10  Leo Liu  <sdl.web@gmail.com>
+
+       * ido.el (ido-set-matches-1): Improve flex matching performance by
+       removing backtracking in the regexp (suggested by Stefan).  (Bug#12796)
+
+2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
+       (ad--defalias-fset): New function.
+       (ad-safe-fset): Remove.
+       (ad-make-freeze-definition): Use cl-letf*.
+
+2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * subr.el (dolist): Don't bind VAR in RESULT.
+
+       * emacs-lisp/advice.el: Miscellaneous cleanup.  Use lexical-binding.
+       (fset, documentation): Don't save real def since we don't advise.
+       (ad-do-advised-functions): Remove problematic `result-form'.
+       (ad-safe-fset): `ad-real-fset' => `fset'.
+       (ad-read-advised-function): Don't assume that ad-do-advised-functions
+       uses CL's dolist internally.
+       (ad-arglist): Remove unused arg `name'.
+       (ad-docstring, ad-make-advised-docstring):
+       `ad-real-documentation' => `documentation'.
+       (warning-suppress-types): Declare.
+       (ad-set-arguments): Simple CSE.
+       (ad-recover-normality): Sanity check.
+
+       * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
+       (funcall '(lambda ..) ..) into ((lambda ..) ..).
+
+2012-11-09  Vincent Belaïche  <vincentb1@users.sourceforge.net>
+
+       * ses.el: symbol to coordinate mapping is made by symbol property
+       `ses-cell'.  This means that the same mapping is done for all SES
+       sheets.  That is good enough for cells with standard A1 names, but
+       not for named cell.  So a hash map is added for the latter.
+       (defconst ses-localvars): Add local variable ses--named-cell-hashmap
+       (ses-sym-rowcol): Use hashmap for named cell.
+       (ses-is-cell-sym-p): New defun.
+       (ses-decode-cell-symbol): New defun.
+       (ses-create-cell-variable): Add cell to hashmap when name is not
+       A1-like.
+       (ses-rename-cell): Check that cell new name is not already in
+       spreadsheet with the use of ses-is-cell-sym-p
+       (ses-rename-cell): Use hash map for named cells, but accept also
+       renaming back to A1-like.
+
+2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/advice.el: Use new dynamic docstrings.
+       (ad-make-advised-definition-docstring, ad-advised-definition-p):
+       Use dynamic-docstring-function instead of ad-advice-info.
+       (ad--make-advised-docstring): New function extracted from
+       ad-make-advised-docstring.
+       (ad-make-advised-docstring): Use it.
+       * progmodes/sql.el (sql--make-help-docstring): New function, extracted
+       from sql-help.
+       (sql-help): Use it with dynamic-docstring-function.
+
+       * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
+
+2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * files.el (hack-one-local-variable--obsolete): New function.
+       (hack-one-local-variable): Use it for obsolete settings.
+
+       * subr.el (locate-user-emacs-file): If both old and new name exist, use
+       the new name.
+
+       * progmodes/js.el (js--filling-paragraph): New var.
+       (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
+       (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
+       less sneaky.
+
+2012-11-08  Julien Danjou  <julien@danjou.info>
+
+       * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
+       `auto-mode-alist' (Bug#12835).
+
+2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
+       (perl--prettify-symbols-alist): New const.
+       (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
+       New functions.
+       (perl-font-lock-keywords-2): Use them.
+       (perl-electric-noindent-p): New function.
+       (perl-mode): Use it to set up electric-indent-mode.
+       (perl-electric-terminator, perl-indent-command): Mark obsolete.
+       (perl-mode-map): Remove bindings for them.
+       (perl-imenu-generic-expression, perl-outline-level):
+       Match functions&packages in column>0.
+
+       * env.el (env--substitute-vars-regexp): New const.
+       (substitute-env-vars): Use it.  Add `only-defined' arg.
+       * net/tramp.el (tramp-replace-environment-variables): Use it.
+
+       * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
+       Byte-compile *before* eval in eval-and-compile.
+       (byte-compile-log-warning): Remove redundant inhibit-read-only.
+       (byte-compile-file-form-autoload): Don't hide actual definition.
+       (byte-compile-maybe-guarded): Accept `functionp' as well.
+
+       * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
+
+2012-11-07  Michael Albinus  <michael.albinus@gmx.de>
+
+       * notifications.el (notifications-get-server-information-method):
+       New defconst.
+       (notifications-get-capabilities): Fix docstring.
+       (notifications-get-server-information): New defun.
+
+2012-11-06  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
+
+       * textmodes/ispell.el (ispell-region): Standard re-indent for better
+       readability.
+
+       * textmodes/ispell.el: Experimental support for support debugging.
+       (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
+       buffer for ispell.
+       (ispell-print-if-debug): New function to print stuff to
+       `ispell-debug-buffer' if debugging is enabled.
+       (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
+       show some debugging info.
+       (ispell-buffer-with-debug): New function that creates a debugging
+       buffer and calls `ispell-buffer' with debugging enabled.
+
+       * textmodes/ispell.el (ispell-region): Do not prefix sent string by
+       comment in autoconf mode. (Bug#12768)
+
+2012-11-06  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
+       frame-first-window, frame-root-window, frame-selected-window,
+       minibuffer-selected-window, minibuffer-window,
+       window-absolute-pixel-edges, window-at, window-body-height,
+       window-body-width, window-display-table, window-combination-limit,
+       window-frame, window-fringes, window-inside-absolute-pixel-edges,
+       window-inside-edges, window-inside-pixel-edges, window-left-child,
+       window-left-column, window-margins, window-next-buffers,
+       window-next-sibling, window-new-normal, window-new-total,
+       window-normal-size, window-parameter, window-parameters, window-parent,
+       window-pixel-edges, window-point, window-prev-buffers,
+       window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
+       window-start, window-text-height, window-top-child, window-top-line,
+       window-total-height, window-total-width and window-use-time to the list
+       of functions without side-effects.
+       (toplevel): Add window-valid-p to the list of error-free functions
+       without side-effects.
+
+2012-11-05  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
+
+       * textmodes/ispell.el (ispell-program-name):
+       Update spellchecker parameters when customized.
+
+2012-11-04  Glenn Morris  <rgm@gnu.org>
+
+       * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn.  (Bug#7850)
+
+2012-11-04  Chong Yidong  <cyd@gnu.org>
+
+       * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
+       same-window-* variables.
+
+2012-11-04  Juri Linkov  <juri@jurta.org>
+
+       * isearch.el (isearch-help-for-help, isearch-describe-bindings)
+       (isearch-describe-key, isearch-describe-mode): Use a display
+       action instead of binding same-window-* variables (Bug#10040).
+
 2012-11-03  Glenn Morris  <rgm@gnu.org>
 
        * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
        * window.el (switch-to-visible-buffer)
        (switch-to-buffer-preserve-window-point): Fix doc-strings.
 
+2012-11-03  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/cl-lib.el (cl--random-time):
+       Rename from cl-random-time.  (Bug#12773)
+       (cl--gensym-counter, cl--random-state): Update callers.
+       * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
+
+2012-11-03  Chong Yidong  <cyd@gnu.org>
+
+       * cus-start.el: Make cursor-type customizable (Bug#11633).
+
+2012-11-02  Glenn Morris  <rgm@gnu.org>
+
+       * filecache.el: No need to load find-lisp when compiling.
+       (find-lisp-find-files): Autoload it.
+       (file-cache-add-directory-recursively): Don't require find-lisp.
+
+       * image.el (image-type-from-file-name): Trivial simplification.
+
+       * emacs-lisp/bytecomp.el (byte-compile-eval):
+       Decouple "noruntime" and "cl-functions" warnings.
+
 2012-11-01  Stephen Berman  <stephen.berman@gmx.net>
 
        * play/gomoku.el (gomoku-display-statistics): Update mode line
 2012-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * minibuffer.el (minibuffer-force-complete): Make the next completion use
-       the same completion-field (bug@12221).
+       the same completion-field (bug#12221).
 
 2012-10-19  Martin Rudalics  <rudalics@gmx.at>