]> code.delx.au - gnu-emacs/blobdiff - lisp/ChangeLog
2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
[gnu-emacs] / lisp / ChangeLog
index 72277cc79d7e50f8ca3751f48ad9c19a695c55f9..96748d3a426630a32fb77a8a23acd94e26799499 100644 (file)
@@ -1,8 +1,384 @@
+2000-10-30  Kenichi Handa  <handa@etl.go.jp>
+
+       * international/mule-conf.el: New charsets mule-unicode-2500-33ff
+       and mule-unicode-e000-ffff.
+
+       * international/mule.el (decode-char, encode-char): New functions.
+       (make-coding-system): Accept a symbol of translation table as a
+       value of property `safe-chars'.
+
+       * international/mule-cmds.el (encode-coding-char): Check property
+       safe-chars instead of safe-charsets.
+
+       * international/fontset.el (fontset-default): Modified for
+       mule-unicode-2500-33ff and mule-unicode-e000-ffff.
+       (x-font-name-charset-alist): Likewise.
+       (ccl-encode-unicode-font): New CCL program.  Record it in
+       font-ccl-encoder-alist to be used for fonts "ISO10646-1".
+
+       * language/european.el (mac-roman-decoder, mac-roman-encoder): New
+       translation tables.
+       (decode-mac-roman, encode-mac-roman): Definition of these CCL
+       programs are modified and moved from mac-win.el.
+       (mac-roman): Definition of this coding system is modified and
+       moved from mac-win.el.
+       
+2000-10-29  Michael Kifer  <kifer@cs.sunysb.edu>
+       
+       * ediff-wind.el (ediff-setup-control-frame): enclose
+       face-attribute in condition-case to avoid errors in older emacsen.
+
+2000-10-29  Miles Bader  <miles@gnu.org>
+
+       * custom.el (custom-add-to-group): Allow multiple entries for a
+       given value OPTION, as long as their widget types are different.
+       * cus-edit.el (custom-face-value-create): If face name doesn't end
+       with "face", add such here (similar to custom group widgets).
+
+       * comint.el (comint-highlight-prompt): Add :type.
+
+2000-10-28  John Wiegley  <johnw@gnu.org>
+
+       * textmodes/flyspell.el (flyspell-maybe-correct-transposition):
+       Changed this function to operate on a temporary buffer instead of
+       the main buffer.  This not only keeps flyspell from marking a
+       buffer as changed that wasn't, but it solves the jumpy cursor
+       problem when attempts are made to edit incorrect words.
+       (flyspell-maybe-correct-doubling): Same change as for
+       `flyspell-maybe-correct-transposition'.
+
+       * calendar/timeclock.el (timeclock-log): Doc fix.
+       (timeclock-last-event): Doc fix.
+       (timeclock-log): Kill the timelog buffer after appending a new
+       event.
+       (timeclock-find-discrep): Use a temp buffer to read in the
+       timelog, instead of visiting the file.
+       (timeclock-log-data): A new function, along with a host of helper
+       functions, for the purpose of making timelog data accessible to
+       programmers.
+
+       * eshell/esh-mode.el (window-height test): Make certain that
+       `eshell-stringify-t' is non-nil.
+       (eshell-password-prompt-regexp): Changed to a much simpler
+       password regexp.
+       (eshell-send-input): If `eshell-invoke-directly' returns t,
+       directly invoke the parsed command using `eval'.  This improves
+       turn-around time on simple commands by a factor of three or
+       greater, such as cd, ls, pwd, etc. -- which get used very often.
+       It also conserves thousands of cons cells per call (since
+       `eshell-do-eval' consumes memory like a Cookie Monster set loose
+       in the Pacific Cookie Company).
+
+       * eshell/esh-test.el (eshell-test): Whitespace fix.
+
+       * eshell/em-ls.el (eshell-ls-insert-directory): Make
+       `eshell-ls-initial-args' nil when inserting directory contents.
+
+       * eshell/em-script.el (eshell-script-initialize): Add names to
+       `eshell-complex-commands, since `source' and `.' are complex.
+
+       * eshell/esh-cmd.el (eshell-rewrite-for-command)
+       (eshell-rewrite-while-command): Use `eshell-protect' instead of
+       `eshell-copy-handles'.
+       (eshell-rewrite-if-command): Use `eshell-protect' to wrap the call
+       bodies.
+       (eshell-separate-commands): Whitespace fix.
+       (eshell-complex-commands): Added a new list of names, for
+       determining whether a given command is as simple as it looks.
+       (eshell-invoke-directly): New function.  Returns t if a command
+       should be invoked directly (using `eval'), rather than indirectly
+       using `eshell-do-eval'.
+       (eshell-do-eval): Whitespace fix.
+
+       * eshell/em-unix.el (eshell-default-target-is-dot): New variable,
+       which provides an emulation of the DOS shell behavior of assuming
+       that cp/mv/ln should copy/move/link to the current directory.
+       (eshell-remove-entries): Added a doc string.
+       (eshell-shuffle-files): Removed the check for `target' being null.
+       (eshell-mvcp-template, eshell-mvcpln-template): Renamed
+       `eshell-mvcp-template' to `eshell-mvcpln-template', and extended
+       it to do a smarter check of whether a destination was provided.
+       (eshell/mv, eshell/cp): Enable `:preserve-args'.
+       (eshell/ln): Enable `:preserve-args', and use
+       `eshell-mvcpln-template' to implement the body of the function.
+       (eshell/cat, eshell/make, eshell-poor-mans-grep, eshell-grep)
+       (eshell/du, eshell/diff, eshell/locate): Stringify the argument
+       list after flattening it.  This makes it possible to cat files
+       with numerical names.
+       (eshell-unix-initialize): Added several names to
+       `eshell-complex-commands.
+       (eshell-unix-command-complex-p): Return t if a given command name
+       may result in external processes being invoked.
+
+       * eshell/em-glob.el (eshell-glob-show-progress): Make this
+       variable nil by default, since it slows down glob processing by a
+       factor of two or more, and increases memory consumption.
+
+       * eshell/em-smart.el: Added a note about how memory consumptive
+       smart display mode can be (at least this is true in Emacs 21).
+       (eshell-smart-initialize): Whitespace fix.
+       (eshell-refresh-windows): Use `if' instead of `when'.
+       (eshell-smart-scroll-window): Calling `save-current-buffer' was
+       not necessary.
+       (eshell-currently-handling-window): Added a missing global
+       variable.
+
+       * eshell/em-ls.el (eshell-do-ls): Code simplification.
+       (eshell-ls-sort-entries, eshell-ls-entries, eshell-ls-dir):
+       Whitespace fix.
+       (eshell-ls-exclude-hidden): Added this variable in addition to
+       `eshell-ls-exclude-regexp'.  This one prevents files beginning
+       with . from even being read, which can improve memory consumption
+       quite a bit.
+       (eshell-ls-dir): If `eshell-ls-exclude-hidden' is non-nil, do not
+       read file entries beginning with a dot.  In home directories with
+       lots of hidden files, fully two-thirds of the time spent in ls is
+       used to read directory entries that are immediately thrown away.
+       (eshell-ls-initial-args): Added back this configuration variable,
+       for specifying default initial arguments to every call to ls.
+       Much faster than using an alias to do the same thing.
+       (eshell-do-ls): Use `eshell-ls-initial-args', if set.
+       (eshell-ls-dir): Whitespace change.
+
+       * eshell/em-dirs.el (eshell/pwd): Small code simplification.
+
+       * eshell/esh-util.el: Don't require `ange-ftp' if it's not
+       available.
+       (eshell-stringify-t): Added a customization variable, to indicate
+       whether `t' should be rendered as a string at all.  If not, one
+       can still determine if the result of an expression is true using
+       "file-exists-p FILE && echo true".
+       (eshell-stringify): If `eshell-stringify-t' is nil, don't
+       stringify t!
+
+       * eshell/esh-module.el: Whitespace fix.
+
+       * eshell/em-alias.el (eshell-alias-initialize): Added
+       `eshell-command-aliased-p' to `eshell-complex-commands'.
+       (eshell-command-aliased-p): New function that returns t if a
+       command name names an aliased.
+
+2000-10-29  Michael Kifer  <kifer@cs.sunysb.edu>
+       
+       * viper-cmd.el (viper-preserve-cursor-color): New test that avoids
+       rewrawing the screen when changing cursor color.
+       (viper-insert-state-pre-command-sentinel)
+       (viper-replace-state-pre-command-sentinel)
+       (viper-replace-state-post-command-sentinel): Use
+       viper-preserve-cursor-color.
+       Many functions changed to use viper= instead of = when comparing
+       characters.
+       * viper-util.el (viper-memq-char,viper=): New functions for
+       working with characters.
+       (viper-change-cursor-color): Fixed buglet.
+       Many functions changed to use viper= instead of = when comparing
+       characters.
+       * viper.el (viper-insert-state-mode-list): Added eshell.
+       
+       * ediff-init.el (ediff-before-setup-hook): New hook.
+       Several typos fixed in various docstrings.
+       * ediff-merg.el (ediff-show-clashes-only): Docstring typo fixed.
+       * ediff-nult.el (ediff-before-session-group-setup-hooks): New
+       hook.
+       (ediff-show-meta-buffer): Run ediff-before-session-group-setup-hooks.
+       * ediff-util.el (ediff-setup): Run ediff-before-setup-hook.
+       (ediff-other-buffer): Use selected buffers if in Buffer-menu buffer.
+       (ediff-get-selected-buffers): New function.
+       * ediff-vers.el (ediff-vc-internal,ediff-rcs-internal)
+       (ediff-vc-merge-internal,ediff-rcs-merge-internal): Use
+       save-window-excursion.
+       * ediff-wind.el (ediff-skip-unsuitable-frames): More robust
+       termination check in while loop.
+       * ediff.el (ediff-get-default-file-name): Better defaults when in
+       dired buffer.
+       (ediff-files,ediff-merge-files,ediff-files3)
+       (ediff-merge-files-with-ancestor): Use ediff-get-default-file-name.
+       
+2000-10-28  Dave Love  <fx@gnu.org>
+
+       * info.el (Info-fontify-node): Add help-echo for menu items.
+
+2000-10-28  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * startup.el (normal-top-level): If the value of $TERM indicates
+       we are running from xterm or one of its work-alikes, default to a
+       light background mode.
+
+       Support for -fg, -bg, and -rv command-line arguments for TTYs:
+       * faces.el (tty-handle-reverse-video): New function.
+       (tty-create-frame-with-faces): Call it.
+
+       * frame.el (frame-notice-user-settings): Don't apply
+       default-frame-alist and initial-frame-alist to MS-DOS frames.
+       Call tty-handle-reverse-video, frame-set-background-mode, and
+       face-set-after-frame-default for non-MS-DOS frames.
+
+       * startup.el (tty-long-option-alist): New variable.
+       (tty-handle-args): New function.
+       (command-line): Call tty-handle-args.
+
+       * term/pc-win.el (x-long-option-alist, msdos-handle-args): Remove;
+       startup.el now does that for all character-terminal frames.
+
+2000-10-28  Miles Bader  <miles@gnu.org>
+
+       * emacs-lisp/easy-mmode.el (define-minor-mode): Generate
+       `turn-on-MODE' and `turn-off-MODE' functions unless the mode is
+       global.  If :global is followed by a non-nil but non-t value,
+       make the mode buffer-local, but also generate a `global-MODE'
+       version using `easy-mmode-define-global-mode'.  Add
+       :conditional-turn-on keyword argument.
+
+2000-10-28  Dave Love  <fx@gnu.org>
+
+       * international/latin1-disp.el (latin1-char-displayable-p): Don't
+       use window-system.
+
+2000-10-27  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
+       Don't call find-buffer-file-type-coding-system.  Instead, just
+       set eol-type to -unix if inhibit-eol-conversion is in effect, or
+       if the file is on an untranslated filesystem.
+       (add-untranslated-filesystem): Use "D" instead of "f" inside
+       interactive.
+
+2000-10-27  Dave Love  <fx@gnu.org>
+
+       * textmodes/refill.el (refill-late-fill-paragraph-function): New
+       variable.
+       (refill-mode): Use it.
+
+2000-10-27  Andre Spiegel  <spiegel@gnu.org>
+
+       * vc-hooks.el (vc-version-backup-file-name): Use file.~<rev>~ for 
+       manual backups and file.~<rev>.~ for automatic ones.
+       (vc-make-version-backup): Don't do it on MS-DOS without long file
+       names.
+       
+       * vc.el (vc-version-other-window): If an automatic backup of the
+       desired version exists, rename it instead of copying it.
+
+       * vc-cvs.el (vc-cvs-checkin): Check both status and error message 
+       after command.  If there's an unexpected error, signal it instead 
+       of being silent.
+       (vc-cvs-merge-news): Be prepared for no news at all.
+       
+2000-10-27  Miles Bader  <miles@lsi.nec.co.jp>
+
+       * shell.el (shell): Add BUFFER argument.
+       * comint.el (make-comint-in-buffer): New function.
+       (make-comint): Use it.
+
+       * faces.el (face-spec-choose): Change syntax so that the list of
+       attribute-value pairs is now the cdr of each clause, not the cadr.
+       Detect old-style entries, and handle them.  Use pop.
+
+2000-10-26  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * cus-edit.el (custom-mode-map): Use a sparse map.
+       (custom-mode): Don't bother with make-local-hook.
+
+       * wid-edit.el (widget-add-change): Don't bother with make-local-hook.
+
+       * vc.el (vc-start-entry): Only erase the buffer if comment is set.
+
+2000-10-26  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
+
+       * ps-print.el: Avoid compilation gripes.
+       (ps-print-version): New version number (6.2.1).
+       
+2000-10-26  Dave Love  <fx@gnu.org>
+
+       * menu-bar.el: Modify some menu item help strings.
+       (menu-bar-help-menu): Add link to MORE.STUFF.
+
+       * cus-edit.el (custom-mode): Add `special' mode-class property.
+
+       * wid-browse.el (widget-browse-mode): Likewise.
+
+       * wid-edit.el (widget-specify-field): Revert to using local-map
+       property, not keymap.
+
+2000-10-26  Miles Bader  <miles@lsi.nec.co.jp>
+
+       * wid-edit.el (widget-field-end): When checking for a `boundary'
+       field, do so in the correct buffer.
+
+       * simple.el (undo): Correctly distinguish between numeric and
+       non-numeric prefix args in non-transient-mark-mode, as per the doc
+       string.  When in transient-mark-mode, treat all prefix-args as
+       numeric.
+
+       * simple.el (previous-matching-history-element): Miscellaneous cleanup.
+       Position point on match.  Handle N == 0 correctly.
+
+       * comint.el (comint-mode): Locally set `next-line-add-newlines' to nil.
+       (comint-mode-map): Reverse order of `comint-write-output' and
+       `comint-append-output-to-file'.
+       (comint-append-output-to-file): Reinstate this function, for the
+       benefit of the menu.
+
+2000-10-25  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * vc.el (vc-version-other-window): Bind `file'.
+
+2000-10-25  Gerd Moellmann  <gerd@gnu.org>
+
+       * Makefile.in (update-authors): New target for maintenance purposes.
+
+       * emacs-lisp/authors.el (batch-update-authors): New function.
+       (authors-fixed-entries): New defconst.
+       (authors-add-fixed-entries): New function.
+       (authors): Call it.: Don't process lispref/.
+
+2000-10-25  Jason Rumney  <jasonr@gnu.org>
+
+       * cus-edit.el (custom-button-face, custom-button-pressed-face):
+       Merge x w32 and mac definitions.
+
+2000-10-25  Gerd Moellmann  <gerd@gnu.org>
+
+       * menu-bar.el (menu-bar-options-menu): Add a help string for
+       `uniquify'.
+
+2000-10-25  Stephen Gildea  <gildea@alum.mit.edu>
+
+       * time-stamp.el (time-stamp-string-preprocess):
+       Fix a wrong type argument error.
+
+2000-10-25  Miles Bader  <miles@gnu.org>
+
+       * recentf.el (recentf-mode): Variable removed.
+       (recentf-mode): Use `define-minor-mode'.
+
+       * mwheel.el (mouse-wheel-mode): New global minor mode.
+       (mwheel-install): Use `mouse-wheel-mode'.
+
+2000-10-25  Dave Love  <fx@gnu.org>
+
+       * progmodes/cperl-mode.el (cperl-mode):
+       Set normal-auto-fill-function correctly.
+
+       * wid-edit.el (widget-field-keymap, widget-text-keymap): Don't
+       inherit from global-map and don't nullify menu-bar and tool-bar
+       bindings.
+
 2000-10-25  Miles Bader  <miles@lsi.nec.co.jp>
 
+       * wid-edit.el (widget-field-at): New function.
+       (widget-at, widget-field-activate): Use it.
+       (widget-tabable-at): Use `widget-at'.
+       (widget-specify-field): If the terminating character of the widget
+       field (which is read-only) is a newline, put it into a special
+       `boundary' field so that C-n/C-p act more naturally.
+       (widget-field-end): Also don't subtract one if a special
+       `boundary' field has been added after the widget field.
+
        * comint.el (comint-output-filter, comint-send-input): Don't
        bother adding stickiness fields to overlays to fool the field
        code, since it should notice the overlay insertion-types now.
