(dired-revert): If buffer is marked unmodified before
[bpt/emacs.git] / lisp / ChangeLog
index 43d4ce7..b448338 100644 (file)
@@ -1,8 +1,276 @@
-2004-06-03  Karl Fogel  <kfogel@red-bean.com>
+2004-06-11  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * dired.el (dired-revert): If buffer is marked unmodified before
+       reverting, keep it marked unmodified.
+       Adapt to new conventions for commenting out code.
+       (dired-make-relative): Adapt to new conventions for commenting out
+       code.
+
+2004-06-10  Miles Bader  <miles@gnu.ai.mit.edu>
+
+       * eshell/esh-module.el (eshell-load-defgroups): Bind
+       `vc-handled-backends' to nil when opening files.
+
+2004-06-11  Juanma Barranquero  <lektu@terra.es>
+
+       * files.el (parse-colon-path, cd): Doc fixes (refer to
+       `path-separator', not colon).
+
+2004-06-10  Juanma Barranquero  <lektu@terra.es>
+
+       * newcomment.el (comment-search-forward)
+       (comment-search-backward): Fix typos in docstring.
+       (comment-region): Doc fix.
+
+2004-06-10  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * dired.el (dired-insert-old-subdirs): Adapt to fact that the R
+       switch is no longer stored in `dired-switches-alist'.
+
+       * dired-aux.el (dired-insert-subdir): Do not store R switch in
+       `dired-switches-alist'.
+
+2004-06-10  Kim F. Storm  <storm@cua.dk>
+
+       * pcvs.el (cvs-mode-diff-yesterday): New command.
+
+       * pcvs-defs.el (cvs-mode-diff-map): Bind y to cvs-mode-diff-yesterday.
+
+2004-06-10  Juri Linkov  <juri@jurta.org>
+
+       * emacs-lisp/edebug.el (edebug-eval-defun):
+       * emacs-lisp/lisp-mode.el (eval-defun-1): Add `defface'.
+       Fix docstring.
+
+       * simple.el (eval-expression-print-format): Don't print additional
+       information on the first call to `eval-print-last-sexp'.
+       (next-error-find-buffer): Fix punctuation.
+       (killing) <defgroup>: Fix punctuation.
+       (yank-excluded-properties): Change group from editing to killing.
+
+       * replace.el (perform-replace): Use `limit' to terminate the
+       while-loop explicitly.
+
+2004-06-09  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * toolbar/tool-bar.el (tool-bar-add-item, tool-bar-local-item):
+       Use lc-*.xpm as prefix instead of *-locol.xpm.
+
+       * toolbar/lc-copy.xpm, toolbar/lc-cut.xpm
+       * toolbar/lc-help.xpm, toolbar/lc-home.xpm
+       * toolbar/lc-index.xpm, toolbar/lc-jump_to.xpm
+       * toolbar/lc-left_arrow.xpm, toolbar/lc-new.xpm
+       * toolbar/lc-open.xpm, toolbar/lc-paste.xpm
+       * toolbar/lc-preferences.xpm, toolbar/lc-print.xpm
+       * toolbar/lc-right_arrow.xpm, toolbar/lc-save.xpm
+       * toolbar/lc-saveas.xpm, toolbar/lc-search.xpm
+       * toolbar/lc-spell.xpm, toolbar/lc-undo.xpm
+       * toolbar/lc-up_arrow.xpm:
+       Renamed from *-locol.xpm.
+
+2004-06-09  Rajesh Vaidheeswarran  <rv@gnu.org>
+
+       * ffap.el (ffap-string-at-point-mode-alist): Fix the url mode to
+       include forms like &<str>; as valid url patterns.
+
+2004-06-08  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * dired.el (dired-diff, dired-backup-diff)
+       (dired-clean-directory, dired-do-chmod, dired-do-chgrp)
+       (dired-do-chown, dired-do-touch, dired-do-print)
+       (dired-do-shell-command, dired-do-kill-lines, dired-do-compress)
+       (dired-do-byte-compile, dired-do-load, dired-do-redisplay)
+       (dired-create-directory, dired-do-copy, dired-do-symlink)
+       (dired-do-hardlink, dired-do-rename, dired-do-rename-regexp)
+       (dired-do-copy-regexp, dired-do-hardlink-regexp)
+       (dired-do-symlink-regexp, dired-upcase, dired-downcase)
+       (dired-maybe-insert-subdir, dired-next-subdir)
+       (dired-prev-subdir, dired-goto-subdir, dired-mark-subdir-files)
+       (dired-kill-subdir, dired-tree-up, dired-tree-down)
+       (dired-hide-subdir, dired-hide-all, dired-show-file-type)
+       (dired-run-shell-command, dired-query): Remove redundant,
+       or incorrect, autoloads.
+
+       * dired-aux.el (dired-kill-tree): Do not kill DIRNAME, even if it
+       does not end in a slash.  Add optional argument KILL-ROOT.  Update
+       docstring.
+       (dired-do-touch, dired-clean-directory, dired-run-shell-command)
+       (dired-query): Add autoloads.
+
+2004-06-08  Daniel Pfeiffer  <occitan@esperanto.org>
+
+       * progmodes/compile.el (compilation-set-window-height): Rearrange
+       the save-* functions because a buffer can have several current
+       point in different windows.
+       (compilation-error-regexp-alist-alist): Recognize {standard input}
+       GNU messages (for gcc --pipe) and more kinds of Oracle messages.
+
+2004-06-08  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * toolbar/copy-locol.xpm, toolbar/cut-locol.xpm
+       * toolbar/help-locol.xpm, toolbar/home-locol.xpm
+       * toolbar/index-locol.xpm, toolbar/jump_to-locol.xpm
+       * toolbar/left_arrow-locol.xpm, toolbar/new-locol.xpm
+       * toolbar/open-locol.xpm, toolbar/paste-locol.xpm
+       * toolbar/preferences-locol.xpm, toolbar/print-locol.xpm
+       * toolbar/right_arrow-locol.xpm, toolbar/save-locol.xpm
+       * toolbar/saveas-locol.xpm, toolbar/search-locol.xpm
+       * toolbar/spell-locol.xpm, toolbar/undo-locol.xpm
+       * toolbar/up_arrow-locol.xpm:
+       New versions of icons that uses fewer colors.
+
+       * toolbar/tool-bar.el (tool-bar-local-item)
+       (tool-bar-local-item-from-menu): Try to use icons with fewer colors
+       if display-color-cells is 256 or less.
+
+2004-06-08  Kim F. Storm  <storm@cua.dk>
+
+       * wid-edit.el (widget-specify-button): Use hand pointer rather
+       than mouse-face as visible mouse-over effect.
+
+2004-06-07  Karl Fogel  <kfogel@red-bean.com>
+
+       * saveplace.el (save-place-alist-to-file): Bind `print-length'
+       and `print-level' to nil when writing out `save-place-alist'.
+       Thanks to Kai Grossjohann <kai@emptydomain.de> for enlightenment.
+
+2004-06-07  Juanma Barranquero  <lektu@terra.es>
+
+       * completion.el (completion-kill-region): Doc fix.
+
+       * format.el (format-insert-annotations)
+       (format-annotate-location): Doc fixes.
+       (format-subtract-regions): Make arguments match their use in
+       docstring.
+
+       * simple.el (kill-region): Doc fix.
+
+       * subr.el (insert-buffer-substring-no-properties)
+       (insert-buffer-substring-as-yank): Doc fixes.
+
+2004-06-07  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * dired-aux.el (dired-do-redisplay, dired-maybe-insert-subdir):
+       Update docstring.
+       (dired-reset-subdir-switches): New function.
+
+       * dired.el (dired-undo): Call `dired-build-subdir-alist'.
+       Limit scope of `buffer-read-only' binding.
+
+2004-06-06  Emilio C. Lopes  <eclig@gmx.net>
+
+       * eshell/esh-cmd.el (eshell/which): Respect commands quoted with
+       eshell-explicit-command-char.
+
+2004-06-06  Juanma Barranquero  <lektu@terra.es>
+
+       * help-fns.el (help-argument-name): Inherit from italic face only
+       if the frame supports it.
+
+2004-06-06  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * toolbar/alias.pbm, toolbar/close.pbm, toolbar/copy.pbm
+       * toolbar/cut.pbm, toolbar/help.pbm, toolbar/home.pbm
+       * toolbar/index.pbm, toolbar/jump_to.pbm, toolbar/left_arrow.pbm
+       * toolbar/new.pbm, toolbar/open.pbm, toolbar/paste.pbm
+       * toolbar/preferences.pbm, toolbar/print.pbm, toolbar/right_arrow.pbm
+       * toolbar/save.pbm, toolbar/saveas.pbm, toolbar/search.pbm
+       * toolbar/spell.pbm, toolbar/undo.pbm, toolbar/up_arrow.pbm:
+       New conversions from xpm files.
+
+       * toolbar/README: New file.
+
+2004-06-06  Richard M. Stallman  <rms@gnu.org>
+
+       * isearch.el (isearch-mode-map): Undo previous change.
+
+2004-06-05  Juri Linkov  <juri@jurta.org>
+
+       * bindings.el (debug-ignored-errors): Add regexps for history
+       related messages.  Remove $ from "No further undo information".
+       Move Ediff's messages to ediff.el.
+
+       * ediff.el: Move Ediff's debug-ignored-errors from bindings.el.
+
+       * cus-edit.el (custom-display): Add `min-colors'.
+
+       * custom.el (defface): Add `supports' to docstring.
+
+       * help-fns.el (help-argument-name): Add :group 'help.
+
+2004-06-05  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * find-dired.el (find-ls-subdir-switches): New user option.
+       (find-dired): No longer call `abbreviate-file-name' on DIR.
+       Set `dired-subdir-switches' buffer-locally.
+
+       * locate.el: Merge the two `Commentary' sections.
+       (locate-ls-subdir-switches): New user option.
+       (locate): Update for other changes.
+       (locate-mode-map): Restore Dired binding for mouse-2.
+       Bind `locate-mouse-view-file' to M-mouse-2.
+       Bind `l' to `locate-do-redisplay'.
+       (locate-main-listing-line-p, locate-do-redisplay): New functions.
+       (locate-mouse-view-file, locate-tags, locate-find-directory):
+       Print message if used outside main listing.
+       (locate-mode): Update docstring.  Make `*Locate*' buffer read-only.
+       Various changes to support inserted subdirectories.
+       (locate-insert-header): Change header of *Locate* buffer.
+
+       * dired-aux.el (dired-do-redisplay, dired-maybe-insert-subdir):
+       Change interactive default switches.
+       (dired-rename-subdir-2): Update `dired-switches-alist'.
+       (dired-insert-subdir, dired-kill-subdir):
+       Handle `dired-switches-alist'.  Do not mark buffer modified.
+       (dired-insert-subdir-validate): Handle `dired-subdir-switches'.
+       (dired-insert-subdir-doinsert): Omit messages.
+       Handle `dired-subdir-switches'.
+       (dired-hide-subdir, dired-hide-all): Do not mark buffer modified.
+
+       * dired.el (dired-subdir-switches, dired-switches-alist):
+       New vars.
+       (dired-insert-old-subdirs): Do not repeatedly delete and reinsert
+       subdirs if -R switch is used for a subdir.
+       (dired-mode): Set `dired-switches-alist'.
+       (dired-build-subdir-alist): Only print number of directories in
+       echo area when invoked interactively.
+
+2004-06-05  Lars Hansen  <larsh@math.ku.dk>
+
+       * dired-x.el (dired-omit-mode): Rename from
+       dired-omit-files-p.  Use define-minor-mode to define it.
+       (dired-omit-files-p): Add as alias for dired-omit-mode.
+       (dired-omit-toggle): Delete.  Replaced by dired-omit-mode and
+       dired-mark-omitted.
+       (dired-mark-omitted): Add.  Bind to M-O.
+
+2004-06-05  Kenichi Handa  <handa@m17n.org>
+
+       * ps-print.el: Fix typos (kein'ichi -> ken'ichi)
+
+2004-06-05  Juanma Barranquero  <lektu@terra.es>
+
+       * help-fns.el (help-argument-name): Reintroduce face.
+       (help-default-arg-highlight): Use it, now that
+       `face-differs-from-default-p' can be trusted.
+
+2004-06-05  Matt Hodges  <matt@stchem.bham.ac.uk>  (tiny change)
+
+       * textmodes/table.el: Sentence commands added to Point Motion
+       group; kill and backward-kill commands added to Extraction group.
+
+2004-06-04  Mario Lang  <mlang@delysid.org>
+
+       * battery.el (battery-linux-proc-acpi): mA was hardcored, but some
+       systems appear to use mW, make the code handle this.  Fix a
+       division-by-zero bug while at it, and handle kernels with
+       a slightly different layout in /proc/acpi.
+
+2004-06-04  Karl Fogel  <kfogel@red-bean.com>
 
        * vc-svn.el (vc-svn-checkin): Use 'nconc' instead of 'list*',
        because the latter is a CL-ism.  This fixes the bug reported by
-       Shawn Boyette <mdxi@collapsar.net> in 
+       Shawn Boyette <mdxi@collapsar.net> in
         http://lists.gnu.org/archive/html/emacs-devel/2004-05/msg00442.html.
 
 2004-06-04  Miles Bader  <miles@gnu.org>
        C code.  Previously only the tty-related portion of this function
        was done in C; however the previous attempt to do a halfway-proper
        job for non-tty displays in lisp didn't work properly because of
-       funny conditions during emacs startup.
+       funny conditions during Emacs startup.
+       (face-differs-from-default-p): Simplify, now that
+       display-supports-face-attributes-p works properly on all display
+       types.  Remove :stipple from comparison; it doesn't really work
+       in emacs anyway.
 
 2004-06-04  Miles Bader  <miles@gnu.org>
 
        * thumbs.el (thumbs-show-name): Do nothing if no image at point.
        (thumbs-mouse-find-image): New command.
        (thumbs-mode-map): Bind it to mouse-2.
-       (thumbs-mode):  Make mode-class special.
+       (thumbs-mode): Make mode-class special.
        (thumbs-view-image-mode): Likewise.
 
 2004-05-29  Pavel Kobiakov  <pk_at_work@yahoo.com>
 
 2004-05-15  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
 
-       * toolbar/close.pbm, toolbar/close.xpm
-       * toolbar/copy.pbm, toolbar/copy.xpm
-       * toolbar/cut.pbm, toolbar/cut.xpm
-       * toolbar/help.pbm, toolbar/help.xpm
-       * toolbar/home.pbm, toolbar/home.xpm
-       * toolbar/index.pbm, toolbar/index.xpm
-       * toolbar/jump_to.pbm, toolbar/jump_to.xpm
-       * toolbar/left_arrow.pbm, toolbar/left_arrow.xpm
-       * toolbar/new.pbm, toolbar/new.xpm
-       * toolbar/open.pbm, toolbar/open.xpm
-       * toolbar/paste.pbm, toolbar/paste.xpm
-       * toolbar/preferences.pbm, toolbar/preferences.xpm
-       * toolbar/print.pbm, toolbar/print.xpm
-       * toolbar/right_arrow.pbm, toolbar/right_arrow.xpm
-       * toolbar/save.pbm, toolbar/save.xpm
-       * toolbar/saveas.pbm, toolbar/saveas.xpm
-       * toolbar/search.pbm, toolbar/search.xpm
-       * toolbar/spell.pbm, toolbar/spell.xpm
-       * toolbar/undo.pbm, toolbar/undo.xpm
-       * toolbar/up_arrow.pbm, toolbar/up_arrow.xpm: New icons from
-       GTK+ version 2.
-
+       * toolbar/close.pbm, toolbar/close.xpm, toolbar/copy.pbm
+       * toolbar/copy.xpm, toolbar/cut.pbm, toolbar/cut.xpm
+       * toolbar/help.pbm, toolbar/help.xpm, toolbar/home.pbm
+       * toolbar/home.xpm, toolbar/index.pbm, toolbar/index.xpm
+       * toolbar/jump_to.pbm, toolbar/jump_to.xpm, toolbar/left_arrow.pbm
+       * toolbar/left_arrow.xpm, toolbar/new.pbm, toolbar/new.xpm
+       * toolbar/open.pbm, toolbar/open.xpm, toolbar/paste.pbm
+       * toolbar/paste.xpm, toolbar/preferences.pbm, toolbar/preferences.xpm
+       * toolbar/print.pbm, toolbar/print.xpm, toolbar/right_arrow.pbm
+       * toolbar/right_arrow.xpm, toolbar/save.pbm, toolbar/save.xpm
+       * toolbar/saveas.pbm, toolbar/saveas.xpm, toolbar/search.pbm
+       * toolbar/search.xpm, toolbar/spell.pbm, toolbar/spell.xpm
+       * toolbar/undo.pbm, toolbar/undo.xpm, toolbar/up_arrow.pbm
+       * toolbar/up_arrow.xpm: New icons from GTK+ version 2.
 
 2004-05-15  Kim F. Storm  <storm@cua.dk>
 
        (sql-connect-postgres): Add username prompt.
        (sql-imenu-generic-expression, sql-mode-font-lock-object-name):
        Make patterns less product specific.
-       (sql-xemacs-p, sql-emacs19-p): Add flags for emacs variants.
+       (sql-xemacs-p, sql-emacs19-p): Add flags for Emacs variants.
        (sql-mode-abbrev-table): Modify initialization.
        (sql-builtin-face): Add variable.
        (sql-keywords-re): Add macro.
        if the source location can't be found.
        (edebug-compute-previous-result): Use prin1-char.
 
-       * emacs-lisp/checkdoc.el (checkdoc-error): Dont' assume point-min == 1.
+       * emacs-lisp/checkdoc.el (checkdoc-error): Don't assume point-min == 1.
        (debug-ignored-errors): Add an entry.
 
        * emacs-lisp/bytecomp.el (byte-recompile-directory): Ignore hidden dir.
        (ffap-file-at-point): Use the new regexp to strip the prompts from
        the file names.  This is an issue mostly for user prompts that
        don't have a trailing space and find-file-at-point is invoked from
-       within a shell inside emacs.
+       within a shell inside Emacs.
 
 2003-09-24  Andre Spiegel  <spiegel@gnu.org>