1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-20 10:23:57 +00:00
Commit Graph

2131 Commits

Author SHA1 Message Date
Glenn Morris
c36e676798 (rmail-label-obarray): Initialize using rmail-attr-array.
(rmail-make-label, rmail-read-label): Give it a doc string.
(rmail-add-label, rmail-kill-label): Change argument name to match the
doc.  Doc fix.
(rmail-set-label): Doc fix.  Also update summary in attr case.
Accept labels as a string or a symbol.  (Bug#2165)
2009-02-03 04:07:02 +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
Stefan Monnier
73d7bcb918 (rmail-sort-messages): Use car-less-than-car if possible. 2009-02-01 03:28:33 +00:00
Stefan Monnier
befa817562 (rmail-edit-map): Move init into declaration.
(rmail-edit-mode, rmail-cease-edit): Use with-current-buffer.
2009-02-01 03:26:17 +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
de456f3ba1 (unrmail): Set coding-system of the old Rmail file to `raw-text-unix'.
Bind coding-system-for-write when writing out the converted message, and
make sure it uses Unix EOLs.
2009-01-31 14:34:05 +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
ab383a615f (rmail-new-summary): Don't try to summarize an empty folder. 2009-01-31 03:15:35 +00:00
Glenn Morris
78f086e42c (mail-fetch-field): Doc fix. 2009-01-31 02:52:18 +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
Glenn Morris
9f08b1415d Tidy up commentary.
(rmail-current-message): Remove unneeded declaration.
(uce-message-text, uce-default-headers): Fix custom type.
(rmail-buffer, rmail-msg-is-pruned): Declare.
(uce-reply-to-uce): Add autoload cookie.  Doc fix.  Update for mbox Rmail.
2009-01-31 02:50:28 +00:00
Eli Zaretskii
a880e5b938 (unrmail): Fix conversion of BABYL attributes into Rmail-mbox attributes. 2009-01-30 18:31:35 +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
98a9d488a3 (rmail-header-summary): Use line-end-position. 2009-01-30 07:20:58 +00:00
Glenn Morris
45bd646186 (rmail-summary-update-line): Replace duplicate line-beginning-position calls. 2009-01-30 03:47:35 +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
04c17beac3 (rmail-summary-disable): Fix declaration. 2009-01-29 03:42:17 +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
Glenn Morris
314a8fc3a7 (rmail-set-label): Update the summary, if there is one, after a label
is added.
2009-01-29 03:41:38 +00:00
Glenn Morris
8fbbdd4404 (rmail-summary-update-line): New function.
(rmail-summary-goto-msg): Return a value according to whether message
was found.
(rmail-summary-update-highlight): Give the overlay an 'rmail-summary
property.  Use line-end-position.
2009-01-29 03:41:12 +00:00
Chong Yidong
b3a51d1d20 (rmail-cease-edit): Add additional quotes to quoted From lines. 2009-01-29 03:02:39 +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
Glenn Morris
3ea5d765e7 (rmail-message-recipients-p-1): Don't bother
starting from the beginning, since mail-fetch-field does not care.
(rmail-create-summary-line): Fix unseen handling.  (Bug#2089)
(rmail-get-summary-status): New name for old rmail-get-summary-labels.
(rmail-get-summary-labels): New function.  Returns labels rather than
status (edited, etc).
(rmail-create-summary): Insert an extra space after the status
flags, for consistency with old rmail, and with current
rmail-summary-font-lock-keywords.
2009-01-28 02:49:40 +00:00
Chong Yidong
eb7f6f5b5c (rmail-convert-babyl-to-mbox): Prompt user before converting. 2009-01-27 23:02:00 +00:00
Chong Yidong
77f3338372 (unrmail): Record labels in X-RMAIL-* fields, which are recognized by
the new Rmail, instead of X-BABYL-V6-*.
2009-01-27 22:38:58 +00:00
Glenn Morris
4546235fc9 Tweak previous doc fix. 2009-01-27 08:32:56 +00:00
Glenn Morris
3b5ad65462 (rmail-copy-headers): Doc fix. Leave point at the end
of the headers in the full header case.  (Bug#2073)
2009-01-27 08:29:35 +00:00
Kenichi Handa
6b0c98f550 (rmail-get-coding-system): Fix previous change. 2009-01-27 04:49:33 +00:00
Kenichi Handa
fe83a3004e (rmail-get-coding-system): Re-search
rmail-mime-charset-pattern directly instead of using
mail-fetch-field.  Use coding-system-from-name.
2009-01-27 04:48:56 +00:00
Glenn Morris
415046c882 Remove leading `*' from defcustom docs.
Replace `first' and `rest' with `car' and `cdr' throughout.
(rsf-auto-delete-spam-bbdb-entries): Remove unused variable.
(rsf-scanning-messages-now): Doc fix.
(rsf-check-field): Rename from `check-field' and update callers.
(rmail-spam-filter): Fix bbdb/mail_auto_create_p oddness.
Use rmail-output rather than deleted rmail-output-to-rmail-file.
2009-01-27 03:43:26 +00:00
Glenn Morris
778ef2ef07 Remove leading `*' from defcustom docs.
Remove needless autoloads of many defcustoms and hooks.
(rmail-enable-mime, rmail-insert-mime-resent-message-function)
(rmail-search-mime-message-function, rmail-search-mime-header-function)
(rmail-decode-mime-charset): Doc fix.
(rmail-search-message, rmail-resend): Check functions set before use.
2009-01-27 03:43:04 +00:00
Glenn Morris
c10782e6e5 Remove leading `*' from defcustom docs.
Remove needless autoloads of many defcustoms.
(rmail-output-to-babyl-buffer): Rename from
rmail-output-to-r-mail-buffer and update caller.
(rmail-output): Doc fix.
2009-01-27 03:42:31 +00:00
Glenn Morris
8d2b2df4b0 Remove leading `*' from defcustom docs.
Remove needless autoloads of many defcustoms.
(rmail-message-regexp-p-1): Check rmail-search-mime-header-function is set.
2009-01-27 03:42:08 +00:00
Glenn Morris
d654dddf13 (command-line-args-left): Remove unneeded declaration.
(batch-unrmail, unrmail): Doc fix.
2009-01-27 03:41:25 +00:00
Chong Yidong
3fbc055fd8 (rmail-message-recipients-p-1, rmail-message-regexp-p-1): Avoid clobbering the mark. 2009-01-27 03:15:52 +00:00
Chong Yidong
96a07ae931 (rmail-summary-mark-deleted): Recache summary. 2009-01-27 03:05:18 +00:00
Glenn Morris
ac120e6dbf (rmail-reply): Don't include Resent-To and Resent-Cc in replies. (Bug#512) 2009-01-26 02:06:58 +00:00
Glenn Morris
38291a39bc (rmail-insert-inbox-text): Revert replacement of "popmail" by "pormail". 2009-01-24 03:35:50 +00:00
Glenn Morris
4474b24acb Restore copyright year lost in mbox merge. 2009-01-24 03:35:12 +00:00
Chong Yidong
eec86b015f (rmail-buffer-swapped): Fix last change. 2009-01-23 22:33:43 +00:00
Chong Yidong
bfc032477c (rmail-summary-by-labels): Correctly handle return value of
rmail-get-labels.
2009-01-23 19:20:01 +00:00