2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu>
[bpt/emacs.git] / lisp / ChangeLog
index 2d5b797..77ebab1 100644 (file)
@@ -1,5 +1,434 @@
+2002-01-07  Michael Kifer  <kifer@cs.stonybrook.edu>
+       
+       * viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
+       new macro that replaces viper-emacs-p and viper-xemacs-p in many
+       cases. Used to reduce the number of warnings.
+       
+       * viper-cmd.el: use viper-cond-compile-for-xemacs-or-emacs.
+       (viper-standard-value): moved here from viper.el.
+       (viper-set-unread-command-events): moved to viper-util.el
+       (viper-check-minibuffer-overlay): make sure
+       viper-minibuffer-overlay is moved to cover the entire input field.
+       
+       * viper-util.el:  use viper-cond-compile-for-xemacs-or-emacs.
+       (viper-read-key-sequence, viper-set-unread-command-events,
+       viper-char-symbol-sequence-p, viper-char-array-p): moved here.
+       
+       * viper-ex.el: use viper-cond-compile-for-xemacs-or-emacs.
+       
+       * viper-keym.el: use viper-cond-compile-for-xemacs-or-emacs.
+       
+       * viper-mous.el: use viper-cond-compile-for-xemacs-or-emacs.
+       
+       * viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p,
+       viper-event-vector-p): moved to viper-util.el
+       
+       * viper.el (viper-standard-value): moved to viper-cmd.el.
+       Use viper-cond-compile-for-xemacs-or-emacs.
+
+       * ediff-help.el: use ediff-cond-compile-for-xemacs-or-emacs.
+       
+       * ediff-hook.el: use ediff-cond-compile-for-xemacs-or-emacs.
+       
+       * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs): new
+       macro designed to be used in many places where ediff-emacs-p or
+       ediff-xemacs-p was previously used. Reduces the number of
+       warnings.
+       Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieue
+       of ediff-xemacs-p.
+       (ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer,
+       ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p,
+       ediff-whitespace-diff-region-p, ediff-get-region-contents):
+       moved to ediff-util.el.
+       (ediff-event-key): moved here.
+       
+       * ediff-merge.el: got rid of unreferenced variables.
+       
+       * ediff-mult.el: use ediff-cond-compile-for-xemacs-or-emacs.
+       
+       * ediff-util.el: use ediff-cond-compile-for-xemacs-or-emacs.
+       (ediff-cleanup-mess): improved the way windows are set up after
+       quitting ediff.
+       (ediff-janitor): use ediff-dispose-of-variant-according-to-user.
+       (ediff-dispose-of-variant-according-to-user): new function
+       designed to be smarter and also understands indirect buffers.
+       (ediff-highlight-diff-in-one-buffer,
+       ediff-unhighlight-diff-in-one-buffer,
+       ediff-unhighlight-diffs-totally-in-one-buffer,
+       ediff-highlight-diff, ediff-highlight-diff,
+       ediff-unhighlight-diff, ediff-unhighlight-diffs-totally,
+       ediff-empty-diff-region-p, ediff-whitespace-diff-region-p,
+       ediff-get-region-contents, ediff-make-current-diff-overlay):
+       moved here.
+       (ediff-format-bindings-of): new function by Hannu Koivisto
+       <azure@iki.fi>.
+       (ediff-setup): make sure the merge buffer is always widened and
+       modifiable.
+       (ediff-write-merge-buffer-and-maybe-kill): refuse to write the
+       result of a merge into a file visited by another buffer.
+       (ediff-arrange-autosave-in-merge-jobs): check if the merge file
+       is visited by another buffer and ask to save/delete that buffer.
+       (ediff-verify-file-merge-buffer): new function to do the above.
+       
+       * ediff-vers.el: load ediff-init.el at compile time.
+       
+       * ediff-wind.el: use ediff-cond-compile-for-xemacs-or-emacs.
+       
+       * ediff.el (ediff-windows, ediff-regions-wordwise,
+       ediff-regions-linewise): use indirect buffers to improve
+       robustness and make it possible to compare regions of the same
+       buffer (even overlapping regions).
+       (ediff-clone-buffer-for-region-comparison,
+       ediff-clone-buffer-for-window-comparison): new functions.
+       (ediff-files-internal): refuse to compare identical files.
+       (ediff-regions-internal): get rid of the warning about comparing
+       regions of the same buffer.
+       
+       * ediff-diff.el (ediff-convert-fine-diffs-to-overlays): moved here.
+       Plus the following fixes courtesy of Dave Love:
+       Doc fixes.
+       (ediff-word-1): Use word class and move - to the
+       front per regexp documentation.
+       (ediff-wordify): Bind forward-word-function outside loop.
+       (ediff-copy-to-buffer): Use insert-buffer-substring rather than
+       consing buffer contents.
+       (ediff-goto-word): Move syntax table setting outside loop.
+       
+2002-01-07  Richard M. Stallman  <rms@gnu.org>
+
+       * dired.el (dired-copy-filename-as-kill): Call kill-append
+       if following a kill command.
+
+       * help-fns.el (describe-variable, describe-function):
+       Do save-excursion.
+
+2002-01-06  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * net/ldap.el (ldap-search-internal): Skip error message from
+       ldapsearch.  Allow listing attribute names only.  Do not open
+       non-existent files.
+
+       * net/eudcb-ldap.el (eudc-ldap-get-field-list): Do not try to
+       call non-existent function.
+
+       * net/eudc.el (top-level): Revert previous change.
+
+       * net/net-utils.el (nslookup-font-lock-keywords): Defvar font-lock
+       variables to prevent warning from byte-compiler.
+
+       * net/eudc.el (top-level): Use eudc-xemacs-p instead of
+       string-match on emacs-version again.
+
+       * enriched.el (enriched-make-annotation): Fix the change from
+       2002-01-05.
+       (enriched-handle-display-prop): Return proper values.
+
+       * net/eudcb-ldap.el (eudc-attribute-display-method-alist): Use
+       proper attribute name labeledUri instead of deprecated labeledUrl.
+
+2002-01-05  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * net/eudc-hotlist.el (eudc-edit-hotlist): Avoid error when
+       editing an empty hotlist.
+
+       * net/ldap.el (ldap-search-internal): Make the buffer unibyte.
+       Use buffer-string instead of buffer-substring for the whole
+       buffer.
+
+       * net/eudc-vars.el (eudc-external-viewers): Do not use xv, it is
+       not free.
+
+       * net/eudc-bob.el (eudc-bob-can-display-inline-images)
+       (eudc-bob-display-jpeg): Use fboundp instead of boundp.
+       (eudc-bob-save-object): Make the buffer unibyte.
+       (eudc-bob-generic-keymap): Add new keybinding `!' to pipe the
+       object to external program.
+
+2002-01-05  Andre Spiegel  <spiegel@gnu.org>
+
+       * vc.el (vc-branch-part): Return nil if there's no `.'
+       (vc-default-previous-version): Renamed from vc-previous-version.
+       New args BACKEND and FILE.  Return nil for revision numbers
+       without a `.'
+       (vc-version-diff): Call vc-BACKEND-previous-version.
+       (vc-steal-lock): Steal lock before composing mail, so that no mail
+       is sent when the stealing goes wrong.  And we'll actually see the
+       error in that case now.
+       (vc-finish-steal): Removed.
+
+       * vc-rcs.el (vc-rcs-steal-lock): Do a real checkout after stealing
+       the lock, so that we see expanded headers.
+       (vc-rcs-trunk-p, vc-rcs-branch-part, vc-rcs-branch-p,
+       vc-rcs-minor-part, vc-rcs-previous-version): Removed.  These are
+       available from vc.el.  Updated all callers.
+
+2002-01-05  Richard M. Stallman  <rms@gnu.org>
+
+       * enriched.el (enriched-make-annotation): Doc fix.
+
+       * format.el (format-replace-strings, format-subtract-regions) 
+       (format-annotate-region, format-annotate-location) 
+       (format-annotate-atomic-property-change)
+       (format-annotate-single-property-change): Doc fixes.
+
+2002-01-05  Jason Rumney  <jasonr@gnu.org>
+
+       * term/w32-win.el: Require fontset unconditionally.
+       (w32-handle-scroll-bar-event): Remove.
+
+2002-01-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * emacs-lisp/copyright.el (copyright-regexp): Allow multi-line
+       copyrights to be updated.
+
+2002-01-04  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * textmodes/texinfo.el (texinfo-insert-@end): Fix the change from
+       2001-10-24.
+
+       * mail/sendmail.el (mail-recover-1, mail-recover): Doc fix.
+
+2002-01-04  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * net/ldap.el (ldap-host-parameters-alist): Remove duplicated
+       entry.
+       (ldap-ignore-attribute-codings): Change the default value to allow
+       encoding/decoding of attributes.
+       (ldap-coding-system): Use UTF-8 as the coding-system.  Doc fix.
+
+2002-01-03  Richard M. Stallman  <rms@gnu.org>
+
+       * files.el (basic-save-buffer): Undo previous change.
+
+       * calendar/diary-lib.el (diary-block): Doc fix.
+
+       * custom.el (defcustom): Fix syntax of previous change.
+
+2002-01-03  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+       * custom.el (defcustom): Documented :tag, :link and :load.
+
+2002-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * mail/sendmail.el (mail-recover-1): New function.
+       (mail-recover): Switch to the *mail* buffer right away.  Use
+       buffer-auto-save-file-name instead of calling
+       make-auto-save-file-name.  Call dired-noselect instead of invoking
+       `ls' directly.  Bind coding-system-for-read to emacs-mule-unix
+       before reading the auto-save file.  If the buffer's auto-save file
+       does not exist, call mail-recover-1 to allow recovery from past
+       auto-saved drafts.
+
+2002-01-03  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * time.el (display-time-load-average-threshold): Fix defcustom
+       (add type and group).
+
+       * net/ange-ftp.el (ange-ftp-shell-command): Remove port
+       specification from the hostname.
+
+2002-01-02  Richard M. Stallman  <rms@gnu.org>
+
+       * facemenu.el (facemenu-active-faces):
+       Use face-attributes-as-vector, not face-attributes-vector.
+
+2002-01-02  Chris Hanson  <cph@aarau.ai.mit.edu>
+
+       * xscheme.el: Eleven years of updates on a private copy.
+                     
+       Extensive changes to support multiple xscheme buffers:
+       (run-scheme): Break up into new functions to facilitate starting
+       processes in other buffers.
+       (xscheme-start, xscheme-read-command-line): New functions.
+       (start-scheme, select-scheme)
+       (default-xscheme-runlight)
+       (global-set-scheme-interaction-buffer)
+       (local-set-scheme-interaction-buffer)
+       (local-clear-scheme-interaction-buffer)
+       (exit-scheme-interaction-mode)
+       (verify-xscheme-buffer): New functions.
+       (xscheme-process-name, xscheme-buffer-name)
+       (xscheme-runlight): New internal vars.
+       (default-xscheme-runlight): New const.
+       (xscheme-start-process): Add args for the process/buffer names.
+       (reset-scheme): Pass process/buffer names.
+       (scheme-interaction-mode): Initialize new local vars.
+       (reset-scheme, xscheme-send-string-2, xscheme-process-running-p)
+       (xscheme-select-process-buffer, xscheme-process-buffer)
+       (xscheme-send-region, xscheme-send-char, xscheme-send-interrupt)
+       (xscheme-goto-output-point, xscheme-write-message-1): Use new
+       var xscheme-process-name.
+       (xscheme-start-process): Initialize xscheme-process-name and
+       xscheme-buffer-name in the process buffer.  Pass buffer name to
+       xscheme-modeline-initialize.
+       (xscheme-modeline-initialize): Add argument to specify buffer name
+       for mode-line vars.
+       (xscheme-process-sentinel): Make sure sentinel is run in the
+       process buffer so it sees its local vars.
+       (xscheme-process-filter-initialize, xscheme-set-runlight): More
+       elaborate logic to handle multiple-buffer mode lines.
+
+       (xscheme-enter-input-wait): Re-enable control-G handler upon
+       entering input wait.
+
+       (scheme-interaction-mode): Add arg to preserve local vars.
+       (xscheme-enter-interaction-mode)
+       (xscheme-enter-debugger-mode): Preserve local vars.
+       (xscheme-start-process): Clobber local vars.
+
+       (scheme-interaction-mode-commands): Allow end user to add commands
+       to scheme-interaction-mode keymap.
+       (scheme-interaction-mode-commands-alist): New variable.
+
+       (xscheme-send-string): Don't use insert-before-markers.
+
+       Implement a per-buffer kill ring:
+       (xscheme-insert-expression)
+       (xscheme-rotate-yank-pointer, xscheme-yank)
+       (xscheme-yank-pop, xscheme-yank-push): New functions.
+       (xscheme-expressions-ring)
+       (xscheme-expressions-ring-yank-pointer)
+       (xscheme-expressions-ring-max): New variables.
+       (xscheme-send-string-1): Call xscheme-insert-expression to save
+       expression in ring.
+       (xscheme-yank-previous-send): Now an alias for xscheme-yank.
+       (xscheme-previous-send): Deleted variable.
+
+       (xscheme-send-string-2, xscheme-send-char, xscheme-send-proceed,
+       xscheme-send-control-g-interrupt): Use process-send-string rather
+       than send-string.
+
+       (xscheme-send-region): Insert a newline after an expression that
+       is submitted in the interaction buffer, for consistency with
+       recent changes to Edwin.
+
+       (xscheme-delete-output): New function mimics comint-delete-output.
+       (xscheme-last-input-end): New internal variable.
+       (xscheme-process-filter-output): Update xscheme-last-input-end.
+
+       (xscheme-send-control-g-interrupt): Make sure that
+       xscheme-control-g-disabled-p is looked up in the right buffer.
+
+       (xscheme-enable-control-g): Clear C-g message if visible.
+       (xscheme-control-g-message-string): New internal var.
+       (xscheme-send-control-g-interrupt): Use new var.
+
+       (xscheme-send-control-g-interrupt, xscheme-send-interrupt): Delay
+       after sending interrupt in order to work around race condition.
+
+       (xscheme-send-control-g-interrupt, xscheme-send-interrupt)
+       (xscheme-send-char): Use xscheme-send-char rather than send-string
+       to send single char.
+
+       (xscheme-process-filter, xscheme-process-filter-alist): Add
+       support for evaluating expressions outside of the call-excursion.
+       (xscheme-process-filter:string-action-noexcursion): New func.
+
+       (xscheme-write-value): Change output string to match that used by
+       Edwin.
+
+       (xscheme-coerce-prompt): Don't write a space after a command
+       prompt.  The PROMPT-FOR-COMMAND- procedures will take care of this
+       for us.
+
+       (reset-scheme): Delete process after killing it.
+
+2002-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * bindings.el (function-key-map): Don't bind shifted keypad
+       numeric keys.
+
+2002-01-02  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * enriched.el (enriched-handle-display-prop): Remove unused
+       variables.
+       (enriched-mode): Doc fix.
+
+2002-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * international/ucs-tables.el (ucs-8859-8-alist): Comment away
+       Hebrew points.
+
+2002-01-01  Richard M. Stallman  <rms@gnu.org>
+
+       * jka-compr.el (jka-compr-write-region): If START = nil, use whole buf.
+
+2001-12-31  Richard M. Stallman  <rms@gnu.org>
+
+       * comint.el, cus-edit.el, diff-mode.el, enriched.el, font-lock.el:
+       * generic-x.el, info.el, log-view.el, pcvs-info.el, speedbar.el:
+       * wid-edit.el, woman.el, calendar/calendar.el, textmodes/flyspell.el:
+       * emulation/viper-init.el, eshell/em-ls.el, progmodes/antlr-mode.el: 
+       * progmodes/cperl-mode.el, progmodes/idlwave.el:
+       * progmodes/sh-script.el, progmodes/vhdl-mode.el:
+       Adapt face definitions to use :weight and :slant.
+       
+       * ps-print.el (ps-font-lock-face-attributes): Use :weight and :slant.
+
+       * cus-edit.el (custom-face-edit-fix-value): Delete `assert' call.
+
+       * font-lock.el (initializing from font-lock-face-attributes):
+       Use :weight and :slant, not :bold and :italic.
+
+2001-12-31  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+       * cus-edit.el (custom-face-edit-fix-value): New function.
+       (custom-face-edit): Use it, to convert :italic and :bold to new forms.
+
+2001-12-30  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * progmodes/octave-mod.el (octave-abbrev-table):
+       * progmodes/idlwave.el (idlwave-mode-abbrev-table):
+       * progmodes/fortran.el (fortran-mode-abbrev-table):
+       * progmodes/f90.el (f90-mode-abbrev-table):
+       * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
+       * progmodes/sql.el (sql-mode-abbrev-table): Mark all the
+       predefined abbrevs as "system" abbrevs.
+
+2001-12-30  Richard M. Stallman  <rms@gnu.org>
+
+       * info.el (Info-fontify-node): For a **** underline line, put the
+       invisible and intangible props on the following newline, but not
+       on the previous newline or the last char of the previous line.
+
+       * faces.el (face-set-after-frame-default): Don't change `default' face.
+
+       * faces.el (minibuffer-prompt): Adopt some default colors.
+
+       * replace.el (query-replace-read-args): Immediate error if read-only.
+
+       * textmodes/makeinfo.el (makeinfo-compilation-sentinel): 
+       Display the output buffer in a more intelligent way.
+
+2001-12-30  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * ls-lisp.el (insert-directory): Modify the "total" line wording,
+       in accordance with files.el's insert-directory.
+
+2001-12-29  Richard M. Stallman  <rms@gnu.org>
+
+       * files.el (basic-save-buffer): If a before-write hook displays
+       an echo area message, pause before calling basic-save-buffer-1.
+
+2001-12-29  Markus Rost  <rost@math.ohio-state.edu>
+
+       * textmodes/reftex-global.el (reftex-query-replace-document)
+       (reftex-change-label): Doc fix.
+
+       * dired-aux.el (dired-do-query-replace-regexp): Doc fix.
+
+       * progmodes/etags.el (tags-query-replace): Doc fix.
+
+2001-12-29  Richard M. Stallman  <rms@gnu.org>
+
+       * progmodes/compile.el (compile-internal): Fix previous change.
+
 2001-12-28  Richard M. Stallman  <rms@gnu.org>
 
