1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00
Commit Graph

1160 Commits

Author SHA1 Message Date
Richard M. Stallman
9b4e41acb4 (report-emacs-bug-hook): Use skip-chars-forward
to check for non-ASCII characters, and to find them.
Don't use find-charset-region.
(report-emacs-bug-pretest-address): Update address.
(report-emacs-bug-address): Likewise.
1998-04-05 01:05:15 +00:00
Richard M. Stallman
3e0a61b575 (report-emacs-bug-hook): Don't bind enable-multibyte-characters. 1998-04-04 00:07:57 +00:00
Richard M. Stallman
249ac14bec (report-emacs-bug): Use set-buffer-multibyte. 1998-04-03 21:06:38 +00:00
Richard M. Stallman
c1a0049caa (rmail-mode-2): Locally set enable-local-variables
to nil, so a local var list in a message won't confuse things.
1998-04-03 05:34:10 +00:00
Richard M. Stallman
03a5af7baf (report-emacs-bug-hook): Fix the regexp for
matching non-ASCII characters.
1998-04-03 05:11:30 +00:00
Richard M. Stallman
c6d354e76e (reporter-bug-hook): Fix error message.
(reporter-beautify-list): Break infloop when
reaching the end of the buffer without crossing an unbalanced
paren.  Use scan-sexps instead of forward-sexp for the loop break test.

(reporter-submit-bug-report): Only call
display-buffer if pop-up-windows is non-nil.
1998-03-29 02:35:51 +00:00
Simon Marshall
8646fe223f use a string that will never match. 1998-03-27 10:11:45 +00:00
Richard M. Stallman
d155ff1892 (rmail-clear-headers): Handle failure to find "\n[^ \t]". 1998-03-26 04:28:37 +00:00
Simon Marshall
e69d810c33 check length of mail-header-separator before using in font-lock-keywords. 1998-03-25 16:41:18 +00:00
Richard M. Stallman
72fe461511 (reporter-mail): New function.
(reporter-compose-outgoing): Use fboundp, not functionp.
(reporter-bug-hook): Fix error message.

(reporter-beautify-list): Break infloop when reaching the end of the
buffer without crossing an unbalanced paren.  Use scan-sexps instead
of forward-sexp for the loop break test.

(reporter-submit-bug-report): Only call
display-buffer if pop-up-windows is non-nil.
1998-03-20 06:37:09 +00:00
Richard M. Stallman
f92f70bca6 (rmail-clear-headers): Make sure an empty line
still separates the headers from the body.
1998-03-16 18:11:20 +00:00
Kenichi Handa
1ad59104de (rmail-quit): Call quit-window before calling
replace-buffer-in-windows to assure that we can switch the rmail
buffer of the selected window.
1998-03-16 05:58:11 +00:00
Richard M. Stallman
5cfee3ac9a (news-inews): Signal error if inews fails. 1998-03-14 08:16:52 +00:00
Richard M. Stallman
f6b4e0f445 (rfc822-looking-at): store-match-data => set-match-data. 1998-03-14 04:52:14 +00:00
Richard M. Stallman
f539933537 (mh-make-folder-list-filter): store-match-data => set-match-data. 1998-03-14 04:51:45 +00:00
Richard M. Stallman
62382d98d0 (mh-quit): Use quit-window. 1998-03-08 00:25:49 +00:00
Richard M. Stallman
df211784d6 (rmail-next-same-subject): Ignore leading and
trailing whitespace in this message's subject.

