Commit graph

430 commits

Author SHA1 Message Date
Richard M. Stallman
a53692379f (rmail-get-new-mail): New local rsf-number-of-spam.
Call rmail-spam-filter.  Delete and expunge spam.
Print number of spam messages deleted.
Save and restore the deletion status of old messages when reading
new mail with spam filter, so that expunging spam does not expunge
msgs deleted by the user.

(rmail-only-expunge): added an optional argument dont-show to
prevent showing message after expunge.
2004-01-16 18:23:37 +00:00
Richard M. Stallman
09843470aa (rmail-convert-to-babyl-format): Use mail-unquote-printable-region.
(rmail-hex-string-to-integer, rmail-decode-quoted-printable):
(rmail-hex-char-to-integer): Functions deleted.
2004-01-12 21:59:03 +00:00
Eli Zaretskii
37ec692a02 (rmail-convert-to-babyl-format): Fix off-by-one
error in arguments to base64-decode-region.  Remove ^M characters
after decoding base64.
2003-12-30 11:43:21 +00:00
Eli Zaretskii
fa8f290e46 (rmail-convert-to-babyl-format): Make the code
cleaner (suggested by Richard M. Stallman).
2003-12-30 10:46:37 +00:00
Eli Zaretskii
a4db3cf56b (rmail-convert-to-babyl-format): If
base64-decode-region signals an error, catch it and silently
ignore it.
2003-11-03 19:21:02 +00:00
Eli Zaretskii
a92122416b (rmail-convert-to-babyl-format): Fix the last change. 2003-10-16 16:54:48 +00:00
Eli Zaretskii
d33e73c1eb (rmail-convert-to-babyl-format): Display a message while converting to Babyl. 2003-10-16 16:49:27 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Eli Zaretskii
17139abc07 (rmail-convert-to-babyl-format): Detect
quoted-printable- and base64-encoded messages and decode them
automatically.  Set the message's encoding from the charset=
header, if any.  Decode base64-encoded messages in Mail format as
well.
2003-08-28 15:12:10 +00:00
John Paul Wallington
588c9a7153 (rmail-ignored-headers): Ignore Face: header. 2003-05-15 00:02:17 +00:00
Juanma Barranquero
23a7c49510 (rmail-primary-inbox-list): Don't quote nil and t in docstrings. 2003-05-06 17:47:18 +00:00
Juanma Barranquero
ece5433e4c (rmail-insert-inbox-text): Make the pop3 mechanism work on cygwin systems too. 2003-02-20 21:11:16 +00:00
John Paul Wallington
3e0b7b44a8 (rmail-mmdf-delim1, rmail-mmdf-delim2): Doc fixes. 2003-01-06 16:02:29 +00:00
Richard M. Stallman
e68b1cf16e (rmail-font-lock-keywords): Discard code to match both cases.
(rmail-variables): Specify case-insensitive matching for font-lock.

(rmail-font-lock-keywords): Match multiline In-Reply-To and X-*.
2003-01-06 01:08:31 +00:00
Richard M. Stallman
ab233196ba (rmail-reply): Don't call mail-strip-quoted-names. 2003-01-01 16:57:25 +00:00
Richard M. Stallman
a4e19cc2cb (rmail-convert-to-babyl-format):
Make search for message delimiter case-sensitive.
2002-11-29 15:11:13 +00:00
Richard M. Stallman
d8cfd377f3 (rmail-ignored-headers): Add more headers. 2002-11-18 04:59:33 +00:00
John Paul Wallington
82e736c18b * startup.el (normal-splash-screen): Ensure splash buffer is
killed.  Use tabs in output.  Fix test whether previous buffer was
*scratch* buffer.

* progmodes/simula.el (simula-abbrev-keyword-default)
(simula-abbrev-keyword, simula-abbrev-stdproc-default)
(simula-abbrev-stdproc): Doc fix - escape open parens in column 0.

* apropos.el (command-apropos): Use `defalias' instead of `fset'.

