Eli Zaretskii
0e9aba0f37
(rmail-add-mbox-headers): Restore error message about invalid RFC2822 format.
2009-08-08 10:26:44 +00:00
Eli Zaretskii
0f25a27764
(rmail-add-mbox-headers, rmail-set-message-counters-counter): Search for
...
rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
2009-08-08 10:05:53 +00:00
Chong Yidong
a4f6970146
* mail/rmailedit.el (rmail-edit-mode): Use auto-save-include-big-deletions.
...
* mail/rmail.el (rmail-variables): Use auto-save-include-big-deletions.
* files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16 changes.
2009-07-21 23:34:33 +00:00
Glenn Morris
4ed32706c7
(rmail-retry-ignored-headers): Bump :version.
2009-07-21 04:42:55 +00:00
Richard M. Stallman
7a907299a2
* files.el (auto-save-mode): If buffer-saved-size is -2, don't clobber it.
...
* mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
(rmail-retry-ignored-headers): Add more uninteresting fields.
2009-07-16 01:52:32 +00:00
Richard M. Stallman
4df49ff1d2
* mail/rmail.el (rmail-expunge-confirmed): Return nil if nothing to do.
...
Don't call rmail-modify-format here.
(rmail-expunge): Call it here after expunge is confirmed.
(rmail-confirm-expunge): Doc fix. Mark as risky.
(rmail-convert-babyl-to-mbox): Call rmail-modify-format.
(rmail-set-attribute): Call rmail-dont-modify-format only for `unseen'.
For other attributes, call `rmail-modify-format',
and propagate the modified flag to rmail-buffer.
2009-05-18 16:26:57 +00:00
Eli Zaretskii
910348651b
(rmail-unrmail-new-mail, rmail-unrmail-new-mail-maybe): New functions.
...
(rmail-insert-inbox-text): Use rmail-unrmail-new-mail-maybe to convert
Babyl-formatted new mail to mbox format. (Bug#2942)
2009-04-10 10:42:07 +00:00
Richard M. Stallman
9aadce2568
Don't query before visiting a Babyl file.
...
Instead, query before modifications that would save it.
* mail/rmail.el (rmail-was-converted): New variable.
(rmail-seriously-modified): New variable.
(rmail-perm-variables): Set them to nil.
(rmail-convert-babyl-to-mbox): Don't query about converting Babyl file.
Instead, set rmail-was-converted.
(rmail-modify-format): New function. Query if save will change format.
(rmail-dont-modify-format): New function.
(rmail-duplicate-message, rmail-get-new-mail):
Call rmail-modify-format.
(rmail-set-header): Call rmail-dont-modify-format.
(rmail-set-attribute): Likewise.
(rmail-expunge-confirmed): Call rmail-modify-format.
* mail/rmailout.el (rmail-output-to-rmail-buffer):
Call rmail-modify-format.
2009-04-09 16:43:51 +00:00
Eli Zaretskii
92655f6c69
(rmail-simplified-subject): Normalize whitespace in subject. This
...
resurrects a feature, lost in transition to mbox, whereby Subject is
matched even if it's broken into several lines at arbitrary places.
2009-04-08 12:43:40 +00:00
Glenn Morris
384b53ab0f
(rmail-expunge-and-save): Let rmail-expunge show the message.
...
(rmail-quit): Mark summary unmodified.
(rmail-expunge): Doc fix. Always show a message. (Bug#2763)
2009-04-07 03:01:08 +00:00
Richard M. Stallman
8882002ae5
(rmail-expunge): Without DONT-SHOW, show the message even after
...
updating summary.
2009-03-22 14:51:17 +00:00
Richard M. Stallman
551fd0c448
(rmail-expunge): Update summary buffer even if NO-SHOW.
2009-03-22 14:12:47 +00:00
Glenn Morris
33e38fa1c8
(rmail-retry-ignored-headers): Add :version tag.
2009-03-19 06:20:27 +00:00
Richard M. Stallman
b6de883825
(rmail-retry-ignored-headers): Add usual mime headers.
...
(rmail-retry-failure): Undo previous change.
2009-03-18 21:47:23 +00:00
Richard M. Stallman
b79c90313e
Fix previous change.
2009-03-16 14:10:47 +00:00
Richard M. Stallman
0b9b4ab99a
(rmail-expunge): Show the message only once, and only if needed.
...
If the current message was current before, just re-swap.
2009-03-16 14:04:28 +00:00
Richard M. Stallman
a6cf3c4e36
(rmail-retry-failure): Discard rmail-ignored-headers.
2009-03-16 13:42:31 +00:00
Glenn Morris
4ad1654a90
(rmail-font-lock-keywords): Treat "Mail-Reply-To" like "Reply-To".
2009-03-15 21:09:30 +00:00
Glenn Morris
26eb677a6e
(rmail-perm-variables): rmail-overlay-list needs to be buffer-local in
...
the view buffer, not the rmail buffer.
(rmail-ensure-blank-line): New function.
2009-03-05 03:43:32 +00:00
Glenn Morris
66be413e7a
(rmail-highlighted-headers, rmail-highlight, rmail-header-name): Doc fixes.
...
(rmail-show-message-verbose-min): Add :version.
(rmail-highlight-headers): Add doc string. Simplify.
2009-03-03 04:08:09 +00:00
Glenn Morris
37aca7a833
(rmail-delete-headers): New function.
...
(rmail-retry-failure): Restore yet another feature mbox Rmail removed
without telling anyone, namely rmail-retry-ignored-headers.
2009-03-02 08:03:41 +00:00
Glenn Morris
925d658277
(rmail-retry-failure): Use rmail-get-header rather than a magical
...
save-excursion/restriction combination that does nothing.
2009-03-02 07:36:03 +00:00
Glenn Morris
c9a81e054f
(rmail-dont-reply-to-names, rmail-default-dont-reply-to-names): Doc fixes.
...
(rmail-reply): Avoid extraneous leading whitespace.
2009-03-02 07:23:57 +00:00
Glenn Morris
5f3b706381
(rmail-reply): Use rmail-apply-in-message so that this function has
...
access to all the headers, not just the visible ones.
2009-03-02 02:19:24 +00:00
Glenn Morris
017166cefc
(rmail-mode-map): Add explicit keybinding for rmail-resend in the menu.
2009-03-01 00:56:18 +00:00
Glenn Morris
dec5f46d73
(rmail-primary-inbox-list): Doc fix. Fix custom choice to match default.
...
(rmail-mode-map): Bind rmail-mime to `v'.
(rmail-get-new-mail): Doc fix.
(rmail-beginning-of-message, rmail-end-of-message): Preserve the current
header style.
2009-02-28 03:25:32 +00:00
Glenn Morris
592465ca38
(rmail-speedbar-move-message): Preserve the directory part against
...
rmail-output's oddness.
2009-02-27 04:00:45 +00:00
Glenn Morris
433c16523a
(rmail): Don't show a message if rmail-get-new-mail already did. (Bug#2440)
...
(rmail-quit): Don't swap buffers. (Bug#2441)
(rmail-list-to-menu): Don't globally bind `name'.
2009-02-24 03:31:39 +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
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
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
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
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
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
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
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
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
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
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
44baa8ce8f
(rmail-set-attribute): Allow ATTR to be a string.
2009-02-10 03:57:10 +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
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
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
a4e80191c2
No need for mule-util when compiling.
...
(rmail-first-message): Unbreak it.
2009-02-04 03:38:26 +00:00
Glenn Morris
bad4f1fd32
(rmail-convert-babyl-to-mbox): Disable undo while
...
inserting the converted mailbox.
(rmail-get-new-mail): Restore the loop over inboxes when two or more
have the same basename. (Bug#2164)
Set the return value according to whether any mail was found,
not just in the last inbox. Only show a message and run the hook after
checking all inboxes.
(rmail-get-new-mail-1): Move message display and running the hook to
rmail-get-new-mail.
2009-02-03 04:07:25 +00:00