(before-save-hook): Add.
[bpt/emacs.git] / lisp / ChangeLog
index 6d41771..7276ccc 100644 (file)
@@ -1,8 +1,422 @@
+2003-12-31  Simon Josefsson  <jas@extundo.com>
+
+       * files.el (before-save-hook): Add.
+       (basic-save-buffer): Use before-save-hook.
+
+2004-01-05  Richard M. Stallman  <rms@gnu.org>
+
+       * finder.el (finder-commentary): Call delete-other-windows.
+
+       * net/ange-ftp.el (ange-ftp-file-attributes):
+       Pass 2 args to ange-ftp-real-file-attributes only if ID-FORMAT non-nil.
+
+2004-01-04  Karl Berry  <karl@gnu.org>
+
+       * emacs-lisp/copyright.el (copyright-regexp): allow the common
+       comment characters % and # in the copyright year notice,
+       as well as ;.
+
+2004-01-04  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+       * wid-edit.el (default): Define dummy :value-delete.
+       Reported by Jesper Harder <harder@ifa.au.dk>.
+
+2004-01-03  Richard M. Stallman  <rms@gnu.org>
+
+       * progmodes/compile.el (compile-internal): Use point, not point-min,
+       for set-window-point.
+
+       * textmodes/tex-mode.el (latex-find-indent): Avoid error at end of buf.
+
+       * emacs-lisp/lisp-mnt.el (lm-section-end): require outline.
+
+       * progmodes/grep.el (grep-mode-map):
+       Don't remap next-line, previous-line.
+
+2004-01-03  Eric M. Ludlam  <eric@siege-engine.com>
+
+       * speedbar.el (speedbar-edit-line): Change regexp to position
+       the cursor on the first character of this line's button.
+
+2004-01-03  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * subr.el (functionp): Doc fix.
+
+2004-01-03  Jesper Harder  <harder@ifa.au.dk>  (tiny change)
+
+       * progmodes/idlwave.el (idlwave-make-tags):
+       * textmodes/flyspell.el (flyspell-large-region):.
+       * progmodes/make-mode.el (makefile-query-by-make-minus-q):
+       * emulation/viper-util.el (viper-glob-unix-files):
+       * emacs-lisp/shadow.el (shadow-same-file-or-nonexistent):
+       * man.el (Man-init-defvars):
+       * jka-compr.el (jka-compr-call-process):
+       * files.el (get-free-disk-space,insert-directory):
+       * ediff-ptch.el (ediff-test-patch-utility):
+       * ediff-diff.el (ediff-test-utility):
+       * dired-aux.el (dired-check-process):
+       * mail/sendmail.el (sendmail-send-it): Don't use = or zerop to
+       test the return value of call-process, because it can be a string.
+
+2003-12-31  John Paul Wallington  <jpw@gnu.org>
+
+       * bindings.el (completion-ignored-extensions): Add .pfsl.
+
+2003-12-31  Kim F. Storm  <storm@cua.dk>
+
+       * ido.el (ido-nonreadable-directory-p): New defun to check for
+       nonreadable directory without activating tramp (to avoid problems
+       with checking incomplete tramp paths.
+       (ido-set-current-directory, ido-file-internal)
+       (ido-file-name-all-completions1): Use it.
+
+2003-12-30  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * help-mode.el (help-xref-info-regexp): Make hyperlinks to Info
+       documentation if the anchor (or node) name is preceded by `info
+       anchor' or `Info anchor' in addition to earlier `info node' and
+       `Info node'.
+       (help-make-xrefs): Adapt to new value of `help-xref-info-regexp'.
+
+2003-12-30  Eli Zaretskii  <eliz@elta.co.il>
+
+       * mail/rmail.el (rmail-convert-to-babyl-format): Fix off-by-one
+       error in arguments to base64-decode-region.  Remove ^M characters
+       after decoding base64.
+
+2003-12-30  Simon Josefsson  <jas@extundo.com>
+
+       * textmodes/texinfo.el: Change maintainer to FSF.  Suggested by
+       karl@freefriends.org (Karl Berry), since the Texinfo Elisp files
+       have only been distributed with Emacs for some years.
+       (texinfo-mode-hook): Customize.
+
+2003-12-30  Eli Zaretskii  <eliz@elta.co.il>
+
+       * mail/rmail.el (rmail-convert-to-babyl-format): Make the code
+       cleaner (suggested by Richard Stallman).
+
+       * progmodes/gud.el (gud-tool-bar-map): Modify names of icon files
+       for gud-next, gud-nexti, gud-step and gud-stepi to prevent
+       file-name clashes on 8+3 DOS filesystems.
+
+       * toolbar/gud-next.pbm, toolbar/gud-next.xpm
+       * toolbar/gud-nexti.pbm, toolbar/gud-nexti.xpm
+       * toolbar/gud-step.pbm, toolbar/gud-step.xpm
+       * toolbar/gud-stepi.pbm, toolbar/gud-stepi.xpm: Renamed to
+       gud-n.*, gud-ni.*, gud-s.*, and gud-si.*, respectively, to avoid
+       file-name clashes on 8+3 filesystems.
+
+       * emacs-lisp/tcover-unsafep.el, emacs-lisp/tcover-ses.el: Renamed
+       from testcover-unsafep.el and testcover-ses.el to avoid file-name
+       clashes on 8+3 DOS filesystems.
+
+2003-12-29  Richard M. Stallman  <rms@gnu.org>
+
+       * mail/mail-utils.el (mail-unquote-printable-hexdigit):
+       Upcase the character.
+
+       * textmodes/flyspell.el (mail-mode-flyspell-verify):
+       Search for header separator alone on a line, literally,
+       and search for it backward, not forward.
+       (flyspell-abbrev-table): Always use global-abbrev-table
+       if there is no local one.
+
+       * progmodes/sh-script.el (sh-get-indent-info):
+       Don't move point back if at bob.
+
+       * progmodes/antlr-mode.el (save-buffer-state-x): Use with-no-warnings.
+
+       * play/handwrite.el (handwrite): Make the handwrite credit message
+       a comment rather than an output command.
+
+       * obsolete/sc.el: Display message that this file is obsolete.
+
+       * net/ange-ftp.el (ange-ftp-start-process): Copy the environment.
+
+       * mail/rfc822.el (rfc822-address-start): Declare variable.
+       Renamed from address-start.  All uses changed.
+
+       * term.el (term-exec): Set up sentinel.
+       (term-sentinel): New function.
+       (term-handle-exit): New function.
+
+       * subr.el (assoc-ignore-case, assoc-ignore-representation): 
+       Use assoc-string, and mark them obsolete.
+       (delay-mode-hooks): Mark as permanent local.
+
+       * simple.el (sendmail-user-agent-compose): Use assoc-string.
+
+       * register.el (copy-rectangle-to-register): Doc fix.
+
+       * info.el (Info-insert-dir): Use assoc-string.
+
+       * info-look.el (info-lookup): Use assoc-string.
+
+       * frame.el (pop-up-frame-function): Use quote, not `function'.
+       (frame-notice-user-settings): Calculate ADJUSTED-TOP
+       copying with lists as coordinate values.
+
+       * font-lock.el (font-lock-after-change-function): Bind inhibit-quit.
+
+       * find-dired.el (kill-find): New command.
+       (find-dired): Make buffer read-only.
+       Set up a keymap with C-c C-k running kill-find.
+       (find-dired-filter, find-dired-sentinel): Bind inhibit-read-only.
+
+       * files.el (backup-buffer-copy): If MODES is nil, don't set modes.
+
+       * filecache.el (file-cache-ignore-case): New variable.
+       (file-cache-assoc-function): Var deleted.  Use assoc-string instead.
+
+       * comint.el (comint-arguments): Set COUNT after ARGS is complete.
+       (comint-dynamic-complete-as-filename): Rename local vars.
+       (comint-dynamic-list-filename-completions): Likewise.
+
+       * comint.el (comint-dynamic-list-completions-config): New var.
+       (comint-dynamic-list-completions): Handle both SPC and TAB right.
+
+       * comint.el (comint-file-name-chars): Add [].
+       (comint-word): Use skip-chars-backward, not search.
+
+       * shell.el (shell-file-name-chars): Add [].
+
+       * shell.el (shell-dynamic-complete-as-command): Rename local vars.
+
+       * bookmark.el (bookmark-get-bookmark): Use assoc-string.
+
+       * generic.el (define-generic-mode): Doc fix.
+
+2003-12-29  Eli Zaretskii  <eliz@elta.co.il>
+
+       * files.el (kill-some-buffers): Doc fix.
+
+2003-12-29  David Herring <sdh6@ra.msstate.edu>  (tiny change)
+
+       * comint.el (comint-watch-for-password-prompt): Pass `string' as
+       arg to send-invisible
+       (send-invisible): Doc fix.  The argument is now a prompt, not the
+       string to send.
+       (comint-read-noecho): Doc fix.
+
+2003-12-29  Michael R. Wolf  <MichaelRWolf@att.net>  (tiny change)
+
+       * net/ange-ftp.el (ange-ftp-name-format): Allow USER to contain
+       "@", as required by some ISP hosting service.  Fix defcustom
+       argument syntax errors that prevented use of customization.
+
+2003-12-29  Eli Zaretskii  <eliz@elta.co.il>
+
+       * xml.el (xml-get-attribute-or-nil): Doc fix.
+
+2003-12-29  Peter 'Luna' Runestig <peter@runestig.com>
+
+       * net/zone-mode.el (zone-mode): Use write-file-functions, not
+       write-file-hooks.
+
+2003-12-29  Eric Hanchrow <offby1@blarg.net>  (tiny change)
+
+       * autorevert.el (auto-revert-interval): Doc fix.
+
+2003-12-29  Mark A. Hershberger <mah@everybody.org>
+
+       * xml.el (xml-get-attribute-or-nil): New function, like
+       xml-get-attribute, but returns nil if the attribute was not found.
+       (xml-get-attribute): Converted to defsubst, uses
+       xml-get-attribute-or-nil.
+
+2003-12-29  Eli Zaretskii  <eliz@elta.co.il>
+
+       * emacs-lisp/easymenu.el (easy-menu-define): Doc fix.
+
+2003-12-29  Alex Schroeder <alex@emacswiki.org>  (tiny change)
+
+       * custom.el (custom-declare-theme): Use `value' when putting
+       properties on `theme'.
+
+2003-12-29  Takaaki Ota <Takaaki.Ota@am.sony.com>
+
+       * subr.el (insert-for-yank): Call insert-for-yank-1 repetitively
+       for each yank-handler segment.
+       (insert-for-yank-1): New function, with the body of the previous
+       insert-for-yank.
+
+       * textmodes/table.el (table-yank-handler): New defcustom.
+       (table--put-cell-indicator-property): Put yank-handler property
+       that indicates the yank handler for the table cell.
+
+2003-12-29  Jesper Harder <harder@ifa.au.dk>  (tiny change)
+
+       * generic-x.el (etc-modules-conf-generic-mode): A more complete
+       set of keywords.
+
+2003-12-29  Eli Zaretskii  <eliz@elta.co.il>
+
+       * international/mule-cmds.el (reset-language-environment)
+       (set-language-environment): Don't invoke fontset-related functions
+       if fontset-list is not fboundp.
+
+2003-12-29  Kenichi Handa  <handa@m17n.org>
+
+       * international/mule-cmds.el (reset-language-environment): Call
+       set-overriding-fontspec-internal with nil.
+       (set-language-environment): Call set-overriding-fontspec-internal
+       if the language environment specify `overriding-fontspec'.
+       (language-info-alist): Doc added.
+
+       * language/cyrillic.el (ccl-encode-koi8-font): Make it work for
+       characters of mule-unicode-0100-24ff.
+       (ccl-encode-windows-1251-font): New CCL program.
+       ("Bulgarian"): Specify overriding-fontspec.
+       ("Belarusian"): Likewise.
+
+2003-12-28  Sam Steingold  <sds@gnu.org>
+
+       * net/ange-ftp.el (ange-ftp-file-attributes): Add new optional
+       parameter ID-FORMAT to conform with the 2003-11-30 patch.
+
+2003-12-28  Nick Roberts  <nick@nick.uklinux.net>
+
+       * progmodes/gud.el (gud-gdb-command-name): Set default to
+       "gdb --annotate=3".
+       (gud-gdb-marker-filter): Look out for annotations.
+       (gdb-first-pre-prompt): New variable.
+       Remove trailing white space.
+
+       * gdb-ui.el (gdb-prompt): Change filter for level 3 annotations,
+       if necessary.
+       (gdb-ann3): New function. Initialise M-x gdb as for M-x gdba if
+       annotations are detected.
+       (gud-gdba-marker-filter): Use global variable gud-marker-acc
+       instead of a local one to allow transition from
+       gud-gdb-marker-filter.
+       Remove trailing white space.
+
+2003-12-27  Kim F. Storm  <storm@cua.dk>
+
+       * ido.el: Handle non-readable directories.
+       (ido-decorations): Add 9th element for non-readable directory.
+       (ido-directory-nonreadable): New dynamic var.
+       (ido-set-current-directory): Set it.
+       (ido-read-buffer, ido-file-internal):
+       (ido-read-file-name, ido-read-directory-name): Let-bind it.
+       (ido-file-name-all-completions1): Return empty list for
+       non-readable directory.
+       (ido-exhibit): Print [Not readable] if directory is not readable.
+       (ido-expand-directory): New defun (based on tiny fix from Karl Chen).
+       (ido-read-file-name, ido-file-internal, ido-read-directory-name):
+       Use it.
+
+2003-12-27  Lars Hansen  <larsh@math.ku.dk>
+
+       * ls-lisp.el (ls-lisp-insert-directory): Add parameter 'string in
+       calls to directory-files-and-attributes and file-attributes.
+       (ls-lisp-format): Remove system dependent handling of user and
+       group id's.
+
+2003-12-25  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * ffap.el (ffap-read-file-or-url): Revert previous change.
+
+2003-12-25  Robert J. Chassell <bob@rattlesnake.com>
+
+       * textmodes/texnfo-upd.el (texinfo-multi-file-update): Create a
+       new list of included files called `files-with-node-lines', that
+       only have node lines.  This way @include commands can include any
+       file, such as version and update files without node lines, not
+       just files that are chapters.
+
+2003-12-25  Andreas Schwab  <schwab@suse.de>
+
+       * jka-compr.el (jka-compr-insert-file-contents): Avoid error when
+       file not found.
+
+2003-12-08  Miles Bader  <miles@gnu.org>
+
+       * dired.el (dired-between-files): Always use dired-move-to-filename,
+       which is more robust in non-english locales.
+
+2003-12-25  Markus Rost  <rost@mathematik.uni-bielefeld.de>
+
+       * vc.el (vc-dired-purge): Avoid error from `kill-line'.
+
+2003-12-24  Andreas Schwab  <schwab@suse.de>
+
+       * shell.el (shell-file-name-quote-list): Add backslash.
+
+       * comint.el (comint-quote-filename): Correctly handle backslash
+       in comint-file-name-quote-list.
+
+2003-12-24  Kenichi Handa  <handa@m17n.org>
+
+       * international/mule-cmds.el (set-default-coding-systems): Call
+       ucs-set-table-for-input for all buffers that don't have local
+       value of buffer-file-coding-system.
+
+       * international/ucs-tables.el (ucs-set-table-for-input): If
+       translation-table-for-encode is a symbol, get its
+       translation-table property.
+
+2003-12-23  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * ffap.el (ffap-read-file-or-url): Eliminate reliance of the call
+       to `completing-read' on a recently fixed bug.
+
+       * fringe.el (fringe-query-style): Suggest `?' in minibuffer prompt,
+       instead of SPACE, to get the list of possible fringe modes.  SPACE
+       only works if both `partial-completion-mode' and
+       `completion-auto-help' are nil.
+
+       * complete.el (PC-is-complete-p): delete.
+       (PC-do-completion): Replace all calls to `PC-is-complete-p' with
+       calls to `test-completion'.
+
+2003-12-23  Nick Roberts  <nick@nick.uklinux.net>
+
+       * progmodes/gud.el (gud-speedbar-buttons): Use speed-bar-edit-line
+       to edit values when there are no children.
+
+       * gdb-ui.el (gdba, gdb-assembler-mode): Call the mode "Machine" as
+       a mode called "Assembler" already exists.
+       (gdb-use-colon-colon-notation, gdb-show-changed-values): New
+       options.
+       (gud-watch): Use format option. Remove font properties from
+       string.
+       (gdb-var-create-handler, gdb-var-list-children-handler): Don't
+       bother about properties as there are none.
+       (gdb-var-create-handler, gdb-var-list-children-handler)
+       (gdb-var-update-handler): Call gdb-var-evaluate-expression-handler
+       with two arguments.
+       (gdb-var-evaluate-expression-handler, gdb-post-prompt): Let
+       speedbar show value changes with a different font.
+       (gdb-edit-value): New defun.
+       (gdb-clear-partial-output, gdb-clear-inferior-io)
+       (def-gdb-auto-update-handler): Use erase-buffer.
+       (gdb-frame-handler): Display watch expressions in
+       FUNCTION::VARIABLE format if required.
+
 2003-12-23  John Paul Wallington  <jpw@gnu.org>
 
        * info.el (Info-unescape-quotes, Info-split-parameter-string)
        (Info-goto-emacs-command-node): Doc fixes.
 
+2003-12-12  Jesper Harder <harder@ifa.au.dk>
+
+       * cus-edit.el (custom-add-parent-links): Define "many".
+
+2003-12-08  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+       * wid-edit.el (widget-child-value-get, widget-child-value-inline)
+       (widget-child-validate, widget-type-value-create)
+       (widget-type-default-get, widget-type-match): New functions.
+       (lazy): New widget.
+       (menu-choice, checklist, radio-button-choice, editable-list)
+       (group, documentation-string): Removed redundant (per 2003-10-25
+       change) calls to `widget-children-value-delete'.
+       (widget-choice-value-get, widget-choice-value-inline): Removed
+       functions.
+       (menu-choice): Updated widget.
+
 2003-12-03  Kenichi Handa  <handa@m17n.org>
 
        * language/cyrillic.el: Register "microsoft-cp1251" in
 
 2003-11-01  Mark A. Hershberger  <mah@everybody.org>
 
-       * xml.el: Allow comments following the top-level element.
-       Separate out namespace parsing into special functions.
-       Change namespace parsing to return ('ns-uri . "local-name")
-       instead of '{ns-uri}local-name.
+       * xml.el (xml-parse-region): Allow comments to appear after the
+       topmost element has closed.
+       (xml-ns-parse-ns-attrs, xml-ns-expand-el)
+       (xml-ns-expand-attr): New functions to do namespace handling.   
+       (xml-intern-attrlist): Back-compatible handling of attribute
+       names.
+       (xml-parse-tag): Move namespace handling to seperate functions.
+       Now produces elements in the form ((:ns . "element") (attr-list)
+       children) instead of ('ns:element (attr-list) children).
+       (xml-parse-attlist): Fix attribute parsing.
+       (xml-parse-dtd): Change parsing so that it produces strings
+       instead of interned symbols.
 
 2003-11-01  era@iki.fi  <era@iki.fi>  (tiny change)
 
        which does not exist in LaTeX.
        (reftex-cite-format-builtin): Added amsrefs support.
        (reftex-toc-confirm-promotion): New option
-       
+
        * reftex-toc.el
        (reftex-toc): Use `reftex-toc-split-windows-fraction'.
        (reftex-toc-demote, reftex-toc-promote)