Merge changes made in Gnus trunk.
[bpt/emacs.git] / lisp / ChangeLog
index e99e4b5..20514a0 100644 (file)
@@ -1,5 +1,389 @@
+2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * net/netrc.el (netrc-parse): Comment fix.
+
+2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
+
+       * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
+       Autoload.  Add optional arg FRAME, and pass it to color-values.
+       (color-complement): Caller changed.  Doc fix.
+       (color-gradient): Rewrite for better clarity and efficiency.
+
+       * faces.el (color-values): Use cond for clarity.  Doc fix.
+
+       * facemenu.el (color-rgb-to-hsv): Deleted; use the version in
+       color.el instead.
+       (list-colors-sort-key, list-colors-print): Use
+       color-normalized-values.
+
+2011-02-20  Drew Adams  <drew.adams@oracle.com>
+
+       * color.el: First part of merge from hexrgb.el.
+       (color-rgb-to-hex): Rename from color-rgb->hex.
+       (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
+       saturation to zero if the value is too small.
+       (color-rgb-to-hsl): Rename from color-rgb->hsl.
+       (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
+       (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
+       (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
+       (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
+       (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
+       (color-cie-de2000): Doc fix.
+
+2011-02-20  Alan Mackenzie  <acm@muc.de>
+
+       * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
+       locating the beginning of a macro.  (Bug#7595)
+
+2011-02-20  Glenn Morris  <rgm@gnu.org>
+
+       * edmacro.el (edmacro-eight-bits): Make it a defcustom.
+       Don't autoload it.
+
+       * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
+       (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
+
+2011-02-19  Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
+            Dima Kogan <dkogan@cds.caltech.edu>  (tiny change)
+
+       * progmodes/hideshow.el (hs-find-block-beginning)
+       (hs-hide-level-recursive): Ignore comments when parsing braces
+       (Bug#8036).
+
+2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
+
+       * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
+       (vc-bzr-pull): Use it.
+
+2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
+
+       * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
+       (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
+       but returning an alist.  Ignore comments in bzr conffile.
+       (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
+       (vc-bzr-error-regex-alist): New var.
+       (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
+
+       * vc/vc-dispatcher.el (vc-do-async-command): Bind
+       inhibit-read-only to t.
+
+       * progmodes/compile.el (compilation--flush-directory-cache):
+       Handle the case where cdr of compilation--flush-directory-cache
+       points to no buffer, which can occur if we previously switched to
+       compilation-mode in a pregenerated buffer.
+
+2011-02-19  Kenichi Handa  <handa@m17n.org>
+
+       * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
+       get the header copy into the temporary buffer.
+       (rmail-mime-insert-decoded-text): Ignore us-ascii.
+       (rmail-show-mime): When rmail-mime-coding-system is nil, set
+       buffer-file-coding-system to undecided.
+
+2011-02-19  Eli Zaretskii  <eliz@gnu.org>
+
+       * international/mule-cmds.el (read-char-by-name, ucs-insert):
+       Document completion with asterisk and a substring.
+
+2011-02-19  Glenn Morris  <rgm@gnu.org>
+
+       * files.el (find-file-literally): Doc fix.
+
+       * simple.el (rfc822-goto-eoh): Give it a doc-string.
+
+       * log-edit.el (log-edit-insert-changelog):
+       Fix `log-edit-strip-single-file-name' functionality.  (Bug#8057)
+
+2011-02-19  Glenn Morris  <rgm@gnu.org>
+
+       * dired-x.el: Don't require dired-aux.
+       (dired-do-create-files, dired-mark-read-regexp)
+       (dired-do-create-files-regexp): Autoload from dired-aux.
+
+       * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
+       * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
+
+       * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
+       * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
+
+       * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
+       * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
+       (dired-clean-up-buffers-too): Declare.
+
+       * dired-x.el (dired-initial-position): Merge into dired.el's version.
+       * dired.el (dired-initial-position): Merge dired-x's version here.
+       (dired-find-subdir): Declare.
+
+       * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
+       * dired-aux.el (dired-add-entry): Give it a doc-string.
+       Merge dired-x's dired-omit handling here.
+       (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
+
+       * international/mule-diag.el (list-input-methods-1):
+       Indent all lines of multi-line doc-strings.  (Bug#8066)
+
+2011-02-18  Chong Yidong  <cyd@stupidchicken.com>
+
+       Fix 2011-02-02 changes.
+
+       * apropos.el (apropos-print): Call apropos-mode before setting up
+       buffer variables.  Use inhibit-read-only.
+
+       * emacs-lisp/package.el (package--list-packages): Call
+       package-menu-mode before setting up buffer variables.
+
+       * play/solitaire.el (solitaire): Call solitaire-mode before
+       setting up buffer variables.  Use inhibit-read-only.
+
+2011-02-18  Lawrence Mitchell  <wence@gmx.li>
+
+       * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
+       Bind case-fold-search to nil when looking for end of here-doc.
+
+2011-02-18  Eli Zaretskii  <eliz@gnu.org>
+
+       * image-mode.el (image-toggle-display-image):
+       Set find-file-literally non-nil in buffers visiting binary image
+       files.  (Bug#8047)
+
+2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * files.el (cd): Make completion obey cd-path (bug#7924).
+
+2011-02-18  Glenn Morris  <rgm@gnu.org>
+
+       * progmodes/prolog.el: Don't require compile when compiling.
+       (compilation-shell-minor-mode, compilation-error-regexp-alist)
+       (compilation-forget-errors, compilation-fake-loc)
+       (compilation-parse-errors-function, compilation-error-list): Declare.
+       (prolog-inferior-mode): Require 'compile.
+
+       * emulation/cua-base.el (pc-selection-mode): Declare.
+
+       * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
+       (customize-object): Add autoload cookie.
+       * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
+       (eieio-browse, describe-class, eieio-describe-class)
+       (eieio-describe-constructor, describe-generic, eieio-describe-generic)
+       (eieio-help-mode-augmentation-maybee): Add autoload cookies.
+       * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
+       * Makefile.in (autoloads): Make eieio.el writable.
+
+       * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
+       (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
+       (dired-hack-local-variables): Use inhibit-read-only.
+       (dired-guess-default): Simplify.
+       (dired-make-relative-symlink): Use dotimes.
+       (dired-simultaneous-find-file): Use dolist.
+       (dired-mark-sexp): Remove unneeded `if'.  Use line-end-position.
+       (dired-x-hands-off-my-keys): Doc fix.
+       (dired-x-bind-find-file): Doc fix.  Use remapping.
+       (after-init-hook): No need to add dired-x-bind-find-file.
+       (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
+       No need to call expand-file-name.
+       (dired-filename-at-point): Remove unused locals `end', `filename'.
+
+2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
+
+2011-02-18  Christian Ohler  <ohler@gnu.org>
+
+       * emacs-lisp/ert.el (ert--setup-results-buffer)
+       (ert-results-pop-to-backtrace-for-test-at-point)
+       (ert-results-pop-to-messages-for-test-at-point)
+       (ert-results-pop-to-should-forms-for-test-at-point)
+       (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
+       were incorrect and unnecessary.  This should make `make check'
+       pass again.
+
+2011-02-17  Ken Manheimer  <ken.manheimer@gmail.com>
+
+       * lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
+       (allout-widgets-icons-dark-subdir): Track relocations of icons
+       * lisp/allout.el: Remove commentary about remove encryption
+       passphrase mnemonic support and verification.
+       (allout-encrypt-string): (allout-encrypt-string): Recognize epg
+       failure to decrypt gpg2 armored text using gpg1, and indicate that
+       the gpg version *might* be the problem in the error message.
+
+2011-02-17  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
+
+       * net/rcirc.el (rcirc-float-time): New function.
+       (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
+       (rcirc-ctcp-sender-PING): Use it.
+
+2011-02-17  Glenn Morris  <rgm@gnu.org>
+
+       * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
+       (speedbar-update-flag, speedbar-fetch-etags-command)
+       (speedbar-fetch-etags-arguments):
+       * term.el (term-buffer-maximum-size, term-input-chunk-size)
+       (term-completion-autolist, term-completion-addsuffix)
+       (term-completion-recexact, term-completion-fignore):
+       * term/sup-mouse.el (sup-mouse-fast-select-window):
+       * term/x-win.el (x-select-request-type):
+       Convert some defvars with "*" to defcustoms.
+
+       * shell.el (shell-delimiter-argument-list): Set it to nil.  (Bug#8027)
+
+       * vc/vc.el (vc-default-previous-version):
+       Remove alias that points nowhere.  (Bug#4496)
+
+       * dired-x.el (dired-clean-up-after-deletion):
+       kill-buffer does not need save-excursion.
+       (dired-do-run-mail): Doc fix.
+       (dired-filename-at-point): Doc fix.
+       Use looking-at, and skip-chars rather than re search.
+
+       * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
+
+2011-02-16  Ken Manheimer  <ken.manheimer@gmail.com>
+
+       * allout-widgets.el: New allout extension that shows allout
+       outline structure with graphical widgets.  'allout-widgets'
+       customize group is an 'allout' subgroup, for easy discovery.
+
+       * allout.el: Include PGP and GnuPG in Keywords, and other
+       commentary refinements.
+       (allout-abbreviate-flattened-numbering): Rename to
+       allout-flattened-numbering-abbreviation, and
+       define-obsolete-variable-alias the old name.
+       (allout-flattened-numbering-abbreviation): Rename from
+       allout-abbreviate-flattened-numbering.
+       (allout-mode-p): Include among autoloads, for use by other modes
+       with impunity.
+       (allout-listify-exposed):
+       Use allout-flattened-numbering-abbreviation.
+       (allout-encrypt-string): Use set-buffer-multibyte directly.
+       (allout-set-buffer-multibyte): Remove.
+
+2011-02-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
+
+       * simple.el (just-one-space): Remove useless `or' call.
+
+2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
+
+       * soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
+       (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
+       (soap-decoded-multi-refs, soap-current-wsdl)
+       (soap-encoded-namespaces): Rename CL-style *...* variables.
+
+2011-02-16  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/soap-client.el: Add "comm" and "hypermedia" to the
+       keywords.  Reflow too long lines.
+
+       * net/soap-inspect.el: Ditto.  Require 'cl.
+
+2011-02-16  Bastien Guerry  <bzg@altern.org>
+
+       * play/doctor.el (doctor-mode): Bugfix: escape the "," character
+       in a `doctor-type' argument.
+
+2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
+
+       * net/soap-client.el:
+       * net/soap-inspect.el: New files.
+
+2011-02-16  Leo  <sdl.web@gmail.com>
+
+       * dired-x.el (dired-mode-map, dired-extra-startup):
+       Remove dired-copy-filename-as-kill since it's already in dired.el.
+
+2011-02-16  Glenn Morris  <rgm@gnu.org>
+
+       * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
+       Doc fixes.  Add :set property, replacing top-level calls.
+       (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
+       (dired-guess-shell-gnutar): Test tar version rather than system-type.
+       (dired-extra-startup, dired-man, dired-info): Doc fixes.
+       (dired-clean-up-after-deletion): Use when and dolist.
+       (dired-jump): Use unless and when.
+       (dired-virtual): Use line-end-position.
+       (dired-default-directory-alist): Rename from default-directory-alist.
+       (dired-default-directory): Update for above name change.
+       (dired-vm): Drop VM < 5 and simplify.
+       (dired-buffer-more-recently-used-p): Rewrite.
+       (dired-filename-at-point): Use when and or.
+       (dired-x-read-filename-at-point): Rename from read-filename-at-point.
+       Update callers.
+
+2011-02-15  Glenn Morris  <rgm@gnu.org>
+
+       * dired-x.el: Use easymenu for menu items.  Fix item capitalization.
+
+2011-02-14  Chong Yidong  <cyd@stupidchicken.com>
+
+       * vc/vc-git.el (vc-git-root-log-format): New option for
+       customizing log format.
+       (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
+       (vc-git-log-view-mode): Use it.
+       (vc-git-expanded-log-entry): New function.
+       (vc-git-log-view-mode): Use it.  Truncate lines in root log.
+
+       * vc/vc-hg.el (vc-hg-root-log-template): New option for
+       customizing log format.
+       (vc-hg-print-log): Use it.
+       (vc-hg-expanded-log-entry): New function.
+       (vc-hg-log-view-mode): Use vc-hg-root-log-template and
+       vc-hg-expanded-log-entry.  Truncate lines in root log.
+
+       * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
+
+       * vc/log-view.el (log-view-mode-menu):
+       Add log-view-toggle-entry-display.
+
+2011-02-14  Glenn Morris  <rgm@gnu.org>
+
+       * dired-x.el: Don't require man when compiling.
+       (dired-omit-extensions, dired-local-variables-file)
+       (dired-x-hands-off-my-keys): Make them defcustoms.
+       (Man-support-local-filenames, Man-getpage-in-background): Declare.
+       (vm-visit-folder): Declare rather than defining.
+       (dired-x-help-address, dired-x-variable-list): Remove.
+       (dired-x-submit-report): Make it an obsolete alias.
+
+2011-02-14  Juanma Barranquero  <lekktu@gmail.com>
+
+       * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
+
 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
 
+       * net/imap.el: Bring it back.
+
+2011-02-13  Alan Mackenzie  <acm@muc.de>
+
+       * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
+       narrow-to-region call that cuts context off the end (Bug#7722).
+
+       * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
+       Refactor nested if-forms with a simple cond.
+       (c-forward-<>-arglist): Revert 2011-01-31 change.
+
+2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
+
+       * vc/log-view.el: New command log-view-toggle-entry-display for
+       toggling log entries between concise and detailed forms.
+       (log-view-toggle-entry-display): New command.
+       (log-view-mode-map): Bind RET to it.
+       (log-view-expanded-log-entry-function): New variable.
+       (log-view-current-entry, log-view-inside-comment-p)
+       (log-view-current-tag): New functions.
+       (log-view-toggle-mark-entry): Use log-view-current-entry and
+       log-view-end-of-defun instead of searching directly with
+       log-view-message-re.
+       (log-view-end-of-defun): Likewise.  Add optional ARG for
+       compatibility with end-of-defun.
+       (log-view-end-of-defun): Ignore comments and VC buttons.
+
+       * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
+       (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
+
+2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * net/imap.el: Remove file.  All the functionality is in nnimap.el.
+
        * net/imap-hash.el: Remove file.
 
 2011-02-13  Michael Albinus  <michael.albinus@gmx.de>
        * progmodes/cc-cmds.el (c-forward-over-illiterals):
        Continue parsing if we encounter a naked # (Bug#7595).
        (c-beginning-of-statement): Avoid loop in locating the beginning
-       of a macro.
+       of a macro.  (Not actually committed until 2011-02-20, see above).
 
 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
 
 
 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
 
-       * net/rcirc.el: New customizable nick completion format. (Bug#6314)
+       * net/rcirc.el: New customizable nick completion format.  (Bug#6314)
        (rcirc-nick-completion-format): New defcustom.
        (rcirc-complete): Use it.
 
 
        * calc/calc.el (calc-default-power-reference-level)
        (calc-default-field-reference-level): New variables.
-       * calc/calc-units.el (math-standard-units):  Add dB and Np.
+       * calc/calc-units.el (math-standard-units): Add dB and Np.
        (math-logunits): New variable.
        (math-extract-logunits, math-logcombine, calcFunc-luplus)
        (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
        * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
        (calc-ul-prefix-help): New function.
        * calc/calc-ext.el (calc-init-extensions): Autoload new units
-       functions. Add keybindings for new units functions.
+       functions.  Add keybindings for new units functions.
 
 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
 
 
 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
 
-       * allout.el: (allout-institute-keymap): Use fset instead of
+       * allout.el (allout-institute-keymap): Use fset instead of
        reapplying defalias.
 
        (allout-hotspot-key-handler): Check for non-control-modified
        (info-xref-output-heading): Rename from info-xref-filename-heading.
        (info-xref-good, info-xref-bad, info-xref-xfile-alist)
        (info-xref-filename-heading): Move to output managing section.
-       (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
+       (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
        (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
        (info-xref-subfile-p): Move to generic section with those two.
        (info-xref-check-node): New function split from
        (info-xref-check-node): Use it.
        (info-xref-with-output): Show count of unavailables at end of output.
        (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
-       symlinks.  Exclude .texi files.  Exclude Emacs backup files.
+       symlinks.  Exclude .texi files.  Exclude Emacs backup files.
        (info-xref-check-all-custom): Fix quietening viper-mode and
        gnus-registry-install -- use setq not let so as not to unbind
        after load.
        (allout-toggle-subtree-encryption): Adjust docstrings to reflect
        defaulting policy and other changes.  Change fetch-pass to keymode-cue,
        for simpler universal argument interpretation.
-       (allout-toggle-subtree-encryption):  Adjust docstring to describe
+       (allout-toggle-subtree-encryption): Adjust docstring to describe
        changed encryption provisions.  Change fetch-pass to keymode-cue, for
        simpler universal argument interpretation.  Remove provisions for
        handling key type and identity - they'll all be within
        and "psftp".  Exchange "%k" marker with options.
        (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
        Compute size of link target.
-       (tramp-do-copy-or-rename-file-out-of-band). Move setting of
-       `tramp-current-*' up due to gateway methods.  Optimze computing of
+       (tramp-do-copy-or-rename-file-out-of-band): Move setting of
+       `tramp-current-*' up due to gateway methods.  Optimize computing of
        copy arguments.  Use `tramp-get-connection-name' and
        `tramp-get-connection-buffer'.  Improve debug messages.
        (tramp-compute-multi-hops): Remove port determination.
 
        * international/characters.el (char-acronym-table): New variable.
        (glyphless-char-control): New variable.
-       (update-glyphless-char-display): New funciton.
+       (update-glyphless-char-display): New function.
 
        * faces.el (glyphless-char): New face.
 
 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
 
        * term/x-win.el (x-get-selection-value): New function that gets
-       PRIMARY with type as specified in x-select-request-type. (Bug#6802).
+       PRIMARY with type as specified in x-select-request-type.  (Bug#6802)
 
 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
 
        (sql-postgres-login-params): Add user and database defaults.
        (sql-buffer-live-p): Bug fix.
        (sql-product-history): New variable.
-       (sql-read-product): New function. Use it.
+       (sql-read-product): New function.  Use it.
        (sql-set-product, sql-product-interactive): Use it.
        (sql-connection-history): New variable.
        (sql-read-connection): New function.  Use it.