(rmail-bury, rmail-quit): Use quit-window.
1998-03-08 00:24:12 +00:00
Richard M. Stallman
fe73d07254 (news-exit): Use quit-window. 1998-03-08 00:23:16 +00:00
Karl Heuer
f980ec39f6 (rmail-retry-failure): Don't insist on finding
MIME delimiter again at end of bounce text.
(mail-unsent-separator): Accept "Your message follows".
1998-02-25 23:26:45 +00:00
Stephen Eglen
0b5bb3ec88 Customized. 1998-02-22 22:01:28 +00:00
Simon Marshall
883212ce69 Changed font-lock-reference-face to font-lock-constant-face. 1998-02-20 14:58:27 +00:00
Kenichi Handa
55e2a603da (rmail-decode-babyl-format): Message modified.
(rmail): Comment for the binding of rmail-enable-multibyte added.
1998-02-20 11:15:28 +00:00
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
0fdb64d4ab (mail-extr-all-letters-but-separators)
(mail-extr-first-letters, mail-extr-last-letters):
Make range start from \240, not from \200.
1998-02-03 06:24:20 +00:00
Richard M. Stallman
3c3d71d93c (define-mail-alias): If FROM-MAILRC-FILE, don't call sendmail-sync-aliases.
(build-mail-aliases): Clear mail-aliases to nil at the beginning.
1998-02-01 23:56:13 +00:00
Stephen Eglen
3fb11d36e3 File customized + doc fixes. 1998-02-01 17:10:21 +00:00
Richard M. Stallman
7b27eb5359 (report-emacs-bug-address):
Variable renamed from bug-gnu-emacs.  Use defcustom.
(report-emacs-bug-pretest-address): Use defcustom.
1998-01-28 21:02:35 +00:00
Richard M. Stallman
dab2fff990 (rmail): Reinsert the let-binding of enable-local-variables. 1998-01-27 02:02:38 +00:00
Richard M. Stallman
fbd410d6df (emacsbug): Customized.
(report-emacs-bug-no-confirmation):
Renamed from report-emacs-bug-run-tersely.
(report-emacs-bug-no-explanations): New option.
(report-emacs-bug): Handle that option.
1998-01-26 03:14:34 +00:00
Eric M. Ludlam
03c9127e39 Added speedbar support for RMAIL files. 1998-01-23 02:14:02 +00:00
Kenichi Handa
5e7e990e1a (sendmail-coding-system): Doc-string modified.
(sendmail-send-it): Select a safe coding system to encode an
outgoing mail.
1998-01-22 01:41:59 +00:00
Richard M. Stallman
55872f3e06 (rfc822-snarf-word): Don't reject non-ASCII chars.
(rfc822-snarf-subdomain): Likewise.
(rfc822-addresses-1, rfc822-addresses): Likewise.
1998-01-19 20:28:03 +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
Richard M. Stallman
add0c45488 (undigestify-rmail-message): If in summary, switch to the Rmail buffer.
(unforward-rmail-message): Simplify using with-current-buffer.
1997-12-26 10:48:47 +00:00
Richard M. Stallman
255359cbcc (define-mail-alias): Handle backslash-quoting
within "-strings in DEFINITION if it comes from .mailrc.
1997-12-21 02:07:32 +00:00
Karl Heuer
44248b7f0d (mail-extr-all-top-level-domains): More domains. 1997-12-07 22:15:02 +00:00
Karl Heuer
869fc1d970 (mail-parse-comma-list):
Treat newlines and tabs as whitespace.
1997-12-04 05:26:28 +00:00
Karl Heuer
cd47bdccbe (sendmail-send-it): Parse folded
Resent-To header properly; don't ignore folded lines.
1997-12-04 05:25:59 +00:00
Richard M. Stallman
524d06f590 (mail-extr-voodoo): Allow & between names.
Reenable &-substitution when & comes last.
1997-12-04 04:36:46 +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
d1782bd882 (mail-extract-address-components):
New arg ALL says return info about all the addresses.
Clarify buffer switching logic using save-excursion.
1997-11-20 21:45:59 +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
85f75902ca (mail-extr-voodoo): Comment out &-substitution. 1997-11-11 02:51:06 +00:00
Karl Heuer
4adf062e0a (build-mail-abbrevs): Use initial space in
internal buffer name.
1997-11-07 21:55:40 +00:00
Karl Heuer
7d4c958f65 Customize.
(mail-abbrevs-enable, mail-abbrevs-disable): New functions.
(mail-abbrevs-mode): New variable enables use of the package.
Call mail-abbrevs-enable or mail-abbrevs-disable.
(mail-abbrevs-only): New variable.
(sendmail-pre-abbrev-expand-hook): Implement mail-abbrevs-only.
1997-10-21 02:54:50 +00:00
Karl Heuer
f6f4d6902b (mail-do-fcc): Handle dont-write-the-file
correctly--don't write msg to the file after saving it from a buffer.
1997-10-20 03:49:42 +00:00
Karl Heuer
8efaaf11ab (rmail-summary-rmail-update): When looking for
rmail-view-buffer, check other frames as well.
1997-10-16 18:42:17 +00:00
Karl Heuer
3375a61ce6 (smtpmail-send-it): Don't use time-stamp-strftime. 1997-10-15 23:33:14 +00:00
Karl Heuer
3ba3fa750f (rmail): Avoid showing message twice. 1997-10-15 23:06:46 +00:00
Karl Heuer
0a18209b69 (report-emacs-bug): Delete the condition-case. 1997-10-15 23:03:30 +00:00
Karl Heuer
b03a162169 (mail-bury): Check for value, not just
existence, of alist element.
1997-10-15 22:50:09 +00:00
Richard M. Stallman
e155e60e2d (rmail-output-to-rmail-file): Doc fix. 1997-09-20 23:20:37 +00:00
Richard M. Stallman
03d9b139a3 Fix previous change. 1997-09-19 04:27:56 +00:00
Richard M. Stallman
1838eb6cd6 Many doc fixes.
(mh-send-letter): Choose a coding system
the same way sendmail-send0-it (snedmail.el) does.
1997-09-15 19:45:16 +00:00
Richard M. Stallman
55206ca664 (mail-do-fcc): When writing to an Rmail file,
use rmail-file-coding-system or else emacs-mule.
1997-09-13 08:19:54 +00:00
Kenichi Handa
a92db45a68 (sendmail-send-it): If both
buffer-file-coding-system and sendmail-coding-system are nil, use
iso-latin-1 for encoding.
1997-09-12 01:46:32 +00:00
Kenichi Handa
1d6af2e59e (sendmail-send-it): The priority of coding
system for encoding outgoing mails is (1) local value of
buffer-file-coding-system, (2) sendmail-coding-syste, (3)
default-buffer-file-coding-system.
1997-09-10 13:15:07 +00:00
Richard M. Stallman
12eb951fa5 (mail-mode): Allow dash in citation prefixes
in adaptive-fill-regexp and adaptive-fill-first-line-regexp.
1997-09-08 10:28:45 +00:00
Richard M. Stallman
ea6a7e9ec1 Comment change. 1997-09-04 20:25:56 +00:00
Richard M. Stallman
f03ca5f57c (mail-mode): Set adaptive-fill-first-line-regexp
specially, not same as adaptive-fill-regexp.
1997-09-03 07:08:43 +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
413d1aa236 (mail-send): Complain about invalid header line. 1997-08-30 18:03:33 +00:00
Richard M. Stallman
3198a3d590 (rmail-summary-get-new-mail):
Handle args like rmail-get-new-mail, and pass them to that function.
1997-08-27 16:18:29 +00:00
Richard M. Stallman
3a295f7b0d (mail-strip-quoted-names): Retain one whitespace
character between addresses.
1997-08-27 02:33:40 +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
ac9f031061 (mail-yank-original): Bind mark-even-if-inactive
around the indentation and citation hooks code.

