(vt-wide, vt-narrow): Use set-frame-width instead of obsolete
[bpt/emacs.git] / lisp / ChangeLog
index 73846ce..3b77779 100644 (file)
@@ -1,3 +1,447 @@
+2001-12-25  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * vt-control.el (vt-wide, vt-narrow): Use set-frame-width instead
+       of obsolete set-screen-width.
+
+       * locate.el (locate): Remove dot at the end of error argument.
+
+       * emerge.el (emerge-show-file-name): Use frame-height instead of
+       obsolete screen-height.
+
+2001-12-25  Richard M. Stallman  <rms@gnu.org>
+
+       * window.el (balance-windows): Use new PRESERVE-BEFORE arg
+       to enlarge-window.  Use save-selected-window.  Don't try
+       to resize windows that end at the bottom "level".
+       Retry changing the sizes until the windows get the desired sizes.
+       Discount the minibuffer when computing total height available.
+
+       * emacs-lisp/debug.el (debugger-mode-map): Bind C-m, not `RET'.
+       (debugger-make-xrefs): Only make a button for the first symbol
+       on any line.
+
+2001-12-24  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * term/internal.el (dos-cpNNN-setup, dos-codepage-setup):
+       Call IT-setup-unicode-display here instead of adding it to
+       dos-codepage-setup-hook, so that Unicode display tables are set
+       before dos-codepage-setup-hook runs.
+
+2001-12-24  Richard M. Stallman  <rms@gnu.org>
+
+       * net/net-utils.el (ftp-mode-abbrev-table): Don't define it.
+       (nslookup-mode-abbrev-table): Don't define it.
+       (smbclient-mode-abbrev-table): Don't define it.
+       (ftp-mode): Don't use ftp-mode-abbrev-table; don't enable Abbrev mode.
+       (nslookup-mode, smbclient-mode): Likewise.
+       (network-connection-service-abbrev-alist): Variable deleted.
+       (network-connection-mode-setup): Don't set up abbrev table.
+
+       * faces.el (minibuffer-prompt): New face.
+       (minibuffer-prompt-properties): Add `face' property.
+
+       * replace.el (occur-mode-display-occurrence): New function.
+       (occur-mode-map): Bind C-o to it.
+
+2001-12-24  Michael Kifer  <kifer@cs.sunysb.edu>
+       
+       * viper-cmd.el (viper-change-state): Got rid of make-local-hook.
+       (viper-special-read-and-insert-char): Make C-m work right in the r
+       comand.
+       (viper-buffer-search-enable): Fixed format string.
+       
+       * viper-ex.el (ex-token-alist): Use ex-set-visited-file-name
+       instead of viper-info-on-file.
+       (ex-set-visited-file-name): New function.
+       
+       * viper.el (viper-emacs-state-mode-list): Added mail-mode.
+       
+       * ediff-mult.el (ediff-meta-mark-equal-files): Added optional
+       action argument.
+       
+       * ediff-init.el: Fixed some doc strings.
+       
+       * ediff-util.el (ediff-after-quit-hook-internal): New variable.
+       Got rid of make-local-hook.
+       
+       * ediff-wind.el (ediff-setup-control-frame): Got rid of
+       make-local-hook.
+       
+2001-12-23  Richard M. Stallman  <rms@gnu.org>
+
+       * term/x-win.el (x-handle-geometry): Put height and width
+       on default-frame-alist, left and top on initial-frame-alist.
+       * term/w32-win.el (x-handle-geometry): Likewise.
+
+       * sort.el (sort-reorder-buffer): Copy all to a temp buffer first.
+
+       * play/yow.el (yow): Use an arg to distinguish interactive calls,
+       not interactive-p.
+
+2001-12-22  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * emacs-lisp/elint.el (elint-unknown-builtin-args): Remove
+       mocklisp entries.
+
+       * subr.el (insert-string): Moved from mocklisp.c, reimplemented in
+       Lisp.  Obsoleted.
+
+       * emulation/mlconvert.el: File removed.
+
+       * emulation/mlsupport.el: Moved to obsolete.
+
+       * obsolete/mlsupport.el: Moved there from lisp/emulation.
+
+       * emacs-lisp/find-gc.el (source-files): Remove mocklisp.c.
+
+       * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove
+       mocklisp case.
+
+       * help-fns.el (describe-function-1): Remove mocklisp function
+       case.
+
+2001-12-22  Miles Bader  <miles@gnu.org>
+
+       * textmodes/refill.el (refill-mode): Don't barf when redundantly
+       turning refill-mode off.
+
+2001-12-22  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * time.el (display-time-load-average-threshold): New variable.
+       (display-time-update): Use it.
+       
+       These changes allow cycling through past 1, 5 and 15 minutes
+       load-average displayed in the mode-line.
+
+       * time.el (display-time-default-load-average): New customizable option.
+       (display-time-load-average): New variable.
+       (display-time-cycle-load-average): New function.
+       (display-time-update): Use them.
+
+2001-12-21  Richard M. Stallman  <rms@gnu.org>
+
+       * apropos.el (apropos-print): SPACING is now nil or a separator string.
+       (apropos-documentation, apropos-value): Pass a suitable string.
+
+2001-12-21  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * dired.el (dired-free-space-program, dired-free-space-args):
+       Aliases for back-compatibility.
+
+       * info.el (Info-select-node): If Info-use-header-line is nil, set
+       header-line-format to nil.
+       (Info-fontify-node): Don't put a keymap text property on the
+       heading if we are not going to display the header line.  Remove
+       any such text properties left over from past visits to this node.
+
+       * ls-lisp.el (insert-directory): Insert the amount of free disk
+       space, like files.el's insert-directory does.
+
+       * files.el (directory-free-space-program): Mention
+       file-system-info in the doc string.
+       (get-free-disk-space): New function; code moved from
+       insert-directory.
+       (insert-directory): Call get-free-disk-space to get the amount of
+       free space.
+
+2001-12-21  Richard M. Stallman  <rms@gnu.org>
+
+       * help.el (view-order-manuals, view-emacs-news, describe-copying)
+       (describe-distribution, describe-project): Use view-file.
+
+       * emacs-lisp/cl-indent.el (define-modify-macro): Better indent spec.
+
+       * net/ange-ftp.el (ange-ftp-file-modtime): Use save-match-data.
+
+       * emacs-lisp/easy-mmode.el (define-minor-mode): 
+       Make no arg by default in an interactive call,
+       so that repeating the command toggles again.
+
+       * emacs-lisp/lisp-mode.el (eval-defun-1): Cope with atoms as args.
+
+2001-12-21  Christoph Wedler  <Christoph.Wedler@sap.com>
+
+       * antlr-mode.el: More sophisticated indentation of cpp directive.
+       (antlr-indent-at-bol-alist): New user option.
+       (antlr-indent-line): Use it.
+       (antlr-indent-style): New user option.
+       (antlr-mode): Use it.
+       (antlr-indent-item-regexp): Customize.
+
+       * antlr-mode.el: Syntax highlighting changes.
+       (antlr-font-lock-literal-regexp): New user option.
+       (antlr-font-lock-syntax-face): New face used for :, |, ....
+       (antlr-font-lock-default-face): New face.
+       (antlr-font-lock-additional-keywords): Use them.
+
+       * antlr-mode.el: New command to insert options -- variables.
+       (antlr-mode-map): New binding [C-c C-o].
+       (antlr-mode-menu): New submenus.
+       (antlr-options-use-submenus): New user option.
+       (antlr-tool-version): New user option.
+       (antlr-options-auto-colon): New user option.
+       (antlr-options-style): New user option.
+       (antlr-options-push-mark): New user option.
+       (antlr-options-assign-string): New user option.
+       (antlr-options-headings): New variable.
+
+       * antlr-mode.el: New command to insert options -- specific.
+       (antlr-options-alists): New variable.
+       (antlr-read-value): New function.
+       (antlr-read-boolean): New function.
+       (antlr-language-option-extra): New function.
+       (antlr-language-limit-n-regexp): Change default to higher LIMIT.
+       (antlr-c++-mode-extra): New function.
+       (antlr-grammar-tokens): New function.
+       (antlr-imenu-create-index-function): New optional argument.
+
+       * antlr-mode.el: New command to insert options -- functions.
+       (antlr-insert-option): New command.
+       (antlr-insert-option-interactive): New function.
+       (antlr-options-menu-filter): New function.
+       (antlr-option-kind): New function.
+       (antlr-scan-lists): New alias.
+       (antlr-scan-lists-internal): New function.
+       (antlr-skip-file-prelude): Hack for special SKIP-COMMENT.
+       (antlr-option-level): New function.
+       (antlr-syntactic-grammar-depth): New function.
+       (antlr-option-location): New function.
+       (antlr-insert-option-do): New function.
+       (antlr-option-spec): New function.
+       (antlr-version-string): New function.
+       (antlr-insert-option-existing): New function.
+       (antlr-insert-option-space): New function.
+       (antlr-insert-option-area): New function.
+
+       * antlr-mode.el: New electric keys ":;|&(){}", TAB works better
+       with narrowing.  Menu change.  Miscellaneous.
+       (antlr-mode-menu): Include "Indent Region" and "Customize Antlr".
+       (antlr-mode-map): New bindings for characters in ":;|&(){}".
+       (antlr-electric-character): New command.
+       (antlr-class-header-regexp): New variable.
+       (antlr-font-lock-additional-keywords): Use it.
+       (antlr-imenu-create-index-function): Use it.
+       (antlr-file-dependencies): Use it.
+       (antlr-indent-line): Also works with restrictions.
+       (antlr-indent-command): Interactive spec - changes the buffer.
+       (antlr-language-for-option): Deletia.
+       (antlr-language-option): New function, defined instead.
+       (antlr-mode): Use it.
+2001-12-21  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * jka-compr.el (jka-compr-partial-uncompress): Use null-device
+       instead of a literal /dev/null.
+
+       * Makefile.in (distclean): Remove Makefile in the build
+       directory, not in the source directory.
+
+2001-12-21  Simon Josefsson  <jas@extundo.com>.
+
+       * mail/smtpmail.el (smtpmail-send-queued-mail): Use
+       with-temp-buffer instead of find-file-noselect, and bind
+       coding-system-for-read to no-conversion when reading the queued
+       messages.
+
+2001-12-20  Werner Lemberg  <wl@gnu.org>
+
+       * international/mule-diag.el (describe-coding-system,
+       print-coding-system-briefly): Make printed output have a similar
+       format as describe-character-set.
+
+2001-12-20  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * play/blackbox.el (bb-member): Remove, use member instead.
+       (bb-delete): Remove, use delete instead.
+       Update copyright notice.  Defvar for bb-board, bb-x, bb-y,
+       bb-score, bb-detour-count and bb-balls-placed.
+       Propertize results of rays.
+
+2001-12-19  Karl Fogel  <kfogel@red-bean.com>
+
+       * isearch.el (isearch-forward, isearch-edit-string): Make doc
+       strings mention keybinding for `isearch-yank-word-or-char',
+       rather than `isearch-yank-word', since the former is bound now
+       and the latter is not.
+       (isearch-yank-word-or-char): Fix formatting.
+
+2001-12-19  Werner Lemberg  <wl@gnu.org>
+
+       * language/czech.el, language/european.el, language/slovak.el: More
+       fixes for language info doc strings.
+
+2001-12-19  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * loadup.el: Add "language" to the load-path.
+
+2001-12-19  Richard M. Stallman  <rms@gnu.org>
+
+       * international/mule-cmds.el (describe-language-environment): 
+       Fix calls to help-xref-button.
+       
+2001-12-19  Miles Bader  <miles@gnu.org>
+
+       * international/fontset.el: Require `ind-util' when compiling.
+
+2001-12-18  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * language/ethio-util.el (ethio-modify-vowel): Use char-to-string
+       instead of decompose-composite-char.
+
+2001-12-18  Richard M. Stallman  <rms@gnu.org>
+
+       * simple.el (eval-expression-print-level)
+       (eval-expression-print-length): Doc fixes.
+
+       * international/mule-diag.el (describe-character-set):
+       Fix the arg to help-xref-button.
+
+       * files.el (directory-free-space-program): New variable.
+       (directory-free-space-args): New variable.
+       (insert-directory): Use those two variables for getting free space.
+       Use file-system-info instead, if that is defined.
+
+       * dired.el (dired-free-space-program): Variable deleted.
+       (dired-free-space-args): Variable deleted.
+       (dired-insert-directory): Don't try to determine free space.
+
+       * files.el (font-lock-defaults): Add risky-local-variables prop.
+       (hack-one-local-variable): Treat various font-lock variables as risky.
+
+2001-12-18  Werner Lemberg  <wl@gnu.org>
+
+       * language/chinese.el, language/cyrillic.el:
+       * language/czech.el, language/european.el, language/greek.el:
+       * language/hebrew.el, language/indian.el, language/japanese.el:
+       * language/korean.el, language/lao.el, language/slovak.el:
+       * language/thai.el, language/tibetan.el, language/vietnamese.el:
+       Improve documentation strings of coding systems and language infos.
+
+2001-12-18  Werner LEMBERG  <wl@gnu.org>
+
+       Add support for EUC-TW decoding/encoding.
+
+       * language/china-util.el (big5-to-flat-code, flat-code-to-big5,
+       euc-to-flat-code, flat-code-to-euc, expand-euc-big5-alist):
+       New auxiliary functions to build `big5-to-cns'.
+       (big5-to-cns): New translation alist.
+
+       * language/chinese.el: Added new coding system `euc-tw' and its
+       alias `euc-taiwan'.
+       Updated language `Chinese-CNS' to include euc-tw encoding also.
+       (ccl-decode-euc-tw, ccl-encode-euc-tw): New functions for handling
+       euc-tw.
+
+2001-12-18  Dave Love  <fx@gnu.org>
+
+       * loadup.el: Add language/utf-8-lang, language/georgian.
+
+       * image-file.el (image-file-name-extensions): Add pnm.  Doc fix.
+       (image-file-name-regexps): Doc fix.
+
+       * server.el (server-unload-hook): New function.
+
+       * emacs-lisp/lisp-mnt.el (lm-copyright-prefix): Group the leader.
+       (lm-crack-copyright): Cope with multi-line copyright `lines'.
+
+       * simple.el (newline): Doc fix.
+       (eval-expression-print-level, eval-expression-print-length): Doc
+       fix.  Amend :type.
+       (next-line, previous-line): Make arg optional.
+       (newline): Doc fix.
+
+       * Makefile.in (DONTCOMPILE): Add various language files.
+
+       * international/quail.el (quail-input-string-to-events): Don't use
+       string-to-list.
+
+       * progmodes/f90.el (f90-break-line): Avoid infinite recursion
+       calling `newline'.
+
+2001-12-17  Richard M. Stallman  <rms@gnu.org>
+
+       * comint.el (comint-dynamic-list-input-ring-select): New function.
+       Switches back to the old window configuration.
+       (comint-dynamic-list-input-ring): Bind RET to that function.
+       (comint-dynamic-list-input-ring-window-conf): New variable.
+
+2001-12-17  Werner Lemberg  <wl@gnu.org>
+
+       * international/mule-conf.el: Improve documentation strings of
+       character sets.
+
+2001-12-16  Richard M. Stallman  <rms@gnu.org>
+
+       * dired.el (dired-copy-filename-as-kill): Moved from dired-x.el.
+       (dired-mode-map): Bind w to dired-copy-filename-as-kill.
+
+       * dired-x.el (dired-copy-filename-as-kill): Moved to dired.el.
+
+       * autoinsert.el (auto-insert-alist): Redo finding C and C++ headers.
+       Add a DESCRIPTION for the makefile item.
+
+       * find-file.el (ff-other-file-name): New function.
+
+2001-12-16  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * international/quail.el (quail-input-string-to-events): Fix last
+       change.
+
+2001-12-16  Richard M. Stallman  <rms@gnu.org>
+
+       * isearch.el (isearch-edit-string): When we set isearch-string
+       to the default, also set isearch-message.
+
+       * subr.el (temp-buffer-show-hook, temp-buffer-setup-hook): Add defvars.
+
+       * startup.el (command-line-1): Display startup screen
+       even if there are command line args.
+       Add a note about how to go to editing your files. 
+       (fancy-splash-head): Add a note about how to go to your files.
+       (fancy-splash-outer-buffer): New variable.
+       (fancy-splash-screens): Bind variable fancy-splash-outer-buffer.
+
+       * subr.el (with-temp-message): At the end, always discard
+       the temp message, even by clearing the echo area.
+
+       * progmodes/sh-script.el (sh-mode): Run sh-mode-hook.
+
+2001-12-16  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * log-view.el (log-view-message-re, log-view-current-tag):
+       Recognize Subversion's log output format.
+
+       * international/fontset.el: Build the list L at compile time.
+
+       * language/ind-util.el (mapthread): Make a closure.
+
+2001-12-15  Richard M. Stallman  <rms@gnu.org>
+
+       * isearch.el (isearch-start-hscroll): New variable.
+       (isearch-mode): Set isearch-start-hscroll.
+       (isearch-update): Restore original hscrolling if possible.
+
+       * isearch.el (isearch-edit-string):
+       Treat isearch-yank-word-or-char specially, like isearch-yank-word.
+
+       * emacs-lisp/debug.el (debugger-previous-backtrace): New variable.
+       (debugger-make-xrefs): Optimize by (1) using skip-syntax-forward
+       rather than regexp search and (2) copying text properties
+       already set up on text unchanged from the previous backtrace.
+
+       * case-table.el (set-case-syntax-pair):
+       Detect invalid calls and signal an error.
+
+2001-12-15  Richard M. Stallman  <rms@gnu.org>
+
+       * language/ind-util.el (range): Function deleted.
+       (indian-regexp-of-hashtbl-keys): Renamed from `regexp-of-hashtbl-keys'.
+       All calls changed.
+
+       * language/devan-util.el (devanagari-range): Renamed from `range'.
+       All calls changed.
+       (devanagari-regexp-of-hashtbl-keys):
+       Renamed from `regexp-of-hashtbl-keys'.  All calls changed.
+
 2001-12-15  Dave Love  <fx@gnu.org>
 
        * language/ind-util.el: Don't require cl.
        (indian-char-glyph): Moved from indian.el
        (indian--puthash-char, mapthread): Don't quote lambda.
        (indian--map): New function.
