Stefan Monnier
b56a5ae0fe
* mh-e/mh-comp.el (mh-send-letter):
...
* mail/sendmail.el (mail-recover-1):
* international/mule-diag.el (describe-current-coding-system-briefly)
(describe-current-coding-system):
* international/mule-cmds.el (select-safe-coding-system)
(select-message-coding-system)
(set-language-environment-coding-systems, set-locale-environment):
* hexl.el (hexl-insert-multibyte-char):
* dos-w32.el (find-buffer-file-type-coding-system):
* simple.el (what-cursor-position):
Replace uses of default-buffer-file-coding-system
with (default-value 'buffer-file-coding-system).
2009-08-28 04:21:14 +00:00
Stefan Monnier
705e5bd932
* mail/feedmail.el: Use CL macros.
...
(feedmail-run-the-queue, feedmail-send-it-immediately):
* dos-w32.el (find-buffer-file-type): Replace uses of
default-buffer-file-type with (default-value 'buffer-file-type).
2009-08-28 04:05:58 +00:00
Stefan Monnier
9421bdd19f
(build-mail-aliases): Use with-temp-buffer,
...
expand-file-name and with-current-buffer.
(mail-get-names, mail-directory): Use with-current-buffer.
2009-08-27 18:32:37 +00:00
Glenn Morris
6dc3311d25
Define risky-local-variable property here rather than in files.el.
2009-08-26 03:07:25 +00:00
Glenn Morris
d6261cc1a2
(rmail-obsolete): Delete custom group.
...
(rmail-pop-password, rmail-pop-password-required): Make into aliases.
(rmail-remote-password, rmail-remote-password-required):
Remove unneeded :set-after and :set properties.
2009-08-21 07:02:28 +00:00
Richard M. Stallman
76e1e40b4e
* mail/rmail.el (rmail-set-message-counters):
...
Call rmail-set-message-counters-counter just once.
It returns # msgs after point.
(rmail-set-message-counters-counter):
Arg is now SPOT-TO-FIND. Return # messages after that one.
* mail/rmail.el (rmail-forget-messages):
Ignore nil elt in rmail-message-vector. Use dotimes.
2009-08-13 01:13:09 +00:00
Richard M. Stallman
5c9509238d
* mail/rmail.el (rmail-get-attr-names):
...
Accept an attribute header that is too short.
2009-08-13 01:04:37 +00:00
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
Eli Zaretskii
60c2df4085
(mail-yank-original): Set buffer-file-coding-system from the one used
...
by the message whose text is yanked.
2009-08-07 17:30:16 +00:00
Eli Zaretskii
8f94cbed09
(rmail-header-summary): Ignore letter-case of month names. (Bug#3987)
2009-08-01 08:20:17 +00:00
Glenn Morris
0b9521973e
(report-emacs-bug): Include any load-path shadows.
2009-07-22 02:34:51 +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
Glenn Morris
0c06a6a6fd
(mailclient-send-it): Fix message.
2009-07-21 04:38:21 +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
Chong Yidong
88d036078b
* mail/unrmail.el (unrmail): Make sure the message ends with two
...
newlines (Bug#3769).
2009-07-08 03:10:10 +00:00
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