(Fdelete_and_extract_region): If region is empty, return null string.
[bpt/emacs.git] / lisp / ChangeLog
index f71d680..902a5e2 100644 (file)
@@ -1,3 +1,377 @@
+2004-10-19  Richard M. Stallman  <rms@gnu.org>
+
+       * textmodes/flyspell.el (flyspell-mode): Doc fix.
+
+       * eshell/em-unix.el (eshell-grep):
+       Don't bind compilation-process-setup-function.
+
+       * comint.el (comint-insert-input): Use @ in `interactive'.
+       (comint-input-filter-functions): Doc fix.
+       (comint-kill-whole-line, comint-get-source): Doc fix.
+
+       * progmodes/compile.el (compilation-setup):
+       Don't set buffer-read-only if MINOR is non-nil.
+
+2004-10-19  Ulf Jasper  <ulf.jasper@web.de>
+
+       * calendar/icalendar.el: Set coding to utf-8.
+       (icalendar-version): Increase to 0.07.
+       (icalendar-monthnumber-table): Change March pattern.
+       (icalendar-get-all-event-properties)
+       (icalendar-set-event-property): Delete.
+       (icalendar-all-events): No longer interactive.
+       (icalendar-convert-diary-to-ical)
+       (icalendar-extract-ical-from-buffer): Make obsolete, and alias to
+       their replacements.
+       (icalendar-export-file, icalendar-export-region): New functions;
+       essentially old `icalendar-convert-diary-to-ical' but appending to
+       target rather than overwriting.
+       (icalendar-import-file): Append to target file rather than
+       overwriting.  Fourth arg deleted.
+       (icalendar-import-buffer): New name for old
+       `icalendar-extract-ical-from-buffer'.
+       (icalendar--convert-string-for-import): New name for
+       old `icalendar-convert-for-import'.
+       (include-icalendar-files): Delete.
+       Prefix for all internal functions changed from `icalendar-'
+       to `icalendar--'.
+
+2004-10-19  Richard M. Stallman  <rms@gnu.org>
+
+       * paths.el (news-path): Fix previous change.
+
+2004-10-18  David Ponce  <david@dponce.com>
+
+       * mouse.el (mouse-drag-move-window-top): New function.
+       (mouse-drag-mode-line-1): Use it.
+
+2004-10-18  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * info.el (Info-fontify-node): For multiline refs,
+       arrange to unfontify newline and surrounding whitespace.
+
+2004-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * vc-arch.el (vc-arch-workfile-version): Don't burp if the patch-log
+       directory is missing.
+
+2004-10-17  John Paul Wallington  <jpw@gnu.org>
+
+       * ibuffer.el (ibuffer-default-display-maybe-show-predicates):
+       New customizable variable; whether to display buffers that match
+       `ibuffer-maybe-show-predicates' by default.
+       (ibuffer-maybe-show-predicates): Mention it in docstring.
+       (ibuffer-display-maybe-show-predicates): New variable.
+       (ibuffer-update): Prefix arg now toggles whether buffers that
+       match `ibuffer-maybe-show-predicates' should be displayed.
+       (ibuffer-mode): Set `ibuffer-display-maybe-show-predicates'
+       locally to heed `ibuffer-default-display-maybe-show-predicates'.
+       (ibuffer-redisplay-engine): Rename optional second arg to `ignore'.
+
+2004-10-17  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el: Redo sync with Tramp 2.0.45.  Last commit did not
+       work correctly.
+
+2004-10-17  Daniel Pfeiffer  <occitan@esperanto.org>
+
+       * buff-menu.el (Buffer-menu-revert-function): Emulate save-excursion.
+       (Buffer-menu-beginning): New helper function.
+       (Buffer-menu-execute): Use it.
+       (Buffer-menu-select): Use it.
+       (Buffer-menu-sort): Use it and also keep markers.
+
+2004-10-17  Richard M. Stallman  <rms@gnu.org>
+
+       * paths.el (news-directory): Rename from news-path.  Old name alias.
+       (rmail-spool-directory): Use defvar.
+       (sendmail-program): Use defcustom.
+       (remote-shell-program): Use defcustom.
+       (term-file-prefix): Use defvar.
+       (abbrev-file-name): Use defvar.
+
+       * term.el: Add maintainer.
+
+       * subr.el (with-local-quit): Return nil if there's a quit.
+       (read-passwd): Use with-local-quit.  Doc fix.
+
+       * strokes.el (strokes-list-strokes): Don't try to delete char at eob.
+       (strokes-unload-hook): Set as a variable with add-hook.
+
+       * startup.el (fancy-splash-tail, normal-splash-screen):
+       Update copyright year.
+
+       * shadowfile.el (shadowfile-unload-hook): Set as variable w/ add-hook.
+
+       * server.el (server-unload-hook): Set as a variable with add-hook.
+
+       * help-at-pt.el (help-at-pt-unload-hook): Use add-hook; no defvar.
+
+       * frame.el (special-display-popup-frame):
+       Make the buffer current as its frame is created.
+
+       * delsel.el (delsel-unload-hook): Set as a variable.
+
+       * comint.el (comint-output-filter-functions):
+       Add comint-watch-for-password-prompt.
+       (comint-read-noecho): Function deleted.
+       (send-invisible): Use read-passwd.
+
+       * fringe.el (fringe-mode-initialize): New function.
+       (fringe-mode): Use fringe-mode-initialize as :initialize.
+
+2004-10-17  Kim F. Storm  <storm@cua.dk>
+
+       * language/indian.el (indian-script-language-alist): Swap value and doc.
+       (indian-font-char-index-table): Doc fix.
+
+2004-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * vc-hooks.el (vc-find-file-hook): Call vc-backend with absolute name.
+
+2004-10-16  Juri Linkov  <juri@jurta.org>
+
+       * progmodes/compile.el (compilation-start): Move let-binding of
+       `process-environment' into `with-current-buffer' body.
+       Reported by Matt Hodges <MPHodges@member.fsf.org>.
+
+2004-10-16  Richard M. Stallman  <rms@gnu.org>
+
+       * pcvs-util.el (cvs-bury-buffer):
+       Don't call get-buffer-window for effect.
+
+       * outline.el (hide-other): Call outline-up-heading with INVISIBLE-OK=t.
+
+       * newcomment.el (comment-auto-fill-only-comments): Add autoload.
+
+       * msb.el (msb-unload-hook): Set the variable.
+
+       * mouse.el (mouse-yank-at-click, mouse-yank-secondary):
+       Use * to err if buffer is readonly.
+
+       * subr.el (looking-back): Return only t or nil.
+
+       * whitespace.el (whitespace-unload-hook): Set the variable.
+
+       * view.el (view-mode-enable): Set view-page-size and
+       view-half-page-size to nil.
+       (view-set-half-page-size-default): view-half-page-size = nil
+       means the default.
+       (View-scroll-page-forward): Use view-page-size-default.
+       (View-scroll-page-backward): Likewise.
+       (view-page-size, view-half-page-size): Doc fixes.
+
+       * emacs-lisp/elp.el (elp-unload-hook): Set the variable.
+
+       * emacs-lisp/cl.el (cl-unload-hook): Don't defvar it, just set it.
+
+       * emacs-lisp/bytecomp.el (byte-compile-eval): Don't process
+       "cl" like other files.  Instead, call byte-compile-find-cl-functions.
+       (byte-compile-log-1): Bind inhibit-read-only.
+       (byte-compile-warning-prefix, byte-compile-log-file): Likewise.
+       (byte-compile-log-warning): Likewise.
+       (byte-compile-file-form-require): Detect "cl" from the arg value.
+
+       * progmodes/compile.el (compilation-start): Assume compilation-mode
+       will make the buffer read-only.
+       (compilation-mode): Take arg name-of-mode.
+       (compilation-setup): Make buffer read-only.
+       (compilation-handle-exit): Bind inhibit-read-only.
+
+       * textmodes/ispell.el (ispell-command-loop): Use with-no-warnings.
+       (ispell-message): Likewise.
+       (ispell-show-choices): Don't call get-buffer-window uselessly.
+       (ispell-init-process): Use set-process-query-on-exit-flag.
+
+2004-10-16  Kim F. Storm  <storm@cua.dk>
+
+       * fringe.el (fringe-bitmaps): Only initialize when defined.
+
+       * pcvs.el (cvs-mode-view-file, cvs-mode-view-file-other-window): Add.
+       (cvs-mode-find-file): Add optional `view' arg to enter view mode.
+
+       * pcvs-defs.el (cvs-mode-map): Bind v to cvs-mode-view-file.
+
+2004-10-15  Simon Josefsson  <jas@extundo.com>
+
+       * net/password.el: Add.
+
+2004-10-13  Daniel Pfeiffer  <occitan@esperanto.org>
+
+       * button.el (button-activate): Allow a marker to display as an action.
+
+       * help-fns.el (describe-variable): Use it to make "below" a hyperlink.
+
+       * help.el (describe-mode): Use it to make minor mode list into
+       hyperlinks.
+
+2004-10-14  Masatake YAMATO  <jet@gyve.org>
+
+       * progmodes/gud.el (gdb-script-beginning-of-defun): New function.
+       (gdb-script-end-of-defun): New function.
+       (gdb-script-mode): Use `gdb-script-beginning-of-defun' and
+       `gdb-script-end-of-defun' as *-of-defun-function.
+
+2004-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * vc.el (vc-annotate-display-select): Fix typo.
+
+       * subr.el (substitute-key-definition-key): New function.
+       (substitute-key-definition): Use it with map-keymap.
+       (event-modifiers): Use push.
+       (mouse-movement-p, with-temp-buffer): Simplify.
+
+2004-10-12  Richard M. Stallman  <rms@gnu.org>
+
+       * info-look.el (info-lookup-file): Add info-file property.
+       (info-lookup-symbol): Likewise.
+
+       * info.el (info-xref): Add underlining.
+       (info): Add info-file property.
+       (Info-find-emacs-command-nodes): Specify case-sensitive search.
+
+2004-10-12  Michael Albinus  <michael.albinus@gmx.de>
+
+       Sync with Tramp 2.0.45.
+
+       * net/tramp.el (top): Apply `def-edebug-spec' only if function is
+       defined.  This is not the case for XEmacs without package "edebug".
+       (tramp-set-auto-save-file-modes): Set permissions of autosaved
+       remote files to the permissions of the original file.  This is not
+       the case for Emacs < 21.3.50 and XEmacs < 21.5.  Add function to
+       `auto-save-hook'.  Reported by Thomas Prokosch <thomas@nadev.net>.
+       (tramp-perl-decode): Fix an error in Perl implementation.
+       $pending must be cleared every loop.  Reported by Benjamin Place
+       <benjaminplace@sprintmail.com>
+
+       * net/tramp-smb.el (tramp-smb-advice-PC-do-completion):
+       Don't activate advice during definition.  This is done later on,
+       depending on test result of `substitute-in-file-name'.
+       Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
+
+2004-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * pcvs-parse.el (cvs-parse-commit): Fix parsing for new commit message.
+
+       * emacs-lisp/lisp.el (mark-sexp): Preserve direction when repeating.
+
+2004-10-12  David Ponce  <david@dponce.com>
+
+       * recentf.el (recentf-edit-list): Update the menu when the recentf
+       list has been modified.
+
+2004-10-12  Simon Josefsson  <jas@extundo.com>
+
+       * net/tls.el (tls-certtool-program): New variable.
+       (tls-certificate-information): New function, based on
+       ssl-certificate-information.
+
+2004-10-12  Kenichi Handa  <handa@m17n.org>
+
+       * international/mule.el (coding-system-equal): Move from mule-util.el.
+
+       * international/mule-util.el (coding-system-equal): Move to mule.el.
+
+2004-10-12  Kim F. Storm  <storm@cua.dk>
+
+       * kmacro.el (kmacro-insert-counter, kmacro-add-counter): Use and
+       reset kmacro-initial-counter-value if set.
+       (kmacro-set-counter): Only set kmacro-counter if defining or executing
+       macro.  Set kmacro-initial-counter-value otherwise. Never set both.
+       (kmacro-display): Show macro counter if non-zero.
+
+       * subr.el (substitute-key-definition): Mention command remapping
+       in doc string.
+
+2004-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * pcvs-defs.el (pcl-cvs-load-hook): Remove unused var.
+
+       * font-lock.el (font-lock-apply-highlight): Fix last change.
+
+2004-10-11  Simon Josefsson  <jas@extundo.com>
+
+       * mail/smtpmail.el (smtpmail-open-stream): Look for
+       starttls-gnutls-program instead of starttls-program iff
+       starttls-use-gnutls is non-nil.
+       (smtpmail-open-stream): Don't overwrite user settings of
+       starttls-extra-arguments and starttls-extra-args.
+
+2004-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * comint.el (comint-mouse-insert-input): Remove.
+       (comint-insert-input): Make it work for mouse bindings.
+       (comint-mode-map): Move defs into the declaration.
+       (comint-output-filter): Typo.
+
+       * diff-mode.el (diff-current-defun): Fix 2004-06-13's change.
+
+2004-10-10  Kai Grossjohann  <kai.grossjohann@gmx.net>
+
+       * net/ange-ftp.el (ange-ftp-remote-shell): Remove variable.
+       (ange-ftp-call-chmod): Reference remote-shell-program instead of
+       ange-ftp-remote-shell.
+
+2004-10-10  Andreas Schwab  <schwab@suse.de>
+
+       * emacs-lisp/byte-opt.el (byte-optimize-backward-word): Optimize
+       `(backward-word)' to `(forward-word -1)', not `(forward-char -1)'.
+       Reported by <sri@asu.edu>.
+
+2004-10-10  Benjamin Rutt  <brutt@bloomington.in.us>
+
+       * vc.el (vc-annotate-mode): Remove variable.
+       (vc-annotate-display-select): Only call vc-annotate-mode
+       if we're not in that mode already.
+
+2004-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * imenu.el (imenu--completion-buffer): Don't return t for rescan.
+       (imenu-choose-buffer-index): Check here for rescan instead.
+
+       * font-lock.el (font-lock-apply-highlight): Explicitly check the case
+       where the face expression evals to nil.
+
+       * textmodes/tex-mode.el (tex-font-lock-append-prop): New fun.
+       (tex-font-lock-keywords-2): Use it.
+       (tex-font-lock-syntactic-keywords): Fix the `verbatim' treatment.
+
+       * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Fix backslashes.
+
+2004-10-09  Kim F. Storm  <storm@cua.dk>
+
+       * subr.el (progress-reporter-update): Define before first usage.
+       (make-progress-reporter): Doc fix.
+
+2004-10-09  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * textmodes/paragraphs.el (sentence-end-double-space)
+       (sentence-end-without-period, sentence-end-without-space)
+       (sentence-end): Doc fixes.
+
+2004-10-08  Peter Seibel  <peter@javamonkey.com>  (tiny change)
+
+       * emacs-lisp/lisp-mode.el (lisp-fill-paragraph):
+       Change paragraph-start regexp so we don't fill code starting with #'(.
+
+2004-10-08  Sebastien Kirche  <seki@seki.fr>  (tiny change)
+
+       * mail/mail-extr.el (mail-extr-ignore-realname-equals-mailbox-name):
+       New defcustom.
+       (extract-address-components): Use it.
+
+2004-10-08  Paul Pogonyshev  <pogonyshev@gmx.net>
+
+       * subr.el (make-progress-reporter, progress-reporter-update)
+       (progress-reporter-force-update, progress-reporter-do-update)
+       (progress-reporter-done): New functions.
+
+       * tar-mode.el (tar-summarize-buffer): Use progress reporter.
+
+       * progmodes/etags.el (etags-tags-completion-table): Use progress
+       reporter.
+       (etags-tags-apropos): Likewise.
+
 2004-10-08  Alan Mackenzie  <acm@muc.de>
 
        * isearch.el (isearch-yank-line): C-y yanks to next EOL, not end
 
 2004-10-08  Masatake YAMATO  <jet@gyve.org>
 
-       * server.el (server-process-filter): Wrap `process-send-region' 
-       by `condition-case' to guard the case when the pipe to PROC is 
-       closed.
+       * server.el (server-process-filter): Wrap `process-send-region'
+       by `condition-case' to guard the case when the pipe to PROC is closed.
 
 2004-10-07  Mark A. Hershberger  <mah@everybody.org>
 
-       * xml.el (xml-substitute-special): Limit handling of external
-       entities.
+       * xml.el (xml-substitute-special): Limit handling of external entities.
 
 2004-10-06  Nick Roberts  <nickrob@snap.net.nz>
 
 2004-10-05  Juri Linkov  <juri@jurta.org>
 
        * isearch.el (isearch-done): Set mark after running hook.
-       Suggested by Drew Adams <drew.adams@oracle.com>.
+       Reported by Drew Adams <drew.adams@oracle.com>.
 
        * info.el (Info-history, Info-toc): Fix Info headers.
        (Info-toc): Narrow buffer before Info-fontify-node.
 
 2004-10-04  Luc Teirlinck  <teirllm@auburn.edu>
 
-       * textmodes/enriched.el (enriched-mode-map): Give
-       `set-left-margin' and `set-right-margin' bindings that follow the
-       minor mode conventions.
+       * textmodes/enriched.el (enriched-mode-map): Give `set-left-margin' and
+       `set-right-margin' bindings that follow the minor mode conventions.
 
