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
Glenn Morris
236ab005f7
(rmail-ignored-headers, rmail-displayed-headers)
...
(rmail-retry-ignored-headers, rmail-highlighted-headers):
Restore autoloads.
2009-02-02 07:55:04 +00:00
Stefan Monnier
2dc00ad0c3
(rmail-view-buffer): Make buffer-local.
...
(rmail-select-summary, rmail-perm-variables, rmail-redecode-body)
(rmail-undelete-previous-message, rmail-mark-message)
(rmail-speedbar-buttons): Use with-current-buffer.
(rmail-mode-map): Move initialization into declaration.
(rmail-swap-buffers, rmail-unfontify-buffer-function)
(rmail-fontify-message): Use restore-buffer-modified-p.
(rmail-expunge-and-save): Don't swap buffer.
(rmail-get-header, rmail-set-header, rmail-set-attribute)
(rmail-apply-in-message): Swap save-excursion and save-restriction.
2009-02-01 03:39:37 +00:00
Eli Zaretskii
062ca6f69a
(rmail-redecode-body): Use eight-bit instead of obsolete
...
eight-bit-control and eight-bit-graphic.
2009-01-31 18:53:50 +00:00
Eli Zaretskii
6e9db169a3
(rmail-automatic-folder-directives, rmail): Doc fixes.
...
(rmail-swap-buffers): New function.
(rmail-change-major-mode-hook, rmail-swap-buffers-maybe, rmail-show-message):
Use rmail-swap-buffers.
(rmail-decode-region): If DESTINATION is a buffer, set the encoding of that
buffer, rather than the current buffer.
(rmail-show-message): Make error message about uuencoded mail more explicit.
(rmail-show-message-maybe): Simplify code. Doc fix.
(rmail-show-message): Doc fix.
2009-01-31 13:32:48 +00:00
Eli Zaretskii
0300c3390a
(rmail-redecode-body): Don't change EOL conversion of the new encoding if
...
the old one left it unspecified.
2009-01-31 10:10:02 +00:00
Eli Zaretskii
aa8c69584f
(rmail-convert-babyl-to-mbox): Set Rmail's buffer encoding to `raw-text-unix'.
...
(rmail-perm-variables): Set encoding of rmail-view-buffer to `undecided-unix'.
2009-01-31 09:32:45 +00:00
Glenn Morris
603c5d8d67
(rmail-msg-is-pruned): New (restored) function.
...
(rmail-toggle-header): Doc fix. Use rmail-msg-is-pruned.
(rmail-reply): Set up to yank from the decoded message rather than the
raw one. (Bug#2104).
2009-01-31 02:51:18 +00:00
Eli Zaretskii
2f6e377467
(rmail-resent-attr-index): Fix index value.
2009-01-30 18:29:48 +00:00
Eli Zaretskii
3951477883
(rmail-convert-babyl-to-mbox): Bind coding-system-for-read to `raw-text', and
...
use insert-file-contents instead of insert-file-contents-literally.
Fixes bug #2019 .
2009-01-30 14:37:32 +00:00
Glenn Morris
4ddca2c57f
(rmail-speedbar-buttons, rmail-speedbar-move-message-to-folder-on-line):
...
Use line-end-position.
2009-01-30 07:23:01 +00:00
Glenn Morris
df75fdb70d
(rmail-reply): Handle empty folders.
2009-01-30 03:46:31 +00:00
Chong Yidong
00c6f62e66
(rmail-toggle-header): Determine current header
...
style using the buffer-local value of rmail-header-style in the
view buffer.
(rmail-show-message): Set a buffer-local value of
rmail-header-style in the view buffer.
2009-01-29 14:09:36 +00:00
Glenn Morris
0954b0aa0e
(rmail-file-name): Remove duplicate definition.
...
(rmail-set-header): Ensure header changes get saved.
2009-01-29 03:41:57 +00:00
Chong Yidong
ace0f471fb
(rmail-show-message): Unquote From lines.
2009-01-29 03:01:44 +00:00
Chong Yidong
2e55c1b7bb
(rmail-redecode-body): New function, based on old version removed in
...
2009-01-22 change.
2009-01-29 02:46:21 +00:00
Chong Yidong
8372c367bd
(rmail-toggle-header): Don't reset
...
rmail-header-style permanently (bug#2016).
2009-01-28 15:54:46 +00:00
Glenn Morris
9940a3eca7
(rmail-expunge-and-save): Always show a message,
...
even when called from the summary. (Bug#2075)
(rmail-no-mail-p): New func, extracted from rmail-show-message-maybe.
(rmail-show-message-maybe): Use rmail-no-mail-p.
(rmail-show-message): If empty folder, do nothing. (Bug#2076)
2009-01-28 02:50:41 +00:00
Chong Yidong
eb7f6f5b5c
(rmail-convert-babyl-to-mbox): Prompt user before converting.
2009-01-27 23:02:00 +00:00