(animate-string): Doc fix. Use a buffer
[bpt/emacs.git] / lisp / ChangeLog
index e053909..b22250e 100644 (file)
@@ -1,6 +1,451 @@
+2001-08-10  Gerd Moellmann  <gerd@gnu.org>
+
+       * play/animate.el (animate-string): Doc fix.  Use a buffer
+       name with stars in it.
+       (animate-sequence): New function.
+       From Richard Stallman <rms@gnu.org>.
+
+       * frame.el (select-frame-set-input-focus): New function
+       extracted from other-frame.
+       (other-frame): Use it.
+       (next-multiframe-window, previous-multiframe-window): Use it.
+
+       * isearch.el (isearch-other-meta-char): Don't switch to the
+       buffer of a window clicked on, when the current buffer is
+       in Isearch mode.
+
+       * image.el (image-jpeg-p): Test for APPn markers in the range
+       #xe0..#xef.
+
+2001-08-09  Gerd Moellmann  <gerd@gnu.org>
+
+       * desktop.el (desktop-save): Don't use concat to form a file
+       name, use expand-file-name.
+
+       * mouse.el (mouse-delete-window): Do nothing if frame has just
+       one window.
+
+       * bindings.el (minor-mode-alist): Use mode-line-minor-mode-keymap
+       for the minor mode name.
+
+       * view.el (toplevel): Use mode-line-minor-mode-keymap for the
+       minor mode name.
+
+       * time.el (display-time-string-forms): Use
+       make-mode-line-mouse-map instead of make-mode-line-mouse2-map.
+
+       * subr.el (add-minor-mode): Use mode-line-minor-mode-keymap for
+       the minor mode name.
+
+       * emacs-lisp/easy-mmode.el (define-minor-mode): Use 
+       mode-line-minor-mode-keymap for the minor mode name.
+
+       * calendar/calendar.el (calendar-mode-line-format): Use
+       make-mode-line-mouse-map instead of make-mode-line-mouse2-map.
+
+       * bindings.el (make-mode-line-mouse-map): Renamed from
+       make-mode-line-mouse2-map.  Take additional arg MOUSE.
+       (mode-line-modified): Use mouse-3 instead of mouse-2.
+       (mode-line-buffer-identification-keymap): Bind keys differently.
+       (propertized-buffer-identification): Adapt help-echo to new
+       bindings.
+
+       * bindings.el (mode-line-format): Specify help-echo for line
+       number, column number and buffer-percent part of the mode-line.
+
+       * image.el (image-type-regexps): Allow whitespace at the start
+       of the image data for XPM, XBM and Postscript, which are
+       text files.
+       (image-jpeg-p): Correct calculation of next field offset.
+
+2001-08-08  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * battery.el: Fix typo.
+
+2001-08-08  Gerd Moellmann  <gerd@gnu.org>
+
+       * image.el (image-type-regexps): Allow predicates.  Change the way
+       JPEG images are recognized.
+       (image-jpeg-p): New function.
+       (image-type-from-data): Handle predicates in image-type-regexps.
+
+       * emacs-lisp/edebug.el (edebug-read-function): Fix handling of
+       #:, #x, #o, and similar constructs.
+
+2001-08-07  Gerd Moellmann  <gerd@gnu.org>
+
+       * vc.el (vc-transfer-file): Fix malformed autoload cookie.
+
+       * emulation/viper-util.el (viper-file-checked-in-p): Use `and'
+       instead of `progn'.
+
+       * tar-mode.el (tar-extract): Avoid generating a new buffer
+       for each file visited.  From Markus Rost <rost@math.ohio-state.edu>.
+
+       * textmodes/paragraphs.el (forward-sentence): Avoid building
+       a regexp from sentence-end.  From Kenichi Handa <handa@etl.go.jp>.
+
+       * progmodes/executable.el (executable-set-magic): If 
+       executable-find returns a quoted file name, unquote it before
+       inserting it.
+
+       * image.el (image-type-regexps): For JPEG files, use a regexp
+       derived from the JFIF spec.
+       
+       * image.el (image-type-regexps): Use `\`' instead of `^' in
+       most regular expressions.
+
+2001-08-06  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * play/animate.el: re-insert a reference to re-inserted function.
+
+2001-08-06  Gerd Moellmann  <gerd@gnu.org>
+
+       * help.el (describe-function-1): Use
+       find-function-search-for-symbol instead of find-function-noselect
+       because the latter follows aliases.
+
+       * play/animate.el (animate-birthday-present): Re-insert.
+
+       * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Handle
+       old-style menu definitions.
+
+2001-08-06  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/page.el,
+       * textmodes/text-mode.el, textmodes/two-column.el: Keywords added.
+
+       * play/studly.el, mail/unrmail.el, emacs-lisp/lucid.el,
+       * emulation/pc-mode.el, diff.el, textmodes/fill.el, abbrev.el,
+       * add-log.el, faces.el, mail/sc.el: Specify FSF as Maintainer.
+
+2001-08-05  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * textmodes/tildify.el: Milan Zamazal has new address.
+
+2001-08-03  Gerd Moellmann  <gerd@gnu.org>
+
+       * custom.el (custom-set-variables): Don't test `custom-requests'
+       properties, check the third element of the options passed to
+       custom-set-variables instead.
+
+       * info.el (info-insert-file-contents): Use info-file-exists-p
+       instead of file-exists-p.
+
+       * play/zone.el (zone-pgm-stress): Use unwind-protect to make sure
+       the mode-line face is restored.  Fix several bugs.
+
+       * replace.el (perform-replace): Doc fix.
+
+2001-08-02  Francesco Potorti`  <pot@gnu.org>
+
+       * uniquify.el (uniquify-ref-base, uniquify-ref-filename)
+       (uniquify-ref-buffer, uniquify-ref-proposed): New functions.
+       (uniquify-fix-item-base, uniquify-fix-item-filename)
+       (uniquify-fix-item-buffer, uniquify-fix-item-proposed): Deleted.
+       Callers changed.
+       (uniquify-set-proposed): Changed to work with a vector item.
+       (uniquify-rationalize-file-buffer-names): Use a list of arrays for
+       the fix list, and a list of strings for the non-file buffer
+       names.  Both changes reduce consing.
+       (uniquify-rationalize-a-list): Local variable renaming.
+       (uniquify-rationalize-conflicting-sublist): Use member instead of
+       assoc.
+       (uniquify-rename-buffer): Use unless instead of if not.
+
+2001-08-02  Gerd Moellmann  <gerd@gnu.org>
+
+       * recentf.el (recentf-dump-variable): Handle a value of nil
+       correctly.
+
+       * custom.el (custom-set-variables): Set options with :require
+       clauses last.
+
+       * custom.el (defcustom): Doc fix.
+
+       * Makefile.in (TAGS, TAGS-LISP): Exclude loaddefs.el.
+
+2001-08-01  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * man.el (man): Mention Man-switches in the doc string.
+       (Man-switches): Mention -a in the doc string.
+
+       * textmodes/ispell.el (ispell-alternate-dictionary): Add
+       /usr/share/lib/dict/words, for Irix.
+
+       * bindings.el: Bind shifted and control-shifted kp-* keys to the
+       corresponding non-kp keys.  Suggested by Stephen Gildea
+       <gildea@alum.mit.edu>.
+
+2001-08-01  Francesco Potorti`  <pot@gnu.org>
+
+       * uniquify.el: These changes correct a corner case that the old
+       code managed correctly.
+       (uniquify-fix-item-proposed): Renamed from
+       uniquify-fix-item-min-proposed.
+       (uniquify-set-proposed): New function.
+       (uniquify-rationalize-file-buffer-names): Code reshuffled for
+       clarity and speed.
+       (uniquify-item-greaterp): Substitutes uniquify-item-lessp.  This
+       is equivalent to what the old code did.
+       (uniquify-rationalize-a-list): Never recompute the proposed
+       name.  Sort the conflicting sublist before rationalising it: this
+       is equivalent to what the old code did, but one directory element
+       at a time, and only when necessary.
+       (uniquify-rationalize-conflicting-sublist): Recompute here the
+       proposed name.
+
+2001-08-01  Gerd Moellmann  <gerd@gnu.org>
+
+       * play/animate.el: Add Keywords and Maintainer.  Remove a
+       reference to a removed function.
+
+       * play/animate.el (animate-string): Handle case that the string is
+       longer than the window is wide.
+
+2001-07-31  Gerd Moellmann  <gerd@gnu.org>
+
+       * desktop.el (desktop-save): Bind coding-system-for-write to
+       `emacs-mule' for write-region.
+
+       * delsel.el (delete-selection-pre-hook): Don't set this-command
+       to `ignore' if the region is empty.
+
+       * international/mule.el (set-keyboard-coding-system): Set
+       keyboard-coding-system.
+
+       * smerge-mode.el (smerge-mode): Check if `font-lock-mode' is bound
+       before accessing it.
+
+2001-07-30  Andreas Schwab  <schwab@suse.de>
+
+       * menu-bar.el (toggle-highlight-paren-mode): Use
+       `(show-paren-mode)' as body.
+
+2001-07-30  Andre Spiegel  <spiegel@gnu.org>
+
+       * vc.el (vc-checkout-hook): New hook.
+       (vc-checkout): Run it.
+
+2001-07-30  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * progmodes/make-mode.el (makefile-macroassign-regex): Recognize
+       the ?= operator.  From Jonathan Kamens <jik@curl.com>.
+
+2001-07-30  Gerd Moellmann  <gerd@gnu.org>
+
+       * vc.el (vc-switch-backend): Fix autoload cookie.
+
+       * desktop.el (desktop-save): Add `-*- coding: emacs-mule -*-' to
+       the desktop file.
+
+2001-07-30  Simon Josefsson  <jas@extundo.com>
+
+       * mail/mail-utils.el (mail-strip-quoted-names): Replace text
+       literally.  Reported by Sean Rima <sean@**Delete**.tcob1.net>.
+
+2001-07-27  Gerd Moellmann  <gerd@gnu.org>
+
+       * emacs-lisp/lisp-mode.el (last-sexp-setup-props): New function.
+       (last-sexp-toggle-display): Renamed from last-sexp-print.
+       (last-sexp-toggle-display, eval-last-sexp-1): Use
+       last-sexp-setup-props.
+
+       * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button):
+       New user-options.
+       (mouse-wheel-change-button): New function.
+       (mouse-wheel-mode): Use mouse-wheel-{up,down}-button.
+       (mwheel-scroll): Ditto.
+
+2001-07-26  Gerd Moellmann  <gerd@gnu.org>
+
+       * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Don't search for
+       `...', compare with unabbreviated printed representation instead.
+       (last-sexp-print): Bind print-length and print-level to nil.
+
+       * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Look for a `...'
+       before assigning text properties.  Make properties rear-nonsticky.
+
+       * emacs-lisp/lisp-mode.el (last-sexp-print): New function.
+       (eval-last-sexp-1): Give printed text a `keymap' property and bind
+       <mouse-2> and <RET> in that map to a function printing the
+       unabbreviated value.
+
+       * emacs-lisp/lisp-mode.el (eval-last-sexp-1): If standard-output
+       is a buffer, put a text property `printed-value' on the printed
+       representation, with the Lisp object printed as value.
+
+2001-07-25  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-defun):
+       Mention the effect of eval-expression-print-length and
+       eval-expression-print-level in the doc strings.  Suggested by
+       Kevin Gallagher <kevingal@onramp.net>.
+
+2001-07-25  Gerd Moellmann  <gerd@gnu.org>
+
+       * xt-mouse.el (xterm-mouse-event): Recognize control sequences
+       for buttons > 3.
+       (xterm-mouse-translate): Handle the case that we don't get a
+       down-event.
+
+       * emacs-lisp/find-func.el (find-function-regexp): Add
+       easy-mmode-define-global-mode to the regexp.  Allow newlines
+       in front of the function name.
+
+       * isearch.el (isearch-other-meta-char): Fix last change.
+
+       * isearch.el (isearch-other-meta-char): Don't modify mode-line and
+       similar events for which fake prefix keys are generated.  It's no
+       longer necessary since read_key_sequence doesn't modify these
+       events for internal purposes anymore.
+
+       * files.el (auto-mode-alist): Use nroff-mode for files ending
+       in `.9'.  From Assar Westerlund  <assar@stacken.kth.se>.
+
+2001-07-24  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * avoid.el (mouse-avoidance-too-close-p): If the frame lacks a
+       tool-bar-lines parameter, behave as if its value were zero.
+       (mouse-avoidance-set-pointer-shape): Don't do anything if
+       x-pointer-shape is not boundp.
+
+2001-07-23  Francesco Potorti`  <pot@gnu.org>
+
+       * uniquify.el: Overall speedup changes when using many buffers.
+       (uniquify-fix-item-base, uniquify-fix-item-filename,
+       uniquify-fix-item-buffer): Changed defmacro to defalias (cosmetic).
+       (uniquify-fix-item-unrationalized-buffer): Deleted: was the fourth
+       place in the item, but was never used.
+       (uniquify-fix-item-min-proposed): New defalias: the fourth place
+       in the item is now used as cache for the proposed name.
+       (uniquify-rationalize-file-buffer-names): Move computation made on
+       newbuffile out of the loop, in the newbuffile-nd local var.  Use
+       dolist (cosmetic change).  Compute the proposed name for the most
+       common case and cache it in the fourth place in the item.
+       (uniquify-rationalize-file-buffer-names): Used to return a a list
+       of buffer whose name was changed, but that return value was never
+       used.
+       (uniquify-item-lessp): Replaces uniquify-filename-lessp, works on
+       the cached proposed name, does much less consing and is quicker.
+       (uniquify-filename-lessp): Deleted.
+       (uniquify-rationalize-a-list): Use dolist (cosmetic change).  Do
+       not bind locally the uniquify-possibly-resolvable flag.  Use the
+       cached proposed name is possible.
+       (uniquify-get-proposed-name): Arguments changed, callers changed.
+       (uniquify-rationalize-conflicting-sublist): Explicitely reset the
+       uniquify-possibly-resolvable flag, which is no more bound locally.
+       (uniquify-rename-buffer): Do not set the old unrationalised-buffer
+       flag, which does not exist any more.
+
+2001-07-23  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * term/internal.el (IT-unicode-translations): Fix the appearance of
+       "6`".
+
+       * progmodes/compile.el (compile-internal): If EMACS is already
+       defined in the environment, don't override its value.
+
+2001-07-23  Gerd Moellmann  <gerd@gnu.org>
+
+       * play/fortune.el: Undo change of 2001-07-13.
+       Fix autoload cookies.  Add types to defcustoms.
+       (fortune) <defgroup>: Add :link.
+       (fortune-from-region): Use eq, not eql.
+       From Dave Love <fx@gnu.org>.
+
+       * play/animate.el (animate-birthday-present): Function removed.
+
+       * play/animate.el: New file.
+
+2001-07-22  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * startup.el (normal-top-level-add-subdirs-to-load-path): On
+       Windows, put into normal-top-level-add-subdirs-inode-list the
+       canonicalized names of the directories instead of inode numbers.
+
+2001-07-21  Michael Kifer  <kifer@cs.sunysb.edu>
+
+       * ediff-util.el: Copyright years.
+       (ediff-choose-syntax-table): New function.
+       (ediff-setup): Use ediff-choose-syntax-table.
+       (ediff-file-checked-out-p,ediff-file-checked-in-p): Check if
+       vc-state is available.
+       (ediff-make-temp-file): Use ediff-coding-system-for-write.
+
+       * ediff-init.el (ediff-with-syntax-table): New macro, uses
+       with-syntax-table.
+       (ediff-coding-system-for-read): From ediff-diff.el
+       (ediff-coding-system-for-write): New variable.
+       (ediff-highest-priority): Fixed the bug having to do with disappearing
+       overlays.
+       (ediff-file-remote-p): Use file-remote-p, if available.
+       (ediff-listable-file): New function.
+       (ediff-file-attributes): Use ediff-listable-file.
+
+       * ediff-mult.el (ediff-meta-insert-file-info1): Use
+       ediff-listable-file.
+
+       * ediff-ptch.el (ediff-prompt-for-patch-file): Use
+       ediff-coding-system-for-read.
+       (ediff-patch-file-internal): Use ediff-coding-system-for-write.
+
+       * ediff-diff.el (ediff-coding-system-for-read): Moved to ediff-init.el.
+       (ediff-match-diff3-line,ediff-get-diff3-group): Improved pattern.
+
+       * ediff.el: Date of last update, copyright years.
+
+       * ediff-wind (ediff-setup-control-frame): Nill->nil.
+
+       * viper-ex.el (ex-token-list,ex-cmd-execute): Revamped, courtesy
+       of Scott Bronson.
+       (ex-cmd-assoc,ex-compile,ex-cmd-one-letr): New functions.
+       (viper-check-sub,viper-get-ex-command,viper-execute-ex-command):
+       Deleted functions.
+       (viper-get-ex-com-subr,viper-ex,ex-mark): Changed to use the new
+       ex-token-list.
+       (viper-get-ex-address-subr): Convert registers to char data type.
+
+       * viper-util.el (viper-int-to-char,viper-char-equal): New
+       functions.
+       (viper-memq-char): Use viper-int-to-char.
+       (viper-file-checked-in-p): Use vc-locking-user, if vc doesn't have
+       vc-locking-state.
+       (viper-read-key): Use viper-read-key-sequence.
+
+       * viper.el (viper-major-mode-modifier-list): Added
+       inferior-emacs-lisp-mode.
+       (this-major-mode-requires-vi-state): New function that uses simple
+       heuristics to decide if vi state is appropriate.
+       (set-viper-state-in-major-mode): Use this-major-mode-requires-vi-state.
+       (viper-non-hook-settings): Don't advise read-key-sequence.
+       (viper-read-key-sequence): New function that replaces the
+       previously used advice to read-key-sequence.
+
+       * viper-cmd.el (viper-test-com-defun,viper-exec-change)
+       (viper-exec-Change,viper-execute-com,viper-insert,viper-append)
+       (viper-Append,viper-Insert,viper-open-line,viper-Open-line)
+       (viper-open-line-at-point,viper-substitute,viper-overwrite)
+       (viper-replace-char-subr,viper-forward-word,viper-forward-Word):
+       Got rid of the negative character hack.
+       (viper-escape-to-state,viper-replace-state-exit-cmd):
+       Use viper-read-key-sequence.
+       (viper-envelop-ESC-key): No need for ad-get-orig-definition.
+       (viper-minibuffer-standard-hook,viper-read-string-with-history):
+       Don't override existing minibuffer-setup-hook.
+       (viper-mark-point,viper-goto-mark-subr,viper-brac-function):
+       Convert registers to char data type.
+       (viper-autoindent): Use viper-indent-line.
+
+       * viper-keym.el: Use viper-exec-key-in-emacs.
+
+2001-07-20  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * server.el (server-visit-files): Fix variable name typo.
+
 2001-07-20  Gerd Moellmann  <gerd@gnu.org>
 
-       * simple.el (delete-trailing-whitespace): Save match data 
+       * simple.el (delete-trailing-whitespace): Save match data
        around looking-at.  From Markus Rost <rost@math.ohio-state.edu>.
 
 2001-07-19  Stefan Monnier  <monnier@cs.yale.edu>