+       * mouse.el (mouse-drag-mode-line-1): When dragging a mode line upward,
+       shrink the windows above as necessary to get space.
+       (mouse-drag-move-window-bottom, mouse-drag-window-above): New fns.
+
        * net/ange-ftp.el (ange-ftp-allow-child-lookup): Always return nil.
        This fixes a bug that treated all files as directories.
        (ange-ftp-insert-directory): Explicitly follow symlinks.
 
 2001-11-26  Eli Zaretskii  <eliz@is.elta.co.il>
 
-       * loaddefs.el: Regenerated.
-
        * international/mule-diag.el: Require help-fns instead of
        help-funs.
 
 
 2001-11-11  Eli Zaretskii  <eliz@is.elta.co.il>
 
-       * subdirs.el: Regenerated.
-
        * menu-bar.el (menu-bar-edit-menu): Don't use x-selection-exists-p if
        it is not fboundp.
        (clipboard-yank): Ditto.
 
 2001-10-30  Richard M. Stallman  <rms@gnu.org>
 
-       * enriched.el (enriched-face-ans): FIx previous change.
+       * enriched.el (enriched-face-ans): Fix previous change.
 
 2001-10-30  Gerd Moellmann  <gerd@gnu.org>
 
        * textmodes/reftex-ref.el, textmodes/reftex-sel.el,
        * textmodes/reftex-toc.el, textmodes/reftex-vars.el,
        * textmodes/reftex.el: Some fixes to follow coding
-       conventions in Eshell files with known maintainers.
+       conventions in Elisp files with known maintainers.
 
        * emulation/viper.el: A fix to follow coding conventions.
 
        * eshell/esh-mode.el, eshell/esh-module.el, eshell/esh-opt.el,
        * eshell/esh-proc.el, eshell/esh-test.el, eshell/esh-util.el,
        * eshell/esh-var.el, eshell/eshell.el: Some fixes to follow coding
-       conventions in Eshell files.
+       conventions in Elisp files.
 
        * composite.el, diff.el, emacs-lisp/levents.el,
        * emacs-lisp/lmenu.el, emacs-lisp/lselect.el, emacs-lisp/lucid.el,
 2000-02-21  Gerd Moellmann  <gerd@gnu.org>
 
        * format.el (format-annotate-single-property-change):
-       Handle properties.with dotted-list values.
+       Handle properties with dotted-list values.
        (format-proper-list-p): New function.
 
        * enriched.el (enriched-face-ans): Handle '(foreground-color