2002-09-18 Michael Kifer <kifer@cs.stonybrook.edu>
[bpt/emacs.git] / lisp / ChangeLog
index 4b37628..9009888 100644 (file)
@@ -1,8 +1,508 @@
+2002-09-18  Michael Kifer  <kifer@cs.stonybrook.edu>
+       
+       * ediff-hooks.el: Put back the autoloads (for compatibility with XEmacs).
+       
+       * ediff-init.el: Use defalias instead of fset.
+       
+       * ediff-util.el: Use defalias instead of fset.
+       
+       * viper-util.el (viper-chars-in-region): simplification.
+       
+       * viper.el (viper-emacs-state-mode-list): added modes.
+       
+2002-09-18  Miles Bader  <miles@gnu.org>
+
+       * diff-mode.el (diff-mode): Don't evaluate `compilation-last-buffer'
+       unless it's bound.
+
+2002-09-16  Markus Rost  <rost@math.ohio-state.edu>
+
+       * ls-lisp.el (ls-lisp-format-time-list): Fix type and provide
+       :tag's.
+
+2002-09-16  Richard M. Stallman  <rms@gnu.org>
+
+       * play/gomoku.el (gomoku-move-up, gomoku-move-down):
+       Use forward-line and move-to-column.
+
+       * cus-edit.el (custom-variable-backup-value): New function.
+       (custom-variable-reset-backup): New function.
+       (custom-variable-menu): Add item for custom-variable-reset-backup.
+       (custom-variable-set, custom-variable-reset-saved) 
+       (custom-variable-reset-standard): Call custom-variable-backup-value.
+
+2002-09-16  Juanma Barranquero  <lektu@terra.es>
+
+       * dired-aux.el (dired-add-entry): Add missing argument to
+       `dired-mark'.
+
+2002-09-16  John Paul Wallington  <jpw@shootybangbang.com>
+
+       * xscheme.el (scheme-interaction-mode): Doc fix.
+
+       * net/eudc.el (eudc-plist-get): Doc fix.
+
+2002-09-16  Kim F. Storm  <storm@cua.dk>
+
+       * menu-bar.el (menu-bar-last-search-type): New var.
+       (nonincremental-repeat-search-forward)
+       (nonincremental-repeat-search-backward): Repeat string or
+       regexp search depending on menu-bar-last-search-type.
+       (nonincremental-search-forward, nonincremental-re-search-forward)
+       (nonincremental-search-backward, nonincremental-re-search-backward):
+       Set menu-bar-last-search-type to string or regexp.
+       (nonincremental-repeat-re-search-forward): Removed.
+       (nonincremental-repeat-re-search-backward): Removed.
+       (menu-bar-replace-menu): New keymap for "Edit->Replace" submenu.
+       (menu-bar-i-search-menu): New keymap for "Incremental Search" submenu.
+       (menu-bar-adv-search-menu): Removed.
+       (menu-bar-search-menu): Reorganized.
+       (menu-bar-edit-menu): Added "Replace" submenu.
+
+2002-09-15  Richard M. Stallman  <rms@gnu.org>
+
+       * scroll-bar.el (scroll-bar-mode): Specify :initialize.
+
+       * menu-bar.el (menu-bar-make-mm-toggle): Don't put a quote befor FNAME
+       when it's not being evaluated.
+
+2002-09-15  Markus Rost  <rost@math.ohio-state.edu>
+
+       * dired.el (dired-move-to-filename): Fix previous change.
+
+2002-09-14  Kim F. Storm  <storm@cua.dk>
+
+       * emulation/keypad.el (keypad-setup, keypad-shifted-setup)
+       (keypad-numlock-setup, keypad-numlock-shifted-setup):
+       Change `Remove Binding' option to `Unspecified/User-defined'.
+       (keypad-setup): Enhance explanation of setup type `none'.
+
+2002-09-14  Richard M. Stallman  <rms@gnu.org>
+
+       * time.el (display-time-mode): Set display-time-load-average here.
+       (display-time-load-average): Initialize to nil.
+       (display-time-default-load-average): Add "None" alternative.
+       (display-time-update): Handle "None" alternative for load-average.
+
+       * dired-aux.el (dired-bunch-files): Put the arg FILES
+       back as it was after temporary destrucive mods.
+       (dired-add-entry): Use dired-insert-directory to handle indentation.
+       Explicitly restore the line's marker character.
+       Preserve the old file name's text properties.
+       (dired-add-entry-do-indentation): Function deleted.
+       (dired-relist-file): Doc fix.
+       (dired-rename-file): Change argument names.
+       (foo-rename-file): New function.
+       (dired-do-hardlink): Use dired-hardlink.
+       (dired-hardlink): New function.
+       (dired-insert-subdir-doinsert): Use dired-insert-directory;
+       that handles indentation, text props and header line.
+       dired-readin-insert gets no args.
+       Use `last' instead of `reverse'.
+
+       * dired.el (dired-use-ls-dired): New variable.
+       (dired-directory): Document the rules better.
+
+       * dired.el (dired-insert-headerline): Function deleted.
+       (dired-revert): Pass no args to dired-readin.
+       (dired-move-to-filename): First try using dired-filename property.
+       (dired-move-to-end-of-filename): Likewise.
+       (dired-why): Try to show the start of this page of warnings.
+       (dired-log): Insert the buffer name at start of page, not end.
+       (dired-log-summary): If just one failure, explain it in echo area.
+
+       * dired.el (dired-internal-noselect):
+       Always set dired-directory, when buffer is not new.
+       Pass dir-or-list, not dirname, to dired-mode.
+       Call dired-readin with no args.
+       Don't call dired-after-readin-hook here.
+       (dired-find-buffer-nocreate): Expand dirname.
+       Expand the dir from dired-directory to compare with dirname.
+
+       (dired-readin): Take no args.  Get the directory from dired-directory.
+       Run dired-before-reading hook inside save-excursion.
+       Run dired-after-readin-hook here.
+       Don't make undo entries at all.
+       Call dired-readin-insert with no args.
+       Don't change indentation here.
+       Don't insert headerline here.
+
+       (dired-readin-insert): Take no args.
+       Get dir and file-list from dired-directory.
+       Call dired-insert-directory the new way.
+       Don't insert "wildcard" info here.
+
+       (dired-insert-directory): New arg FILE-LIST.
+       First arg now DIR, always just the directory.
+       This function fully handles setting up the buffer text:
+       update indentation, insert headerline and "wildcard" info.
+       Pass --dired arg if appropriate; put info in dired-filename props.
+       Don't expand file names here.
+       
+       * warnings.el (display-warning): In batch mode,
+       exclude the final newline from the arg to `message'.
+
+2002-09-13  Markus Rost  <rost@math.ohio-state.edu>
+
+       * files.el (diff-buffer-with-file): Check whether associated file
+       exists.  Display message for 1 second.  Always return nil.
+
+2002-09-13  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * diff-mode.el (diff-mode): Turn on compilation-minor-mode
+       support again, but more carefully this time.
+
+       * progmodes/perl-mode.el (perl-mode-syntax-table): Mark $, % and @
+       such that backward-sexp correctly skips them.
+       (perl-font-lock-keywords-2): Use regexp-opt.
+       (perl-font-lock-syntactic-keywords)
+       (perl-font-lock-syntactic-face-function): Better handle PODs.
+       Handle package names with ' in them and ($$) in `sub' declarations.
+       Handle format staements.  Handle regexp and quote-like ops.
+       (perl-empty-syntax-table): New var.
+       (perl-quote-syntax-table): New fun.
+
+       * pcvs.el (cvs-mode-find-file): Work even if point is at beg-of-line.
+       (cvs-do-removal): Bind inhibit-read-only while modifying the buffer.
+
+       * newcomment.el (comment-with-narrowing): Use the `declare' thingy.
+
+       * derived.el (define-derived-mode): Properly ignore unknown args.
+
+       * emacs-lisp/easy-mmode.el (define-minor-mode): Add a :require arg.
+       Don't call the function during init if mode is on by default.
+
+       * simple.el: Provide `simple'.
+       (transient-mark-mode, line-number-mode, column-number-mode):
+       Pass an explicit `:require nil' argument.
+
+2002-09-13  Francesco Potorti`  <pot@gnu.org>
+
+       * play/tetris.el (tetris-blank-options, tetris-cell-options):
+       Remove various redundant `(t nil)'.
+
+       * play/snake.el (snake-border-options): Use color on tty if available.
+
+       * play/tetris.el (tetris-border-options): Likewise.
+
+       * play/pong.el (pong-border-options): Likewise, plus reset
+       color on tty to be [0.5 0.5 0.5].
+
+2002-09-13  Kim F. Storm  <storm@cua.dk>
+
+       * kmacro.el (kmacro-start-macro): Doc fix.
+
+2002-09-13  Juanma Barranquero  <lektu@terra.es>
+
+       * progmodes/idlw-shell.el (idlwave-shell-cleanup): Fix reference
+       to `idlwave-idlwave_routine_info-compiled'.
+
+       * whitespace.el (whitespace-unload-hook): Call `remove-hook' with
+       three arguments, not four.
+
+2002-09-13  Kim F. Storm  <storm@cua.dk>
+
+       * kmacro.el (kmacro-keymap): Changed bindings:
+       C-x C-k s to kmacro-start-macro, C-x C-k b to kmacro-bind-to-key.
+
+2002-09-12  Richard M. Stallman  <rms@gnu.org>
+
+       * international/mule-cmds.el (universal-coding-system-argument):
+       Read the coding system inside `interactive' spec, for command-history.
+
+2002-09-12  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * emacs-lisp/find-func.el (find-library-name): Don't forget
+       the empty suffix.  Fix stale variable name.
+
+       * gud.el (gud-gdb-massage-args, gud-sdb-massage-args)
+       (gud-pdb-massage-args): Delete.
+       (gdb, sdb, pdb): Don't pass gud-*-massage-args any more.
+       (gud-gdb-command-name): New var.  Put "--fullname" in there.
+       (gud-query-cmdline): Use the most recent executable as the default.
+       Don't add "--fullname" (it's only valid/meaningful for GDB).
+       (gud-xdb-marker-filter): Use match-string.
+       (gud-perldb-massage-args): Don't add "-d".
+       (gud-perldb-command-name): Add "-d".
+       (gud-common-init): If `massage-args' is nil, don't call it.
+       (gud-format-command): Don't hardcode point-min==1.
+
+       * derived.el: Require CL when compiling.
+
+2002-09-12  Simon Josefsson  <jas@extundo.com>
+
+       * mail/smtpmail.el (smtpmail-send-it): Don't use : in filenames
+       (for cygwin). Suggested by Andrew Senior <aws@watson.ibm.com>.
+       Use expand-file-name.  Also don't require time-stamp.
+
+2002-09-11  Richard M. Stallman  <rms@gnu.org>
+
+       * derived.el (define-derived-mode): When making new abbrev table,
+       don't try to copy the parent's abbrev table.
+
+       * ruler-mode.el (ruler-mode-left-scroll-bar-cols):
+       Always round scroll-bar-width parameter up.
+       If it is nil, use 14.
+
+       * abbrev.el (copy-abbrev-table): New function.
+
+2002-09-11  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
+
+       * ps-print.el: Adjust ps-print-color-p, ps-default-fg and
+       ps-default-bg setting.
+       (ps-print-version): New version number (6.5.7).
+       (ps-mark-active-p): New fun.
+       (ps-print-preprint-region): Adjust code.
+
+2002-09-11  Dave Love  <fx@gnu.org>
+
+       * international/mule.el (non-standard-designations-alist)
+       (ctext-pre-write-conversion): Don't generate invalid extended
+       segments for iso8859.
+
+       * language/cyrillic.el ("Ukrainian"): Fix nonascii-translation.
+       (cyrillic-alternativnyj-decode-table): Fix some entries.
+
+       * international/ucs-tables.el: Fix last change.
+
+       * international/utf-8.el (utf-8-fragment-on-decoding): Fix last
+       change.
+
+2002-09-11  Kim F. Storm  <storm@cua.dk>
+
+       * edmacro.el (edit-kbd-macro): Recognize new C-x e binding,
+       kmacro-end-and-call-macro.
+
+2002-09-11  Juanma Barranquero  <lektu@terra.es>
+
+       * newcomment.el (uncomment-region): Fix let/let* use.
+
+2002-09-11  Simon Josefsson  <jas@extundo.com>
+
+       * time-stamp.el (time-stamp-hhmmss): New function.
+
+       * gud.el (gud-gdb-massage-args): Don't secretly add -fullname.
+       (gud-query-cmdline): Add --fullname to the user cmdline.
+
+       * mail/smtpmail.el (smtpmail-default-smtp-server): Doc fix.
+
+2002-09-11  Kim F. Storm  <storm@cua.dk>
+
+       * kmacro.el (kmacro-call-macro): Rephrase repeat prompt.
+       (kmacro-step-edit-map): Bind "A" to `append-end'.
+       (kmacro-step-edit-prompt): Fix prompt.
+       (kmacro-step-edit-query): Handle `append-end' response.
+       (kmacro-step-edit-pre-command): Activate `append-end' at end of
+       macro when required.
+
+2002-09-11  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * derived.el (define-derived-mode): Fix typo.
+
+       * menu-bar.el (line-number-mode, column-number-mode)
+       (transient-mark-mode): Use minor mode directly.
+       (menu-bar-make-toggle): Remove `props' arg.
+       Move customize-mark-as-set directly into the toggle function.
+
+       * whitespace.el (whitespace-global-mode): Use define-minor-mode.
+       Use the new file hook names.
+       (whitespace-describe): Remove.  Move the text to `Commentary:'.
+       (whitespace-unload-hook): Use the new file hook names.
+
+       * finder.el (finder-find-library): Remove.
+       (finder-commentary): Use find-library-name and add completion.
+
+       * simple.el (transient-mark-mode, line-number-mode)
+       (column-number-mode): Use define-minor-mode.
+       (define-mail-user-agent): Delete.  Moved to subr.el.
+
+       * loadup.el ("simple.el"): Move to after loaddefs.el.
+
+       * subr.el (define-mail-user-agent): Moved from simple.el.
+
+2002-09-10  Richard M. Stallman  <rms@gnu.org>
+
+       * pcvs-info.el (cvs-check-fileinfo): Don't use boolp.
+       (boolp): Function deleted.
+
+2002-09-10  Dave Love  <fx@gnu.org>
+
+       * international/utf-8.el (ucs-mule-to-mule-unicode):
+       Define unconditionally.
+       (utf-8-fragmentation-table): New.  Use it in top-level mapc.
+       (utf-8-fragment-on-decoding): Use it to keep
+       utf-8-translation-table-for-decode variable and translation table
+       in sync.
+
+       * international/ucs-tables.el: Bind utf-8-translation-table-for-decode
+       when setting up tables and remove useless optimize-char-table.
+       (ucs-mule-to-mule-unicode): Deleted.
+       (ucs-unify-8859): Maybe optimize ucs-mule-to-mule-unicode.
+
+       * international/utf-16.el (utf-16-le-pre-write-conversion)
+       (utf-16-be-pre-write-conversion): Deleted.
+       (mule-utf-16-le, mule-utf-16-be): Register encoding translation table.
+
+2002-09-10  Richard M. Stallman  <rms@gnu.org>
+
+       * files.el (diff-buffer-with-file): Simplify.
+       Don't signal an error if buffer has no file.
+       Call sit-for after `diff' returns.
+
+       * play/gamegrid.el (gamegrid-make-color-tty-face):
+       Handle string as COLOR arg.
+       (gamegrid-display-type): Don't assume display-color-p
+       implies a color-x terminal.
+       (gamegrid-hide-cursor): Set `cursor-type' local variable.
+
+       * descr-text.el (describe-text-mode): Add font-lock-defontify to
+       change-major-mode-hook.
+
+       * ibuffer.el (ibuffer-mode): Add font-lock-defontify to
+       change-major-mode-hook.
+
+       * comint.el (comint-mode): Add font-lock-defontify to
+       change-major-mode-hook.
+
+       * info.el (Info-mode):  Add font-lock-defontify to
+       change-major-mode-hook.
+
+       * replace.el (occur-mode): Add font-lock-defontify to
+       change-major-mode-hook.
+
+       * font-core.el (font-lock-defontify): New function.
+
+2002-09-10  Richard M. Stallman  <rms@gnu.org>
+
+       * ps-print.el (ps-printer-name-option): Doc fix.
+
+2002-09-10  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
+
+       * ps-print.el: Adjust ps-postscript-code-directory setting.
+       XEmacs version check was adjusted.
+       (ps-print-version): New version number (6.5.6).
+       (ps-print-color-p, ps-page-dimensions-database): Autoload var.
+       (ps-print-code, ps-print-preprint-region): Adjust code.
+
+2002-09-10  Kai Gro\e,b_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
+
+       * files.el (auto-mode-alist): ~/.gnus, ~/.viper are in
+       emacs-lisp-mode, like ~/.emacs.
+
+2002-09-10  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * newcomment.el (uncomment-region): Be more careful with `='.
+
+2002-09-10  Deepak Goel  <deego@glue.umd.edu>
+
+       * play/doctor.el (doc//): Rename from `//'.  Update callers.
+       (doc$): Rename from `$'.  Update callers.
+
+2002-09-10  Miles Bader  <miles@gnu.org>
+
+       * simple.el (do-auto-fill): `fill-indent-according-to-mode' is a
+       variable, not a function.
+
+       * kmacro.el (kmacro-call-macro): Deal with a non-numeric prefix arg.
+
+2002-09-10  Kim F. Storm  <storm@cua.dk>
+
+       * macros.el (apply-macro-to-region-lines): Let-bind mark-active to
+       nil while executing macro to avoid triggering delete-selection-mode.
+
+       * simple.el (keyboard-quit): Set defining-kbd-macro to nil to
+       cancel defining keyboard macro when applicable.
+
+2002-09-09  Markus Rost  <rost@math.ohio-state.edu>
+
+       * simple.el (transient-mark-mode, line-number-mode)
+       (column-number-mode): Undo previous change because of bootstrapping.
+
+2002-09-09  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * derived.el (define-derived-mode): Add keyword arguments.
+       (derived-mode-make-docstring): Take abbrev and syntax table names.
+
+       * font-core.el (font-lock-change-mode): Just turn off font-lock-mode.
+       (font-lock-default-function): Change arg name.
+
+       * cus-start.el (transient-mark-mode): Delete.  Done in simple.el.
+
+       * paren.el (show-paren-function): Use syntax-after.
+
+       * emacs-lisp/syntax.el (syntax-after): Delete.  Moved to subr.el.
+
+       * subr.el (symbol-file): Also work for autoloaded funcs.
+       (syntax-after): New fun moved from syntax.el.
+
+       * find-file.el (ff-pre-find-hook, ff-pre-load-hook, ff-post-load-hook)
+       (ff-not-found-hook, ff-file-created-hook): Rename from *-hooks.
+       Update callers (but still run the old hooks as well).
+
+       * emacs-lisp/find-func.el (find-library-suffixes, find-library-name)
+       (find-library): New funs.
+       (find-function-search-for-symbol): Use it.
+
+       * emacs-lisp/bytecomp.el (byte-compile-file): Don't switch buffer.
+
+       * isearch.el (isearch-cmds): Add docstring.
+       (isearch-mouse-2): Lookup binding in the proper buffer.
+       Use call-interactively and remove the now useless `arg'.
+       (isearch-search-fun-function): New var.
+       (isearch-search-fun): New fun.
+       (isearch-search, isearch-lazy-highlight-search): Use it.
+
+2002-09-09  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * simple.el (what-line): Don't hard-code 1.
+       (transient-mark-mode, line-number-mode, column-number-mode):
+       Use define-minor-mode.
+       (do-auto-fill): Only ignore prefix if it's really empty.
+
+2002-09-09  Markus Rost  <rost@math.ohio-state.edu>
+
+       * files.el (save-some-buffers-action-alist):  Use lower case for
+       help string of diff-buffer-with-file.
+
+2002-09-09  Richard M. Stallman  <rms@gnu.org>
+
+       * calendar/calendar.el (mouse-scroll-calendar-left)
+       (mouse-scroll-calendar-right, mouse-calendar-other-month):
+       New commands.
+       (calendar-mode-line-format): Use them.
+
+       * emacs-lisp/bytecomp.el (byte-recompile-directory):
+       Set and then bind default-directory.
+
+       * startup.el (fancy-splash-head, normal-splash-screen):
+       Change the messages that explain about GNU or GNU/Linux.
+
+       * info.el (Info-search): Add (point-min) to subfile positions
+       to get them right.  Skip the current subfile using forward-line.
+
+       * files.el (make-backup-file-name-1): When make-directory fails,
+       ignore backup-directory-alist.
+       (make-directory): Expand DIR before looking for handler.
+
+2002-09-09  Jari Aalto  <jari.aalto@poboxes.com>
+
+       * progmodes/cperl-mode.el (cperl-noscan-files-regexp):
+       In addition to RCS, exclude CVS directories.
+
+       * ls-lisp.el (ls-lisp-format-time-list): New variable.
+       (ls-lisp-format-time): Use it.
+
+       * files.el (auto-mode-alist): Use sh-mode for .bash files.
+
+2002-09-09  Dave Love  <d.love@dl.ac.uk>
+
+       * ps-print.el: Many doc fixes.
+
 2002-09-09  John Paul Wallington  <jpw@shootybangbang.com>
 
        * play/doctor.el (doctor-cadr, doctor-caddr, doctor-cddr): Remove.
        Update callers.
-       
+
 2002-09-08  Markus Rost  <rost@math.ohio-state.edu>
 
        * diff.el (diff): Doc fix.
        invisible newlines.  Also include entire invisible lines beyond
        the stopping point.
 
-       * cus-edit.el (custom-save-variables, custom-save-faces): 
+       * cus-edit.el (custom-save-variables, custom-save-faces):
        Clarify the comments written into .emacs.
 
 2002-09-08  Markus Triska  <triska@gmx.at>
 
        * progmodes/compile.el (compile-internal): Add optional argument
        no-async.
-       
+
        * diff.el (diff): Add optional argument no-async, and use the
        above argument.
-       
+
        * files.el (diff-buffer-with-file): Call diff synchronously, so we
        don't delete the temporary file before diff has a chance to read
        it.
-       
-       * ibuf-ext.el (ibuffer-diff-with-file): Just call `diff-buffer-with-file'.
+
+       * ibuf-ext.el (ibuffer-diff-with-file): Just call
+       `diff-buffer-with-file'.
 
 2002-09-07  John Paul Wallington  <jpw@shootybangbang.com>
 
        * emacs-lisp/cl-indent.el (extended-loop-p): Doc fix.
 
-       * emacs-lisp/find-func.el (find-function-recenter-line): Add
-       custom type.  Doc fix.
+       * emacs-lisp/find-func.el (find-function-recenter-line):
+       Add custom type.  Doc fix.
 
 2002-09-06  Stefan Monnier  <monnier@cs.yale.edu>
 
        * emulation/cua-base.el (cua--repeat-replace-text): New variable.
        (cua-repeat-replace-region): New command.
        (cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
-       Misc improvements to the commantary.
+       Misc improvements to the commentary.
 
 2002-05-26  Simon Josefsson  <jas@extundo.com>
 
        * ibuf-ext.el (ibuffer-toggle-sorting-mode): Make it work.
 
        * ibuffer.el (ibuffer-truncate-lines): New option.
-         (ibuffer-mode):  Use it.
+       (ibuffer-mode):  Use it.
 
 2002-02-17  Kim F. Storm  <storm@cua.dk>