(mail-send-nonascii): Make the default t.
1997-08-20 02:06:31 +00:00
Richard M. Stallman
34153d7670 (mail-send): Ask for confirmation if
message contains non-ASCII characters.
(mail-send-nonascii): New variable.
1997-08-14 22:10:30 +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
Kenichi Handa
8d0cab5714 (sendmail-send-it): Bind sendmail-coding-system
to buffer-file-coding-system if it is non-nil.
1997-08-07 04:18:18 +00:00
Richard M. Stallman
6acf83d3c0 (mail-mode): Allow TAB after prefix in previous change. 1997-08-05 17:25:06 +00:00
Richard M. Stallman
a8fb994089 (mail-mode): Fix previous change.
Treat a supercite prefix not followed by text
as a paragraph separator.
1997-08-05 06:41:51 +00:00
Richard M. Stallman
4ab455e6c8 (rmail-summary-mouse-goto-message): New function.
(rmail-summary-mode-map): Bind it to Mouse-2.
1997-08-04 01:42:50 +00:00
Richard M. Stallman
248be2038a (mail-mode): Recognize foo> prefix
even without leading space.
1997-08-01 18:12:50 +00:00
Richard M. Stallman
a815b83c6a Update distribution terms. 1997-07-30 16:14:07 +00:00
Richard M. Stallman
84b7ccbdc6 (mspools-using-vm): Better handling of VM initialization.
(mspools-size-folder): Allow symbolic links to spool files.
1997-07-30 16:12:30 +00:00
Richard M. Stallman
2997295e35 Comment change. 1997-07-30 02:21:19 +00:00
Richard M. Stallman
9a2fe7b204 (rmail-resend): Use user-mail-address. 1997-07-29 02:15:28 +00:00
Richard M. Stallman
b9c22adf8a (mail-extr-voodoo): Handle unmatched quotes in the comment-deletion loop. 1997-07-27 01:54:56 +00:00
Richard M. Stallman
d78f466fff (mail-mode): Make adaptive-fill-regexp
match more values.  Bind adaptive-fill-first-line-regexp too.
1997-07-26 22:19:26 +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
5ab5daada5 (metamail-region): Don't bind kanji-fileio-code
or file-coding-system.  Don't call define-program-kanji-code
or define-program-coding-system.  Instead, bind coding-system-for-read.
1997-07-25 05:59:39 +00:00
Richard M. Stallman
cfd86a2fdd (rmail-mime-feature): Doc and custom fix. 1997-07-25 01:01:50 +00:00
Richard M. Stallman
5e32e1197a (mail): Improve confirmation questions for file-visiting mail buffers. 1997-07-25 00:10:37 +00:00
Richard M. Stallman
835b892a39 Comment change. 1997-07-24 04:01:12 +00:00
Richard M. Stallman
056e1e3fe7 Change eql calls to eq. 1997-07-23 21:40:04 +00:00
Richard M. Stallman
3bb2a8afc2 Change eql calls to = or equal. 1997-07-23 21:39:50 +00:00
Richard M. Stallman
374bda6bbd (mail-indent-citation): Undo previous change.
Instead, convert region-end to a marker before the loop.
(mail-yank-original, mail-yank-region): Undo previous change.
1997-07-22 20:23:53 +00:00
Richard M. Stallman
eaff57bb12 (mh-make-folder-list-background):
Don't call mh-find-path if we were called from there.
(mh-find-path): Move mh-make-folder-list-background call to the end.
1997-07-21 20:30:49 +00:00
Richard M. Stallman
59fed028fe (mh-find-path): Handle mh-auto-folder-collect here,
not when this file is loaded.
1997-07-21 04:59:04 +00:00
Richard M. Stallman
072c1ebbf4 (mail): Ask a different question, if buffer is visiting a file. 1997-07-19 08:15:46 +00:00
Richard M. Stallman
1b8def5857 (mail-mode): Set adaptive-fill-regexp specially to cater to supercite.
(mail-indent-citation): Take region args.
(mail-yank-original, mail-yank-region): Pass the args.
1997-07-19 08:11:51 +00:00
Richard M. Stallman
ae8ad8859b Update copyright year. 1997-07-17 05:52:50 +00:00
Richard M. Stallman
02f6b3544d Improve text of messages. 1997-07-17 05:45:38 +00:00
Richard M. Stallman
e432fc7448 (mail-extr-voodoo): Get rid of comments at an early stage. 1997-07-16 04:37:17 +00:00
Richard M. Stallman
28afe1992d (mail-mode-auto-fill): Use insert-before-markers. 1997-07-15 19:34:10 +00:00
Kenichi Handa
fe1d8b33cb (report-emacs-bug-run-tersely): New variable
(report-emacs-bug): Insert warnings for novice usres in *mail* buffer.
Set enable-multibyte-characters to nil.
(report-emacs-bug-hook): Check non-English letters.  Confirm about
sending a report to FSF.
1997-07-15 08:23:58 +00:00
Kenichi Handa
8881c1abb9 (mail-setup): Kill the local binding of enable-multibyte-characters.
Turn off an input method.
1997-07-15 08:23:58 +00:00
Richard M. Stallman
b56822304a (mail-mode): Make fill-paragraph-function local. 1997-07-10 01:41:38 +00:00
Richard M. Stallman
5504f993f9 (reporter-compose-outgoing): Use functionp,
not fboundp, to test validity of COMPOSE.
1997-07-05 03:41:35 +00:00
Richard M. Stallman
19274e0072 (report-emacs-bug): Don't include messages
in *Messages* generated by report-emacs-bug itself.
1997-07-04 19:08:11 +00:00
Richard M. Stallman
5695bf0c7e (mail-complete-alist): Don't use backquote. 1997-07-04 18:56:19 +00:00
Richard M. Stallman
205d354f26 (mail-do-fcc): Pass an arg to verify-visited-file-modtime. 1997-07-04 04:43:38 +00:00
Richard M. Stallman
421593b98d Fix previous change. 1997-07-03 07:21:22 +00:00
Richard M. Stallman
ceaa7fbed1 (report-emacs-bug): Don't assume the exit command
is mail-send-and-exit for all user agents.
1997-07-03 02:29:48 +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
Richard M. Stallman
24ec11f0a8 (reporter-version): Change value. 1997-06-23 02:48:06 +00:00
Richard M. Stallman
896546cd9b Add provide call. 1997-06-22 18:57:55 +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
b3e13f5d78 Fix previous change. 1997-06-17 02:29:54 +00:00
Richard M. Stallman
1603f29ab9 (mail-mode): mail-header-separator affects paragraphs
only when there is nothing after it on the line.
(mail-mode-auto-fill, mail-mode-fill-paragraph):
Look for mail-header-separator only on a line by itself.
1997-06-17 00:08:51 +00:00
Richard M. Stallman
9cc92f8bd3 (mail-mode): Let all-white lines separate paragraphs. 1997-06-15 07:36:22 +00:00
Richard M. Stallman
a984234637 (mail-mode): Change paragraph-start and
paragraph-separate not to match leading spaces.
1997-06-12 04:32:29 +00:00
Richard M. Stallman
698f40ca01 (mail-parse-comma-list): Use buffer-substring-no-properties. 1997-06-10 01:26:11 +00:00
Richard M. Stallman
94955307b6 (mail-directory-parser): Fix previous change. 1997-06-08 20:50:45 +00:00
Richard M. Stallman
31407d5d6e Customize. Doc fixes.
Mark some risky local variables.
1997-06-07 23:12:19 +00:00
Richard M. Stallman
f808129110 (mail-setup): Don't set buffer-file-coding-system to nil.
Instead, kill the local binding of it.
1997-06-03 08:17:35 +00:00
Richard M. Stallman
2813dcb90f (mail-setup): Clear out buffer-file-coding-system. 1997-06-03 03:02:50 +00:00
Richard M. Stallman
308bc5d840 Include time-stamp.
(smtpmail-queue-dir, smtpmail-queue-index-file): New variables.
(smtpmail-queue-mail): New variable.
(smtpmail-send-it): Handle those variables.
(smtpmail-send-queued-mail): New command.
1997-06-01 23:26:16 +00:00
Richard M. Stallman
c50d5ce0d1 (smtpmail-via-smtp): Recognize XVRB as a synonym for
VERB and XONE as a synonym for ONEX.

