Add support for bzr shelve/unshelve.
[bpt/emacs.git] / lisp / ChangeLog
index 064ff15..73e4706 100644 (file)
@@ -1,5 +1,356 @@
+2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       Add support for bzr shelve/unshelve.
+       * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
+       (vc-bzr-extra-menu-map): New variables.
+       (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
+       (vc-bzr-shelve-apply, vc-bzr-shelve-list)
+       (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
+       (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
+       (vc-bzr-dir-extra-headers): Display shelves.
+
+       * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
+
+2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * textmodes/bibtex.el (bibtex-complete-internal):
+       Use completion-in-region.
+       (bibtex-text-in-field-bounds): Remove unused var `opoint'.
+
+2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       Support applying stashes.  Improve UI.
+       * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
+       (vc-git-stash-apply, vc-git-stash-pop)
+       (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
+       (vc-git-stash-menu): New functions.
+       (vc-git-stash-menu-map): New variable.
+       (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
+
+2009-12-03  Glenn Morris  <rgm@gnu.org>
+
+       * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
+       (vc-print-log-internal): Fix previous change.
+       (vc-revert): Correct pluralization.
+
+2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/make-mode.el (makefile-special-targets-list): No need for
+       it to be an alist any more.
+       (makefile-complete): Use completion-in-region.
+
+       * progmodes/octave-mod.el (octave-complete-symbol):
+       Use completion-in-region.
+
+       Misc cleanup.
+       * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
+       (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
+       (idlwave-complete-class): Don't quote lambda.
+       (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
+       (idlwave-mode-map): Move initialization into declaration.
+       (idlwave-action-and-binding): Use backquotes.
+       (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
+       Simplify.
+       (idlwave-is-pointer-dereference): Remove unused var `pos'.
+       (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
+       (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
+       `parts', and `all-parts'.
+       (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
+       (idlwave-convert-xml-system-routine-info): Remove unused string
+       `version-string'.
+       (idlwave-display-user-catalog-widget): Use dolist.
+       (idlwave-scanning-lib): Declare dynamically-scoped var.
+       (idlwave-scan-library-catalogs): Remove unused var `flags'.
+       (completion-highlight-first-word-only): Declare to silence bytecomp.
+       (idlwave-popup-select): Tighten scope of `resp'.
+       (idlwave-find-struct-tag): Remove unused var `beg'.
+       (idlwave-after-load-rinfo-hook): Declare.
+       (idlwave-sintern-class-info): Remove unused var `taglist'.
+       (idlwave-find-class-definition): Remove unused var `list'.
+       (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
+       (idlwave-what-module-find-class): Remove unused var `classes'.
+
+2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
+
+       * progmodes/pascal.el: Require CL when compiling (for lexical-let).
+
+2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
+       buffers visited.  Remove redundant current-buffer-saving.
+
+2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Use completion-in-buffer and remove uses of dynamic scoping.
+       * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
+       (pascal-buffer-to-use, pascal-flag): Don't declare.
+       (pascal-func-completion, pascal-type-completion, pascal-var-completion)
+       (pascal-get-completion-decl, pascal-keyword-completion):
+       Add `pascal-str' argument, save-excursion,
+       return the found completions, and don't filter with pascal-pred.
+       (pascal-completion-cache): New var.
+       (pascal-completion): Don't switch buffer any more (it was never
+       necessary).  Don't save-excursion any more (it's done by the called
+       subroutines).  Use a cache to avoid redundant computations.
+       Use complete-with-action rather than pascal-completion-response and
+       let it apply the predicate as well.
+       (pascal-complete-word): Use completion-in-buffer when
+       pascal-toggle-completions is nil.
+       (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
+       not used any more.
+       (pascal-comp-defun): Don't change buffer any more.
+       Use complete-with-action rather than pascal-completion-response and
+       let it apply the predicate as well.
+       (pascal-goto-defun): Change buffer before calling pascal-comp-defun
+       when neded.
+
+2009-12-02  Kenichi Handa  <handa@m17n.org>
+
+       * language/indian.el: Include ZWJ and ZWNJ in the patterns to
+       shape for all Indic scripts.
+
+2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Use completion-in-buffer.
+       * wid-edit.el (widget-field-text-end): New function.
+       (widget-field-value-get): Use it.
+       (widget-string-complete, widget-file-complete)
+       (widget-color-complete): Use it and completion-in-region.
+       (widget-complete): Don't narrow the buffer.
+
+2009-12-02  Glenn Morris  <rgm@gnu.org>
+
+       * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
+       (rmail-select-summary): Use rmail-pop-to-buffer.
+       * mail/rmailsum.el: Replace all pop-to-buffer calls with
+       rmail-pop-to-buffer, to prevent horizontal splits.
+
+       * calendar/diary-lib.el (diary-list-entries): Replace superfluous
+       save-excursion with save-current-buffer.
+       Widen before searching.  (Bug#5093)
+       (diary-list-sexp-entries): Remove superfluous save-excursion.
+
+2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
+
+       * woman.el (woman-make-bufname): Handle man-pages with "." in the
+       name.  (Bug#5038)
+
+2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
+
+       * ido.el (ido-file-internal): Handle filenames at point that do
+       not have a directory part.  (Bug#5049)
+
+2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
+
+       * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
+       (mpc-songs-jump-to, mpc-resume): Doc fixes.
+
+2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
+
+       * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
+       (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
+       any more.
+
+2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * comint.el (comint-insert-input): Ignore clicks to the right of
+       the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
+
+       * vc.el (vc-print-log-internal): Don't wait for the process to
+       terminate before setting up the major mode.
+
+       * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
+       in case.
+
+       * pcomplete.el (pcomplete-std-complete): Don't try to complete past
+       the last element.
+
+       * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
+
+2009-12-01  Glenn Morris  <rgm@gnu.org>
+
+       * window.el (window--display-buffer-2): Fix previous changes.
+
+2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
+
+       * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
+
+2009-12-01  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (ELCFILES): Add mpc.elc.
+
+2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * mpc.el: New file.
+
+2009-12-01  Glenn Morris  <rgm@gnu.org>
+
+       * window.el (window-to-use): Define for compiler.
+
+       * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
+       consistent with others (no final period).
+
+       * mail/rmailmm.el (rmail-mime-handle): Doc fix.
+       (rmail-mime-show): Downcase the encoding.  (Bug#5070)
+
+2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       Make vc-print-log buttons work.
+       * log-view.el (log-view-mode-map): Inherit from from widget-keymap.
+
+2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
+
+       * savehist.el (savehist-autosave-interval): Allow setting to nil
+       through customize.  (Bug#5056)
+
+2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
+
+       Fix references to jit-lock properties.
+       * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
+       Refer to jit-lock-defer-multiline, not jit-lock-multiline.
+       (perl-font-lock-special-syntactic-constructs):
+       Quote jit-lock-defer-multiline property.
+
+2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * vc-git.el (vc-git-registered): Call vc-git-root only once.
+
+2009-11-30  Juri Linkov  <juri@jurta.org>
+
+       * misearch.el (multi-isearch-search-fun): Always provide a non-nil
+       value `buffer' of `multi-isearch-next-buffer-current-function'.
+       Use `(current-buffer)' when `buffer' is nil.
+       (multi-isearch-next-buffer-from-list): Don't fallback to
+       `(current-buffer)' when `buffer' is nil.  (Bug#4947)
+
+2009-11-30  Juri Linkov  <juri@jurta.org>
+
+       * misearch.el (multi-isearch-read-buffers): Move canonicalization
+       of buffers with `get-buffer' to `multi-isearch-buffers'.
+       (multi-isearch-buffers, multi-isearch-buffers-regexp):
+       Canonicalize BUFFERS with `get-buffer'.  Doc fix.
+       (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
+       FILES with `expand-file-name' converting relative file names
+       to absolute.  Doc fix.  (Bug#4727)
+
+2009-11-30  Juri Linkov  <juri@jurta.org>
+
+       * misearch.el (multi-isearch-read-buffers)
+       (multi-isearch-read-matching-buffers): New functions.
+       (multi-isearch-buffers, multi-isearch-buffers-regexp):
+       Use them in the `interactive' spec.  Doc fix.
+       (multi-isearch-read-files, multi-isearch-read-matching-files):
+       New functions.
+       (multi-isearch-files, multi-isearch-files-regexp):
+       Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
+
+2009-11-30  Juri Linkov  <juri@jurta.org>
+
+       * doc-view.el (doc-view-continuous):
+       Rename from `doc-view-continuous-mode'.
+       (doc-view-menu): Move "Toggle display" to the top.
+       Add submenu "Continuous" with radio buttons "Off"/"On"
+       and "Save as Default".
+       (doc-view-scroll-up-or-next-page)
+       (doc-view-scroll-down-or-previous-page)
+       (doc-view-next-line-or-next-page)
+       (doc-view-previous-line-or-previous-page): Rename
+       `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
+
+2009-11-30  Juri Linkov  <juri@jurta.org>
+
+       * comint.el (comint-mode-map): Rebind `M-r' from
+       `comint-previous-matching-input' to
+       `comint-history-isearch-backward-regexp'.
+       Unbind `M-s' to allow global key binding `M-s'.
+       Add menu items for `comint-history-isearch-backward' and
+       `comint-history-isearch-backward-regexp'.  (Bug#3746)
+
+2009-11-30  Juri Linkov  <juri@jurta.org>
+
+       * replace.el (perform-replace): Let-bind recenter-last-op to nil.
+       For def=recenter, replace `recenter' with `recenter-top-bottom'
+       that is called with `this-command' and `last-command' let-bound
+       to `recenter-top-bottom'.  When the last `def' was not `recenter',
+       set `recenter-last-op' to nil.  (Bug#4981)
+
+2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Minor cleanup and simplification.
+       * filecache.el (file-cache-add-directory)
+       (file-cache-add-directory-recursively)
+       (file-cache-add-from-file-cache-buffer)
+       (file-cache-delete-file-regexp, file-cache-delete-directory)
+       (file-cache-files-matching-internal, file-cache-display): Use dolist.
+       (file-cache-temp-minibuffer-message): Delete function.
+       (file-cache-minibuffer-complete): Use minibuffer-message instead.
+
+       * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
+       Don't signal an error when bumping into EOB in tr, s, or y.
+
+2009-11-29  Juri Linkov  <juri@jurta.org>
+
+       * startup.el (fancy-about-text): Fix wording of Guided Tour.
+       (Bug#4960)
+
+       * descr-text.el (describe-char-unidata-list): Use lowercase name
+       for "Unicode name" like in other tags.
+
+2009-11-29  Juri Linkov  <juri@jurta.org>
+
+       * ediff-util.el (ediff-minibuffer-with-setup-hook):
+       New compatibility macro.
+       (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
+
+2009-11-29  Juri Linkov  <juri@jurta.org>
+
+       Add defcustom to define the cycling order of `recenter-top-bottom'.
+       (Bug#4981)
+
+       * window.el (recenter-last-op): Doc fix.
+       (recenter-positions): New defcustom.
+       (recenter-top-bottom): Rewrite to use `recenter-positions'.
+       (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
+
+2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
+
+       Improve integration of Tramp and ange-ftp in eshell.
+
+       * eshell/em-unix (eshell/whoami): Make it a defun but a defalias.
+       (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
+       (eshell/sudo): Flatten args.  Let-bind `default-directory'.
+
+       * eshell/esh-util.el (top): Require also Tramp when compiling.
+       (eshell-directory-files-and-attributes): Check for FTP remote
+       connection.
+       (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
+       `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
+       (eshell-file-attributes): Handle ".".  Return `entry'.
+
+       * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
+       (ange-ftp-directory-files-and-attributes)
+       (ange-ftp-real-directory-files-and-attributes): New defuns.
+
+       * net/tramp.el (tramp-maybe-open-connection): Open the remote
+       shell with "exec" when possible.  This prevents trailing prompts
+       in `start-file-process'.
+
 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       Try and remove assumptions about point-min==1.
+       * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
+       (rng-compute-mode-line-string): Show the validation percentage in
+       terms of the narrowed text, not the widened text.
+       (rng-do-some-validation): Don't catch internal errors when debugging.
+       (rng-first-error): Simplify.
+       (rng-after-change-function): Remove work around.  AFAIK the bug has
+       been fixed a while ago.
+
+       * image-mode.el (image-minor-mode): Exit more gracefully when the image
+       cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
+
+       * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
+
        * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
        `cd' doesn't always do it for us (bug#5067).
 
        * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
 
        * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
-       * calc/calc-help.el (calc-b-prefix-help):  Remove references to
+       * calc/calc-help.el (calc-b-prefix-help): Remove references to
        `calc-symclip'.
 
 2009-11-16  Kevin Ryde  <user42@zip.com.au>
 
        * textmodes/flyspell.el (sgml-mode-flyspell-verify):
-       Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
+       Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
 
        * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
        (lm-keywords-list): Allow comma-only separator like "foo,bar".
 
 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
 
-       * vc.el (vc-log-show-limit): Default to 2000.
+       * vc.el (vc-log-show-limit): Default to 2000.
        (vc-print-log-internal): Insert buttons to request more entries
        when limiting the output.
 
        `calc-symclip'.
        (calc-modes-menu): Add item for twos complement mode.
 
-       * calc/calc-help.el (calc-b-prefix-help):  Add help for `calc-symclip'.
+       * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
 
 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
 
 
        * textmodes/artist.el (artist-mouse-choose-operation):
        Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
-       menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
+       menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
        (artist-compute-up-event-key): New function.
        (artist-mouse-choose-operation, artist-down-mouse-1): Call it.