Paul Reilly [Sat, 22 Feb 2003 15:37:59 +0000 (15:37 +0000)]
Add patches from Eli Tziperman <eli@beach.weizmann.ac.il>, and John Paul
Wallington <jpw@gnu.org>
Avoid loading CL at runtime.
(vm-use-spam-filter.el, spam-filter-working-with-vm): Add support for
use by VM.
(rmail-spam-filter-min-region-length-added-to-spam-list): New
variable.
(rmail-spam-filter): Do not assume the message is narrowed, do it
explicitly using the rmail message descriptor; use `rmail-output'
instead of `rmail-output-to-rmail-file'; take into account the state
of the `rmail-delete-after-output' variable.
Paul Reilly [Sat, 15 Feb 2003 17:13:03 +0000 (17:13 +0000)]
Commentary: Add text.
History: Add header and mbox item.
Overhaul summary buffer movement.
(rmail-summary-font-lock-keywords): Compress the attribute character
display field by one character.
(rmail-new-summary): Rewrite.
(rmail-make-summary-line-1): Slight rewrite to deal with small changes
in the summary format.
(rmail-make-basic-summary-line): Use the rmail message vector.
(rmail-summary-next-msg): Rewrite.
(rmail-summary-next-labeled-message): Set the summary buffer copy of
the rmail-current-message to force the display to show it.
(rmail-summary-next-same-subject): Rewrite.
(rmail-summary-delete-forward): Remove some questionable code and make
summary buffer movement explicit.
(rmail-summary-mark-deleted): Make sure to reflect the deletion for
the Rmail buffer.
(rmail-summary-deleted-p): Rewrite.
(rmail-summary-undelete-many): Set the summary buffer copy of
the rmail-current-message to force the display to show it.
(rmail-summary-rmail-update): Rewrite.
(rmail-summary-mode-map): Use "B" to send the message body to a
browser; use (rmail-summary-output) instead of
(rmail-summary-output-to-rmail-file). Similarly for the menu item.
(rmail-summary-mouse-goto-msg): Set the summary buffer copy of the
rmail-current-message to force the display to show it.
(rmail-summary-get-message-at-point): New function.
(rmail-unix-mail-delimiter): Updated comment, anchored the "From"
string to the beginning of the line.
(rmail): Do not convert the buffer to Babyl format; Add support for
initializing and getting mbox format mail
(rmail-insert-rmail-file-header): Replace the Babyl identifier text
with an X-BABYL mail header.
(rmail-initialize-message): New function.
(rmail-url-map): Use "B" to send a mail message body to a browser; Map
"j" to (rmail-message) rather than (rmail-show-message); Map "o" to
(rmail-output) rather than (rmail-output-to-rmail-file); Add support
for handling embedded URLs.
(rmail-mode-map): Map the "Output (inbox)" menubar item to use
rmail-output.
(rmail-revert): Do not convert to Babyl 5 format; Use the new
initialization function.
(rmail-expunge-and-save): Use (rmail-display-summary-maybe).
(rmail-display-summary-maybe): New function.
(rmail-duplicate-message): Use the new rmail message descriptor to
access the message start and end positions.
(rmail-construct-io-menu): Use (rmail-output) instead of
(rmail-output-to-rmail-file).
(rmail-get-new-mail): Do not do a partial initialization; add a local
variable: 'current-message'; remove local variable 'success'; overhaul
the Babyl 5 specific parts.
(rmail-msg-is-pruned): Rewrite using the rmail message descriptor.
(rmail-toggle-header): Complete rewrite.
(rmail-narrow-to-non-pruned-header): Use the rmail message descriptor.
(rmail-message-deleted-p, rmail-delete-message,
rmail-undelete-previous-message, rmail-delete-forward, rmail-forward):
Use the rmail message descriptor.
(rmail-only-expunge, rmail-expunge): Rewrite.
(rmail-reply): Rewrite.
(rmail-narrow-to-message): New function.
(rmail-activate-urls, rmail-visit-url-at-mouse,
rmail-visit-url-at-point, rmail-browse-body, rmail-get-sender): New
functions.
Stefan Monnier [Thu, 13 Feb 2003 20:06:36 +0000 (20:06 +0000)]
(sort-coding-systems): Use \'.
(select-safe-coding-system): Remove redundant assq check.
Remove raw-text, emacs-mule and no-conversion from the list of
proposed encodings unless there's nothing else.
Kim F. Storm [Thu, 13 Feb 2003 12:44:57 +0000 (12:44 +0000)]
(read_escape): Interpret \s as a SPACE character, except
for \s-X in a character constant which still is the super modifier.
(read1): Signal an `invalid read syntax' error if a character
constant is immediately followed by a digit or symbol character.
Change the policy of background/foreground default color.
(ps-print-version): New version number (6.5.9).
(ps-default-fg, ps-default-bg): Adjust default value.
(ps-begin-file, ps-begin-job): ps-default-fg and ps-default-bg variables now use
`t' to indicate the use of Emacs session background/foreground color.
(ps-output-string-prim): If index out of range, insert hexadecimal
representation of character.
(makefile-font-lock-keywords): Fontify single character variable references, but
protect shell variables references.
(makefile-mode): Make `$' be punctuation in font-lock-defaults.
(diary-attrtype-convert): Convert an attribute value string to the desired type.
(diary-pull-attrs): New function that pulls the attributes off a diary entry,
merges with file-global attributes, and returns the (possibly modified) entry
and a list of attribute/values using diary-attrtype-convert above.
(list-diary-entries, fancy-diary-display, show-all-diary-entries)
(mark-diary-entries, mark-sexp-diary-entries, list-sexp-diary-entries): Add
handling of file-global attributes, add handling of entry attributes using
diary-pull-attrs above.
(mark-calendar-days-named, mark-calendar-days-named, mark-calendar-date-pattern)
(mark-calendar-month, add-to-diary-list): Add optional paramater `color' for
passing face attribute info through the callchain. Pass this parameter around.
(diary-face-attrs): New custom.
(diary-file-name-prefix-function): New custom.
(diary-glob-file-regexp-prefix): New custom.
(diary-file-name-prefix): New custom.
(generate-calendar-window): Check that font-lock-mode is bound before checking
value.
(mark-visible-calendar-date): Add the ability to pass face attribute/value pairs
in the mark argument. Handle the mark.
Stefan Monnier [Tue, 11 Feb 2003 21:00:58 +0000 (21:00 +0000)]
(info-xref-check): Use line-beginning-position.
(info-xref-all-info-files): Cons a bit less.
(info-xref-check-buffer): Use push and replace-regexp-in-string.
(info-xref-output): Call insert only once.
(info-xref-whitespace): Remove.
Stefan Monnier [Tue, 11 Feb 2003 00:44:08 +0000 (00:44 +0000)]
(pages-directory-mode-map): New.
(pages-directory-map): Redefine as an varalias.
(pages-directory-mode): Use new map var and run mode hook.
(pages-directory-address-mode): Use define-derived-mode.
Stefan Monnier [Tue, 11 Feb 2003 00:11:55 +0000 (00:11 +0000)]
(eldoc-echo-area-multiline-supported-p, eldoc-use-idle-timer-p): Remove.
(timer): Never require. It only works in current Emacs anyway.
(eldoc-mode, eldoc-message, eldoc-display-message-p)
(eldoc-docstring-format-sym-doc, eldoc-remove-command): Simplify.