* mail/rmail.el (rmail-speedbar-match-folder-regexp): Doc fix.
2002-08-24 14:26:06 +00:00
Richard M. Stallman
c59566eb95 (rmail-search-mime-header-function): Doc fix. 2002-08-17 04:58:35 +00:00
Juanma Barranquero
95b56cdf4b Fix typo. 2002-07-02 14:48:56 +00:00
Richard M. Stallman
4e391653c0 (rmail-show-message-hook): Offer `goto-address' as an option. 2002-05-19 15:36:55 +00:00
Richard M. Stallman
de971ad1a1 (rmail-show-message): Catch error in check-coding-system. 2002-05-10 01:02:26 +00:00
Francesco Potortì
67f9d50ec6 (rmail-font-lock-keywords): Highlight Resent-[Ff]rom:. 2002-05-06 07:52:30 +00:00
Richard M. Stallman
ed1086b7ac (rmail-resend): Call mail-abbrev-make-syntax-table. 2002-03-25 00:41:26 +00:00
Paul Reilly
0ffba6bd01 (rmail-dont-reply-to-names): Modify the documentation to make it email
address centric rather than login name centric.  Contributed by
lorentey@elte.hu.
2002-03-19 19:35:31 +00:00
Richard M. Stallman
9d43f6f103 (rmail-toggle-header): Avoid possibly slow call to
rmail-count-screen-lines starting from (point-min).
2002-02-06 15:00:31 +00:00
Eli Zaretskii
85eba33954 (rmail): Use find-buffer-visiting instead of
get-file-buffer to check for rmail buffer existence.
2002-02-03 11:34:29 +00:00
Eli Zaretskii
d54f26b13e (rmail-redecode-body): Prune the headers before
looking for X-Coding-System header, and restore the pruned state
before returning.
2002-02-02 16:29:06 +00:00
Richard M. Stallman
19032340d1 (rmail-decode-babyl-format): Disable undo around the decode-coding-region call. 2002-01-11 21:23:40 +00:00
Pavel Janík
fb359a2b21 (rmail-fontify-buffer-function): Do not use make-local-hook. 2001-12-13 07:52:26 +00:00
ShengHuo ZHU
0c773047fd 2001-11-25 ShengHuo ZHU <zsh@cs.rochester.edu>
* mail/rmail.el (rmail-enable-mime-composing): New. A lightweight
	version of rmail-enable-mime.
	(rmail-forward): Use it.

	* message.el (message-forward-rmail-make-body):
	save-window-excursion.
	(message-encode-message-body): no error.
	(message-setup-1): compose-mail send-actions are different from
	message-send-actions.

	* message.el (message-forward-subject-author-subject): Don't use
	message-news-p, which widens the buffer.
	(message-forward-make-body): New function.
	(message-forward): Use it.
	(message-insinuate-rmail): New.
	(message-forward-rmail-make-body): New.
2001-11-25 20:45:37 +00:00
Eli Zaretskii
1bbdda4d51 (top-level): Require mule-utils when compiling.
(rmail-decode-babyl-format): Use detect-coding-with-priority
instead of detect-coding-region, to favor detection of emacs-mule
encoded Babyl files written by rmailout.el etc.  Suggested by
Kenichi Handa <handa@etl.go.jp>.
2001-09-16 07:56:36 +00:00
Pavel Janík
5553563924 Some fixes to follow coding conventions in files maintained by FSF. 2001-07-15 16:15:35 +00:00
Gerd Moellmann
6f19114e19 (rmail-show-message): Show beginning of message in
all windows containing it.
2001-07-10 14:22:13 +00:00
Gerd Moellmann
383191dbb0 (rmail-reply): Remove misleading comment. 2001-07-06 11:41:47 +00:00
Gerd Moellmann
a2cc5c4f18 (rmail-reply): Don't forget to narrow header in
MIME-mode.
2001-07-06 10:04:07 +00:00
Richard M. Stallman
ed104a87a9 (rmail-reformat-message): Bind inhibit-read-only to t.
(rmail-msg-restore-non-pruned-header): Likewise.
If point was in the old pruned header, put it at the top.
(rmail-msg-prune-header): If point was at the top, keep it there.

(rmail-narrow-to-non-pruned-header): New function.
(rmail-retry-failure): Use rmail-narrow-to-non-pruned-header.
2001-06-29 03:17:10 +00:00
Gerd Moellmann
157521c55e (rmail-msg-restore-non-pruned-header): New
function.
(rmail-msg-prune-header): Likewise.
(rmail-toggle-header): Use `rmail-msg-restore-non-pruned-header'
and `rmail-msg-prune-header'.
2001-06-26 10:34:27 +00:00
Gerd Moellmann
9652931f21 (rmail-revert): Modify to work in
rmail-view-buffer.

(rmail-insert-mime-resent-message-function): New
variable.
(rmail-resend): Modify to work in `rmail-view-buffer'; call
`rmail-insert-mime-resent-message-function' if `rmail-enable-mime'
is non-nil.
2001-05-31 08:09:47 +00:00
Richard M. Stallman
2382b29dd3 (rmail-retry-failure): Do save-window-excursion. 2001-05-20 17:17:32 +00:00
Gerd Moellmann
f90c23ca30 (rmail-require-mime-maybe): New function.
(rmail): Use it.
(rmail-mode): Handle the case of finding Rmail files.
2001-05-17 14:47:01 +00:00
Gerd Moellmann
6b59a5fc11 (rmail-insert-mime-forwarded-message-function)
(rmail-search-mime-message-function)
(rmail-search-mime-header-function): New variables.
(rmail-expunge-and-save): Be sure to set-buffer to the Rmail
buffer.
(rmail-quit): Bury `rmail-buffer' after `rmail-view-buffer' is
hidden.
(rmail-get-new-mail): Likewise.
(rmail-toggle-header): Likewise.  If rmail-enable-mime is non-nil,
call rmai-show-mime-function.
(rmail-display-labels): If rmail-enable-mime is non-nil, update
mode-line-process of rmail-view-buffer.
(rmail-set-attribute): Be sure to set-buffer to the Rmail buffer.
(rmail-show-message): Be sure to call rmail-auto-file in the Rmail
buffer.
(rmail-next-message): Be sure to set-buffer to the Rmail buffer.
(rmail-next-undeleted-message): Likewise.
(rmail-message-regexp-p): If rmail-enable-mime is non-nil, call
rmail-search-mime-header-function.
(rmail-search-message): New function.
(rmail-search): Call rmail-search-message to check if a message
matches REGEXP, lastly update point after calling
rmail-show-message.
(rmail-undelete-previous-message): Be sure to set-buffer to the
Rmail buffer.
(rmail-expunge-confirmed): Likewise.
(rmail-only-expunge): Likewise.
(rmail-reply): If rmail-enable-mime is non-nil, don't narrow to
header region, refer to rmail-msgref-vector while setting the
current buffer to rmail-buffer temporarily.
(rmail-forward): Be sure to bind forward-buffer to the Rmail
buffer.  If rmail-enable-mime is non-nil, call
rmail-insert-mime-forwarded-message-function instead of inserting
forwarded message by itself.
2001-05-08 11:17:27 +00:00
Gerd Moellmann
f851a71c3a (rmail-mode-map): Use rmail-sort-by-labels
instead of rmail-sort-by-keywords.
2001-05-07 10:07:46 +00:00
Gerd Moellmann
2bc7a79989 (rmail-edit): New Custom group. 2001-05-07 09:58:38 +00:00
Gerd Moellmann
50df7214b3 (rmail-message-regexp-p): Yet another fix. 2001-04-30 12:57:34 +00:00
Gerd Moellmann
b2b8f8fa96 (rmail-message-regexp-p): Don't match before
headers.
2001-04-27 13:00:42 +00:00
Gerd Moellmann
7cff9c6f87 (rmail-message-regexp-p): Use rfc822-goto-eoh
if necessary, like in rmail-show-message.
2001-04-26 13:43:42 +00:00
Kenichi Handa
3a85a1794a (rmail-insert-inbox-text): Call expand-file-name before
substitute-in-file-name to handle double slashes in FILE correctly.
2001-03-16 05:52:16 +00:00
Richard M. Stallman
b31e48f528 Fix previous change. 2001-03-07 23:08:12 +00:00
Richard M. Stallman
132bf46d74 (rmail-toggle-header): Use a window which is showing the Rmail buffer,
rather than the selected window.
2001-03-07 23:05:02 +00:00