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
Glenn Morris
75790248f0
(rmail-automatic-folder-directives): Doc fix.
...
(rmail-current-message, rmail-total-messages)
(rmail-message-vector, rmail-deleted-vector): Add doc strings.
(rmail-duplicate-message): Doc fix.
(rmail-get-header-1, rmail-set-header-1, rmail-set-attribute-1):
New functions.
(rmail-get-header, rmail-set-header, rmail-set-attribute):
Use rmail-apply-in-message.
(rmail-message-attr-p): Use rmail-get-header, hence no longer requires
unswapped-ness.
(rmail-get-attr-names): Check for missing or corrupt attribute headers.
(rmail-auto-file): Set the filed attribute, rather than explicitly not
doing so. (Bug#2231)
2009-02-10 03:33:27 +00:00
Chong Yidong
f265b4dedc
(rmail-mime-attachment-dirs-alist): Use temporary-file-directory.
2009-02-07 21:29:17 +00:00
Glenn Morris
3a1eda7c03
(rmime-magic-string): Define for compiler.
2009-02-07 20:08:06 +00:00
Eli Zaretskii
634b455a37
(rmail): Bind coding-system-for-read to no-conversion before calling
...
find-file-noselect. (Bug#2015)
2009-02-07 18:35:56 +00:00
Eli Zaretskii
fc9682ad97
(rmail-redecode-body): Don't encode/decode the message; instead, just rewrite
...
the X-Coding-System header with the new encoding, and let rmail-show-message
do the rest. Remove unused argument RAW. Fix doc string to be consistent
with the new implementation.
(rmail-show-message): Honor X-Coding-System header, if present, in preference
to Content-Type header.
2009-02-07 16:46:27 +00:00
Eli Zaretskii
782c80e892
(rmail-cease-edit): Look for the message's encoding, and its
...
"content-transfer-encoding" and "content-type" headers only in the
headers' portion. (Bug#2017)
2009-02-07 15:16:57 +00:00
Eli Zaretskii
aaaaa2767d
(rmail-cease-edit): narrow-to-region before extracting mail message headers.
...
Use encode-coding-region instead of insert-buffer-substring for re-encoding
edited message. Add qp/b64 encoding only after text was encoded.
2009-02-07 12:55:49 +00:00
Glenn Morris
cfb4688eff
(metamail-interpret-body): Remove Rmail-specific hack that is no
...
longer appropriate to mbox Rmail.
2009-02-07 03:03:57 +00:00
Glenn Morris
8acdd74884
(rmail-create-summary-line): Widen the view buffer
...
before trying to move to the start of the message.
(rmail-summary-undelete-many, rmail-summary-rmail-update):
Fix rmail-set-attribute calls.
2009-02-07 03:02:57 +00:00
Glenn Morris
04ca017c6c
(mail-bury-selects-summary, mail-yank-original): Doc fix.
...
(rmail-output-to-rmail-buffer): Autoload it.
(mail-do-fcc): Give it a doc string. Update for mbox Rmail, simplify.
2009-02-07 03:02:39 +00:00
Glenn Morris
4925ab0b6f
Sync final change from rmail-mox-branch, rev 1.13.2.4, 2006-01-16.
...
Alex Schroeder <alex at gnu.org>
(unrmail): Use regexps to find message separators so as not to match
any fake rmime.el separators. Remove any sections added by rmime.el.
2009-02-07 03:01:59 +00:00
Glenn Morris
81d8114e20
(unrmail): Use current-time-string.
2009-02-06 07:33:20 +00:00
Glenn Morris
7a613b6723
(rmail-mail-separator): Delete.
...
(undigestify-rmail-message, unforward-rmail-message): Update for mbox Rmail.
2009-02-06 03:58:20 +00:00
Glenn Morris
50dcb7845f
(rmail-duplicate-message): Make it work.
2009-02-05 07:38:56 +00:00
Glenn Morris
6b6a84a15b
(rmail-what-message): Unbreak it.
2009-02-05 06:40:01 +00:00
Glenn Morris
869692c03a
(mail-fetch-field): Previous doc fix was ill-advised.
2009-02-04 03:41:06 +00:00
Glenn Morris
7b094a30fc
Require rmail not just when compiling.
...
Remove unneeded declarations.
2009-02-04 03:39:05 +00:00
Glenn Morris
a4e80191c2
No need for mule-util when compiling.
...
(rmail-first-message): Unbreak it.
2009-02-04 03:38:26 +00:00
Glenn Morris
5ff43aba5c
Tweak previous change.
2009-02-03 08:20:33 +00:00