-2004-10-03  Stefan  <monnier@iro.umontreal.ca>
+2004-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * textmodes/tex-mode.el (tex-dvi-view-command): Use `yap' on w32.
        (tex-font-lock-keywords-1): Add url and nolinkurl for args with `_'.
        * diff-mode.el (diff-file-header-re): Tighten up regexp a tiny bit.
        (diff-fixup-modifs): Catch unified-diff file-headers.
 
-2004-09-28  Stefan  <monnier@iro.umontreal.ca>
+2004-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * dired.el (dired-view-command-alist): Use more efficient regexps.
        Remove dubious arguments.
        (pr-delete-file): Check if file exists before deleting it.
        Reported by Lennart Borgman <lennart.borgman.073@student.lu.se>.
 
-2004-09-26  Stefan  <monnier@iro.umontreal.ca>
+2004-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * term.el (term-display-table): New variable.
        (term-mode): Use it.
        (term-stop-output-log): Rename from `term-stop-photo'.
        (term-switch-to-alternate-sub-buffer): Comment out, unused.
 
-2004-09-25  Stefan  <monnier@iro.umontreal.ca>
+2004-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * dired.el (dired-move-to-filename): Don't output a message if
        raise-error is non-nil.  Fix return position and value.
        * progmodes/sh-script.el (sh-mode-default-syntax-table): Set syntax
        of = to "." (punctuation).
 
-2004-09-19  Stefan  <monnier@iro.umontreal.ca>
+2004-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * subr.el (event-basic-type): Fix mask (extend to 22bits).