Fix compiler-expansion of CL's cXXr functions.
[bpt/emacs.git] / lisp / ChangeLog
index 2f4a5af..ce57aff 100644 (file)
@@ -1,3 +1,589 @@
+2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Fix compiler-expansion of CL's cXXr functions (bug#11673).
+       * emacs-lisp/cl-lib.el (cl--defalias): New function.
+       (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
+       (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
+       (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
+       (cl-ninth, cl-tenth): Mark them as inlinable.
+       (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
+       (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
+       (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
+       (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
+       Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
+       (cl-list*, cl-adjoin): Don't put an autoload manually.
+       * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
+       (cl--compiler-macro-list*): Add autoload cookie.
+       (cl--compiler-macro-cXXr): New function.
+       * help-fns.el (help-fns--compiler-macro): New function extracted from
+       describe-function-1; follow aliases and use `compiler-macro' property.
+       (describe-function-1): Use it.
+
+2012-06-11  Chong Yidong  <cyd@gnu.org>
+
+       * startup.el (fancy-splash-head): Use splash.svg even if librsvg
+       is uninstalled, if imagemagick is installed.
+
+2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/cl-lib.el: Use lexical-binding.
+       (cl-map-extents, cl-maclisp-member): Remove.
+       (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
+       (cl--set-substring, cl--block-wrapper, cl--block-throw)
+       (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
+       * emacs-lisp/cl-extra.el: Use lexical-binding.
+       (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
+       (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
+       (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
+       (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
+       * emacs-lisp/cl-seq.el: Use lexical-binding.
+       (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
+       (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
+       (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
+       * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
+       * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
+       CL's internals.
+
+2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
+
+       Sync with Tramp 2.2.6-pre.
+
+       * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
+       `print-length' and `print-level' to nil, in order to avoid
+       truncation.  Reported by Christopher Schmidt
+       <christopher@ristopher.com>.
+
+       * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
+
+       * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
+       New defmacro.
+       (tramp-compat-copy-directory): Add optional argument
+       COPY-CONTENTS.  It is not handled yet.
+
+       * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
+       (tramp-ftp-file-name-p): Simplify.
+
+       * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
+       * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
+       connection vector.
+
+       * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
+       (tramp-methods): Do not use `tramp-password-end-of-line'.
+       (tramp-completion-function-alist-putty): Handle UNIX case.
+       (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
+       (tramp-do-file-attributes-with-stat)
+       (tramp-do-directory-files-and-attributes-with-stat) Return uid and
+       gid as real numbers.  They could run out of integer range on cygwin.
+       (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
+       (tramp-sh-handle-expand-file-name): Handle hops.
+       (tramp-open-connection-setup-interactive-shell): Use
+       `tramp-cleanup'.  Move check for busyboxes ...
+       (tramp-find-shell): ... here.  Simplify implementation.  Set
+       "remote-shell" property also for alternative shells.
+       (tramp-remote-coding-commands): Check "test -c /dev/stdout".  If
+       failing, a regular file would be written otherwise.  Reported by
+       Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
+       (tramp-find-inline-encoding): Cache the coding commands in the
+       process cache.  Apply test command on the remote side, if defined.
+       (tramp-find-inline-compress): Cache the compress commands in the
+       process cache.
+       (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
+       when requested.  Handle hops.
+       (tramp-current-connection): New defvar.
+       (tramp-maybe-open-connection): Use `tramp-cleanup'.  Throw
+       `suppress', if there was a failed connection shortly before.
+       Handle user interrupt.  (Bug#10187)
+       (tramp-get-inline-compress, tramp-get-inline-coding): Read
+       connection properties from the process cache.
+
+       * net/tramp-smb.el (tramp-smb-server-version)
+       (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar): New
+       defconsts.
+       (tramp-smb-prompt): Extend for powershell prompt.
+       (tramp-smb-file-name-handler-alist): Add handlers for
+       `process-file', `shell-command' and `start-file-process'.
+       (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
+       (tramp-smb-winexe-shell-command-switch): New defcustoms.
+       (tramp-smb-file-name-p): Simplify.
+       (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
+       (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
+       (tramp-smb-shell-quote-argument): New defuns.
+       (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
+       Implement using "tar".  By this, time-stamps are preserved.
+       (tramp-smb-handle-copy-file): Handle also the case of directories.
+       (tramp-smb-do-file-attributes-with-stat)
+       (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities): Use
+       `tramp-get-connection-buffer').
+       (tramp-smb-handle-rename-file): Use "rename", when source and
+       target are on the same share.
+       (tramp-smb-maybe-open-connection): Handle wrong passwords.  Use
+       `tramp-smb-server-version'.
+       (tramp-smb-wait-for-output): Remove prompt.
+
+       * net/tramp.el (top): Require 'cl.
+       (tramp-methods, tramp-rsh-end-of-line): Remove
+       `tramp-password-end-of-line' from docstring.
+       (tramp-save-ad-hoc-proxies): New defcustom.
+       (tramp-completion-function-alist): Adapt docstring.
+       (tramp-default-password-end-of-line): Remove defcustom.
+       (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
+       (tramp-user-regexp, tramp-file-name-regexp-unified)
+       (tramp-file-name-regexp-url): Extend regexp by hop separator.
+       (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
+       (tramp-remote-file-name-spec-regexp): New defconst.
+       (tramp-file-name-structure): Extend structure for hops.
+       (tramp-get-method-parameter): Move up.
+       (tramp-file-name-p, tramp-dissect-file-name)
+       (with-parsed-tramp-file-name): Handle hops.
+       (tramp-file-name-hop): New defun.
+       (tramp-make-tramp-file-name): New optional arg HOP.
+       (tramp-message-show-progress-reporter-message): New defvar.
+       (tramp-with-progress-reporter): Use it.  We cannot use
+       `tramp-message-show-message' here, because this suppresses also
+       error buffers.
+       (tramp-error-with-buffer): Suppress buffer view, if
+       `tramp-message-show-message' is nil.  Use
+       `tramp-get-connection-buffer'.
+       (tramp-cleanup): New defun.
+       (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
+       (tramp-file-name-handler): If `debug-on-error' is set, propagate
+       an error unchanged.
+       (tramp-completion-handle-file-name-all-completions): Handle hops.
+       Fix an error when called from ido.
+       (tramp-completion-dissect-file-name): Use better local variable
+       name.  Add hop to the vector.
+       (tramp-handle-insert-file-contents): Use progress-reporter for the
+       whole scenario.
+       (tramp-action-password): Let-bind `enable-recursive-minibuffers'
+       to `t'.
+       (tramp-check-for-regexp): Simplify search.
+       (tramp-enter-password): Remove it.  Move implementation ...
+       (tramp-action-password): ... here.
+       (tramp-mode-string-to-int, tramp-local-host-p)
+       (tramp-make-tramp-temp-file, tramp-read-passwd)
+       (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff): Set
+       tramp-autoload cookie.
+
+       * net/trampver.el: Update release number.
+
+2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
+           Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-set-completion-function): Fix docstring.
+       (tramp-parse-group, tramp-parse-file)
+       (tramp-parse-shostkeys-sknownhosts): New defuns.
+       (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
+       (tramp-parse-shosts-group, tramp-parse-sconfig)
+       (tramp-parse-sconfig-group, tramp-parse-shostkeys)
+       (tramp-parse-sknownhosts, tramp-parse-hosts)
+       (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
+       Use them.
+       (tramp-parse-passwd-group, tramp-parse-netrc-group)
+       (tramp-parse-putty-group): Don't narrow.
+       (tramp-parse-putty): Make a loop.
+       (tramp-file-name-handler): Catch the `suppress' signal.
+
+2012-06-11  Chong Yidong  <cyd@gnu.org>
+
+       * image.el (imagemagick-register-types): Put the ImageMagick entry
+       at the end of image-type-file-name-regexps.
+
+2012-06-11  Johan Bockgård  <bojohan@gnu.org>
+
+       * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
+       (pcase, pcase-let*, pcase-dolist): Use them.
+
+2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/pcase.el (pcase--let*): New function.
+       (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
+       (pcase--expand): Use macroexp-let².
+
+2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
+       * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
+       * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
+       * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
+       * emacs-lisp/derived.el: Use pcase instead of `cl'.
+       * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
+
+2012-06-10  Glenn Morris  <rgm@gnu.org>
+
+       * mail/rmail.el (rmail-yank-current-message): Leave point at
+       correct position.  (Bug#11660)
+
+2012-06-10  Chong Yidong  <cyd@gnu.org>
+
+       * allout-widgets.el: Fix code header.
+
+2012-06-10  Chong Yidong  <cyd@gnu.org>
+
+       * cus-edit.el (customize-changed-options-previous-release):
+       Bump to 24.1.
+
+2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
+
+2012-06-09  Chong Yidong  <cyd@gnu.org>
+
+       * ebuff-menu.el (electric-buffer-list): Preserve header line.
+
+2012-06-09  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (special-display-popup-frame): Don't use
+       window--display-buffer (Bug#11651).
+
+2012-06-09  Eli Zaretskii  <eliz@gnu.org>
+
+       Fix parallel builds: make sure loaddefs.el is not being written
+       while Lisp files are compiled.
+       (compile): Don't depend on 'mh-autoloads'.
+       (compile-CMD, compile-SH): Depend on 'autoloads'.
+       (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
+
+       * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
+
+2012-06-09  Chong Yidong  <cyd@gnu.org>
+
+       * face-remap.el (face-remap-add-relative, face-remap-set-base)
+       (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
+       Doc fixes (Bug#11225).
+
+2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
+       a function if there's a clear indication that it has a compiler-macro.
+       * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
+       (macro-declarations-alist): Add arglist to declaration functions.
+       (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
+       * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
+       * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
+       * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
+       Also add autoload to find the compiler macro.
+       * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
+       (cl--compiler-macro-member, cl--compiler-macro-assoc)
+       (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
+       (cl--compiler-macro-get): New functions, replacing calls to
+       cl-define-compiler-macro.
+       (cl-typep) [compiler-macro]: Use macroexp-let².
+
+2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
+
+       * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
+       string properly, fixes Bug#11473.
+
+2012-06-08  Chong Yidong  <cyd@gnu.org>
+
+       * faces.el (set-face-attribute): Doc fix.
+       (modify-face): Don't use :bold and :italic.
+       (error, warning, success): Tweak definitions.
+
+       * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
+       (custom-modified, custom-set, custom-changed, custom-themed)
+       (custom-saved, custom-button, custom-button-mouse)
+       (custom-button-pressed, custom-state, custom-comment-tag)
+       (custom-variable-tag, custom-group-tag-1, custom-group-tag)
+       (custom-group-subtitle): Use new-style face specs.
+       (custom-invalid-face, custom-rogue-face, custom-modified-face)
+       (custom-set-face, custom-changed-face, custom-saved-face)
+       (custom-button-face, custom-button-pressed-face)
+       (custom-documentation-face, custom-state-face)
+       (custom-comment-face, custom-comment-tag-face)
+       (custom-variable-tag-face, custom-variable-button-face)
+       (custom-face-tag-face, custom-group-tag-face-1)
+       (custom-group-tag-face): Remove obsolete face alias.
+
+       * epa.el (epa-validity-high, epa-validity-medium)
+       (epa-validity-low, epa-mark, epa-field-name, epa-string)
+       (epa-field-name, epa-field-body):
+       * font-lock.el (font-lock-comment-face, font-lock-string-face)
+       (font-lock-keyword-face, font-lock-builtin-face)
+       (font-lock-function-name-face, font-lock-variable-name-face)
+       (font-lock-type-face, font-lock-constant-face):
+       * ido.el (ido-first-match, ido-only-match, ido-subdir)
+       (ido-virtual, ido-indicator, ido-incomplete-regexp):
+       * speedbar.el (speedbar-button-face, speedbar-file-face)
+       (speedbar-directory-face, speedbar-tag-face)
+       (speedbar-selected-face, speedbar-highlight-face)
+       (speedbar-separator-face):
+       * whitespace.el (whitespace-newline, whitespace-space)
+       (whitespace-hspace, whitespace-tab, whitespace-trailing)
+       (whitespace-line, whitespace-space-before-tab)
+       (whitespace-space-after-tab, whitespace-indentation)
+       (whitespace-empty):
+       * emulation/cua-base.el (cua-global-mark):
+       * eshell/em-prompt.el (eshell-prompt):
+       * net/newst-plainview.el (newsticker-new-item-face)
+       (newsticker-old-item-face, newsticker-immortal-item-face)
+       (newsticker-obsolete-item-face, newsticker-date-face)
+       (newsticker-statistics-face, newsticker-default-face):
+       * net/newst-reader.el (newsticker-feed-face)
+       (newsticker-extra-face, newsticker-enclosure-face):
+       * net/newst-treeview.el (newsticker-treeview-face)
+       (newsticker-treeview-new-face, newsticker-treeview-old-face)
+       (newsticker-treeview-immortal-face)
+       (newsticker-treeview-obsolete-face)
+       (newsticker-treeview-selection-face):
+       * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
+       (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
+       (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
+       (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
+       * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
+       (nxml-outline-active-indicator, nxml-outline-ellipsis):
+       * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
+       (mpuz-text):
+       * progmodes/vera-mode.el (vera-font-lock-number)
+       (vera-font-lock-function, vera-font-lock-interface):
+       * textmodes/table.el (table-cell): Use new-style face specs, and
+       don't use the old :bold and :italic attributes.
+
+       * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
+       (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
+       (ebrowse-member-class, ebrowse-progress): Likewise.
+       (ebrowse-tree-mark-face, ebrowse-root-class-face)
+       (ebrowse-file-name-face, ebrowse-default-face)
+       (ebrowse-member-attribute-face, ebrowse-member-class-face)
+       (ebrowse-progress-face): Remove obsolete faces.
+
+       * progmodes/flymake.el (flymake-errline, flymake-warnline):
+       Inherit from error and warning faces respectively.
+
+       * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
+       Likewise.
+       (flyspell-incorrect-face, flyspell-duplicate-face):
+       Remove obsolete aliases.
+
+2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-compat.el (tramp-compat-temporary-file-directory):
+       Avoid infloop.
+
+2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * startup.el (argv, argi): Make lexically scoped.
+       * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
+       * emacs-lisp/cl-macs.el: Use lexical-binding.
+       Rename cl-bind-* to cl--bind-*.
+       * files.el: Don't require `cl' since it doesn't use it.
+       * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
+
+2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
+
+       * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
+       (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
+       instead of calling external sort utility.
+       (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
+
+2012-06-08  Eli Zaretskii  <eliz@gnu.org>
+
+       * descr-text.el (describe-char): Mention how to insert the
+       character, if the current input method doesn't support it.
+       See the discussion in this thread for the details:
+       http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
+
+2012-06-08  Sam Steingold  <sds@gnu.org>
+
+       * bindings.el (global-map): Bind XF86Forward to next-buffer and
+       XF86Back to previous-buffer.
+       (minibuffer-local-map): Bind them to next-history-element and
+       previous-history-element respectively.
+       * help-mode.el (help-mode-map): Bind them to help-go-forward and
+       help-go-back respectively.
+       * info.el (Info-mode-map): Bind them to Info-history-forward and
+       Info-history-back respectively.
+       These are the keys next to Up on the ThinkPad keyboard.
+
+2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
+       * emacs-lisp/cl-macs.el: Provide itself.
+       (cl--labels-convert-cache): New var.
+       (cl--labels-convert): New function.
+       (cl-flet, cl-labels): New implementation with new semantics, relying on
+       lexical-binding.
+       * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
+       (cl-closure-vars, cl--function-convert-cache)
+       (cl--function-convert): Move from cl-macs.el.
+       (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
+       rename by removing the "cl-" prefix.
+       * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
+
+2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
+       (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
+       (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
+       (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
+       (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
+       (cl-hash-table-count): Add old compatibility aliases.
+
+       * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
+       Use macroexpand-all-environment instead.
+       (cl--old-macroexpand): New var.
+       (cl--sm-macroexpand): New function.
+       (cl-symbol-macrolet): Use it during macro expansion.
+       (cl--function-convert-cache): New var.
+       (cl--function-convert): New function, extracted from
+       cl-macroexpand-all.
+       (cl-lexical-let): Use it.
+
+       * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
+       (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
+       (cl-member): Remove old alias.
+
+       * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
+       (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
+       (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
+       (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
+       (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
+       (cl-macroexpand-cmacs): Remove var.
+       (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
+       Use macroexpand-all instead.
+
+2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
+       (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
+       (macroexp-copyable-p): New functions and macros.
+       * emacs-lisp/edebug.el (edebug-unwrap):
+       * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
+       * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
+       (pcase--let*): Remove.
+       * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
+       (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
+       macroexp-const-p instead.
+       * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
+
+       * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
+       instead of "cl-" for internal definitions.  Use macroexp-const-p.
+       (cl-old-bc-file-form): Remove var.
+       (cl-const-exprs-p): Remove fun.
+       (cl-labels, cl-macrolet): Use backquote.
+       (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
+       (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
+       (cl-define-setf-expander): Rename from cl-define-setf-method.
+       * emacs-lisp/cl.el: Adjust alias for define-setf-method.
+
+       * international/mule-cmds.el: Don't require CL.
+       (view-hello-file): Don't use `letf'.
+
+2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * tmm.el (tmm-prompt): Use string-prefix-p.
+       (tmm-completion-delete-prompt): Don't affect current-buffer outside.
+       (tmm-add-prompt): Use minibuffer-completion-help.
+       (tmm-delete-map): Remove.
+
+       * subr.el (kbd): Make it its own function.
+
+2012-06-07  Stefan Merten  <smerten@oekonux.de>
+
+       * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
+       Silence compiler warnings.  Fix versions.
+       (rst-position-if, rst-position, rst-some, rst-signum): New functions.
+       (rst-shift-region, rst-adornment-level, rst-compute-tabs)
+       (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
+       (rst-package-emacs-version-alist): Correct Emacs version to
+       represent major merge with upstream.
+       (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
+
+2012-06-06  Glenn Morris  <rgm@gnu.org>
+
+       * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
+       Only print environment variables if set.
+
+2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
+       (macroexp--cons): Rename from maybe-cons.
+       (macroexp--accumulate): Rename from macroexp-accumulate.
+       (macroexp--all-forms): Rename from macroexpand-all-forms.
+       (macroexp--all-clauses): Rename from macroexpand-all-clauses.
+       (macroexp--expand-all): Rename from macroexpand-all-1.
+
+2012-06-06  Sam Steingold  <sds@gnu.org>
+
+       * calendar/calendar.el (calendar-in-read-only-buffer):
+       Call `special-mode' to enable the standard read-only keybindings.
+
+2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
+       with "loading" messages (bug#11635).
+
+2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
+
+       * files.el (enable-remote-dir-locals): New option.
+       (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
+
+       * net/tramp-compat.el (tramp-compat-temporary-file-directory):
+       Ensure, that the temp directory is local.
+
+       * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
+       `temporary-file-directory'.
+
+       * progmodes/python.el (python-send-region): Ensure, that the
+       temporary file is created also in the remote case.
+
+2012-06-06  Glenn Morris  <rgm@gnu.org>
+
+       * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
+       (vc-rcs-update-changelog): Use it.
+
+       * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
+
+       * vc/vc-sccs.el (vc-sccs-write-revision): New function.
+       (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
+       (vc-sccs-diff): Replace use of the external vcdiff script.
+
+2012-06-05  Glenn Morris  <rgm@gnu.org>
+
+       * ledit.el: Move to obsolete/.
+
+2012-06-05  Sam Steingold  <sds@gnu.org>
+
+       * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
+       patch (Bug#11140).
+
+2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-list/cust-print.el: Move to obsolete.
+
+       * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
+       compiler-macro expansion.
+
+       Add native compiler-macro support.
+       * emacs-lisp/macroexp.el (macroexpand-all-1):
+       Support compiler-macros directly.  Properly follow aliases and apply
+       the compiler macros more thoroughly.
+       * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
+       macroexpand now properly follows aliases.
+       * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
+       (cl-compiler-macroexpand): Use new prop.
+       * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
+
+       * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
+
+2012-06-05  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (get-lru-window, get-mru-window, get-largest-window):
+       New argument NOT-SELECTED to avoid picking the selected window.
+       (window--display-buffer-1, window--display-buffer-2): Replace by
+       new function window--display-buffer
+       (display-buffer-same-window, display-buffer-reuse-window)
+       (display-buffer-pop-up-frame, display-buffer-pop-up-window):
+       Use window--display-buffer.
+       (display-buffer-use-some-window): Remove temporary dedication
+       hack by calling get-lru-window and get-largest-window with
+       NOT-SELECTED argument non-nil.  Call window--display-buffer.
+
+2012-06-05  Glenn Morris  <rgm@gnu.org>
+
+       * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
+       Replace external vcdiff script.
+
 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
 
        * net/tramp.el (tramp-action-login): Set connection property "login-as".
 
-       * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
-       properties, when "login-as" is set.
-
        * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
        (tramp-default-user-alist): Don't add "pscp".
        (tramp-do-copy-or-rename-file-out-of-band): Use connection
 
 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
 
-       * net/tramp-cache.el (tramp-flush-file-property): Flush also
-       properties of linked files.  (Bug#9879)
-
        * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
        local file name.