*** empty log message ***
[bpt/emacs.git] / lisp / ChangeLog
index 9ed500a..d49525a 100644 (file)
+2003-04-27  Luc Teirlinck  <teirllm@mail.auburn.edu>
+
+       * scroll-bar.el (scroll-bar-drag-1): Replace beginning-of-line with
+       vertical-motion.
+
+2003-04-27  David Ponce  <david@dponce.com>
+
+       * recentf.el
+
+       Major rewrite.  The code is reordered, cleaner and faster.
+       Introduced new options to automatically cleanup the recent list,
+       and to handle filename transformation (for example to use true
+       filenames).
+
+       (recentf-version): New constant.
+       (recentf-save-file-header): Moved.
+       (recentf-data-cache): New variable.
+       (recentf-update-menu-p, recentf-initialized-p): Removed.
+       (recentf-menu-customization-changed): Moved.  Doc fix.
+       (recentf-max-saved-items): Doc fix.
+       (recentf-save-file): Doc fix.  No more expand filename here.
+       (recentf-exclude, recentf-menu-action)
+       (recentf-menu-filter): Doc fix.
+       (recentf-menu-append-commands-flag): Renamed from...
+       (recentf-menu-append-commands-p): Made obsolete.
+       (recentf-keep-non-readable-files-flag): Renamed from...
+       (recentf-keep-non-readable-files-p): Made obsolete.
+       (recentf-auto-cleanup, recentf-filename-handler): New options.
+       (recentf-string-equal, recentf-string-lessp)
+       (recentf-string-member): New functions.
+       (recentf-trunc-list): Moved.
+       (recentf-dump-variable): Moved.  Better code and output format.
+       (recentf-auto-cleanup-timer): New variable.
+       (recentf-auto-cleanup): New function.
+       (recentf-push, recentf-expand-file-name): New functions.
+       (recentf-add-file): In-lined.  Use above functions.
+       (recentf-remove-if-non-readable): In-lined.  Expand file name.
+       (recentf-find-file): Use `recentf-remove-if-non-readable'.
+       (recentf-directory-compare): Moved.  Use `recentf-string-equal'
+       and `recentf-string-lessp' to do comparisons.
+       (recentf-menu-items-for-commands)
+       (recentf-menu-filter-commands): Moved.
+       (recentf-elements, recentf-make-menu-element)
+       (recentf-menu-element-item, recentf-menu-element-value)
+       (recentf-set-menu-element-item, recentf-set-menu-element-value)
+       (recentf-sub-menu-element-p, recentf-make-default-menu-element)
+       (recentf-menu-elements): In-lined. Some doc fix.
+       (recentf-apply-menu-filter): Better code.
+       (recentf-make-menu-items): Doc fix.  Use
+       `recentf-menu-append-commands-flag'.
+       (recentf-make-menu-item): In-lined.  Better code.
+       (recentf-clear-data): New function.
+       (recentf-sort-ascending, recentf-sort-descending)
+       (recentf-sort-basenames-ascending)
+       (recentf-sort-basenames-descending)
+       (recentf-sort-directories-ascending)
+       (recentf-sort-directories-descending)
+       (recentf-show-basenames-ascending)
+       (recentf-show-basenames-descending: In-lined.  Better code.  Some
+       doc fix.
+       (recentf-show-basenames)
+       (recentf-relative-filter): Better code.  Doc fix.
+       (recentf-arrange-by-rule-subfilter): Doc fix.  Improved :set code.
+       (recentf-match-rule-p): Use filename instead of file-path.
+       (recentf-arrange-by-rule, recentf-build-mode-rules)
+       (recentf-arrange-by-mode, recentf-build-dir-rules)
+       (recentf-file-name-nondir)
+       (recentf-filter-changer-alist): Some doc fix and code cleanup.
+       (recentf-filter-changer-goto-next): Doc fix.  Call
+       `recentf-clear-data'.
+       (recentf-filter-changer-get-current)
+       (recentf-filter-changer-get-next): In-lined.  Doc fix and better
+       code.
+       (recentf-filter-changer): Doc fix and better code.
+       (recentf-cancel-dialog): Doc fix.
+       (recentf-dialog-mode-map): Initialized in defvar.
+       (recentf-dialog-mode): Doc fix.
+       (recentf-track-opened-file): Renamed from...
+       (recentf-add-file-hook): Removed.
+       (recentf-track-closed-file): Renamed from...
+       (recentf-remove-file-hook): Removed.
+       (recentf-update-menu-hook): Removed.  Replaced by...
+       (recentf-update-menu): New.  Better catch unnecessary updates.
+       Display a message on error.
+       (recentf-used-hooks): New constant.
+       (recentf-enabled-p): New function.
+       (recentf-edit-selected-items)
+       (recentf-open-files-action)
+       (recentf-open-files-item-shift): Doc fix.
+       (recentf-edit-list-action)
+       (recentf-open-files-item): Doc fix.  Code cleanup.
+       (recentf-edit-list, recentf-open-files)
+       (recentf-open-more-files): Likewise.  Removed autoload cookie.
+       (recentf-save-list, recentf-cleanup): Likewise.  Moved.
+       (recentf-load-list): New command.
+       (recentf-mode): Better code.  Does nothing if enabling the already
+       enabled mode.
+
+2003-04-27  Alan Mackenzie  <acm@muc.de>
+
+       * emacs-lisp/regexp-opt.el (regexp-opt-depth): Don't count a "//("
+       which appears inside a character set.
+       (regexp-opt-not-groupie*-re): New constant.
+
+2003-04-26  John Paul Wallington  <jpw@gnu.org>
+
+       * ibuffer.el (ibuffer-name-map, ibuffer-mode-name-map)
+       (ibuffer-mode-filter-group-map): Initialize in `defvar'.
+       (ibuffer-do-view-1): Use `make-frame' instead of `new-frame'.
+
+2003-04-25  Karl Berry  <karl@gnu.org>
+
+       Installed this change:
+       003-04-21  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * info.el (Info-unescape-quotes)
+       (Info-split-parameter-string)
+       (Info-display-images-node): New functions for displaying images.
+       (Info-select-node): Call Info-display-images-node.
+
+2003-04-25  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
+
+       * files.el (file-relative-name): Recognize "c:/foo" as absolute
+       file name.  Tiny change from David PONCE <david.ponce@wanadoo.fr>.
+
+2003-04-24  Sam Steingold  <sds@gnu.org>
+
+       * calendar/diary-lib.el (fancy-diary-display-mode): Bind "q" to
+       `quit-window' in the fancy diary buffer.
+
+       * emacs-lisp/cl-indent.el: `symbol-macrolet' is similar to `let',
+       not `multiple-value-bind'.
+
+2003-04-24  Lars Hansen  <larsh@math.ku.dk>
+
+       * subr.el (assq-delete-all): Ignore non-cons elements.
+
+2003-04-24  John Paul Wallington  <jpw@gnu.org>
+
+       * help-mode.el (help-make-xrefs): Remove extra paren.
+
+2003-04-23  Richard M. Stallman  <rms@gnu.org>
+
+       * mail/sendmail.el (mail-send-and-exit): Make arg optional.
+
+       * files.el (view-read-only): Doc fix.
+
+       * simple.el (back-to-indentation): Call backward-prefix-chars.
+
+       * help-mode.el (help-make-xrefs): Clean up the loop that scans
+       over a keymap inserted by \\{...}; it now stops at end of buffer.
+
+       * filesets.el: Don't call filesets-init.
+
+       * emacs-lisp/bytecomp.el (byte-compile-defun): Generate and
+       compile a defalias form, unless byte-compile-compatibility.
+
+       * progmodes/scheme.el (scheme-mode-syntax-table):
+       Use prefix syntax for ', `, comma, @ and #.
+
+       * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
+       Give @ prefix syntax.
+
+2003-04-23  Andre Spiegel  <spiegel@gnu.org>
+
+       * vc-cvs.el (vc-cvs-stay-local): Keep the old default.  Simplify
+       doc string.
+
+2003-04-23  Wolfgang Scherer  <wolfgang.scherer@gmx.de>
+
+       * vc-cvs.el (vc-cvs-stay-local): Allow lists of host regexps.
+       (vc-cvs-stay-local-p): Handle them.
+       (vc-cvs-parse-root): New function, used by the above.
+
+2003-04-20  Richard M. Stallman  <rms@gnu.org>
+
+       * simple.el (kill-line): Doc fix.
+
+2003-04-20  Sam Steingold  <sds@gnu.org>
+
+       * pcvs.el (cvs-examine): Respect `find-file-visit-truename'.
+
+2003-04-20  Glenn Morris  <gmorris@ast.cam.ac.uk>
+
+       * which-func.el (which-func-modes): Add f90-mode.
+       (which-function): Handle imenu submenus.
+
+       * progmodes/fortran.el (fortran-abbrev-start): Make XEmacs compatible.
+
+       * progmodes/f90.el (f90-font-lock-keywords-2): Use override for
+       font-lock-variable-name-face in declarations.
+       Highlight continuation characters.
+       (f90-indent-new-line): Remove direct call to f90-indent-line-no,
+       f90-update-line.
+       (f90-abbrev-start): Fix XEmacs compatibility.
+
+2003-04-19  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * vc-mcvs.el: New file.
+
+       * vc-cvs.el (vc-cvs-dir-state): Use vc-cvs-command.
+       (vc-cvs-could-register, vc-cvs-make-version-backups-p): Use defalias.
+       (vc-cvs-merge-news): Simplify.
+       (vc-cvs-diff): Remove unused var `options'.
+       (vc-cvs-parse-entry): Use the same algorithm as cvs does.
+
+2003-04-19  Richard M. Stallman  <rms@gnu.org>
+
+       * desktop.el (desktop-buffer-mh): Don't require mh-e;
+       it causes trouble in compilation.
+
+       * add-log.el (add-log-current-defun-function): Add autoload cookie.
+
+       * newcomment.el (comment-use-syntax): Add autoload cookie.
+
+       * emacs-lisp/bytecomp.el (byte-compile-log-file)
+       (byte-recompile-directory): Don't use byte-goto-log-buffer.
+       Instead, set default-directory and then call compilation-mode.
+       (byte-compile-from-buffer): Force byte-compile-last-position
+       to end of buffer before issuing final warnings.
+
+2003-04-18  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * emulation/cua-base.el (cua-mode): Use define-minor-mode.
+       (cua-global-mark-face): Fix face format.
+
+       * emacs-lisp/easy-mmode.el (define-minor-mode): Only echo a message
+       if the body didn't do so already.
+       (easy-mmode-define-keymap): Remove unused var `suppress'.
+
+       * view.el (view-read-only): Move to files.el.
+       * files.el (view-read-only): Move from view.el.
+
+2003-04-17  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * files.el (view-read-only): Don't declare a second time.
+       (find-file-read-only, find-file-read-only-other-window)
+       (find-file-read-only-other-frame): Check that file does exist.
+       (large-file-warning-threshold): New custom.
+       (find-file-noselect): Use it.
+       (report-errors): New macro.
+       (normal-mode): Use it.
+       (toggle-read-only): Really toggle, even if view-mode is on.
+       (parse-colon-path): Remove unused `cd-prefix' var.
+       (make-backup-file-name-1): Remove unused `failed' var.
+       (basic-save-buffer): Remove unused `tempsetmodes' var.
+       (basic-save-buffer-2): Remove unused `temp' var.
+       (insert-directory): Remove unused `available' var.
+
 2003-04-17  John Paul Wallington  <jpw@gnu.org>
 
        * hexl.el (hexl-find-file): Bind `default-major-mode' to
        `fundamental-mode'.
 
+2003-04-16  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * reveal.el (reveal-post-command): Use overlay-get for overlays.
+
 2003-04-16  Kenichi Handa  <handa@m17n.org>
 
-       * international/mule-cmds.el (describe-language-environment): At
-       first, require all necessary features.
+       * international/mule-cmds.el (describe-language-environment):
+       At first, require all necessary features.
 
 2003-04-16  Dave Love  <fx@gnu.org>
 
        (f90-comment-region, f90-indent-line, f90-indent-region)
        (f90-find-breakpoint, f90-block-match): Trivial simplifications.
        (f90-looking-at-do, f90-looking-at-select-case)
-       (f90-looking-at-if-then, f90-looking-at-where-or-forall): Drop
-       XEmacs 19 support and simplify.
+       (f90-looking-at-if-then, f90-looking-at-where-or-forall):
+       Drop XEmacs 19 support and simplify.
        (f90-indent-new-line): No need for case-fold-search.  Simplify.
        (f90-fill-region): Make marker nil when done.  Simplify.
-       
+
        * progmodes/fortran.el (fortran-column-ruler): Minor doc change.
 
 2003-04-16  Richard M. Stallman  <rms@gnu.org>
        (fortran-comment-indent-style, fortran-blink-matching-if)
        (fortran-continuation-string, fortran-electric-line-number)
        (fortran-break-before-delimiters, fortran-mode-hook)
-       (fortran-end-prog-re, fortran-imenu-generic-expression): Minor
-       doc changes.
+       (fortran-end-prog-re, fortran-imenu-generic-expression):
+       Minor doc changes.
        (fortran-tab-mode-string): Now customization is meaningful.
        Change default value.
        (fortran-column-ruler-fixed, fortran-column-ruler-tab)
        (fortran-font-lock-keywords-3): Initialize in defvar.  Use 1+ now
        depth of fortran-type-types has changed.  Remove extra and.
        (fortran-mode-menu): Minor re-organization.  Use lookup-key.
-       (fortran-mode): Doc changes.  Some re-organization.  Use
-       mode-line-process (rather than minor-mode-alist) for tab format.
+       (fortran-mode): Doc changes.  Some re-organization.
+       Use mode-line-process (rather than minor-mode-alist) for tab
+       format.
        (fortran-comment-indent): Add doc string.  Move save-excursion.
        Use 1+.
-       (fortran-indent-comment, fortran-fill-statement): Change
-       interactive spec.  Use unless.
+       (fortran-indent-comment, fortran-fill-statement):
+       Change interactive spec.  Use unless.
        (fortran-comment-region): Doc change.  Reverse logic of arg
        test.  Use zerop.
        (fortran-abbrev-start, fortran-split-line)
        (fortran-numerical-continuation-char): Doc change.  Use 1+.
        (fortran-previous-statement, fortran-next-statement)
        (fortran-beginning-do, fortran-calculate-indent)
-       (fortran-end-do, fortran-end-if, fortran-beginning-if): Use
-       zerop, 1+, 1-.  
+       (fortran-end-do, fortran-end-if, fortran-beginning-if):
+       Use zerop, 1+, 1-.
        (fortran-blink-match, fortran-check-for-matching-do): Use when.
        (fortran-indent-line): Change interactive spec.  Remove un-needed
        if.  Use when.
        (fortran-indent-to-column): Doc change.  Use when, unless.
        (fortran-find-comment-start-skip): No longer interactive.
-       (fortran-analyze-file-format): Minor doc change.  Remove
-       un-needed setq.  Return fortran-tab-mode-default if no match.
+       (fortran-analyze-file-format): Minor doc change.
+       Remove un-needed setq.  Return fortran-tab-mode-default if no
+       match.
        (minor-mode-alist): Use add-to-list.
        (fortran-fill-paragraph): Change interactive spec, doc string.
-       
-       * progmodes/f90.el: Whitespace changes, trivial commentary
-       changes.
+
+       * progmodes/f90.el: Whitespace changes, trivial commentary changes.
        (f90, f90-indent, f90-program-indent, f90-continuation-indent)
        (f90-indented-comment-re, f90-imenu-generic-expression)
        (f90-mark-subprogram, f90-join-lines): Minor doc changes.
        (f90-break-line, f90-do-auto-fill, f90-insert-end)
        (f90-upcase-keywords, f90-capitalize-keywords)
        (f90-downcase-keywords): Change interactive spec.
-       
+
+2003-04-14  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * font-lock.el (font-lock-multiline, font-lock-fontified)
+       (font-lock-set-defaults): Move back from font-core.el and merge
+       it back with font-lock-set-defaults-1.
+       (font-lock-mode-internal): New function (basically the body of
+       the old font-lock-mode minor mode).
+
+       * font-core.el (font-lock-maximum-size, font-lock-verbose): Remove.
+       (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
+       Move back to font-lock.el
+       (font-lock-default-function): Use font-lock-mode-internal.
+
+       * files.el (auto-mode-alist): Add entries for *.ins and *.dtx.
+       (recover-file): Abbreviate file name in messages.
+
+       * textmodes/tex-mode.el (latex-mode-map): Bind latex-split-block.
+       (tex-font-lock-keywords-2): Comment out unused var `type'.
+       (tex-guess-mode): New name for old `tex-mode'.
+       (tex-mode): Make it a derived mode of text-mode.
+       (plain-tex-mode, latex-mode): Change parent from text-mode to tex-mode.
+       (tex-common-initialization): Don't setup syntax-table any more.
+       (tex-validate-buffer): Remove unused var `oend'.
+       Use with-current-buffer and line-beginning-position.
+       (tex-recenter-output-buffer): Remove unused var `old-buffer'.
+       (latex-indent): Return `noindent' if no indentation can happen.
+       (doctex-font-lock-^^A, doctex-font-lock-syntactic-face-function)
+       (doctex-font-lock-syntactic-keywords, doctex-font-lock-keywords)
+       (doctex-mode): New funs for DocTeX mode, derived from LaTeX mode.
+
+       * font-lock.el (font-lock-preprocessor-face): New var and face.
+
 2003-04-14  Andrew Choi  <akochoi@shaw.ca>
 
-       * term/mac-win.el: Unconditionally set process-connection-type to
-       nil.
+       * term/mac-win.el: Unconditionally set process-connection-type to nil.
 
 2003-04-14  Richard M. Stallman  <rms@gnu.org>
 
        strings broken over lines.
        (fortran-fill): Handle long strings that must be broken.
 
-2003-04-13  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
-       From Michael Albinus <Michael.Albinus@alcatel.de>.
+2003-04-13  Michael Albinus  <Michael.Albinus@alcatel.de>  (tiny change)
 
        * net/ange-ftp.el (ange-ftp-expand-symlink): If result of
        expansion is a symlink, expand again.
 2003-04-13  Masatake YAMATO  <jet@gyve.org>
 
        * bindings.el (toplevel): Don't change the face
-       of major-mode on the mode line. Setting the face on 
+       of major-mode on the mode line. Setting the face on
        the mode line code is installed by my mistake in
        my last change.
-       
+
 2003-04-12  Stefan Monnier  <monnier@cs.yale.edu>
 
        * add-log.el (change-log-version-number-search): Fix old bug.
        * language/ind-util.el (indian-2-column-to-ucs-region): Fix for
        the case of replacing multibyte characters.
 
+2003-04-09  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * textmodes/bibtex.el: Update copyright and Author list.
+       Don't require `compile' since it seems unnecessary.
+       (bibtex-version): Remove.
+       (bibtex-sort-ignore-string-entries, bibtex-maintain-sorted-entries)
+       (bibtex-field-name-for-parsing): Don't make auto-buffer-local.
+       (bibtex-comment-start): Don't include the space.
+       (zmacs-regions, reporter-prompt-for-summary-p):
+       Declare to quieten the byte-compiler.
+       (bibtex-reference-key, bibtex-mode-syntax-table): Remove =
+       because it can't be part of a string's key.
+       (bibtex-parse-field-name): Use prog1.
+       (bibtex-font-lock-syntactic-keywords): New var.
+       (bibtex-font-lock-keywords): Remove the entry for @Comment.
+       (bibtex-search-entry): Simplify.
+       (bibtex-empty-re): New var.
+       (bibtex-format-entry): Slightly restructure some loops to avoid code
+       duplication.  Use looking-at rather than `substring + string-match'.
+       Use bibtex-empty-re (which removes unnecessary \(..\) in regexps).
+       Remove now unused end-name.  Use bibtex-find-crossref.
+       Don't downcase since case-fold-search is t.
+       (bibtex-autokey-get-yearfield): Use bibtex-find-crossref.
+       (bibtex-parse-keys): Use unless and push.
+       Parse even if bibtex-maintain-sorted-entries is nil.
+       (bibtex-complete): Use push.  Don't sort completions.
+       (bibtex-mode): Use push.  Update comment-start-skip.
+       Improve defun-prompt-regexp and outline-regexp.
+       Add bibtex-font-lock-syntactic-keywords to font-lock-defaults.
+       (bibtex-end-of-entry): Remove unused \(...\).
+       (bibtex-sort-key): New fun.
+       (bibtex-sort-buffer, bibtex-validate): Use it.
+       (bibtex-find-crossref): New fun.
+       (bibtex-validate): Use push & dolist; remove \(...\).
+       (bibtex-clean-entry): Use unless and friends.
+       Don't add the key to the list if the list hasn't been built yet.
+       (bibtex-fill-entry): Remove unused begin-name and end-name.
+       (bibtex-reformat): Kill local var instead of setting it to nil.
+       (bibtex-convert-alien): Use deactivate-mark rather than the
+       non-existent bibtex-mark-active variable.
+       (bibtex-String): Simplify.
+
 2003-04-09  Richard M. Stallman  <rms@gnu.org>
 
        * files.el (file-chase-links): Fix previous change.