Commit graph

397 commits

Author SHA1 Message Date
Kenichi Handa
7d862e0779 (rmail-enable-multibyte): New variable
(rmail): Bind coding-system-for-read to raw-text.  Set the buffer
multibyte if necessary.
(rmail-convert-file): Call rmail-decode-babyl-format only when we
don't have to call rmail-convert-to-babyl-format.
(rmail-decode-babyl-format): If rmail-file-coding-system is nil,
detect it.
(rmail-get-new-mail): Bind rmail-enable-multibyte locally.
(rmail-convert-to-babyl-format): Check the value of
rmail-enable-multibyte instead of enable-multibyte-characters.
1998-02-20 01:45:50 +00:00
Richard M. Stallman
9d21b6279f (rmail-clear-headers): Handle the last header in a message correctly. 1998-02-06 06:57:40 +00:00
Richard M. Stallman
dab2fff990 (rmail): Reinsert the let-binding of enable-local-variables. 1998-01-27 02:02:38 +00:00
Eric M. Ludlam
03c9127e39 Added speedbar support for RMAIL files. 1998-01-23 02:14:02 +00:00
Richard M. Stallman
3210e730cf (rmail): Don't bind enable-multibyte-characters;
read the file normally.
(rmail-revert): Likewise.

(rmail): Don't kill local enable-multibyte-characters.
Don't bind coding-system-for-read.  Fix error message.