-       (indian--puthash-v, indian--puthash-c, indian--puthash-m) 
+       (indian--puthash-v, indian--puthash-c, indian--puthash-m)
        (indian--puthash-cv): Use it.
 
-       * language/indian.el (indian-glyph-char, indian-glyph-max-char) 
+       * language/indian.el (indian-glyph-char, indian-glyph-max-char)
        (indian-char-glyph): Moved to ind-util.el
 
-       * language/devan-util.el (devanagari-post-read-conversion): New
-       function.
+       * language/devan-util.el (devanagari-post-read-conversion):
+       New function.
 
        * language/georgian.el: New file.
 
        Add utf-8 case.
        (set-language-environment): Process required-features earlier.
 
-       * international/quail.el (quail-keyboard-layout-alist): Add
-       pc105-uk.
+       * international/quail.el (quail-keyboard-layout-alist):
+       Add pc105-uk.
        (quail-keyboard-layout-type): Fix :type.
        (quail-choose-completion-string): Simplify.
-       (quail-update-leim-list-file): Don't get fooled by commented-out
-       code.
+       (quail-update-leim-list-file): Don't get fooled by commented-out code.
        (quail-input-string-to-events): Run events through
        translation-table-for-input.
 
-       * international/mule-conf.el (translation-table-for-input): New
-       variable.
+       * international/mule-conf.el (translation-table-for-input):
+       New variable.
        (latin-iso8859-14): Amend description.
        (file-coding-system-alist): Add entry for utf-8.
 
 
        * language/hebrew.el ("Windows-1255"): New language.
 
