Glenn Morris
a8d4467bf8
(sc-mail-glom-frame): Handle a "From " line at the start of the headers.
...
(sc-mail-check-from): New function.
2009-02-21 03:14:04 +00:00
Glenn Morris
bd26454c24
Comment.
2009-02-20 05:07:49 +00:00
Glenn Morris
788c1fc9e1
(rmail-speedbar-buttons): Only add regular files.
...
(rmail-speedbar-find-file): Use rmail rather than find-file.
2009-02-20 04:35:00 +00:00
Glenn Morris
70369cd351
(rmail-summary-by-topic): Doc fix.
...
Regexp-quote default argument taken from current subject.
(rmail-new-summary-1): Error if empty summary. (Bug#2333)
2009-02-19 03:32:23 +00:00
Glenn Morris
3e3480fb8a
(rmail-get-new-mail-filter-spam): Be more careful about error-handling.
...
Restore the feature of temporarily setting all old messages
undeleted before expunging (removed 2009-02-18).
2009-02-19 03:31:31 +00:00
Glenn Morris
25833b8cd8
(rsf-beep, rsf-sleep-after-message, rmail-spam-filter): Don't declare.
...
(rmail-get-new-mail-filter-spam): Declare. Move definition to
rmail-spam-filter.el.
(rmail-get-new-mail-1): Move the beep and sleep to
rmail-get-new-mail-filter-spam.
2009-02-19 03:30:41 +00:00
Glenn Morris
92ef96ee8e
(rmail-get-new-mail-filter-spam): Move here from rmail.el.
2009-02-19 03:29:58 +00:00
Glenn Morris
134859bc3c
(rmail-get-new-mail-filter-spam): Show a message rather than the raw
...
mbox while prompting.
2009-02-18 08:02:56 +00:00
Glenn Morris
c925297d14
(rmail-spam-filter): Show a message rather than the raw mbox while prompting.
2009-02-18 08:01:56 +00:00
Glenn Morris
1bfadfb2a1
(mail-mbox-from): Move here from rmailout.el.
2009-02-18 04:35:18 +00:00
Glenn Morris
7b692c1062
(unrmail): Use mail-mbox-from.
2009-02-18 04:34:43 +00:00
Glenn Morris
6aa7fc5b92
(rmail-mbox-from): Move to mail-utils.
...
Update callers for name change.
2009-02-18 04:34:24 +00:00
Glenn Morris
8e7a0f839f
(rmail-get-new-mail-1): Fix the spam beep test.
...
(rmail-get-new-mail-filter-spam): Simplify. Don't mess with
rmail-deleted-vector.
(rmail-insert-inbox-text, rmail-collect-deleted)
(rmail-set-message-deleted-p, rmail-only-expunge)
(rmail-make-in-reply-to-field): Replace ?\ with ?\s.
(rmail-get-labels): Remove unused local `blurb'.
(rmail-message-attr-p, rmail-message-unseen-p, rmail-message-labels-p)
(rmail-msgend, rmail-msgbeg, rmail-message-deleted-p)
(rmail-set-message-deleted-p): Doc fixes.
2009-02-18 04:34:04 +00:00
Glenn Morris
8ad667fabb
(rmail-summary-mode-map): Remove unneeded declaration.
...
(top-level): No need for cl now.
(rmail-spam-filter, rmail-use-spam-filter, rsf-file, rsf-no-blind-cc)
(rsf-beep, rsf-sleep-after-message, rsf-min-region-to-spam-list)
(rsf-autosave-newly-added-definitions, rsf-white-list)
(rsf-definitions-alist, rsf-check-field, rsf-add-subject-to-spam-list)
(rsf-add-sender-to-spam-list, rsf-add-region-to-spam-list)
(rsf-customize-spam-definitions, rsf-customize-group)
(rsf-custom-save-all, rsf-add-content-type-field): Doc fixes.
(rsf-check-field): Use setcar and setcdr rather than setf.
(rmail-spam-filter): Simplify.
(rsf-add-subject-to-spam-list, rsf-add-sender-to-spam-list)
(rsf-add-region-to-spam-list): Use rmail-get-header or
buffer-substring-no-properties. Regexp-quote the extracted data.
Make the messages less verbose.
(rmail-summary-mode-map, rmail-mode-map): Use easy-menu and dolist to
simplify things.
(rsf-add-content-type-field): Make the message less verbose.
2009-02-18 04:33:30 +00:00
Richard M. Stallman
57d2296ade
(set-rmail-inbox-list): Doc fix.
2009-02-17 18:11:26 +00:00
Richard M. Stallman
5a34da0465
(rmail-copy-headers): When copying full headers,
...
correctly put point at the end.
2009-02-17 18:10:32 +00:00
Glenn Morris
1640a85f9c
(rmail-mbox-from): New function.
...
(rmail-output-as-mbox): Use rmail-mbox-from.
(rmail-output): Ensure a From line in the not-rmail Babyl case.
2009-02-17 02:54:14 +00:00
Glenn Morris
f58faced4e
(rmail-get-attr-names): Give a warning rather than an error if the
...
header is corrupt.
2009-02-17 02:37:40 +00:00
Glenn Morris
5b148883d2
(rmail-fields-not-to-output): Doc fix.
...
(rmail-delete-unwanted-fields): Ignore case. Use line-beg-pos.
(rmail-output, rmail-output-as-seen): Change the "from-gnus" argument to
"not-rmail", and make it work. Simplify.
2009-02-17 02:36:51 +00:00
Glenn Morris
554fda1a96
(rmail-output, rmail-output-as-seen): Further doc fixes.
2009-02-16 01:33:10 +00:00
Glenn Morris
d4653d3c30
(rmail-delete-unwanted-fields)
...
(rmail-output-as-babyl, rmail-output-to-babyl-buffer)
(rmail-convert-to-babyl-format, rmail-nuke-pinhead-header)
(rmail-output-as-mbox, rmail-output-to-rmail-buffer, rmail-output)
(rmail-output-as-seen, rmail-output-body-to-file): Doc fixes.
2009-02-16 01:18:38 +00:00
Glenn Morris
dfeab39416
(rmail-update-summary): Move declaration earlier in file.
2009-02-15 20:45:03 +00:00
Glenn Morris
050f62bf25
(rmail-output-as-mbox): Start search from point-min. If constructing a
...
"From " line, prefer the date header over the current time.
2009-02-15 03:26:17 +00:00
Glenn Morris
8f8cecb318
(rmail-summary-output-as-seen): Doc fix.
2009-02-15 02:52:14 +00:00
Glenn Morris
aab4c09b6b
(rmail-output-decode-coding): Fix custom type, group.
...
(rmail-output-as-babyl, rmail-output-to-babyl-buffer): Remove
unnecessary use of with-no-warnings.
(rmail-output-as-mbox, rmail-output-as-seen): Doc fix.
2009-02-15 02:51:21 +00:00
Richard M. Stallman
59a6d2495a
(rmail-edit-diff-headers): Delete spurious reference to OLD.
2009-02-15 02:32:03 +00:00
Richard M. Stallman
1945c7a74c
Handle editing of header fields.
...
(rmail-old-headers): New variable.
(rmail-edit-current-message): Set it, recording current headers.
(rmail-cease-edit): Compute new headers and diff against old ones.
Update the mbox buffer with the changes that were made.
(rmail-edit-headers-alist): New function.
(rmail-edit-diff-headers, rmail-edit-update-headers): New functions.
2009-02-14 04:01:53 +00:00
Glenn Morris
40f9db320d
(rmail): When reverting, swap buffers before setting counters. (Bug#2229)
...
(rmail-revert): Swap buffers before replacing contents.
2009-02-14 03:40:39 +00:00
Richard M. Stallman
fe6dd7e2ed
(rmail-output-body-to-file): Avoid space and colon in default file name.
2009-02-14 02:54:00 +00:00
Richard M. Stallman
c7eb0ba1f8
(rmail-convert-file-maybe): Turn off case-fold-search.
...
(rmail-add-mbox-headers): Likewise.
2009-02-14 02:52:17 +00:00
Glenn Morris
bc04f20723
Update for rmail-show-message-maybe name change.
2009-02-13 07:48:13 +00:00
Glenn Morris
809f3af083
(rmail-show-message): New name for the old rmail-show-message-maybe.
...
Update callers.
2009-02-13 07:46:14 +00:00
Glenn Morris
a1a2934181
Update for rmail-show-message -> rmail-show-message-1 name change.
2009-02-13 07:44:18 +00:00
Glenn Morris
574bc51d39
(rmail-show-message-1): New name for the old rmail-show-message.
...
Update callers.
2009-02-13 07:43:50 +00:00
Glenn Morris
95ca567f4d
(rmail-summary-vector, rmail-mode-map): Add doc string.
...
(rmail-set-header-1): If VALUE is nil, remove the header altogether.
(rmail-set-header): Doc fix.
2009-02-13 03:51:16 +00:00
Glenn Morris
97e92ffbd4
(msgnum): Remove declaration.
...
(rmail-summary-redo): Add missing initialization value.
(rmail-summary-overlay, rmail-summary-mode-map): Add doc string.
(rmail-summary-mark-deleted, rmail-summary-deleted-p):
Fix skip-chars-forward calls.
(rmail-summary-mark-seen): New function. As well as removing the '-'
mark, update the summary-vector. (Bug#2135)
(rmail-summary-rmail-update, rmail-summary-goto-msg):
Use rmail-summary-mark-seen.
2009-02-13 03:49:58 +00:00
Glenn Morris
a99e0e1be2
(rmail-set-label): Delete the keyword header if all labels are
...
removed. (Bug#2302)
2009-02-13 03:44:30 +00:00
Glenn Morris
56ba440162
(unrmail): When getting message keywords, don't include a leading
...
space, but do include the space after the separating comma. (Bug#2303)
2009-02-13 03:44:10 +00:00
Glenn Morris
4b84883a4a
Simplify previous change; again.
2009-02-12 07:53:11 +00:00
Glenn Morris
655a218ace
Simplify previous change.
2009-02-12 07:52:02 +00:00
Glenn Morris
3e8fc1b6f6
(rmail-set-label): Fix the test for a label being already present. (Bug#2210)
2009-02-12 06:55:43 +00:00
Richard M. Stallman
51584624ee
(rmail-show-message-verbose-min): New option.
...
(rmail-show-message): Conditionally show start and finish in echo area.
2009-02-12 04:01:11 +00:00
Glenn Morris
4de724b067
(rmail-unix-mail-delimiter): Doc fix.
...
(rmail-enable-multibyte): Don't really define, only for compiler.
2009-02-12 03:29:19 +00:00
Glenn Morris
28e5063159
(rmail-read-label): Don't scan for labels if the summary exists, since
...
it's already done.
2009-02-12 03:28:53 +00:00
Glenn Morris
5c9b1aaadf
(rmail-get-summary-labels): Store any message labels for use in
...
completion.
2009-02-12 03:28:37 +00:00
Glenn Morris
8e87c4267a
(rmail-make-label): Doc fix.
...
(rmail-read-label): Add current labels to completion list. (Bug#2222)
(rmail-set-label): Use `or'.
2009-02-11 04:01:35 +00:00
Glenn Morris
44baa8ce8f
(rmail-set-attribute): Allow ATTR to be a string.
2009-02-10 03:57:10 +00:00
Glenn Morris
7dbed48483
(mail-use-rfc822): Remove * from defcustom doc.
...
(mail-file-babyl-p): Use with-temp-buffer.
2009-02-10 03:39:38 +00:00
Glenn Morris
efb656fd19
Just require rmail.
2009-02-10 03:36:00 +00:00
Glenn Morris
a8e8f94704
Just require rmail.
...
(rmail-old-pruned): Add doc string.
(rmail-edit-current-message): Use rmail-msg-is-pruned.
(rmail-cease-edit): Don't mangle the leading From line.
Don't mark as edited if there were no changes. (Bug#2256)
Correctly restore header state.
2009-02-10 03:33:48 +00:00