]> code.delx.au - gnu-emacs/blobdiff - lisp/ChangeLog
(elp-instrument-function): Handle advised
[gnu-emacs] / lisp / ChangeLog
index cc3c9c0452262fe57ff05cf8facbf977dcaeb81f..1fed7553fa9e53f415f9686267c9e58a5d752b49 100644 (file)
@@ -1,3 +1,319 @@
+2001-05-17  Gerd Moellmann  <gerd@gnu.org>
+
+       * emacs-lisp/elp.el (elp-instrument-function): Handle advised
+       functions.
+
+2001-05-17  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * jit-lock.el (jit-lock-after-change): Check the font-lock-multiline
+       text-property after moving to the beginning of line and regardless
+       of the value of font-lock-multiline.
+
+2001-05-17  Gerd Moellmann  <gerd@gnu.org>
+
+       * startup.el (fancy-splash-screens): Ignore events on the mode-line.
+
+       * net/ange-ftp.el (ange-ftp-write-region): Make sure to record the
+       last coding system used before calling set-buffer-modified-p
+       because that function changes last-coding-system.
+
+2001-05-17  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * files.el (switch-to-buffer-other-window)
+       (switch-to-buffer-other-frame): Add an xref to display-buffer in
+       the doc string.
+
+2001-05-17  Gerd Moellmann  <gerd@gnu.org>
+
+       * language/slovak.el, language/czech.el: New maintainer.
+
+2001-05-16  Sam Steingold  <sds@gnu.org>
+
+       * emacs-lisp/cl-indent.el (toplevel): Indent the :method
+       sub-form of `defgeneric' correctly.
+
+2001-05-16  Gerd Moellmann  <gerd@gnu.org>
+
+       * tooltip.el (tooltip) <defgroup>: Put it in `gud' group instead
+       of `c'.
+
+       * textmodes/outline.el (outline-font-lock-level): Remove the
+       condition-case, test what outline-level returns instead, to
+       ease debugging.
+
+       * international/mule.el (auto-coding-regexp-alist): New user-option.
+       (auto-coding-from-file-contents): New function.
+       (set-auto-coding): Use it to determine a coding system.
+
+2001-05-15  Gerd Moellmann  <gerd@gnu.org>
+
+       * mouse.el (mouse-delete-other-windows): Doc fix.
+
+       * emacs-lisp/lisp-mode.el (lisp-mode):
+       Make font-lock-keywords-case-fold-search a buffer-local variable with
+       make-local-variable before setting it.
+
+2001-05-14  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * emacs-lisp/elp.el (elp-instrument-package): Don't allow empty
+       prefixes.
+
+2001-05-14  Gerd Moellmann  <gerd@gnu.org>
+
+       * hexl.el (hexl-current-address): Print a message when called
+       interactively.
+
+2001-05-11  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * gud.el (gud-jdb-build-source-files-list): Fix paren typo.
+
+       * pcvs-defs.el (cvs-mode-map): Don't rebind `undo'.
+
+       * files.el (auto-mode-alist): Add *.perl and fix the *.<rev> case.
+
+2001-05-11  Gerd Moellmann  <gerd@gnu.org>
+
+       * startup.el (command-line): If parameters have been changed in
+       the init files which influence font selection, clear the face
+       cache so that faces get realized with the new parameters.
+
+       * Makefile.in (compile-files): Redirect output of chmod to /dev/null.
+
+2001-05-10  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * smerge-mode.el (smerge-mode): Force font-lock-multiline to t.
+
+2001-05-10  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * mail/emacsbug.el (report-emacs-bug): Don't switch the buffer to
+       unibyte.  Suggested by Kenichi Handa <handa@etl.go.jp>.
+
+2001-05-10  Gerd Moellmann  <gerd@gnu.org>
+
+       * net/browse-url.el (browse-url-filename-alist): Allow UNC file
+       names for MS-Windows and MS-DOS.  From Dan Holmsand <dan@eyebee.com>.
+
+2001-05-09  John Wiegley  <johnw@gnu.org>
+
+       * eshell/esh-util.el (eshell-convert-numeric-arguments):
+       Annotated the documentation string to tell users about
+       `eshell-no-numeric-conversions'.
+
+       * eshell/esh-cmd.el (eshell-lisp-command): Don't perform numeric
+       conversions if a Lisp function has the property
+       `eshell-no-numeric-conversions' set to a non-nil value.
+
+       * eshell/em-dirs.el, eshell/em-ls.el, eshell/em-script.el,
+       eshell/em-unix.el, eshell/esh-ext.el, eshell/esh-cmd.el: Set the
+       property `eshell-no-numeric-conversions' on the following
+       functions (which all deal with filesystem entities, and never Lisp
+       numerical values): eshell/cd, eshell/pushd, eshell/popd,
+       eshell/ls, eshell/source, eshell/., eshell/man, eshell/rm,
+       eshell/mkdir, eshell/rmdir, eshell/mv, eshell/cp, eshell/ln,
+       eshell/cat, eshell/make, eshell/diff, eshell/locate, eshell/occur,
+       eshell/which, eshell/addpath.
+
+2001-05-09  John Wiegley  <johnw@gnu.org>
+
+       * eshell/esh-arg.el (eshell-parse-argument-hook): If a number is
+       encountered as an argument, don't convert it right away, but tag
+       the first character of the string with the text properties
+       `number', which signifies to `eshell-lisp-command' that the
+       argument should be passed through `string-to-number' if it is
+       actually used in the call to a Lisp function.
+
+       * eshell/esh-cmd.el (eshell-lisp-command): Before calling a Lisp
+       function, convert any string arguments that have been tagged as
+       "numbers", by calling string-to-number.
+
+       * eshell/esh-util.el (eshell-number-regexp): Now that number
+       conversions only happen for Lisp function calls, the number regexp
+       should now match all integer and floating point forms.
+
+       * eshell/esh-proc.el: Disable `eshell-stop-process' and
+       `eshell-continue-process', since they are both nonfunctional at
+       the moment.
+       (eshell-proc-initialize): Don't bind keys for
+       `eshell-stop-process' or `eshell-continue-process'.
+
+       * eshell/em-unix.el (eshell-shuffle-files):
+       Apply `directory-file-name' before calling `file-name-directory'.
+
+       * eshell/em-hist.el (eshell-add-to-history): Reference to
+       `eshell-history-ring' needed to be `eshell-history-index'.
+
+       * calendar/timeclock.el (timeclock-find-discrep):
+       Initialize `elapsed' to 0.
+       (timeclock-find-discrep): Set `timeclock-last-event-workday' if
+       it's still nil.
+
+2001-05-09  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * arc-mode.el (archive-int-to-mode): Construct the string directly.
+       (archive-mode): Use capitalize.
+       (archive-unique-fname): Use make-temp-file.
+
+2001-05-09  Gerd Moellmann  <gerd@gnu.org>
+
+       * emacs-lisp/lisp-mode.el (lisp-interaction-mode): Doc fix.
+
+2001-05-09  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * tar-mode.el (tar-extract): Pay attention to the value of
+       coding-system-for-read, if it is non-nil.
+
+       * calendar/holidays.el (holidays): Add an autoload cookie.
+       From Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>.
+
+2001-05-08  John Wiegley  <johnw@gnu.org>
+
+       * calendar/timeclock.el (timeclock-workday-remaining):
+       Changed logic for determining how much time is remaining.
+       (timeclock-workday-elapsed): Don't accept a "relative" argument
+       for the current day's elapsed time.  What could that have meant?
+       (timeclock-workday-elapsed-string): No "relative" argument anymore.
+       (timeclock-when-to-leave): Changed logic, similarly to what was
+       done for `timeclock-workday-remaining'.
+       (timeclock-find-discrep): Removed "today-only" argument, which had
+       no meaning.  Fixed some more math problems.  The function now
+       returns a three member list: (TOTAL-TIME-DISCREPANCY
+       TODAYS-TIME-DISCREPANCY TODAYS-ELAPSED-TIME).
+
+2001-05-08  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * w32-fns.el (convert-standard-filename): Start replacing slashes
+       from the beginning of the file name, not from where the last
+       invalid character was.  From "Andrew Maguire (SWW)"
+       <Andrew.Maguire@Smallworld.co.uk>
+
+2001-05-07  MORIOKA Tomohiko  <tomo@m17n.org>
+
+       The following changes are to provide infrastructure for handling
+       MIME messages to rmail.  They don't affect the original behaviour
+       if rmail-enable-mime is nil.
+
+       * mail/rmail.el (rmail-insert-mime-forwarded-message-function)
+       (rmail-search-mime-message-function)
+       (rmail-search-mime-header-function): New variables.
+       (rmail-expunge-and-save): Be sure to set-buffer to the Rmail buffer.
+       (rmail-quit, rmail-get-new-mail): Bury `rmail-buffer' after
+       `rmail-view-buffer' is hidden.
+       (rmail-toggle-header): Likewise.  If rmail-enable-mime is non-nil,
+       call rmai-show-mime-function.
+       (rmail-display-labels): If rmail-enable-mime is non-nil, update
+       mode-line-process of rmail-view-buffer.
+       (rmail-set-attribute): Be sure to set-buffer to the Rmail buffer.
+       (rmail-show-message): Be sure to call rmail-auto-file in the Rmail
+       buffer.
+       (rmail-next-message, rmail-next-undeleted-message): Be sure to
+       set-buffer to the Rmail buffer.
+       (rmail-message-regexp-p): If rmail-enable-mime is non-nil, call
+       rmail-search-mime-header-function.
+       (rmail-search-message): New function.
+       (rmail-search): Call rmail-search-message to check if a message
+       matches REGEXP, lastly update point after calling
+       rmail-show-message.
+       (rmail-undelete-previous-message, rmail-expunge-confirmed)
+       (rmail-only-expunge): Be sure to set-buffer to the Rmail buffer.
+       (rmail-reply): If rmail-enable-mime is non-nil, don't narrow to
+       header region, refer to rmail-msgref-vector while setting the
+       current buffer to rmail-buffer temporarily.
+       (rmail-forward): Be sure to bind forward-buffer to the Rmail buffer.
+       If rmail-enable-mime is non-nil, call
+       rmail-insert-mime-forwarded-message-function instead of inserting
+       forwarded message by itself.
+
+       * mail/rmailkwd.el (rmail-read-label): Be sure to work in the
+       Rmail buffer.
+       (rmail-set-label, rmail-next-labeled-message): Likewise.
+
+       * mail/rmailout.el (rmail-output-read-rmail-file-name): Be sure to
+       set-buffer to the Rmail buffer.
+       (rmail-output-to-rmail-file): Likewise.
+       (rmail-output): Likewise.
+
+       * mail/rmailsum.el (rmail-message-subject-p): Process the result
+       of mail-fetch-field by rmail-summary-line-decoder.
+       (rmail-new-summary): Be sure to go to the Rmail buffer.
+       If rmail-enable-mime is non-nil, set rmail-summary-buffer of
+       rmail-view-buffer to nil.
+       (rmail-summary-undelete): If rmail-enable-mime is non-nil, pop to
+       rmail-view-buffer.
+       (rmail-summary-scroll-msg-up): Handle rmail-view-buffer, not
+       rmail-buffer.
+       (rmail-summary-scroll-msg-down): Likewise.
+       (rmail-summary-beginning-of-message): Likewise.
+       (rmail-summary-wipe): Likewise.
+       (rmail-summary-toggle-header): Use save-window-excursion, not
+       save-excursion.  Update point in rmail-view-buffer, not in
+       rmail-buffer.
+       (rmail-summary-reply): Before calling rmail-reply, set buffer to
+       rmail-view-buffer, not rmail-buffer.
+
+2001-05-07  Gerd Moellmann  <gerd@gnu.org>
+
+       * cus-edit.el (custom-file): Signal an error if user-init-file is
+       nil (running -q).
+
+       * mail/rmailedit.el (rmail-edit-mode-hook): Add :version.
+
+       * mail/smtpmail.el (smtpmail-warn-about-unknown-extensions):
+       Add :version.
+
+       * mail/smtpmail.el (smtpmail-warn-about-unknown-extensions):
+       New option.
+       (smtpmail-via-smtp): Print warnings about unknown SMTP extensions
+       only if smtpmail-warn-about-unknown-extensions is set.
+
+       * mail/rmail.el (rmail-mode-map): Use rmail-sort-by-labels
+       instead of rmail-sort-by-keywords.
+
+       * mail/rmailsort.el (rmail-sort-by-labels): Renamed from
+       rmail-sort-by-keywords.
+
+       * mail/rmailsum.el (rmail-summary-sort-by-labels): Renamed from
+       rmail-summary-sort-by-keywords.  Doc fix.
+       (rmail-summary-mode): Doc fix.
+
+       * mail/rmail.el (rmail-edit): New Custom group.
+
+       * mail/rmailedit.el (rmail-edit-mode): Doc fix.
+       (rmail-edit-mode-hook): New user-option.
+
+2001-05-05  Richard M. Stallman  <rms@gnu.org>
+
+       * help.el (help-xref-symbol-regexp): Recognize "source of"
+       and friends, meaning make a link to the source file.
+       (help-make-xrefs): Handle "source of" and friends
+       by constructing a link that visits the source file.
+
+       * dabbrev.el (dabbrev-select-buffers-function): Doc fix.
+
+2001-05-04  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * progmodes/cperl-mode.el (cperl-font-lock-keywords)
+       (cperl-font-lock-keywords-1, cperl-font-lock-keywords-2):
+       Renamed from perl-font-lock-keywords to avoid clashes.
+       (cperl-mode, cperl-load-font-lock-keywords, cperl-init-faces)
+       (cperl-load-font-lock-keywords-1, cperl-load-font-lock-keywords-2):
+       Updated correspondingly.
+
+       * diff-mode.el (diff-nonexistent-face, diff-font-lock-keywords):
+       Typo `nonexistant' -> `nonexistent'.
+
+2001-05-04  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * cc-cmds.el (c-electric-delete, c-electric-delete-forward):
+       Split `c-electric-delete' into two functions where
+       `c-electric-delete-forward' always deletes forward and
+       `c-electric-delete' only contains the code necessary for XEmacs to
+       choose between backward and forward deletion.
+
+       * cc-mode.el: `c-electric-delete-forward' is now bound to C-d to
+       get the electric behavior on that key too.
+       (c-fill-paragraph): Fixed bogus direct use of
+       c-comment-prefix-regexp, which caused an error when it's a list.
+
 2001-05-03  Eli Zaretskii  <eliz@is.elta.co.il>
 
        * dired-aux.el (dired-diff): Doc fix.
 
 2001-05-02  Stefan Monnier  <monnier@cs.yale.edu>
 