(rmail-make-in-reply-to-field):
Make foo and bar patterns match all non-ASCII chars.
1998-01-19 20:22:12 +00:00
Karl Heuer
afc070d1d4 (rmail): Unwind-protect call to rmail-get-new-mail. 1998-01-18 03:29:06 +00:00
Karl Heuer
36347d4342 (rmail-decode-quoted-printable): New function
mostly copied from gnus-art.el.
(rmail-hex-string-to-integer): New fn, copied from hexl.el.
(rmail-hex-char-to-integer): Likewise.
(rmail-convert-to-babyl-format): Use rmail-decode-quoted-printable.
1997-12-04 04:32:03 +00:00
Karl Heuer
4877ba13d7 Improve previous change. 1997-11-18 21:22:28 +00:00
Karl Heuer
ae9f695f42 (rmail-convert-to-babyl-format): If the
message uses the quoted-printable content-transfer-encoding,
decode it into 8bit.
1997-11-18 21:13:57 +00:00
Karl Heuer
d177349a87 (rmail-summary-window-size): Allow integer values. 1997-11-15 20:53:54 +00:00
Karl Heuer
3ba3fa750f (rmail): Avoid showing message twice. 1997-10-15 23:06:46 +00:00
Kenichi Handa
b46ffb303d (rmail): Reset enable-multibyte-characters to the
default value to enable message decoding if the default value is
non-nil.
1997-09-02 10:49:07 +00:00
Richard M. Stallman
e823bfa3ad (rmail-mode-1): Update the value for mode-line-modified. 1997-08-26 04:37:02 +00:00
Richard M. Stallman
6a338071ba (rmail-view-buffer): Doc fix.
(rmail-summary-buffer, rmail-summary-vector): Mark as permanent local.
(rmail-buffer): Add defvar and mark as permanent local.
1997-08-24 16:32:17 +00:00
Richard M. Stallman
8148a3adf7 (rmail-make-in-reply-to-field): Don't cause an
error if the `From:' line has no valid email addresses.
1997-08-12 05:49:26 +00:00
Richard M. Stallman
9a2fe7b204 (rmail-resend): Use user-mail-address. 1997-07-29 02:15:28 +00:00
Richard M. Stallman
f26d8cd6e8 Comment change. 1997-07-25 22:10:42 +00:00
Richard M. Stallman
0974f7bfcf (rmail-pop-password-error): New variable.
(rmail-insert-inbox-text): If there's an error getting mail from
the POP server, and the error matches rmail-pop-password-error or
we prompted for the POP password, assume that the password is
incorrect and erase it so that the user will be prompted again the
next time he gets mail.
1997-07-25 22:08:24 +00:00
Richard M. Stallman
cfd86a2fdd (rmail-mime-feature): Doc and custom fix. 1997-07-25 01:01:50 +00:00
Richard M. Stallman
743139f5de (rmail-get-new-mail): If conversion fails, delete the text that was inserted. 1997-06-25 05:07:36 +00:00
Kenichi Handa
fc3c34a837 (rmail-enable-decoding-message): Deleted.
(rmail-revert): Bind enable-multibyte-characters to nil before
calling rmail-convert-file.
(rmail-convert-to-babyl-format): If enable-multibyte-characters is
nil, do not convert code.
1997-06-18 12:55:02 +00:00
Richard M. Stallman
95b597ce99 (rmail-mmdf-delim1, rmail-mmdf-delim2):
Variables renamed from mmdf-delim1 and mmdf-delim2.
1997-06-01 19:31:59 +00:00
Kenichi Handa
426591c3ff Coding system names changed as follows:
internal -> emacs-mule, automatic-conversion -> undecided.
Coding category name changes as follows:
coding-category-internal -> coding-category-emacs-mule.
1997-05-16 00:59:00 +00:00
Richard M. Stallman
3bdbb9adc6 Fix previous change. 1997-05-15 21:19:48 +00:00
Richard M. Stallman
2079601b89 (rmail-retry-failure): Rename local to rmail-this-buffer.
(rmail-primary-inbox-list): Don't use backquote.
1997-05-15 20:17:08 +00:00
Kenichi Handa
908b8443a6 (rmail-enable-decoding-message): New variable.
(rmail-convert-file): Comment fixed.
(rmail-revert): Do not decode RMAIL file again because the backup
file is saved in Emacs internal format.
(rmail-convert-to-babyl-format): Check
rmail-enable-decoding-message.
1997-05-12 06:56:27 +00:00
Richard M. Stallman
7f25f98011 (rmail-ignored-headers): Add References, Mime-Version,
Lines, Content-Transfer-Encoding.
1997-05-04 17:38:57 +00:00
Richard M. Stallman
79d8d8d547 (rmail-count-new-messages): Fix previous change. 1997-05-04 03:44:31 +00:00
Richard M. Stallman
9bb97fe9a1 Add defgroups, and use defcustom. 1997-05-03 19:15:38 +00:00
Richard M. Stallman
0985b41295 (rmail-msgref-vector): New variable.
Holds, for each message, a cons cell which contains the message number
and which relocates if the message number changes.
(rmail-forget-messages): Clear rmail-msgref-vector.
(rmail-variables): Make rmail-msgref-vector buffer-local.
(rmail-count-new-messages): Extend rmail-msgref-vector.
(rmail-set-message-counters): Initialize rmail-msgref-vector.
(rmail-only-expunge): Update rmail-msgref-vector.
Don't look for mail-mode buffers specially.
(rmail-reply): Use rmail-msgref-vector element as arg.
(rmail-forward, rmail-retry-failure): Likewise.
(rmail-mark-message): Accept an element of rmail-mark-message as arg.
1997-05-02 07:25:43 +00:00
Richard M. Stallman
fa2795ca04 (rmail-reply): Pass Rmail buffer and msgnum
as arguments within the mail-send action.
(rmail-forward, rmail-retry-failure): Likewise.
(rmail-mark-message): New function.
(rmail-only-expunge): Update the new kind of action.
(rmail-send-actions-rmail-msg-number)
(rmail-send-actions-rmail-buffer): Variables no longer used.
1997-04-26 01:33:18 +00:00
Richard M. Stallman
5eb9cf9777 (rmail-mode-map): Add menu item for
rmail-output-body-to-file and put it on w.
1997-04-05 21:39:03 +00:00
Richard M. Stallman
6844ae32c9 (rmail-forward): Don't do dash-quoting on the signature. 1997-03-23 20:51:53 +00:00
Richard M. Stallman
55a42e8cdf (rmail-retry-failure): Special handling for mime.
(mail-mime-unsent-header): New variable.
1997-03-20 04:55:20 +00:00
Simon Marshall
3d51068df9 Tweak font-lock-keywords 1997-03-15 13:26:59 +00:00
Kenichi Handa
d1e69dec61 (rmail-view-buffer, rmail-enable-mime, rmail-show-mime-function,
rmail-mime-feature): New variables to control MIME feature.
(rmail-file-coding-system): Initial value is nil.
(rmail, rmail-convert-file, rmail-insert-inbox-text): Check
rmail-enable-mime.  Read a file without any code conversion.
(rmail-variables): Setup local variables rmail-buffer and rmail-view-buffer.
(rmail-decode-babyl-format, rmail-convert-babyl-format): Perform code
conversion of RMAIL file if rmail-enable-mime is nil.
(rmail-show-message): Make sure to be in rmail-buffer.  If
rmail-enable-mime is t, call appropriate function to decode MIME
format.
(rmail-mail, rmail-reply): Call rmail-start-mail with argument
rmail-view-buffer.
1997-02-26 12:57:47 +00:00
Karl Heuer
a21b845bc9 (rmail-next-same-subject, rmail-reply): Ignore case, to
match "RE:" as well as "Re:".
1997-02-23 07:09:01 +00:00
Karl Heuer
d0c3269a29 (rmail-file-coding-system): New variable.
(rmail-insert-inbox-text): Perform character code conversion
according to rmail-file-coding-system.
(rmail-only-expunge): Pay attention to multibyte characters.
1997-02-20 05:49:08 +00:00
Richard M. Stallman
bf437d6d95 (rmail-ignored-headers): Add Delivered-to: header. 1997-02-03 06:55:50 +00:00
Richard M. Stallman
d2d8b77eab (rmail-reply): Concatenate all the References headers. 1997-02-01 19:14:49 +00:00
Richard M. Stallman
11aea8f56d (rmail-reply): Copy all the References: headers
from the original message.
1997-01-31 09:35:39 +00:00
Karl Heuer
9a10bd0dc2 (rmail-get-new-mail): Fix return value to match doc. 1997-01-25 06:47:28 +00:00
Richard M. Stallman
4144e5cba0 (rmail-preserve-inbox): New variable.
(rmail-get-new-mail): If rmail-preserve-inbox is non-nil, then
don't truncate the inboxes after retrieving mail from them.
1997-01-21 01:51:46 +00:00
Richard M. Stallman
dbf71ee969 (rmail-msg-is-pruned): New function.
(rmail-toggle-header): Add an optional argument to specify explicitly
whether the header should be pruned or displayed in full.
1996-12-28 20:56:53 +00:00
Richard M. Stallman
bde7cb3fae (rmail-start-mail): Rewrite to use compose-mail.
Two new arguments.
(rmail-forward): Always call rmail-start-mail, never `mail'.
1996-12-07 22:13:48 +00:00
Richard M. Stallman
037fa8ca99 (rmail-reply): Merge resent-to and resent-cc into to and cc.
Ignore the resent- fields aside from that.
1996-10-26 16:06:11 +00:00
Simon Marshall
34c3c889a0 Tweak rmail-font-lock-keywords. 1996-10-23 09:26:33 +00:00
Richard M. Stallman
6af28e9fac (rmail): Run rmail-mail-hook last.
(rmail-mode-2): Don't run rmail-mode-hook here.
(rmail-mode, rmail): Run it here.
1996-10-12 16:08:08 +00:00
Richard M. Stallman
e1df51ae10 Delete all the autoload calls. 1996-09-27 00:34:05 +00:00
Richard M. Stallman
563ab60dbd (rmail-insert-inbox-text): Detect locked
RMAIL files at the outset, before copying any files.

(rmail-find-all-files): Eliminate recursive scan.  Rely on directory-files
to do the filtering.

(rmail-convert-to-babyl-format):
Increase sit-for timeout to 3 seconds.

(rmail-get-new-mail): Handle files in multiple batches,
in case two inboxes have the same last name component.

(rmail-show-message): Bind `end' after clearing the
"unseen" attribute.

(rmail-show-message): Clear `unseen' even if header
is already reformatted--but don't do it if rmail-not-really-seen.
(rmail-not-really-seen): New variable.
1996-09-19 03:21:11 +00:00