]> code.delx.au - gnu-emacs/blobdiff - lisp/ChangeLog
* minibuffer.el (comps): Declare for byte-compiler.
[gnu-emacs] / lisp / ChangeLog
index 93a008c8e161bf534d8f9a1ffbbfb9b1dd5e462a..12c9d3c7ec42d2957641c0d4f09c5b2e2ffcf457 100644 (file)
@@ -1,5 +1,581 @@
+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.
+       (completion-at-point-functions): Use it.
+
+       * cedet/semantic.el (semantic-completion-at-point-function): New function.
+       (semantic-mode): Use semantic-completion-at-point-function for
+       completion-at-point-functions instead.
+
+       * progmodes/etags.el (complete-tag): Revert last change.
+
+2010-04-29  Alan Mackenzie  <acm@muc.de>
+
+       * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
+       off-by-one error (in end of macro position).
+
+2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
+       firefox is absent.  Don't autoload.
+       (browse-url-galeon-program): Don't autoload.
+
+2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
+
+       * bindings.el (complete-symbol): Move into minibuffer.el.
+
+       * minibuffer.el (complete-tag): Move from etags.el.  If tags
+       completion cannot be performed, return nil instead of signalling
+       an error.
+       (completion-at-point): Make it an alias for complete-symbol.
+       (complete-symbol): Move from bindings.el, and replace with the
+       body of completion-at-point.
+
+       * progmodes/etags.el (complete-tag): Move to minibuffer.el.
+
+       * cedet/semantic.el (semantic-mode): When enabled, add
+       semantic-ia-complete-symbol to completion-at-point-functions.
+
+       * cedet/semantic/ia.el (semantic-ia-complete-symbol): Return nil
+       if Semantic is not active.
+
+2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-remote-selinux-p): New defun.
+       (tramp-handle-file-selinux-context)
+       (tramp-handle-set-file-selinux-context): Use it.
+
+2010-04-28  Sam Steingold  <sds@gnu.org>
+
+       * progmodes/bug-reference.el (bug-reference-url-format): Mark as
+       `safe-local-variable' if the value is a string or a symbol with
+       the property `bug-reference-url-format'.
+
+2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
+
+       * progmodes/bug-reference.el (bug-reference-url-format): Revert
+       2010-04-27 change due to security risk.
+
+2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Make it possible to locally disable a globally enabled mode.
+       * simple.el (fundamental-mode): Run fundamental-mode-hook.
+       * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
+       rather than kill-all-local-variables so it runs fundamental-mode-hook.
+       * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
+       Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
+       that subsequent hooks get a chance to disable it.
+
+2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
+       Avoid re-enabling a minor mode after the user turned the minor mode
+       off if MODE-enable-in-buffers is run twice (typically once from
+       fundamental-mode's after-change-major-mode-hook and a second time from
+       run-mode-hook's own after-change-major-mode-hook).
+
+       * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
+
+2010-04-27  Sam Steingold  <sds@gnu.org>
+
+       * progmodes/bug-reference.el (bug-reference-url-format): Mark as
+       `safe-local-variable' if the value is a string or a function, as
+       documented and implemented on 2010-04-02.
+
+2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
+
+       * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
+       when method is 'kill.
+
+2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
+
+       * ispell.el (ispell-init-process): Fix personal dictionary condition
+       in default directory check.
+       (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
+       Kill ispell process when killing its associated buffer.
+
+2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
+       but we aren't using it.
+
+2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
+       checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
+
+2010-04-24  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/authors.el (authors-obsolete-files-regexps):
+       Ignore VCS-ignore files, and deleted nextstep preferences files.
+       (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
+       (authors-ambiguous-files): New list.
+       (authors-valid-file-names): Add some deleted files.
+       (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
+       (authors-disambiguate-file-name): New function.  (Bug#5501)
+       (authors-canonical-file-name): Doc fix.
+       Don't warn about obsolete files.
+       (authors-canonical-file-name, authors-scan-el):
+       Use authors-disambiguate-file-name.
+
+       * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
+       Add autoload cookies.
+       (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
+       (generated-autoload-file): Set file-local value to "htmlfontify.el".
+       * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
+       They have definitions / compiler macros in cl.el.
+       (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
+       Replace manual autoloads with generated ones.
+       (htmlfontify-unload-rgb-file): Remove autoload.
+       * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
+
+2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
+       (byte-compile-setq-default): Optimize for the
+       single-var case and don't call byte-compile-form in this case to avoid
+       inf-loop with byte-compile-set-default.
+
+       * progmodes/compile.el (compilation-start): Abbreviate default directory.
+
+2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
+
+       Implement SELINUX backends.
+
+       * net/tramp.el (tramp-file-name-handler-alist):
+       Add `file-selinux-context' and `set-file-selinux-context'.
+       (tramp-handle-file-selinux-context)
+       (tramp-handle-set-file-selinux-context): New defuns.
+       (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
+       Handle PRESERVE-SELINUX-CONTEXT.
+
+       * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
+       Add `file-selinux-context' and `set-file-selinux-context'.
+       (tramp-gvfs-handle-file-selinux-context)
+       (tramp-gvfs-handle-set-file-selinux-context): New defuns.
+       (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
+
+       * net/ange-ftp.el (ange-ftp-copy-file):
+       * net/tramp-fish.el (tramp-fish-handle-copy-file):
+       * net/tramp-imap.el (tramp-imap-handle-copy-file):
+       * net/tramp-smb.el (tramp-smb-handle-copy-file):
+       Add PRESERVE-SELINUX-CONTEXT.
+
+2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
+
+       Synchronize with Tramp repository.
+
+       * net/tramp.el (with-connection-property, tramp-completion-mode-p)
+       (tramp-action-process-alive, tramp-action-out-of-band)
+       (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
+       (tramp-exists-file-name-handler): Fix docstring.
+       (with-progress-reporter): New defmacro.
+       (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
+       (tramp-maybe-open-connection): Use it.
+
+2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
+
+       Detect ssh 'ControlMaster' argument automatically in some cases.
+
+       * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
+       (tramp-default-method): Use it.
+
+2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-handle-copy-file): Add new optional
+       parameter `preserve-selinux-context'.
+       (tramp-file-name-for-operation): Add `set-file-selinux-context'.
+
+2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-completion-handle-file-name-all-completions):
+       Ensure, that non remote files are still checked.  Oops.
+
+2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
+
+       Fix Bug#5840.
+
+       * icomplete.el (icomplete-completions): Use `non-essential'.
+
+       * net/tramp.el (tramp-connectable-p): New defun.
+       (tramp-handle-expand-file-name)
+       (tramp-completion-handle-file-name-all-completions)
+       (tramp-completion-handle-file-name-completion): Use it.
+
+2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
+
+2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
+
+       * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
+
+       * loadup.el: Load dynamic-setting.el if feature dynamic-setting
+       is present.
+
+       * info.el (info-tool-bar-map): Add labels.
+
+       * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
+
+       * cus-edit.el (custom-commands): Add labels for tool bar.
+       (custom-buffer-create-internal, Custom-mode): Adjust for
+       labels in custom-commands.
+
+       * dynamic-setting.el: Renamed from font-setting.el.
+
+2010-04-21  John Wiegley  <jwiegley@gmail.com>
+
+       * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
+       toggles the use of virtual buffers.
+       (ido-buffer-internal): Guard `ido-use-virtual-buffers' global
+       value.
+       (ido-toggle-virtual-buffers): New function.
+
+2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
+
+       Use `define-derived-mode'; fix window selection; doc fixes.
+       * play/tetris.el (tetris, tetris-update-speed-function)
+       (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
+       (tetris-move-left, tetris-move-right, tetris-rotate-prev)
+       (tetris-rotate-next, tetris-end-game, tetris-start-game)
+       (tetris-pause-game): Fix typos in docstrings.
+       (tetris-mode-map, tetris-null-map):
+       Move initialization into declaration.
+       (tetris-mode): Define with `define-derived-mode';
+       set show-trailing-whitespace to nil.
+       (tetris): Prefer window already displaying the "*Tetris*" buffer.
+
+2010-04-21  Karel Klíč  <kklic@redhat.com>
+
+       * files.el (backup-buffer): Handle SELinux context, and return it
+       if a backup was made by renaming.
+       (backup-buffer-copy): Set SELinux context to the target file.
+       (basic-save-buffer): Set SELinux context of the newly written file.
+       (basic-save-buffer-1): Now it also returns any SELinux context.
+       (basic-save-buffer-2): Set SELinux context of the newly created file,
+       and return it.
+       * net/tramp.el (tramp-file-name-for-operation):
+       Add file-selinux-context.
+
+2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * vc.el (vc-checkin, vc-modify-change-comment):
+       Adjust to new vc-start/finish-logentry.
+       (vc-find-conflicted-file): New command.
+       (vc-transfer-file): Adjust to new vc-checkin.
+       (vc-next-action): Improve scoping.
+
+       * vc-hg.el (vc-hg-log-edit-mode): Remove.
+       (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
+
+       * vc-git.el (vc-git-log-edit-mode): Remove.
+       (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
+       (vc-git-commits-coding-system): Rename from git-commits-coding-system.
+
+       * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
+       (vc-start-logentry): Remove argument `extra'.
+       (vc-finish-logentry): Remove extra args.
+
+       * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
+       (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
+       (vc-bzr-conflicted-files): New function.
+
+       * log-edit.el (log-edit-extra-flags)
+       (log-edit-before-checkin-process): Remove.
+       (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
+       (log-edit-headers-alist): New var.
+       (log-edit-header-contents-regexp): New const.
+       (log-edit-match-to-eoh): New function.
+       (log-edit-font-lock-keywords): Use them.
+       (log-edit): Insert a "Summary:" header as default.
+       (log-edit-mode): Mark font-lock rules as case-insensitive.
+       (log-edit-done): Cleanup headers.
+       (log-view-process-buffer): Remove.
+       (log-edit-extract-headers): New function to replace it.
+
+2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
+
+       * subr.el (default-direction-reversed): Remove obsolescence info.
+
+2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
+       windows/frames.
+
+       * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
+       I.e. include text after point in the completion region.
+       Also, return nil when we're not after/in a symbol.
+
+       * international/mule-cmds.el (view-hello-file): Don't fiddle with the
+       default enable-multibyte-characters.
+
 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * international/mule.el: Help the user choose a valid coding-system.
+       (read-buffer-file-coding-system): New function.
+       (set-buffer-file-coding-system): Use it.  Prompt the user if the
+       coding-system cannot encode all the chars.
+
        * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
        (vc-bzr-shelve-show, vc-bzr-shelve-apply)
        (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
        * image-mode.el (image-toggle-display-image):
        Replace `create-image' with `create-animated-image'.
 
-2010-03-09  Miles Bader  <Miles Bader <miles@gnu.org>>
+2010-03-09  Miles Bader  <miles@gnu.org>
 
        * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
        instead of "format:"; this ensures that the output is