*** empty log message ***
[bpt/emacs.git] / lisp / ChangeLog
index f450794..d5bc651 100644 (file)
@@ -1,3 +1,152 @@
+2000-09-29  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * diff-mode.el (diff-add-log-file-name): Remove.
+       (diff-mode): Use add-log-buffer-file-name-function.
+
+       * add-log.el (find-change-log): New arg BUFFER-FILE.
+       (add-log-file-name): Obey add-log-file-name-function.
+       (add-log-buffer-file-name-function): New var.
+       (add-change-log-entry): Use it.
+
+2000-09-29  Miles Bader  <miles@gnu.org>
+
+       * image-file.el (image-file-name-extensions): New variable.
+       (image-file-name-regexps): Renamed from `image-file-regexps'.
+       New default value is nil.  Call `auto-image-file-mode'.
+       (image-file-name-regexp): New function.
+       (auto-image-file-mode): New minor mode.
+       (insert-image-file): Don't make conditional on the image-file
+       handler being enabled.
+       (image-file-handler): Make the call here conditional instead.
+       (set-image-file-handler-enabled, enable-image-file-handler)
+       (disable-image-file-handler): Functions removed.
+
+       * emacs-lisp/authors.el (authors-print): Rephrase many-files
+       string.
+
+2000-09-29  Gerd Moellmann  <gerd@gnu.org>
+
+       * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
+       it's a function from CL.
+       (latex-imenu-create-index): Replace eval-when-compile with progn
+       because latex-section-alist is not bound while compiling.
+
+2000-09-28  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
+       (outline-mode): Use define-derived-mode.
+
+       * progmodes/perl-mode.el (perl-mode): 
+       * progmodes/awk-mode.el (awk-mode):
+       * progmodes/asm-mode.el (asm-mode):
+       Don't gratuitously override the default for comment-column.
+
+       * emacs-lisp/lisp.el (lisp-complete-symbol):
+       Distinguish the let-binding case from the funcall case.
+       (forward-sexp-function): New variable.
+       (forward-sexp): Use it.
+
+       * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
+       (easy-mmode-defmap): Remove the now useless autoload.
+
+       * time.el (display-time-mode): Use define-minor-mode.
+
+       * subr.el (add-minor-mode): Don't eval NAME.
+       Don't depend on the presence of TOGGLE-FUN for any special behavior.
+       Use if rather than cond.
+
+       * simple.el (read-expression-map): Define more properly.
+       (comment-indent-hook): Remove.
+       (string-to-syntax): Bug fix.
+
+       * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
+       (cvs-ediff-diff): Fix typo.
+       (cvs-revert-if-needed): Don't bother preserving read-only.
+
+       * paren.el (show-paren-mode): Use define-minor-mode.
+
+       * jka-compr.el (auto-compression-mode): Use define-minor-mode.
+       (toggle-auto-compression): Remove.
+       (jka-compr-build-file-regexp): Remove useless grouping.
+
+       * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
+       Avoid user-reserved bindings.
+       (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
+       (diff-header-face): Revert to grey85.
+
+       * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
+
+       * complete.el (partial-completion-mode) <defcustom>: Remove.
+       (partial-completion-mode): Use define-minor-mode.
+       (PC-do-completion): Understand `completion-auto-help = delay'
+       to mean to popup the completion buffer only the second time.
+       (PC-include-file-all-completions, PC-include-file-all-completions) 
+       (PC-include-file-all-completions): Don't quote lambda.
+
+       * comint.el (comint-mode-hook): Docstring fix.
+       (comint-mode): Use define-derived-mode.
+       (comint-mode-map): Remove obsolete comment.
+       (make-comint): Minor stylistic change.
+       (comint-insert-clicked-input): Be more careful to find the overlay.
+       Use this-command-keys rather than hardcoding mouse-2.
+
+       * font-lock.el: Replace confusing (,@ with ,
+       (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
+       Don't use regexp-opt-depth.  Spice up the regexp for args.
+       Don't distinguish between cmds that can take an opt arg or not.
+       Use `append' and `prepend' rather than `keep'.
+
+       * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
+       (latex-outline-regexp): New var.
+       (latex-outline-level): New fun.
+       (latex-section-alist): New var.
+       (latex-imenu-create-index): Use it.  Use `push' as well.
+       (tex-shell-map): Initialize it properly.
+       (tex-mode): Minor stylistic change.
+       (plain-tex-mode): Use define-derived-mode.
+       (latex-mode): Use define-derived-mode.
+       Construct the paragraph regexps in a more readable way.
+       Set the buffer-local outline-{level,regexp} vars.
+       (slitex-mode): Derive from latex-mode.
+       (tex-common-initialization): Don't kill-all-vars anymore.
+       Add setting for comment-add and font-lock-defaults.
+       (tex-start-shell): Use with-current-buffer and don't re-init keymap.
+       (tex-main-file): New fun.  Obey TeX-master as well and remove `.tex'.
+       (tex-start-tex): New arg DIR (and send a chdir command for it).
+       Also display the shell buffer and save it in tex-last-buffer-texed.
+       (tex-region): Use expand-file-name rather than concat.
+       Remove code made useless by changes in tex-start-tex.
+       (tex-file): Use tex-main-file and adapt to new tex-start-tex.
+
+       * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
+
+2000-09-28  Dave Love  <fx@gnu.org>
+
+       * eshell/eshell.el (eshell) <defgroup>: Add :version.
+
+2000-09-28  Gerd Moellmann  <gerd@gnu.org>
+
+       * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
+       `append'.
+
+2000-09-28  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * info.el (Info-extract-pointer): Undo last change.
+       Instead, fix the position of the `bound' arg to re-search-backward.
+
+2000-09-27  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * info.el (Info-extract-pointer):
+       Widen more carefully, to avoid finding pointers in other nodes.
+       (Info-index): Use push.
+
+2000-09-27  Gerd Moellmann  <gerd@gnu.org>
+
+       * frame.el (set-frame-font): Remove call to obsolete function
+       frame-update-faces.
+       (set-foreground-color, set-background-color): Likewise for
+       frame-update-face-colors.
+
 2000-09-27  Miles Bader  <miles@gnu.org>
 
        * image-file.el: New file.
 2000-09-26  Gerd Moellmann  <gerd@gnu.org>
 
        * frame.el (frame-notice-user-settings): Don't add a
-       tool-bar-lines frame parameter to default-frame-alist in batch
-       mode.
+       tool-bar-lines frame parameter to default-frame-alist in batch mode.
        
-       * frame.el (frame-notice-user-settings): Make tool-bar-mode and
-       default-frame-alist consistent.
+       * frame.el (frame-notice-user-settings):
+       Make tool-bar-mode and default-frame-alist consistent.
 
        * toolbar/tool-bar.el (tool-bar-help): New function.
 
 
        * progmodes/hideshow.el: Update author email address.
        Generally, sync w/ maintainer version 5.22.
-
        (hs-hide-all-non-comment-function): New var.
        (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
        (hs-hide-all): Use `hs-hide-all-non-comment-function'.
 
        * vc-rcs.el (toplevel): Require `vc' when compiling.
 
-       * startup.el (fancy-splash-head): Use splash.pbm instead of
-       splash.xbm.
+       * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
 
 2000-09-22  Andre Spiegel  <spiegel@gnu.org>
 
        * add-log.el (change-log-date-face, change-log-name-face)
        (change-log-email-face, change-log-file-face)
        (change-log-list-face, change-log-conditionals-face)
-       (change-log-function-face, change-log-acknowledgement-face): New
-       faces, inheriting from font-lock faces.
+       (change-log-function-face, change-log-acknowledgement-face):
+       New faces, inheriting from font-lock faces.
        (change-log-font-lock-keywords): Use them.
 
 2000-09-21  Dave Love  <fx@gnu.org>
 
        * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
        New functions.
-       (vc-next-action-on-file): Call vc-transfer-file at appropriate
-       places.
+       (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
        (vc-switch-backend): New function.
        (vc-prefix-map): Bind `vc-switch-backend' to `b'.
        (vc-register): Fix prompt.
        (vc-rcs-fetch-master-state): With non-strict locking, compare file
        contents in order to find the state.
        (vc-rcs-checkin): Allow creation of branches with no changes.
-       (vc-rcs-unregister, vc-rcs-receive-file,
-       vc-rcs-set-non-strict-locking): New functions.
+       (vc-rcs-unregister, vc-rcs-receive-file)
+       (vc-rcs-set-non-strict-locking): New functions.
 
        * vc-hooks.el (vc-name): Force correct computation of the value
        in case it is missing.