* lisp/emacs-lisp/cl-macs.el (cl-tagbody): New macro.
[bpt/emacs.git] / lisp / ChangeLog
index 3c0f28d..51d2ec6 100644 (file)
@@ -1,3 +1,100 @@
+2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
+
+2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Further cleanup of the "cl-" namespace.  Fit CL in 80 columns.
+       * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
+       (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
+       (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
+       (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
+       (cl-progv): Don't rely on dynamic scoping to find the body.
+       * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
+       (cl--proclaims-deferred): Rename from the "cl-" prefix.
+       (cl-declaim): Use backquotes.
+       * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
+       Use "cl--" prefix for the object's tag.
+
+       * ses.el: Use advice-add/remove.
+       (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
+       (copy-region-as-kill, yank): Use advice-add.
+       (ses-unload-function): Use advice-remove.
+
+2012-12-06  Jonas Bernoulli  <jonas@bernoul.li>
+
+       * button.el: Make them work in header-lines (bug#12817).
+       (button-map): Add bindings for header-line and mode-line use.
+       (button-get, button-put, button-label): `button' may now be a string.
+       (button-activate): Don't make it a defsubst.
+       (button--area-button-p, button--area-button-string): New functions.
+       (make-text-button): Fix the return value when `beg' was a string.
+       (push-button): Handle the mode-line case.
+
+2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
+       (sql-signum): Remove.  Use `cl-signum' instead.
+       (sql-read-passwd): Remove; use read-passwd instread.
+       (sql-get-login-ext): Use read-string.
+       (sql-get-login): Use dolist and pcase.
+       (sql--completion-table): Rename from sql-try-completion.
+       Use complete-with-action.
+       (sql-mode): Don't change abbrev-all-caps globally.
+       (sql-connect): Don't rely on dynamic scoping for `new-name'.
+       (sql-postgres-completion-object): Initialize vars in their `let'.
+       (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
+       (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
+       (sql-comint-interbase): Use a single append, without setq.
+       (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
+
+       * hi-lock.el: Rework the default face and the serialize regexp code.
+       (hi-lock--auto-select-face-defaults): Remove.
+       (hi-lock-string-serialize-serial): Remove.
+       (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
+       make weak.
+       (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
+       equal string.
+       (hi-lock-set-pattern): Adjust accordingly.
+       (hi-lock--regexps-at-point): Simplify accordingly.
+       (hi-lock--auto-select-face-defaults): Remove.
+       (hi-lock--last-face): New var to replace it.
+       (hi-lock-read-face-name): Rewrite (bug#11095).
+       (hi-lock-unface-buffer): Arrange for the face to be the next default.
+
+2012-12-06  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-replace-environment-variables):
+       Hide compiler warning.
+       (tramp-file-name-for-operation): Remove `executable-find',
+       `start-process', `call-process' and `call-process-region'.
+
+       * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
+
+       * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
+       compatibility.
+
+       * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
+
+2012-12-06  Chong Yidong  <cyd@gnu.org>
+
+       * ffap.el (ffap-replace-file-component): Fix typo.
+
+2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
+       fix open-paren-like token test (bug#12785).
+
+2012-12-06  Glenn Morris  <rgm@gnu.org>
+
+       * mail/rmailsum.el (rmail-new-summary): Tweak for
+       rmail-maybe-display-summary changing buffer.  (Bug#13066)
+
+2012-12-06  Juri Linkov  <juri@jurta.org>
+
+       * info.el (Info-fontify-node): Don't hide the last newline.
+       (Bug#12272)
+
 2012-12-06  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
        * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
        Check return code of copy command.
 
-       * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt): Use
-       group `tramp'.  Add version.
+       * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
+       Use group `tramp'.  Add version.
 
 2012-12-05  Chong Yidong  <cyd@gnu.org>
 
        * progmodes/perl-mode.el (perl-current-defun-name): New.
        (perl-mode): Use it.
 
-       * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Use
-       lisp-current-defun-name.
+       * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
+       Use lisp-current-defun-name.
 
        * textmodes/tex-mode.el (tex-current-defun-name): New.
        (tex-common-initialization): Use it.