1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-19 10:22:27 +00:00
Commit Graph

2266 Commits

Author SHA1 Message Date
Roland Winkler
75da36cc8f * mail/smtpmail.el: Indent code properly to make it more readable. 2009-05-25 01:13:59 +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
Richard M. Stallman
f5b574ad03 * mail/rmailedit.el (rmail-edit-current-message):
Call rmail-modify-format here.
(rmail-cease-edit): Not here.
2009-05-17 16:11:23 +00:00
Richard M. Stallman
4f31ad74fd * mail/rmailedit.el (rmail-cease-edit): Call rmail-modify-format. 2009-04-10 14:22:03 +00:00
Eli Zaretskii
71d8a1403c (unrmail): If "Mail-From" header is found, append a newline to it. 2009-04-10 11:54:53 +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
6dd50fed29 * mail/rmailkwd.el (rmail-set-label): Warn if multipe labels spec'd.
(rmail-kill-label, rmail-add-label): Doc fixes.
2009-04-09 16:50:36 +00:00
Richard M. Stallman
de62d9e983 * mail/rmailout.el (rmail-output): If file is visited,
check the buffer's format.
2009-04-09 16:48:25 +00:00
Richard M. Stallman
f824857fc5 * mail/rmailout.el (rmail-convert-to-babyl-format): Don't set "unseen". 2009-04-09 16:46:02 +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
Richard M. Stallman
caf9510cb8 * mail/sendmail.el (sendmail-send-it): Replace any
pre-existing Content-type header if we insert one.
2009-04-09 16:33:41 +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
Eli Zaretskii
435f0dd2f5 (rmail-new-summary-1): Don't show zero count of summary lines. 2009-04-04 14:22:59 +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
Glenn Morris
7ca46ac7e3 (sc-version): Doc fix. 2009-03-19 06:19:24 +00:00
Glenn Morris
241625c32e Leo <sdl.web at gmail.com> (tiny change)
(sc-version): Fix typo in interactive spec.
2009-03-19 06:12:58 +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
e009b5967b (mail-yank-prefix): Doc fix.
(mail-mode-map): Only enable the "Cite Original" menu-item when
appropriate.  Standardize the text used for other headers re hyphens.
2009-03-15 21:07:39 +00:00
Glenn Morris
c1051e819d Remove leading `*' from defcustom docs. 2009-03-14 21:20:47 +00:00
Glenn Morris
b769f3daad (mail-mode-hook): Doc fix. 2009-03-14 21:04:43 +00:00
Glenn Morris
87ede49961 (mail-interactive): Doc fix.
(mail-yank-ignored-headers): Add X-RMAIL- headers, bump :version.
(mail-setup): Use the function mail-signature.
(mail-to, mail-subject, mail-cc, mail-bcc, mail-reply-to)
(mail-mail-reply-to, mail-mail-followup-to): Doc fixes.
(mail-signature): Check the signature file is readable.
With the argument ATPOINT, really insert at point.
Handle the case when the variable mail-signature is an expression.
2009-03-14 20:25:06 +00:00
Glenn Morris
1fa1ea7dec (mail-abbrev-next-line, mail-abbrev-end-of-buffer): Doc fixes. 2009-03-12 06:23:35 +00:00
Glenn Morris
e97389b933 Comment. 2009-03-11 03:33:30 +00:00
Glenn Morris
52b9c46105 (rmail-edit-mode): Set write-region-annotate-functions. (Bug#2625) 2009-03-11 03:22:37 +00:00
Glenn Morris
0462d01962 (mail-archive-file-name, mail-default-headers): Doc fixes.
(mail-mailing-lists): Remove leading `*' from defcustom doc.
2009-03-10 07:20:32 +00:00
Glenn Morris
c8644de0d4 (rmail-mime-media-type-handlers-alist): Fix doc and custom type. 2009-03-06 03:46:28 +00:00
Glenn Morris
da5f63303a (rmail-cease-edit): Use rmail-ensure-blank-line. 2009-03-05 03:45:51 +00:00
Glenn Morris
137ea8af63 (rmail-sort-messages): Use rmail-ensure-blank-line. 2009-03-05 03:44:04 +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
7184dd77fb (rmail-output-as-mbox): Use rmail-ensure-blank-line.
(rmail-output-to-rmail-buffer): Add the new message at the end of the
existing messages, ensuring there is a blank line between them.  (Bug#2521)
2009-03-05 03:43:01 +00:00
Glenn Morris
f4ce6150a2 (rmail-mime-media-type-handlers-alist)
(rmail-mime-attachment-dirs-alist): Doc fixes.  Fix custom-type.  Add version.
(rmail-mime-total-number-of-bulk-attachments): Doc fix.
(rmail-mime): Doc fix.  Use rmail-apply-in-message.
Disable undo in the mime buffer, mark unmodified.
2009-03-05 03:42:22 +00:00
Glenn Morris
24683c51e3 (rmail-edit-mode): Doc fix. 2009-03-04 04:20:13 +00:00
Glenn Morris
65ad19205b Replace (function (lambda' by (lambda' throughout.
(rmail-sort-by-date, rmail-sort-by-subject)
(rmail-sort-by-author, rmail-sort-by-recipient)
(rmail-sort-by-correspondent, rmail-select-correspondent)
(rmail-sort-by-lines, rmail-sort-by-labels, rmail-sort-messages)
(rmail-make-date-sortable): Doc fixes.
(rmail-sort-by-correspondent): Downcase correspondents.
(rmail-sort-by-labels): Make it work.
(rmail-sort-messages): Restore undo if it was initially enabled.
Fix bobp/bolp typo that was adding a line on every sort.
2009-03-04 04:19:12 +00:00
Glenn Morris
11d6c06103 (rmail-get-create-summary-buffer): Doc fix.
Disable undo in the summary buffer.
(rmail-summary-sort-by-date, rmail-summary-sort-by-subject)
(rmail-summary-sort-by-author, rmail-summary-sort-by-recipient)
(rmail-summary-sort-by-correspondent, rmail-summary-sort-by-lines)
(rmail-summary-sort-by-labels, rmail-sort-from-summary): Doc fixes.
(rmail-summary-sort-by-labels): Replace `(function (lambda' by `(lambda'.
2009-03-04 04:18:51 +00:00
Simon Josefsson
9927d25059 (smtpmail-auth-supported): Mention that list is
in preference order.
(smtpmail-try-auth-methods): Improve which authentication
mechanism to use, so that the locally most preferred and mutually
supported mechanism is used.
2009-03-03 16:28:17 +00:00
Glenn Morris
a5110f66bd (rmail-summary-search): Ensure the selected message shows. 2009-03-03 08:13:56 +00:00
Glenn Morris
ac203e0177 (rmail-summary-by-senders): Doc fix.
(rmail-summary-mode-map): Bind rmail-summary-by-senders to C-M-f.
2009-03-03 07:36:19 +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
4b12219b6d (rmail-summary-scroll-between-messages)
(rmail-summary-line-count-flag, rmail-summary-by-regexp): Doc fixes.
(rmail-summary-mode-map): Bind C-o to output-as-seen, not output.
Make the output menu-items consistent with rmail-mode-map.
2009-03-03 04:06:38 +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