Add "site-lisp" to manual indices.
[bpt/emacs.git] / lisp / ChangeLog
index 566dad7..6491025 100644 (file)
@@ -1,3 +1,304 @@
+2012-07-07  Chong Yidong  <cyd@gnu.org>
+
+       * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
+       (interprogram-cut-function, interprogram-paste-function): Mention
+       that we typically mean the clipboard.
+
+2012-07-06  Glenn Morris  <rgm@gnu.org>
+
+       * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
+
+       * files.el (toggle-read-only): Restrict message to interactive use.
+
+2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
+
+       * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
+
+2012-07-06  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (compile-one-process): Rename from "recompile".
+
+       * Makefile.in (bzr-update): "compile" is the same as "recompile
+       autoloads", but parallelizable, so use that instead.
+
+2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * window.el (quit-window): Always restore window height when
+       it's saved in quit-restore parameter.
+
+2012-07-06  Glenn Morris  <rgm@gnu.org>
+
+       * simple.el (kill-whole-line): Doc tweak.
+
+2012-07-06  Eli Zaretskii  <eliz@gnu.org>
+
+       * files.el (file-relative-name): Compare file names
+       case-insensitively if on MS-Windows or MS-DOS, or if
+       read-file-name-completion-ignore-case is non-nil.  Don't use
+       case-fold-search for this purpose.  (Bug#11827)
+
+2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * calendar/cal-dst.el (calendar-current-time-zone): Return
+       calendar-current-time-zone-cache if non-nil.
+
+2012-07-06  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (cvs-update): Remove old alias.
+
+2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
+
+       Sync with Tramp 2.2.6-pre.
+
+       * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
+       compatible declaration.
+
+       * net/tramp-cmds.el (tramp-append-tramp-buffers): Protect
+       `list-load-path-shadows' call.
+
+       * net/tramp-compat.el (top): Require packages, which aren't
+       autoloaded anymore for XEmacs.  Protect call of
+       `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
+       compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
+       it hurts at least for SXEmacs.
+       (tramp-compat-temporary-file-directory): In XEmacs, there is no
+       standard-value for `temporary-file-directory'.
+
+       * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
+       Redirect stderr to /dev/null.
+       (tramp-sh-handle-write-region): uid and gid can be floats.
+       Reported by Russell Sim <russell.sim@gmail.com>.
+       (tramp-sh-handle-vc-registered): Hide errors.
+       (tramp-vc-file-name-handler): Use dummy results for `process-file'
+       and `start-file-process'.
+       (tramp-maybe-open-connection): Check also whether `non-essential'
+       is bound.
+
+2012-07-04  Chong Yidong  <cyd@gnu.org>
+
+       * xml.el (xml--parse-buffer): Use xml-syntax-table.
+       (xml-parse-tag): Likewise, and avoid changing entity tables.
+       (xml-syntax-table): Define from scratch, making sure not to give
+       x2000 and other Unicode spaces whitespace syntax, since those are
+       not spaces in XML.
+       (xml-parse-fragment): Delete unused function.
+       (xml-name-start-char-re, xml-name-char-re, xml-name-re)
+       (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
+       (xml-entity-ref, xml-pe-reference-re)
+       (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
+       (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
+       (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
+       (xml-entity-value-re): Use syntax references in regexps where
+       possible; no need to define inside a let-binding.
+       (xml-parse-dtd): Use xml-pe-reference-re.
+       (xml-entity-or-char-ref-re): New defconst.
+       (xml-parse-string, xml-substitute-special): Use it.
+
+2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * files.el (locate-dominating-file): Allow `name' to be a predicate.
+       (find-file--read-only): New function.
+       (find-file-read-only, find-file-read-only-other-window)
+       (find-file-read-only-other-frame): Use it.
+       (insert-file-contents-literally): Don't `fset'.
+       (get-free-disk-space): Use locate-dominating-file.
+
+       * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
+       function is already compiled.
+
+       * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
+
+2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
+
+       * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
+       files on the same host.
+
+2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * help-fns.el (describe-function-1): Only call
+       help-fns--autoloaded-p when we have a file name.  (Bug#11848)
+
+2012-07-03  Chong Yidong  <cyd@gnu.org>
+
+       * xml.el: Protect parser against XML bombs.
+       (xml-entity-expansion-limit): New variable.
+       (xml-parse-string, xml-substitute-special): Use it.
+       (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
+
+2012-07-03  Glenn Morris  <rgm@gnu.org>
+
+       * progmodes/bug-reference.el (bug-reference-bug-regexp):
+       Allow linking to specific messages in debbugs reports (eg 123#5).
+
+2012-07-02  Chong Yidong  <cyd@gnu.org>
+
+       * xml.el: Fix entity and character reference expansion, allowing
+       them to expand into markup as per XML spec.
+       (xml-default-ns): New variable.
+       (xml-entity-alist): Use XML spec definitions for lt and amp.
+       (xml-parse-region): Make first two arguments optional.
+       Discard text properties.
+       (xml-parse-tag-1): New function, spun off from xml-parse-tag.
+       All callers changed.
+       (xml-parse-tag): Call xml-parse-tag-1.  For backward
+       compatibility, this function should not modify buffer contents.
+       (xml-parse-tag-1): Fix opening-tag regexp.
+       (xml-parse-string): Rewrite, handling entity and character
+       references properly.
+       (xml--entity-replacement-text): Signal an error if a parameter
+       entity is undefined.
+
+2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * comint.el (comint-output-filter): Filter out repeated prompts.
+
+       * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
+       and file-name-absolute-p.
+       (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
+       internal calls.
+
+2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Spelling fixes.
+       * emacs-lisp/bytecomp.el (byte-compile--reify-function):
+       Rename from byte-compile--refiy-function.  All uses changed.
+
+2012-07-01  Chong Yidong  <cyd@gnu.org>
+
+       * xml.el (xml--parse-buffer): New function.  Move most of
+       xml-parse-region here.
+       (xml-parse-region): Copy region into a temporary buffer, since
+       parameter entity substitution requires changing buffer contents.
+       Use xml--parse-buffer.
+       (xml-parse-file): Use xml--parse-buffer.
+       (xml-parse-dtd): Make parameter entity substitution work right.
+       Use proper regexps for ELEMENT declarations (Bug#7172).
+
+2012-06-30  Glenn Morris  <rgm@gnu.org>
+
+       * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
+
+       * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
+       Remove outdated and unnecessary dbus declarations.
+
+2012-06-30  Eli Zaretskii  <eliz@gnu.org>
+
+       * emacs-lisp/timer.el (timer-until): Subtract results of
+       float-time, instead of taking float-time of the result of
+       time-subtract, since float-time signals an error for negative time
+       arguments.
+
+2012-06-30  Chong Yidong  <cyd@gnu.org>
+
+       * xml.el (xml-*-re): Convert defvars into defconsts, and
+       eval-and-compile them so eval-and-compile works on derivatives.
+       (xml--entity-replacement-text): Use eval-and-comple.
+
+2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
+
+       * vc/vc-git.el (vc-git-registered): Use cache property
+       `git-registered'.
+       (vc-git-mode-line-string): Call `vc-working-revision' instead of
+       `vc-git-working-revision' in order to benefit from the cache.
+       (vc-git-root): Use cache property `git-root'.
+
+2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
+       removed (likely outside Emacs).
+
+2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/cl-lib.el: Require macroexp.
+
+2012-06-30  Chong Yidong  <cyd@gnu.org>
+
+       * xml.el: Implement XML parameter entities.
+       (xml-parameter-entity-alist): New variable.
+       (xml-parse-region, xml-parse-fragment): Preserve previous values
+       of xml-entity-alist and xml-parameter-entity-alist, so that
+       repeated calls on different documents do not change them.
+       (xml-parse-tag): Fix doctype regexp.
+       (xml--entity-replacement-text): New function.
+       (xml-parse-dtd): Use it.  Don't handle system entities; doing that
+       properly requires url retrieval which is unimplemented.
+       (xml-escape-string): Doc fix.
+
+2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
+
+2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * fringe.el (fringe-mode): Doc fix.
+
+2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
+       is non-nil.
+       (ange-ftp-ignore-errors-if-non-essential): New defmacro.
+       (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
+
+2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * calendar/cal-dst.el (calendar-current-time-zone):
+       Return calendar-current-time-zone-cache if non-nil.
+
+2012-06-29  Masatake YAMATO  <yamato@redhat.com>
+
+       * progmodes/which-func.el (which-func-format):
+       Add mouse-face.  (Bug#11698)
+
+2012-06-29  Leo Liu  <sdl.web@gmail.com>
+
+       * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
+
+2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (minibuffer-confirm-exit-commands):
+       Add completion-at-point (bug#11725).
+
+2012-06-29  Glenn Morris  <rgm@gnu.org>
+
+       * progmodes/f90.el (f90-font-lock-keywords-2):
+       Add some preprocessor elements.  (Bug#10499)
+
+2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/cperl-mode.el (cperl-update-syntaxification):
+       Use syntax-propertize (bug#11739).
+
+2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
+
+       * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
+
+2012-06-28  Julien Danjou  <julien@danjou.info>
+
+       * term.el (term-handle-colors-array): Use a set of new faces to
+       color the terminal.  Also uses :inverse-video property.
+       (term-default-fg-color): Set to nil by default, deprecate in favor
+       of `term-face'.
+       (term-default-bg-color): Set to nil by default, deprecate in favor
+       of `term-face'.
+       (term-current-face): Use `term-face' by default.
+       (term-bold-attribute): Variable deleted.
+
+2012-06-28  Glenn Morris  <rgm@gnu.org>
+
+       * simple.el (completion-list-mode-finish):
+       Don't use toggle-read-only.  (Since completion-list-mode has
+       a special mode-class, it wasn't doing anything extra anyway.)
+
+2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Make inlining of other-mode interpreted functions work (bug#11799).
+       * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
+       (byte-compile): Use it to fix compilation of lexical-binding closures.
+       * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
+       function, if needed.
+
 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * help-mode.el (help-make-xrefs): Don't just withstand
        * calendar/icalendar.el
        (icalendar-export-region): Export UID properly.
 
-2012-05-29 Leo <sdl.web@gmail.com>
+2012-05-29  Leo Liu  <sdl.web@gmail.com>
        * calendar/icalendar.el (icalendar-import-format):
        Add `icalendar-import-format-uid' (Bug#11525).
        (icalendar-import-format-uid): New.
        Simplify; Don't bother removing a ] just to add it back.
        * textmodes/ispell.el (ispell-program-name): Use executable-find.
 
-2012-05-18  RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
+2012-05-18  RĂ¼diger Sonderfeld  <ruediger@c-plusplus.de>
 
        * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
        New functions.
        files from Git, SVN, Bazaar, and Mercurial.
        (save-place-to-alist): Use it.
 
-2012-02-17  Lawrence Mitchell <wence@gmx.li>
+2012-02-17  Lawrence Mitchell  <wence@gmx.li>
             Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * newcomment.el (uncomment-region-default): Don't leave extra space