]> code.delx.au - gnu-emacs/blobdiff - lisp/ChangeLog
* minibuffer.el (comps): Declare for byte-compiler.
[gnu-emacs] / lisp / ChangeLog
index e04ebf6381247ab56ca4b0ab9e9a4f6a3ae339db..12c9d3c7ec42d2957641c0d4f09c5b2e2ffcf457 100644 (file)
@@ -1,3 +1,261 @@
+2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
+
+       * minibuffer.el (comps): Declare for byte-compiler.
+
+       Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
+       * emulation/cua-base.el (cua-repeat-replace-region):
+       * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
+       (cua-cut-region-to-global-mark):
+       Remove text properties with `set-text-properties'.
+
+2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (top, with-progress-reporter): Use
+       `symbol-function' inside `funcall'.
+
+       * net/tramp-compat.el (tramp-compat-file-attributes)
+       (tramp-compat-delete-file, tramp-compat-delete-directory): Handle
+       only `wrong-number-of-arguments' error.
+
+       * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
+       (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
+       inside `funcall'.
+
+2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (completion--sreverse, completion--common-suffix):
+       New functions.
+       (completion-pcm--merge-completions): Extract common suffix when safe.
+
+       * emacs-lisp/easy-mmode.el (define-minor-mode):
+       Make :variable more flexible.
+       * files.el (auto-save-mode): Use it to define using define-minor-mode.
+
+2010-05-05  Juri Linkov  <juri@jurta.org>
+
+       Add `slow' and `history' tags to the desktop data.
+
+       * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
+       (Info-virtual-files) [*Apropos*]: Add `slow' tag.
+       (Info-finder-find-node): Require `finder.el' to be able
+       to restore node from the desktop.
+       (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
+       data `Info-history' and `slow' tag in the assoc list.
+       (Info-restore-desktop-buffer): Don't restore nodes with the
+       `slow' tag.  Restore `Info-history'.
+
+2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
+
+       Add FORCE argument to `delete-file'.
+
+       * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
+       forcing to delete the temporary file.
+       (ange-ftp-delete-file): Add FORCE arg.
+       (ange-ftp-rename-remote-to-remote)
+       (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
+       (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
+       Force file deletion.
+
+       * net/tramp-compat.el (tramp-compat-delete-file): New defun.
+
+       * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
+       (tramp-handle-make-symbolic-link, tramp-handle-load)
+       (tramp-do-copy-or-rename-file-via-buffer)
+       (tramp-do-copy-or-rename-file-directly)
+       (tramp-do-copy-or-rename-file-out-of-band)
+       (tramp-handle-process-file, tramp-handle-call-process-region)
+       (tramp-handle-shell-command, tramp-handle-file-local-copy)
+       (tramp-handle-insert-file-contents, tramp-handle-write-region)
+       (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
+
+       * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
+       (tramp-fish-handle-make-symbolic-link)
+       (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
+
+       * net/tramp-ftp.el (tramp-ftp-file-name-handler):
+       Use `tramp-compat-delete-file'.
+
+       * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
+       (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
+
+       * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
+       (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
+
+       * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
+       (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
+       (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
+       `tramp-compat-delete-file'.
+
+2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Minor cleanups.
+       * subr.el (add-minor-mode): Use push.
+       * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
+       * emulation/edt.el (edt-select-mode): Simplify.
+
+       Use define-minor-mode in more cases.
+       * term/tvi970.el (tvi970-set-keypad-mode):
+       * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
+       (normal-erase-is-backspace-mode):
+       * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
+       (set-scroll-bar-mode-1): (Re)move to its sole caller.
+       (get-scroll-bar-mode): New function.
+       * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
+
+       Use define-minor-mode for less obvious cases.
+       * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
+       * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
+       * international/iso-ascii.el (iso-ascii-mode):
+       * frame.el (auto-raise-mode, auto-lower-mode):
+       * composite.el (global-auto-composition-mode): Use define-minor-mode.
+
+2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
+       in order to see error messages for failed logins.
+
+2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
+
+       * diff.el (diff-sentinel):
+
+       * epg.el (epg--make-temp-file, epg-decrypt-string)
+       (epg-verify-string, epg-sign-string, epg-encrypt-string):
+
+       * jka-compr.el (jka-compr-partial-uncompress)
+       (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
+
+       * server.el (server-sentinel): Use delete-file's new FORCE arg
+       (Bug#6070).
+
+2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Use define-minor-mode where applicable.
+       * view.el (view-mode):
+       * type-break.el (type-break-query-mode)
+       (type-break-mode-line-message-mode):
+       * textmodes/reftex.el (reftex-mode):
+       * term/vt100.el (vt100-wide-mode):
+       * tar-mode.el (tar-subfile-mode):
+       * savehist.el (savehist-mode):
+       * ibuf-ext.el (ibuffer-auto-mode):
+       * composite.el (auto-composition-mode):
+       * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
+       Use define-minor-mode.
+       (vhdl-mode): Use static mode-line format.
+       (vhdl-mode-line-update): Delete.
+       (vhdl-create-mode-menu, vhdl-activate-customizations)
+       (vhdl-hs-minor-mode): Don't bother calling it.
+
+2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * simple.el (with-wrapper-hook): Move.
+       (buffer-substring-filters): Mark obsolete.
+       (filter-buffer-substring-functions): New variable.
+       (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
+
+       Use a mode-line spec rather than a static string in Semantic.
+       * cedet/semantic/util-modes.el:
+       (semantic-minor-modes-format): New var to replace...
+       (semantic-minor-modes-status): Remove.
+       (semantic-mode-line-update): Construct a mode-line spec rather than
+       a static string so that mouse buttons can be used on individual minor
+       modes and so that semantic-mode-line-update only needs to be called
+       when global settings are changed.
+       (semantic-add-minor-mode, semantic-toggle-minor-mode-globally):
+       Call semantic-mode-line-update.
+       (semantic-toggle-minor-mode-globally): Don't assume mode is on
+       minor-mode-alist, check semantic-minor-mode-alist as well.
+       (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker)
+       (semantic-show-parser-state-marker, semantic-show-parser-state-mode)
+       (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode):
+       * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
+       * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
+       (define-semantic-idle-service, semantic-idle-summary-mode):
+       * cedet/semantic/decorate/mode.el (semantic-decoration-mode):
+       Don't call semantic-mode-line-update any more.
+
+2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Use define-minor-mode in CEDET where applicable.
+
+       * cedet/srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode):
+       Use define-minor-mode.
+
+       * cedet/semantic/util-modes.el (semantic-add-minor-mode):
+       Remove unused arg `keymap' and code redundant with define-minor-mode.
+       (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1.
+       (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode)
+       (semantic-highlight-func-mode, global-semantic-show-parser-state-mode)
+       (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode)
+       (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode)
+       (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode):
+       Use define-minor-mode.
+       (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup)
+       (semantic-show-unmatched-syntax-mode-setup)
+       (semantic-show-parser-state-mode-setup)
+       (semantic-highlight-func-mode-setup): Inline into sole caller.
+
+       * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
+       (semantic-mru-bookmark-mode): Use define-minor-mode.
+       (semantic-mru-bookmark-mode-setup): Inline into sole caller.
+
+       * cedet/semantic/idle.el (define-semantic-idle-service):
+       Use define-minor-mode and inline setup function into its sole caller.
+       (semantic-idle-scheduler-mode-setup)
+       (semantic-idle-summary-mode-setup): Inline into sole caller.
+       (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode):
+       Use define-minor-mode.
+
+       * cedet/semantic/decorate/mode.el (global-semantic-decoration-mode)
+       (semantic-decoration-mode): Use define-minor-mode.
+       (semantic-decoration-mode-setup): Inline into sole caller.
+
+       * cedet/ede/dired.el (ede-dired-minor-mode): Initialize in declaration.
+       (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p.
+       (ede-dired-add-to-target): Use dolist.
+
+2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
+           Michael Albinus  <michael.albinus@gmx.de>
+
+       Implement compression for inline methods.
+
+       * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
+       (tramp-copy-size-limit): Allow also nil.
+       (tramp-inline-compress-commands): New defconst.
+       (tramp-find-inline-compress, tramp-get-inline-compress)
+       (tramp-get-inline-coding): New defuns.
+       (tramp-get-remote-coding, tramp-get-local-coding): Remove,
+       replaced by `tramp-get-inline-coding'.
+       (tramp-handle-file-local-copy, tramp-handle-write-region)
+       (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
+
+2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
+       Remove unused functions.
+
+       * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
+       Set find-tag-default-function as a variable rather than a property.
+
+       * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
+       * progmodes/etags.el (tags-completion-at-point-function):
+       Remove left over interactive spec.  Add autoloading stub.
+       (complete-tag): Use tags-completion-at-point-function.
+
+2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
+
+       * minibuffer.el (tags-completion-at-point-function): Fix return value.
+
+2010-04-30  Eli Zaretskii  <eliz@gnu.org>
+
+       * composite.el (compose-region, reference-point-alist): Fix typos
+       in the doc strings.
+
+2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
+
+       * ido.el (ido-init-completion-maps): Remove C-v binding.
+       (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
+
 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
 
        * minibuffer.el (tags-completion-at-point-function): New function.