+       * vc.el (vc-next-action-on-file): Only force buffer+file to writable
+       if both the buffer and the file are read-only.
+
        * progmodes/sh-script.el (sh-prev-line): Look for sh-heredoc-face
        rather than font-lock-string-face.
        (sh-get-indent-info): Treat heredocs like strings.
 
        * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
        allow more flexibility.
-       (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
-       fns.
+       (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New fns.
        (easy-mmode-defmap, easy-mmode-defsyntax)
        (easy-mmode-define-derived-mode): New macros.
 
 
 2000-03-09  Dave Love  <fx@gnu.org>
 
-       * progmodes/fortran.el (fortran-comment-line-start): Define as
-       "C".
+       * progmodes/fortran.el (fortran-comment-line-start): Define as "C".
        (fortran-comment-line-start-skip): Don't match cpp stuff.
        (font-lock-keywords): Add * to comment-chars.  Grok cpp stuff.
        (fortran-mode-map): Remove over-eager custom-menu-create for now.
        * recentf.el (recentf-keep-non-readable-files-p): Add :set,
        :require to defcustom.
 
-       * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
-       lists.
+       * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads lists.
 
        * files.el (auto-mode-alist): Add configure.in.
 
 
 2000-03-07  Dave Love  <fx@gnu.org>
 
-       * winner.el: Fix keywords, autoload cookies.  Split
-       eval-when-compile form to avoid compilation failure.
+       * winner.el: Fix keywords, autoload cookies.
+       Split eval-when-compile form to avoid compilation failure.
 
 2000-03-07  Miyashita Hisashi  <himi@bird.scphys.kyoto-u.ac.jp>
 
        (make-coding-system): New argument EOL-TYPE.  Pay attention to
        coding-category property of PROPERTIES.
 
-       * international/mule-conf.el (coding-category-utf-8,
-       coding-category-utf-16-be, coding-category-utf-16-le): New coding
+       * international/mule-conf.el (coding-category-utf-8)
+       (coding-category-utf-16-be, coding-category-utf-16-le): New coding
        categories.  Include them in the argument for set-coding-priority.
 
-       * international/mule-cmds.el (reset-language-environment): Include
-       coding-category-utf-8, coding-category-utf-16-be, and
+       * international/mule-cmds.el (reset-language-environment):
+       Include coding-category-utf-8, coding-category-utf-16-be, and
        coding-category-utf-16-le in the argument for set-coding-priority.
        (reset-language-environment): Initialize coding-category-utf-8,
        coding-category-utf-16-be, and coding-category-utf-16-le to nil.
 
 2000-03-02  Gerd Moellmann  <gerd@gnu.org>
 
-       * time.el (display-time-mail-file): Add `none' to the list of
-       choices.
+       * time.el (display-time-mail-file): Add `none' to the list of choices.
 
 2000-03-01  Dave Love  <fx@gnu.org>
 
        * help.el (help-xref-go-back): Don't try to set position.
 
-       * international/mule-diag.el (list-character-sets): Call
-       help-setup-xref.  Add help-echo to xrefs.
+       * international/mule-diag.el (list-character-sets):
+       Call help-setup-xref.  Add help-echo to xrefs.
        (list-character-sets-1): Add help-echo to xrefs.
 
 2000-03-02  Gerd Moellmann  <gerd@gnu.org>
        * help.el (help-xref-button): Add help-echo arg.
        (describe-function-1, describe-variable, help-make-xrefs): Use it.
 
-       * faces.el (list-faces-display): Supply help-echo with
-       help-make-xrefs.
+       * faces.el (list-faces-display): Supply help-echo with help-make-xrefs.
 
-       * facemenu.el (list-text-properties-at): Set help-xref-stack to
-       nil.
+       * facemenu.el (list-text-properties-at): Set help-xref-stack to nil.
 
 2000-03-01  Gerd Moellmann  <gerd@gnu.org>
 
        * image.el (defimage): Look for image files in load-path.
 
-       * frame.el (busy-cursor-delay-seconds): Change type to
-       `number'.
+       * frame.el (busy-cursor-delay-seconds): Change type to `number'.
 
 2000-03-01  David Ponce  <david.ponce@wanadoo.fr>
 
-       * recentf.el (recentf): Added version tag to the defgroup of
-       recentf.
+       * recentf.el (recentf): Added version tag to the defgroup of recentf.
 
 2000-03-01  David Ponce  <david.ponce@wanadoo.fr>
 
-       * recentf.el (recentf-cleanup): Changed to remove excluded file
-       too.
+       * recentf.el (recentf-cleanup): Changed to remove excluded file too.
        (recentf-edit-list-action): `recentf-edit-list' checkbox widget
        action to select/unselect a file.
        (recentf-edit-list): Code cleanup and improvement.
        (recentf-open-more-files-action): `recentf-open-more-files' button
        widget action to open a file.
-       (recentf-open-more-files): No more use standard completion but
-       widgets.
+       (recentf-open-more-files): No more use standard completion but widgets.
        (recentf-more-collection): Deleted.
        (recentf-more-history): Deleted.
        (recentf-setup-more-completion): Deleted.
        * recentf.el (recentf-mode): No more needs that Emacs is running
        under a window-system.
 
-1999-03-01  David Ponce  <david.ponce@wanadoo.fr>
+2000-03-01  David Ponce  <david.ponce@wanadoo.fr>
 
        * recentf.el (recentf-edit-list): New command to edit the recent
        list which allow the user to remove files.
        (recentf-make-menu-items): Updated to display a "Edit list..."
        menu item.  Minor code cleanup.
 
-1999-03-01  David Ponce  <david.ponce@wanadoo.fr>
+2000-03-01  David Ponce  <david.ponce@wanadoo.fr>
 
        * recentf.el (recentf-open-more-files): New command to open files
        that are not displayed in the menu.
        `recentf-open-more-files'.
        (recentf-make-menu-items): Updated to display a "More..." menu item.
 
-1999-03-01  David Ponce  <david.ponce@wanadoo.fr>
+2000-03-01  David Ponce  <david.ponce@wanadoo.fr>
 
        * recentf.el (recentf-menu-action): Doc fixed.
 
-1999-03-01  David Ponce  <david.ponce@wanadoo.fr>
+2000-03-01  David Ponce  <david.ponce@wanadoo.fr>
 
        * recentf.el (recentf-menu-filter): Doc updated.
        (recentf-update-menu-hook): Allow menu filters to force menu update.
 
 2000-02-29  Kenichi Handa  <handa@etl.go.jp>
 
-       * international/mule-diag.el (list-character-sets): Completely
-       rewritten.
+       * international/mule-diag.el (list-character-sets):
+       Completely rewritten.
        (sort-listed-character-sets): New function.
        (list-character-sets-1): Completely rewritten.
        (list-character-sets-2): New function.