-       * language/european.el ("Welsh", "Latin-7", "Lithuanian") 
+       * language/european.el ("Welsh", "Latin-7", "Lithuanian")
        ("Latvian"): New languages.
 
+2001-12-14  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * xml.el: Use setq rather than (set 'foo bar).
+       Use push+nreverse rather than append.
+       (xml-node-name, xml-node-attributes, xml-node-children):
+       Use defsubst rather than macros.
+       (xml-parse-region): Handle a nil return value from xml-parse-tag.
+       (xml-parse-tag): Don't skip white space.  Return nil for a comment.
+       Concat the two strings surrounding a comment into a single string.
+
+       * newcomment.el (comment-indent): Jump to the middle of empty comments.
+
 2001-12-14  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
 
        * select.el (xselect-convert-to-class, xselect-convert-to-name):
-       Documented.
+       Document.
 
 2001-12-14  Andre Spiegel  <spiegel@gnu.org>
 
 
 2001-12-13  David Ponce  <david@dponce.com>
 
-       * ruler-mode.el (ruler-mode-extra-left-cols): Removed.
+       * ruler-mode.el (ruler-mode-extra-left-cols): Remove.
        (ruler-mode-left-fringe-cols): New macro.
        (ruler-mode-right-fringe-cols): New macro.
        (ruler-mode-left-scroll-bar-cols): New macro.