(smtpmail-read-response): Add "%s" to `message' calls to avoid
problems with percent signs in strings.

(smtpmail-read-response): Return all lines of the
response text as a list of strings.  Formerly only the first line
was returned.  This is insufficient when one wants to parse
e.g. an EHLO response.

Ignore responses starting with "0".  This is necessary to support
the VERB SMTP extension.

(smtpmail-via-smtp): Try EHLO and find out which SMTP service
extensions the receiving mailer supports.

Issue the ONEX and XUSR commands if the corresponding extensions
are supported.

Issue VERB if supported and `smtpmail-debug-info' is non-nil.

Add SIZE attribute to MAIL FROM: command if SIZE extension is
supported.

Add code that could set the BODY= attribute to MAIL FROM: if the
receiving mailer supports 8BITMIME.  This is currently disabled,
since doing it right might involve adding MIME headers to, and in
some cases reencoding, the message.
1997-06-01 22:24:22 +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
Richard M. Stallman
ab6f89780a (mail-strip-quoted-names): Don't delete angle brackets
when there's a colon inside them.
1997-05-31 21:14:57 +00:00
Richard M. Stallman
d35253d3a7 Comment change. 1997-05-29 01:04:24 +00:00
Richard M. Stallman
e4874521bb Comment change. 1997-05-27 15:32:03 +00:00
Richard M. Stallman
178fc2d314 Initial revision 1997-05-20 21:48:58 +00:00
Richard M. Stallman
f209429d37 (mh-file-command-p): New function.
(mh-path-search): Use that.
(mh-find-progs): Don't check current directory
unless explicitly requested.  Don't set mh-progs or mh-lib
if the programs are not found.  Give an error message
unless they are found.
1997-05-20 05:26:22 +00:00
Richard M. Stallman
ecb4dd9a35 (rmail-summary-delete-forward): Force the
argument to be a number, since we may be called with nil.
1997-05-19 01:05:13 +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
Simon Marshall
e28449ed4b make expand-mail-aliases interactive 1997-05-14 07:27:25 +00:00
Simon Marshall
1abf89b818 entry for expand-mail-aliases 1997-05-14 07:26:32 +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
69c1dd37e3 Use defgroup and defcustom. 1997-05-05 11:57:31 +00:00
Paul Eggert
4b51c8e7ef Change RCS Header to Id. 1997-05-05 05:45:46 +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
0a01a04eee Use defcustom. 1997-05-03 19:16:43 +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
699adcb295 Don't bind C-x m, C-x 4 m, C-x 5 m. 1997-04-29 02:07:51 +00:00
Richard M. Stallman
fa66717348 (mh-smail-batch): Accpt &rest arg `ignored'. 1997-04-29 01:36:06 +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
092af6d867 Comment change. 1997-04-20 07:33:52 +00:00
Richard M. Stallman
f0aef6bf09 (mail-attach-file): New function.
(mail-mode-map): Add mail-attach-file on C-c C-i.
1997-04-20 01:20:58 +00:00
Richard M. Stallman
444dd0b5b6 Fix previous change. 1997-04-18 02:54:33 +00:00
Richard M. Stallman
efac8cf189 Comment change. 1997-04-16 21:44:14 +00:00
Richard M. Stallman
e38eebc280 Add defgroup's; use defcustom for user vars. 1997-04-16 06:58:47 +00:00
Richard M. Stallman
0d15bc3116 (sendmail-send-it): Use quoted-printable encoding for the From field.
(mail-do-fcc): After appending to a buffer,
offer to save it.  Or if the buffer matched the file,
append to the file too.
1997-04-16 06:54:11 +00:00
Richard M. Stallman
93cba99425 (rmail-summary-delete-forward): Argument is now a repeat count.
(rmail-summary-delete-backward): Corresponding changes.
1997-04-16 00:56:40 +00:00
Richard M. Stallman
bf078b466b Initial revision 1997-04-14 10:52:29 +00:00
Richard M. Stallman
00ed33e7ab Add defgroup; use defcustom for user vars. 1997-04-13 07:51:54 +00:00
Richard M. Stallman
20f0de751d Add defgroup; use defcustom for user vars. 1997-04-12 20:20:55 +00:00
Richard M. Stallman
1d6a4283e4 (mail-quote-printable, mail-unquote-printable)
(mail-unquote-printable-hexdigit): New functions.
1997-04-12 20:09:17 +00:00
Richard M. Stallman
abbc1a7ac9 Add defgroup's; use defcustom for user vars. 1997-04-12 19:25:28 +00:00
Richard M. Stallman
e694581dc0 (mail-complete-style): New variable.
(mail-complete): Use that.
(mail-get-names): Store full names in cdrs of mail-names elts.
(mail-names): Doc fix.
(mail-directory): Minor cleanup.
1997-04-05 21:57:48 +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
a24de13400 (rmail-output-body-to-file): Query if file exists.
Renamed from rmail-output-body.
1997-04-05 21:38:07 +00:00
Richard M. Stallman
80abd2a8dc (rmail-output-to-rmail-file):
Use find-buffer-visiting instead of get-file-buffer.
1997-03-30 22:23:58 +00:00
Richard M. Stallman
d607b17dbe (rmail-output-body): New command. 1997-03-30 22:22:32 +00:00
Richard M. Stallman
b8f3a097ad (make-auto-save-file-name): Replace both / and \
with sequences starting with %.
1997-03-29 04:21:32 +00:00
Richard M. Stallman
5d0e8ddd8e (mh-find-progs): When looking for mh-lib, construct
likely paths based on mh-progs rather than using a static list.
1997-03-25 02:22:04 +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
8e3beae0e6 (mail-passwd-command): New variable.
(mail-get-names): Implement that variable.

(mail-passwd-files): New variable.
(mail-get-names): Use mail-passwd-files instead of always /etc/passwd.
1997-03-22 03:49:14 +00:00
Richard M. Stallman
13c2b5cb77 (rmail-dont-reply-to): Delete debugging code.
Don't insist on whitespace after commas.
1997-03-22 03:44:08 +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
ae54d28781 (sendmail-coding-system): Add autoload cookie.
Default value is nil.
1997-02-26 13:08:35 +00:00
Kenichi Handa
db56d71e95 (rmail-new-summary): Setup rmail-view-buffer.
(rmail-summary-line-decoder): New variable.
(rmail-make-summary-line-1): Use a function set in
rmail-summary-line-decoder.
(rmail-summary-next-msg): Display rmail-view-buffer.
(rmail-summary-mode): Make rmail-view-buffer buffer local.
(rmail-summary-rmail-update, rmail-summary-scroll-msg-up): Use
rmail-view-buffer instead of rmail-buffer.
1997-02-26 13:05:13 +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
ee0a4f29f9 (sendmail-coding-system): New variable.
(sendmail-send-it): Perform code conversion on sending mail
according to sendmail-coding-system.
1997-02-20 05:50:19 +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
1884e32542 (rmail-sort-messages): Preserve point
with respect to the the current message.
1997-02-10 00:08:51 +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
Richard M. Stallman
b7bf1cef33 (mail-fetch-field): New arg LIST. 1997-01-31 09:34:45 +00:00
Richard M. Stallman
ffb8c7cb58 (news-post-news): New arg NOQUERY. 1997-01-25 20:21:03 +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
e4377f536f (smtpmail-read-response): Don't get confused by %'s in response-string. 1997-01-21 01:16:10 +00:00
Richard M. Stallman
3fda54a2a2 Rename args PATHNAME to FILENAME in various functions.
(mh-mhn-compose-insertion): New arg ATTRIBUTES
and change the interactive spec to read it.
1997-01-13 03:25:05 +00:00
Richard M. Stallman
02f21b813f (report-emacs-bug): Use compose-mail. 1996-12-29 18:49:11 +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
e39e74c048 (mail-yank-clear-headers): Handle case of end < start.
(mail-indent-citation): Handle case of end < start.
(mail-yank-region): New command (on C-c C-r).
1996-12-27 02:02:21 +00:00
Richard M. Stallman
42eda49ce9 (mail-indentation-spaces): Doc fix. 1996-12-27 01:33:53 +00:00
Richard M. Stallman
03007ccc8b (mail-extract-address-components): Clear text props
after inserting ADDRESS.
1996-12-19 02:48:49 +00:00
Richard M. Stallman
5958eef64f (news-mail-reply, news-reply): Include the message
ID in the In-reply-to line.
1996-12-17 20:53:28 +00:00
Erik Naggum
92976f6765 (sendmail-send-it): Explicitly pass interactive delivery options to
sendmail.
1996-12-17 02:54:04 +00:00
Richard M. Stallman
00365e9831 (sendmail-send-it): If no recipients, don't run
the mailer program.  If there was also no fcc file, signal error.
1996-12-16 08:06:37 +00:00
Richard M. Stallman
bbcb3f00ac (mail-extract-address-components): Don't downcase
the domain part of the address.
1996-12-16 07:51:24 +00:00
Richard M. Stallman
37eb1878a0 (rmail-summary-beginning-of-message):
Obey rmail-summary-size, and make sure summary is on top
if we split a single large window.

(rmail-summary-scroll-msg-down): If message is
not visible at all, use rmail-summary-beginning-of-message.
(rmail-summary-scroll-msg-up): Likewise.
1996-12-14 02:11:32 +00:00
Richard M. Stallman
c8553837cd (mail-reply-action): Renamed from mail-reply-buffer.
(mail-yank-original): Handle either an action or a buffer
in mail-reply-action.
(mail): Doc fix.

(mail-mode-fill-paragraph): New function.
(mail-mode): Set fill-paragraph-function.
1996-12-07 22:16:27 +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
Erik Naggum
01753e63c5 (report-emacs-bug): Reorder arguments. 1996-11-14 09:17:55 +00:00
Erik Naggum
47a1e7a2c4 (report-emacs-bug): New argument recent-keys read before bug subject
to capture more relevant recent input.
1996-11-13 16:33:28 +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
f1052d2e63 Tweak mail-font-lock-keywords. 1996-10-23 09:26:35 +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
4f21aa66bf (rmail-summary-line-count-flag): Renamed from rmail-summary-line-count-p. 1996-10-04 18:40:55 +00:00
Richard M. Stallman
ea7bddc4ce (rmail-summary-line-count-p): New variable.
(rmail-make-basic-summary-line): Optionally exclude the line count.
1996-10-04 18:39:31 +00:00
Richard M. Stallman
e1df51ae10 Delete all the autoload calls. 1996-09-27 00:34:05 +00:00
Richard M. Stallman
372a91d780 Add many autoload cookies. 1996-09-27 00:33:39 +00:00
Richard M. Stallman
523abd28e7 (rmail-edit-current-message): Add autoload. 1996-09-27 00:31:16 +00:00
Richard M. Stallman
19ee6bfc61 (set-rmail-inbox-list): Add autoload cookie. 1996-09-27 00:30:40 +00:00
Richard M. Stallman
3457b06a54 (rmail-read-label, rmail-add-label, rmail-kill-label)
(rmail-previous-labeled-message, rmail-next-labeled-message):
Add autoloads.
1996-09-27 00:29:24 +00:00
Richard M. Stallman
d2288651c2 (rmail-summary-by-senders, rmail-summary): Add autoload.
(rmail-summary-by-topic, rmail-summary-by-regexp): Likewise.
(rmail-summary-by-recipients, rmail-summary-by-labels): Likewise.
1996-09-27 00:25:55 +00:00
Richard M. Stallman
c889a41aa6 (rmail-fields-not-to-output): Add autoload cookie.
(rmail-output-to-rmail-file, rmail-output): Likewise.
1996-09-27 00:22:02 +00:00
Richard M. Stallman
013da4a5b6 (rmail-keywords): Don't initialize. 1996-09-22 22:37:34 +00:00
Richard M. Stallman
5be36e2004 (rmail-summary-next-same-subject): Don't set
search-regexp until after adjusting subject string.

(rmail-summary-rmail-update): Bind rmail-not-really-seen
non-nil if in isearch mode.
1996-09-19 03:22:51 +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
Richard M. Stallman
9259d36e9d (rmail-output-file-alist): Add autoload cookie.
(rmail-delete-after-output): Duplicate defvar deleted.
1996-09-14 21:55:01 +00:00
Richard M. Stallman
16f45d1b8d (mail-extr-safe-move-sexp): Make sure this doesn't
signal errors even for pathological From headers.
1996-09-13 00:28:33 +00:00
Richard M. Stallman
ff4599fdb5 (rmail-dont-reply-to): Recognize the names to delete
when they appear within <...>.
1996-09-02 00:19:02 +00:00
Richard M. Stallman
31257c3f4e (reporter-compose-outgoing): Fix error syntax.
(reporter-bug-hook): Fix error message.

(mail-user-agent): Variable moved to simple.el.
(define-mail-user-agent): Function moved to simple.el.
(sendmail-user-agent, mh-e-user-agent): Defs moved to simple.el.
(reporter-mail): Function deleted.
1996-08-29 21:37:52 +00:00
Richard M. Stallman
5b6575b75d (mail-mode-auto-fill): New function.
(mail-mode): Put it into normal-auto-fill-function.
1996-08-29 01:25:34 +00:00
Richard M. Stallman
9f3e5ddfc4 (mail-self-blind, mail-interactive)
(mail-yank-ignored-headers): Make them user options.
1996-08-28 20:16:51 +00:00
Richard M. Stallman
416916d4ae (rfc822-bad-address): Don't put a newline into the
error message; this confuses rmail.
1996-08-18 01:18:56 +00:00
Erik Naggum
e4269dcbc7 (rmail-ignored-headers): Remove extra paren. 1996-08-17 11:53:54 +00:00
Richard M. Stallman
f14055b17b (rmail-ignored-headers): Hide X-char* and X-face, but not Sender. 1996-08-17 07:20:46 +00:00
Richard M. Stallman
24ff6e06b3 (rmail-ignored-headers): Ignore Path:, Sender:, X-mailer:. 1996-08-16 19:09:34 +00:00
Richard M. Stallman
3d52d58a99 (rmail-reply-regexp): Match Re[2]. 1996-08-06 18:41:06 +00:00
Richard M. Stallman
7424c13bf8 (rmail-reply-regexp, rmail-message-filter): Doc fix. 1996-08-06 18:31:45 +00:00
Paul Eggert
4c4a44f32e (rmail-unix-mail-delimiter): Allow space or tab as
first character in mailbox part of `From ' line.
1996-08-03 02:53:02 +00:00
Karl Heuer
e8417bb000 (rmail-next-same-subject): Don't set search-regexp
until after adjusting subject string.
1996-07-21 19:21:11 +00:00
Karl Heuer
a7952f716b Delete second (obsolete) copy of FSF address. 1996-07-20 17:30:06 +00:00
Karl Heuer
5781056053 (smtpmail-send-data-1): Escape "." at the start of
any line of data, not just lines containing nothing else.
1996-07-15 20:00:34 +00:00
Karl Heuer
d69006dfee (rmail-summary-next-labeled-message)
(rmail-summary-previous-labeled-message):
Call rmail-summary-goto-msg to move point in the summary.
1996-07-13 00:57:31 +00:00
Karl Heuer
13f1d088c1 (smtpmail-deduce-address-list): Handle RESENT-* fields. 1996-07-12 00:09:50 +00:00
Karl Heuer
b9cbdf4547 (rmail-make-basic-summary-line):
If user-mail-address is nil, use alternative.
1996-07-11 23:59:24 +00:00
Simon Marshall
007a03bfc8 Removed debug code. 1996-07-05 13:35:41 +00:00
Miles Bader
52a2a9c397 (smtpmail-send-it): Ignore To:' if there is a Resent-to':. 1996-07-04 05:45:33 +00:00
Miles Bader
c71437cfe9 Major rewrite. 1996-07-03 01:30:24 +00:00
Miles Bader
15065a0f17 (rmail-make-basic-summary-line): Accept ISO 8601 dates as well. 1996-07-02 16:23:51 +00:00
Miles Bader
384bc96cb9 (mail-hist-current-header-name): Use buffer-substring-no-properties. 1996-07-02 16:23:34 +00:00
Erik Naggum
cc8d8b6fe0 (require 'cl) is only necessary when compiling. 1996-07-02 00:01:05 +00:00
Richard M. Stallman
1d08d73314 (rmail-get-new-mail): Run rmail-before-get-new-mail-hook. 1996-06-28 08:39:55 +00:00
Richard M. Stallman
4343281289 (rmail-send-actions-rmail-buffer): Mark as permanent-local.
(rmail-send-actions-rmail-msg-number): Likewise.
1996-06-28 08:25:55 +00:00
Richard M. Stallman
98bd608d04 (mail-reply-buffer, mail-send-actions):
Mark them as permanent-local.
(mail-mode): Don't set mail-reply-buffer to nil.
1996-06-28 08:25:40 +00:00
Richard M. Stallman
74d6e31c96 (rmail-unix-mail-delimiter):
Accept more user names, since they can be
mangled badly by modern Unix mailers (e.g. Solaris 2.5 mail.local).
Be a little more picky about dates to compensate.
Match all the digits of a year, as per RFC 1123 section 5.2.14.
(rmail-nuke-pinhead-header): Adjust to regexp renumbering in
rmail-unix-mail-delimiter.
1996-06-28 07:10:30 +00:00
Richard M. Stallman
a2795b1cb9 (mail-user-agent): Replaces mua-paradigm.
(mh-find-path): Set mail-user-agent.
1996-06-28 06:56:17 +00:00
Richard M. Stallman
4b4052b2b8 Comment changes. 1996-06-28 06:51:32 +00:00
Richard M. Stallman
dbf0d3f8ca (mail-extract-address-components): Rename ,-pos to comma-pos. 1996-06-26 21:48:45 +00:00