*** empty log message ***
[bpt/emacs.git] / lisp / ChangeLog
index c6213d6..7406bc8 100644 (file)
@@ -1,3 +1,289 @@
+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.
+
+2003-04-16  Dave Love  <fx@gnu.org>
+
+       * progmodes/xscheme.el: Moved from lisp directory.
+
+2003-04-16  Glenn Morris  <gmorris@ast.cam.ac.uk>
+
+       * progmodes/f90.el (f90-indent-to, f90-indent-line-no)
+       (f90-no-block-limit, f90-end-of-block, f90-beginning-of-block)
+       (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-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>
+
+       * man.el (Man-follow-manual-reference): Don't require match
+       when calling completing-read.
+
+2003-04-15  Glenn Morris  <gmorris@ast.cam.ac.uk>
+
+       * progmodes/fortran.el: Whitespace changes, some re-ordering of
+       code, trivial commentary change.
+       (fortran, fortran-indent, fortran-comment)
+       (fortran-tab-mode-default, fortran-continuation-indent)
+       (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-tab-mode-minor-mode-string): New variable.
+       (fortran-tab-mode-string): Now customization is meaningful.
+       (fortran-column-ruler-fixed, fortran-column-ruler-tab)
+       (fortran-analyze-depth): Use defcustom.
+       (fortran-if-start-re, fortran-end-prog-re1, fortran-fill)
+       (fortran-break-line, fortran-prepare-abbrev-list-buffer)
+       (fortran-auto-fill): Add doc string.
+       (fortran-type-types): New constant (was local to let binding).
+       (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
+       (fortran-font-lock-syntactic-keywords): Initialize in defvar.
+       (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 fortran-tab-mode-minor-mode-string.
+       (fortran-comment-indent): Add doc string.  Move save-excursion.
+       Use 1+.
+       (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-electric-line-number, fortran-indent-subprogram)
+       (fortran-strip-sequence-nos): Change interactive spec.
+       (fortran-remove-continuation): Add doc string.  Use when.
+       (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-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.
+       (minor-mode-alist): Use add-to-list.
+       (fortran-fill-paragraph): Change interactive spec, doc string.
+
+       * 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-menu): Shift definition to initialization of f90-mode-map.
+       Add customization section.
+       (f90-mode): Minor doc change.  Do not call easy-menu-add.
+       Set `beginning-of-defun-function' and `end-of-defun-function' to
+       appropriate F90 functions.
+       (f90-indent-line, f90-indent-line, f90-indent-subprogram)
+       (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.
+
+2003-04-14  Richard M. Stallman  <rms@gnu.org>
+
+       * derived.el (define-derived-mode): Make generated code work in
+       Emacs versions that do not have run-mode-hooks.
+
+       * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
+       At end of buffer, run the global binding of the same key.
+
+       * international/mule.el (after-insert-file-set-coding):
+       Properly treat INSERTED as number of characters, for both
+       for both the argument and the value.
+
+       * desktop.el (desktop-base-file-name):
+       Renamed from desktop-basefilename.  Add defvaralias.
+
+2003-04-14  John Paul Wallington  <jpw@gnu.org>
+
+       * international/fontset.el (create-fontset-from-ascii-font): Doc fix.
+       (x-must-resolve-font-name): Fix error message typo.
+
+2003-04-13  Glenn Morris  <gmorris@ast.cam.ac.uk>
+
+       * progmodes/fortran.el (fortran-previous-statement): Check for
+       fortran-continuation-string.
+       (fortran-calculate-indent): Do not add extra whitespace to
+       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>.
+
+       * net/ange-ftp.el (ange-ftp-expand-symlink): If result of
+       expansion is a symlink, expand again.
+       (ange-ftp-file-symlink-p): Return target of symlink literally.
+
+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
+       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.
+       (add-change-log-entry): Avoid inserting the same funname again.
+       (add-log-indent-text): New var.
+       (add-log-indent): New fun.
+       (change-log-mode): Use it.
+
+       * net/browse-url.el: Don't autoload all these defcustoms.
+       (browse-url-default-macosx-browser): New fun.
+       (browse-url-browser-function): Use it for system-type = darwin.
+       (browse-url-usr1-signal): Remove.
+       (browse-url-mosaic): Use SIGUSR1 directly instead.
+       (browse-url-gnome-moz-program): New var.
+       (browse-url-gnome-moz, browse-url-default-browser): Use it.
+
+       * emacs-lisp/bytecomp.el: Use push, with-current-buffer, dolist, ...
+       (byte-compile-const-variables): New var.
+       (byte-compile-close-variables): Reset it.
+       (byte-compile-file-form-defvar, byte-compile-defvar): Update it.
+       (byte-compile-const-symbol-p): Now arg `value' to check defconsts.
+       (byte-compile-variable-ref): Use it and improve warning message.
+       (byte-compile-check-lambda-list): Use byte-compile-const-symbol-p.
+       (byte-compile-lapcode): Remove unused vars.
+       (byte-compile-eval): Fix thinko in handling of old-autoloads.
+       (byte-recompile-directory): Use the expanded form for directory.
+       (byte-compile-track-mouse): Use modern backquote syntax.
+       (byte-compile-defvar): Detect and properly handle (defconst a).
+       (byte-compile-defalias-warn): Remove unused arg `alias'.
+       (byte-compile-defalias): Update call.
+
+2003-04-13  Masatake YAMATO  <jet@gyve.org>
+
+       * help.el (describe-minor-mode): New function implementation.
+       Accept both minor mode string and minor mode indicator.
+       (describe-minor-mode-completion-table-for-indicator)
+       (describe-minor-mode-completion-table-for-symbol): New functions.
+       minor-mode-list is used here.
+       (describe-minor-mode-from-symbol):
+       Renamed from (old) describe-minor-mode.
+       Use describe-minor-mode-completion-table-for-symbol.
+       Don't use eval. Just use symbol-name.
+       (describe-minor-mode-from-indicator): Document is updated.
+       Use `format-mode-line'.
+       Use describe-minor-mode-from-symbol instead of describe-minor-mode.
+       Use describe-minor-mode-completion-table-for-indicator.
+       (expand-minor-mode-indicator-object): Remove.
+       (lookup-minor-mode-from-indicator): Remove the fist white
+       space from both indicator and anindicator before comparing them.
+
+       * bindings.el (mode-line-major-mode-keymap)
+       (mode-line-minor-mode-keymap): Define keys for the maps
+       here in `defvar'.
+
+2003-04-12  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * server.el (server-socket-name): Use new safe location for socket.
+       (server-ensure-safe-dir): New fun.
+       (server-start): Use it and letf.
+       (server-process-filter): Re-enable the -eval feature.
+
+2003-04-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
+
+       * play/gomoku.el (gomoku-buffer-name): New constant.
+       (gomoku-mode): Doc fix.  Add call to kill-all-local-variables.
+       (gomoku): Do not call gomoku-switch-to-window directly.
+       (gomoku-prompt-for-other-game): Throw an error if no new game.
+       (gomoku-switch-to-window): Use gomoku-buffer-name.
+
+       * progmodes/f90.el (f90-abbrev-start): Only offer help if
+       abbrev-mode is active.
+       (f90-join-lines): Make it behave more like standard join-line.
+       (f90-fill-region, f90-menu): Adapt for new f90-join-lines.
+
+       * progmodes/fortran.el (fortran-abbrev-start): Only offer help if
+       abbrev-mode is active.
+
+2003-04-12  John Paul Wallington  <jpw@gnu.org>
+
+       * help-fns.el (help-add-fundoc-usage): Pass an empty string to
+       `format' if no newlines are necessary.
+
+2003-04-11  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * bindings.el (global-map): Bind [select-window].
+
+2003-04-11  John Paul Wallington  <jpw@gnu.org>
+
+       * type-break.el (type-break-warning-countdown-string): Doc fix.
+
 2003-04-11  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>  (tiny change)
 
        * international/utf-8.el (utf-translate-cjk-mode): Fix incorrect
 
 2003-04-11  Masatake YAMATO  <jet@gyve.org>
 
-       * progmodes/etags.el (select-tags-table-mode-map): 
+       * progmodes/etags.el (select-tags-table-mode-map):
        Don't create new keymap. Instead copy from button-buffer-map.
        Bind push-button to `t' instead of binding
        select-tags-table-select directly
-       
-       * (tags-select-tags-table): New button.
-
-       * progmodes/etags.el (select-tags-table): Put
-       a button for each selections.
+       (tags-select-tags-table): New button.
+       (select-tags-table): Put a button for each selections.
 
 2003-04-11  Kenichi Handa  <handa@m17n.org>
 
-       * international/mule.el: Don't set
-       after-insert-file-adjust-coding-function.
-       (after-insert-file-set-coding): Renamed from
-       after-insert-file-set-buffer-file-coding-system.
+       * international/mule.el:
+       Don't set after-insert-file-adjust-coding-function.
+       (after-insert-file-set-coding):
+       Renamed from after-insert-file-set-buffer-file-coding-system.
 
 2003-04-11  Kenichi Handa  <handa@m17n.org>
 
        (quail-kill-guidance-buf): Delete this function.
        (quail-activate): Add/remove quail-show-guidance to/from
        post-command-hook.
-       (quail-input-method): Don't setup quail-guidance-buf.  Initialize
-       quail-guidance-str to "".
+       (quail-input-method): Don't setup quail-guidance-buf.
+       Initialize quail-guidance-str to "".
        (quail-start-translation): Call quail-show-guidance at first.
        (quail-start-conversion): Likewise.
        (quail-terminate-translation): Don't erase quail-guidance-buf.
        (quail-update-current-translations): Check the width of the
        current window, not the width of quail-guidance-win.
        (quail-make-guidance-frame): Delete the arg BUF.  Fix position
-       calculation.  Don't set the window buffer, just return the new
-       frame.
+       calculation.  Don't set the window buffer, just return the new frame.
        (quail-minibuffer-message): New function.
-       (quail-show-guidance): Renamed from quail-show-guidance-buf.  Use
-       message and quail-minibuffer-message to display the guidance.
-       (quail-hide-guidance): Renamed from quail-hide-guidance-buf.  Only
-       delete quail-guidance-frame.
+       (quail-show-guidance): Renamed from quail-show-guidance-buf.
+       Use message and quail-minibuffer-message to display the guidance.
+       (quail-hide-guidance): Renamed from quail-hide-guidance-buf.
+       Only delete quail-guidance-frame.
        (quail-update-guidance): Just update quail-guidance-str, not
        display it.
        (quail-get-translations): Renamed from quail-show-translations.
 
 2003-04-10  Kenichi Handa  <handa@m17n.org>
 
-       * international/mule.el: Set
-       after-insert-file-adjust-coding-function to
+       * international/mule.el:
+       Set after-insert-file-adjust-coding-function to
        after-insert-file-set-buffer-file-coding-system instead of adding
        it to after-insert-file-functions.
 
 
 2003-04-09  Kenichi Handa  <handa@m17n.org>
 
-       * international/fontset.el: Specify rescale ratio 1.3 for CDAC
-       fonts.
+       * international/fontset.el: Specify rescale ratio 1.3 for CDAC fonts.
 
        * international/mule-conf.el: Register ?\221 and ?\226 in
        latin-extra-code-table.
 
 2003-04-09  Kenichi Handa  <handa@m17n.org>
 
-       * international/mule-diag.el (print-coding-system-briefly): If
-       DOC-STRING is `tightly', print the doc-string tightly.
-       (list-coding-systems-1): Sort coding systems.  Call
-       print-coding-system-briefly with the arg DOC-STRING `tightly'.
+       * international/mule-diag.el (print-coding-system-briefly):
+       If DOC-STRING is `tightly', print the doc-string tightly.
+       (list-coding-systems-1): Sort coding systems.
+       Call print-coding-system-briefly with the arg DOC-STRING `tightly'.
 
 2003-04-08  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
 
 
 2003-04-08  Kenichi Handa  <handa@m17n.org>
 
-       * international/mule-conf.el: Register ?\225 in
-       latin-extra-code-table.
+       * international/mule-conf.el: Register ?\225 in latin-extra-code-table.
 
        * international/utf-16.el (utf-16-le-decode-loop)
        (utf-16-be-decode-loop): New temporary variables.
        file format.
        (desktop-create-buffer-form): Variable deleted.
        (desktop-save): New customizable variable.
-       (desktop-kill): Changed to use `desktop-save'.
+       (desktop-kill): Use `desktop-save'.
        (desktop-file-name-format): New option: format in
        which desktop file names should be saved.
        (desktop-file-name): New function to convert a filename to the
        ro     -> desktop-buffer-read-only
        locals -> desktop-buffer-locals
        (desktop-buffer-major-mode, desktop-buffer-file-name)
-       (desktop-buffer-name): Unused customizable variables deleted.
-       (desktop-buffer-misc): Unused variable deleted.
+       (desktop-buffer-name): Delete unused customizable variables.
+       (desktop-buffer-misc): Delete unused variable.
        (desktop-save, desktop-buffer-dired-misc-data):
        Use `desktop-file-name'.
        (desktop-path): New customizable variable.  List of directories in
-       which to lookup the desktop file. Replaces hardcoded list.
+       which to lookup the desktop file.  Replaces hardcoded list.
        (desktop-globals-to-clear): New variable replaces hardcoded list.
        (desktop-clear-preserve-buffers-regexp): New customizable variable.
        (desktop-after-read-hook): New hook run after a desktop is read.
        (desktop-no-desktop-file-hook): New hook when no desktop file found.
        (desktop-change-dir): New function.
-       (desktop-save-in-load-dir): New function. Save desktop in
-       directory from witch it was loaded.
+       (desktop-save-in-load-dir): New function.  Save desktop in
+       directory from which it was loaded.
        (desktop-revert): New function. Revert to the last loaded desktop.
 
 2003-04-06  Masatake YAMATO  <jet@gyve.org>
        * progmodes/etags.el (tag-find-file-of-tag): Renamed from
        find-file-of-tag to avoid name space pollution.
        (tag-find-file-of-tag-noselect): Likewise.
-       (etags-list-tags, etags-tags-apropos): Use
-       tag-find-file-of-tag instead of find-file-of-tag.
+       (etags-list-tags, etags-tags-apropos):
+       Use tag-find-file-of-tag instead of find-file-of-tag.
 
 2003-04-06  Masatake YAMATO  <jet@gyve.org>
 
        Update custom-type of `current-language-environment'.
        (current-language-environment): Fix custom type.
 
-2002-12-11  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-12-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * progmodes/antlr-mode.el (antlr): New URL.