Alex Schroeder [Tue, 17 Jan 2006 10:03:12 +0000 (10:03 +0000)]
(rmail-summary-by-labels): No longer concatenate
regexp with commas because of recent change to
rmail-message-labels-p.
(rmail-summary-rmail-update): Replace rmail-message-labels-p test
with simple rmail-desc-get-keywords.
Alex Schroeder [Tue, 17 Jan 2006 09:36:49 +0000 (09:36 +0000)]
(rmail-summary-font-lock-keywords): Fix regular
expression for unread messages.
(rmail-summary-mode): Added documentation for the filtering
commands.
(rmail-summary-mode-map): Added keybinding for
rmail-summary-by-sender.
(rmail-summary-get-summary): Don't show attributes, only
user-defined keywords.
Henrik Enberg [Tue, 17 Jan 2006 02:34:35 +0000 (02:34 +0000)]
(rmail-output-read-file-name): Make sure search in executed in `rmail-buffer'.
(rmail-output-to-rmail-file): Use `rmail-output-read-file-name'.
(rmail-output-read-rmail-file-name): Deleted.
Alex Schroeder [Mon, 16 Jan 2006 22:22:44 +0000 (22:22 +0000)]
(rmail-nuke-pinhead-header, rmail-reformat-message)
(rmail-msg-restore-non-pruned-header, rmail-msg-prune-header):
Deleted.
(rmail-narrow-to-header): Fix typo, error if we cannot find the
end of the headers.
Alex Schroeder [Mon, 16 Jan 2006 22:18:44 +0000 (22:18 +0000)]
(rmail-message-subject-p, rmail-message-senders-p):
Use mail-fetch-field instead of mail-header-get-header.
(rmail-summary-next-same-subject): Simplify.
Henrik Enberg [Mon, 16 Jan 2006 21:06:36 +0000 (21:06 +0000)]
(rmail-new-summary): Make sure summary buffer is current when selecting message.
(rmail-summary-browse-body): Deleted.
(rmail-summary-rmail-update, rmail-summary-get-message-at-point,
rmail-summary-goto-msg): Use string-to-number.
(rmail-summary-toggle-header, rmail-summary-add-label,
rmail-summary-kill-label): Use with-current-buffer.
(rmail-summary-previous-msg): Add docstring.
Alex Schroeder [Mon, 16 Jan 2006 18:59:29 +0000 (18:59 +0000)]
(rmail-ignored-headers): Merged several terms using
grouping, added simple "from " (without a colon), and several
other headers.
(rmail): Automatically convert BABYL files to mbox files.
(rmail-decode-babyl-format): Deleted, since conversion is handled
by unrmail.
Alex Schroeder [Mon, 16 Jan 2006 17:50:30 +0000 (17:50 +0000)]
(unrmail): Use regular expression search to find
message separators such that the fake separators inserted by
rmime.el are not matched. The sections added by rmime.el are
removed.
Mostly rewritten. Parses the file directly and converts.
(batch-convert-babyl, convert-babyl-file, decode-babyl-file)
(decode-babyl): New functions.
(unrmail, batch-unrmail): Now aliases.
(rmail-make-summary-line): Function deleted.
(rmail-new-summary): Make it work once again as in old version.
(rmail-summary-get-summary): Call rmail-summary-line-decoder.
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.