+
        * wid-edit.el (widget-beginning-of-line, widget-end-of-line):
        Replace with aliases of the normal emacs b-o-l/e-o-l functions.
        (widget-field-keymap, widget-text-keymap): Don't bind C-a/C-e.
        * align.el, pcomplete.el, calendar/timeclock.el,
        eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
 
-       * calendar/timeclock.el (timeclock-find-discrep): A fix to same
+       * calendar/timeclock.el (timeclock-find-discrep): A fix to some
        faulty math, where holiday hours were being computing as seconds.
 
 2000-10-13  John Wiegley  <johnw@gnu.org>
 2000-08-28  Peter Breton  <pbreton@ne.mediaone.net>
 
        * locate.el (locate): Cleaned up locate command's interactive prompting
-       Thanks to Fran\e,Ag\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
+       Thanks to François_Pinard <pinard@iro.umontreal.ca> for suggestions.
 
        * filecache.el (file-cache-case-fold-search): New variable
        (file-cache-assoc-function): New variable
 
 2000-05-07  Dave Love  <fx@gnu.org>
 
-       * time.el: Small doc fixes from Pavel Jan\e,Am\e(Bk ml.
+       * time.el: Small doc fixes from Pavel Janík ml.
 
 2000-05-05  Dave Love  <fx@gnu.org>