1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-05 08:53:45 +00:00
Commit Graph

1508 Commits

Author SHA1 Message Date
Richard M. Stallman
8a7377b52d (uce-reply-to-uce): Fix incorrect behavior when
invoked from Rmail with full headers displayed.
2002-02-17 17:00:33 +00:00
Richard M. Stallman
8fad672be9 (define-mail-abbrev): Define as system abbrev.
(mail-abbrev-in-expansion-header-p): Copy the code of mail-header-end
to avoid needing sendmail.el at run time.
2002-02-13 15:59:53 +00:00
Richard M. Stallman
f526e65a47 (mail-mode-map): Use eval-after-load to change it. 2002-02-09 09:46:08 +00:00
Richard M. Stallman
d075ed70e1 Require sendmail only at compile time.
(mail-mode-header-syntax-table): Var deleted.
(mail-abbrev-syntax-table): Init to nil, will compute when needed.
(sendmail-pre-abbrev-expand-hook): Only temporarily change
local-abbrev-table and the syntax table.
Compute mail-abbrev-syntax-table if that has not been done.
2002-02-06 15:42:34 +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
f04f5c7689 (uce-reply-to-uce): Prune the headers before copying
the message text into the *mail* buffer, and restore the pruned
state after that.
2002-02-02 16:54:59 +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
Stefan Monnier
4003548799 (mail-mode): Undo half of last change. 2002-02-01 22:00:02 +00:00
Stefan Monnier
567a1c29d9 (mail-mode): ">" is not a supercite-style prefix
and is already matched by adaptive-fill-regexp.
2002-01-23 00:44:27 +00:00
Andreas Schwab
adb92798f7 (feedmail): Fix :link spec. 2002-01-16 13:46:59 +00:00
Pavel Janík
110c171f4d Fix typo. 2002-01-13 10:09:20 +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
Eli Zaretskii
918c7db7f7 (mail-recover-1, mail-recover): Doc fix. 2002-01-04 10:25:20 +00:00
Eli Zaretskii
6cd4cfc5ad (mail-recover-1): New function.
(mail-recover): Switch to the *mail* buffer right away.  Use
buffer-auto-save-file-name instead of calling
make-auto-save-file-name.  Call dired-noselect instead of invoking
`ls' directly.  Bind coding-system-for-read to emacs-mule-unix
before reading the auto-save file.  If the buffer's auto-save file
does not exist, call mail-recover-1 to allow recovery from past
auto-saved drafts.
2002-01-03 16:52:26 +00:00
Richard M. Stallman
00417fac36 (mail-envelope-from): Fix custom type.
(sendmail-send-it): Check mail-specify-envelope-from
and mail-envelope-from in the mail buffer at start.
2001-12-28 18:58:40 +00:00
Eli Zaretskii
31bc27f607 (mail-envelope-from): Fix :type. Suggested by "Golubev I. N." <gin@mo.msk.ru>.
(sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
From "Golubev I. N." <gin@mo.msk.ru>.
2001-12-28 12:20:11 +00:00
Pavel Janík
ec5b8815a9 (mh-show-msg): Likewise.
(mh-handle-process-error): Use frame-width instead of obsolete
screen-width.
2001-12-25 11:18:39 +00:00
Eli Zaretskii
7e3fa9f5e2 (smtpmail-send-queued-mail): Use
with-temp-buffer instead of find-file-noselect, and bind
coding-system-for-read to no-conversion when reading the queued
messages.  From Simon Josefsson <jas@extundo.com>.
2001-12-21 12:06:21 +00:00
Pavel Janík
f0529b5b1a Doc fix. 2001-12-20 19:01:00 +00:00
Pavel Janík
0ff9b955fe Doc fixes. 2001-12-20 18:59:32 +00:00
Pavel Janík
9c8920d866 (rmail-summary-mode): Do not use make-local-hook. 2001-12-13 07:55:20 +00:00
Pavel Janík
fb359a2b21 (rmail-fontify-buffer-function): Do not use make-local-hook. 2001-12-13 07:52:26 +00:00
Pavel Janík
59f48b152e (mail-abbrevs-setup): Do not use make-local-hook. 2001-12-13 07:51:46 +00:00
Eli Zaretskii
19a0baf79c (smtpmail-send-queued-mail): Insert the enqueued messages literally. 2001-12-10 19:49:32 +00:00
Stefan Monnier
21bf0d6c50 Use with-current-buffer.
(message-make-date, message-make-message-id): Autoload when needed.
(smtpmail-send-it): Use them to add `Date:' and `Message-Id:'
headers when missing.
2001-12-01 00:36:12 +00:00
Sam Steingold
8a9463543d Converted backquote to the new style. 2001-11-27 15:52:52 +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
Richard M. Stallman
92dfd10c1f Simplify previous change. 2001-11-25 17:45:36 +00:00
Pavel Janík
fefed09d42 (smtpmail-deduce-address-list): Don't use insert-string. 2001-11-25 15:11:22 +00:00
Richard M. Stallman
eab26a2fe5 (sc-toggle-var): Don't use set-variable or eval-expression.
Eval and set the variable simply.
2001-11-25 00:02:05 +00:00
Colin Walters
c6c8cba42e (reporter-submit-bug-report): Doc fixes. 2001-11-22 07:58:13 +00:00
Stefan Monnier
d980c402f0 Use backquote/dolist/mapc/when. Docstring fixes.
(mail-extract-address-components): Downcase domain names.
(mail-extr-delete-char): Remove.  Use delete-char instead.
2001-11-19 23:16:21 +00:00
Richard M. Stallman
9056f1c9f7 (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
(smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd):
Defsubst instead of defmacro.
(smtpmail-intersection): Return value in reverse order.
(smtpmail-open-stream): Use stringp instead of string-to-list.
(smtpmail-open-stream, smtpmail-try-auth-methods): New functions,
separated from smtpmail-via-smtp.

(top level): Autoload starttls, mail-utils and rfc2104.
(smtpmail-smtp-service): Doc fix.  :type fix.
(smtpmail-debug-info): Doc fix.
(smtpmail-debug-verb, smtpmail-auth-credentials)
(smtpmail-starttls-credentials, smtpmail-auth-supported): New variables.
(smtpmail-deduce-address-list, smtpmail-send-it): Don't require
mail-utils (it is autoloaded).
(smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
(smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd)
(smtpmail-find-credentials, smtpmail-intersection): New utility funs.
(smtpmail-via-smtp): Support STARTTLS, if binary is installed.
(smtpmail-via-smtp): Support AUTH.
(smtpmail-via-smtp): Use `smtpmail-debug-verb' to control VERB.
2001-11-17 22:43:36 +00:00
Richard M. Stallman
b2537dfac3 Change maintainer email address. 2001-11-16 21:10:58 +00:00
Richard M. Stallman
af6046560c (mail-extr-voodoo): Treat a number as a word
if it doesn't make sense as anything else.
(mail-extr-leading-garbage): Match non-word characters only.
2001-11-16 19:57:07 +00:00
Richard M. Stallman
36656ee3bc (sc-emacs-features): Test for "Emacs 19"
by really checking that it is not version 18.
2001-10-28 14:20:39 +00:00
Stefan Monnier
f81b71c78b (mail-mode-syntax-table): Let it inherit from text-mode-syntax-table.
(mail-mode): Use define-derived-mode.
Fix ordering of alternatives in adaptive-fill-regexp.
(mail-mode-map): Don't rely on keymap's internal representation.
2001-10-27 22:19:29 +00:00
Gerd Moellmann
5a38ea8508 (mh-recenter): Call recenter with arg `(4)'. 2001-10-25 10:13:00 +00:00
Gerd Moellmann
197a9dfdb5 (mh-recenter): Call `recenter' with arg t
if ARG is nil.
2001-10-23 15:50:29 +00:00
Eli Zaretskii
70d2f11579 (rmail-summary-font-lock-keywords): Fix the
regexps due to 5-digit message IDs.
2001-10-21 19:08:56 +00:00
Stefan Monnier
d2f11dda2a (smtpmail-via-smtp): Use mail-envelope-from if set. 2001-10-18 20:48:23 +00:00
Pavel Janík
906f211e1b Do not double variables in the lambda-list. 2001-10-13 08:10:30 +00:00
Gerd Moellmann
7271daf79b (rmail-make-summary-line)
(rmail-make-summary-line-1, rmail-summary-next-same-subject)
(rmail-summary-goto-msg, rmail-summary-goto-msg): Allow
5 digit mesage ids instead of 4.
2001-10-05 09:35:36 +00:00
Gerd Moellmann
349deff4c6 (mail-abbrev-in-expansion-header-p): Simplify. 2001-10-05 09:34:27 +00:00
Gerd Moellmann
e04233aacf (send-mail-function): Doc fix.
(mail-do-fcc): Error if header-end is not a marker.
(mail-do-fcc): Add a comment.
(mail-reply-to): Doc fix.
(mail-signature): Make ATPOINT optional.
(mail-yank-original): Use cond instead of nestled if.
2001-09-27 11:03:03 +00:00
Gerd Moellmann
6eb94ddb0f (feedmail-queue-send-edit-prompt-help):
Call get-buffer-window first second arg `visible'.
2001-09-27 10:54:55 +00:00
Eli Zaretskii
27537d14f0 Fix last change. 2001-09-23 17:38:22 +00:00
Eli Zaretskii
f4e0b4fc8d Update Stephen Gildea's mail address. 2001-09-23 17:37:37 +00:00
Eli Zaretskii
0678d77963 (mail-mode): Doc fix. From Simon Josefsson <jas@extundo.com>. 2001-09-23 17:08:31 +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
Gerd Moellmann
42d305db92 (mail-send): Obey mail-send-nonascii when
enable-multibyte-characters = nil.  From Hallvard B Furuseth
<h.b.furuseth@usit.uio.no>.
2001-09-10 09:37:02 +00:00
Eli Zaretskii
5e11c42501 (report-emacs-bug): Make sure *Messages*
exists.  From Andy Petrusenco <andy@int.spb.ru>.
2001-08-31 18:00:54 +00:00
Gerd Moellmann
d599a45219 (mail-send-hook): Remove a duplicate defcustom.
From Simon Josefsson <jas@extundo.com>.
2001-08-27 08:07:20 +00:00
Stefan Monnier
9bfc65eb83 (mail-mode): Use adaptive-fill-regexp. 2001-08-22 22:21:11 +00:00
Gerd Moellmann
5a104609f1 Moved to obsolete/. 2001-08-15 08:56:04 +00:00
Gerd Moellmann
a95f291d6f Comment fix. 2001-08-07 14:43:48 +00:00
Pavel Janík
6228c05b99 Keyword added and FSF specified as Maintainer. 2001-08-06 10:12:17 +00:00
Pavel Janík
070c251e74 Specify FSF as Maintainer. 2001-08-06 09:59:02 +00:00
Gerd Moellmann
8744971146 (mail-strip-quoted-names): Replace text
literally.  Reported by Sean Rima <sean@**Delete**.tcob1.net>.
2001-07-30 11:00:46 +00:00
Gerd Moellmann
794d58ba0a (mh-find-progs): Also search in `lib'.
From Mats Bengtsson <mats.bengtsson@s3.kth.se>,
2001-07-19 13:04:43 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Stefan Monnier
1407571dbe (reporter-submit-bug-report):
Don't abuse make-variable-buffer-local.  Fix call to add-hook.
2001-07-16 01:50:49 +00:00
Pavel Janík
60370d4073 Some fixes to follow coding conventions. 2001-07-15 19:53:53 +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
2be7dabcae Fix license commentary. 2001-07-13 12:59:13 +00:00
Gerd Moellmann
0b725d8cbd (mail-extr-all-top-level-domains): Increase
the size of the obarray.
(mail-extr-all-top-level-domains): Add more toplevel domains,
add more long names.
From: Per Starback <starback@ling.uu.se>.
2001-07-11 11:17:44 +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
c1a1fd6070 (mail-specify-envelope-from): Doc fix.
(mail-envelope-from): New user option.
(sendmail-send-it): Use it.
2001-07-06 10:31:11 +00:00
Gerd Moellmann
a2cc5c4f18 (rmail-reply): Don't forget to narrow header in
MIME-mode.
2001-07-06 10:04:07 +00:00
Gerd Moellmann
3427b08525 (rmail-output): Fix duplicate MIME-Version:
field problem with MIME-mode.

(rmail-output): Fix bug in MIME-mode.
2001-07-06 10:03:25 +00:00
Gerd Moellmann
3ff0518e6a (sendmail-send-it): Look at `sendmail-program'
in caller buffer.
2001-07-04 09:54:15 +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
Gerd Moellmann
4c1832e932 (rmail-message-subject-p): Don't call
`rmail-summary-line-decoder' if the message does not have Subject:
field.
2001-05-31 08:08:41 +00:00
Richard M. Stallman
2382b29dd3 (rmail-retry-failure): Do save-window-excursion. 2001-05-20 17:17:32 +00:00
Gerd Moellmann
2b5c7e03a5 (maybe-append-domain): Renamed to
`smtpmail-maybe-append-domain'.
(smtpmail-via-smtp): Use the new name.
2001-05-18 11:24:16 +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
Eli Zaretskii
cbeed4a8ab (report-emacs-bug): Don't switch the buffer to
unibyte.  Suggested by Kenichi Handa <handa@etl.go.jp>.
2001-05-10 15:47:29 +00:00
Gerd Moellmann
67f2e119e3 (rmail-message-subject-p): Process the result
of mail-fetch-field by rmail-summary-line-decoder.
(rmail-new-summary): Be sure to go to the Rmail buffer.  If
rmail-enable-mime is non-nil, set rmail-summary-buffer of
rmail-view-buffer to nil.
(rmail-summary-undelete): If rmail-enable-mime is non-nil, pop to
rmail-view-buffer.
(rmail-summary-scroll-msg-up): Handle rmail-view-buffer, not
rmail-buffer.
(rmail-summary-scroll-msg-down): Likewise.
(rmail-summary-beginning-of-message): Likewise.
(rmail-summary-wipe): Likewise.
(rmail-summary-toggle-header): Use save-window-excursion, not
save-excursion.  Update point in rmail-view-buffer, not in
rmail-buffer.
(rmail-summary-reply): Before calling rmail-reply, set buffer to
rmail-view-buffer, not rmail-buffer.
2001-05-08 11:18:48 +00:00
Gerd Moellmann
c96b208d6d (rmail-output-read-rmail-file-name): Be sure to
set-buffer to the Rmail buffer.
(rmail-output-to-rmail-file): Likewise.
(rmail-output): Likewise.
2001-05-08 11:18:20 +00:00
Gerd Moellmann
eba7fdff4b (rmail-read-label): Be sure to work in the
Rmail buffer.
(rmail-set-label, rmail-next-labeled-message): Likewise.
2001-05-08 11:17:55 +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
1d0533709c (rmail-edit-mode-hook): Add :version. 2001-05-07 11:27:36 +00:00
Gerd Moellmann
fa87f673f5 (smtpmail-warn-about-unknown-extensions): Add :version. 2001-05-07 11:26:24 +00:00
Gerd Moellmann
1b62b0624f (smtpmail-warn-about-unknown-extensions): New
option.
(smtpmail-via-smtp): Print warnings about unknown SMTP extensions
only if smtpmail-warn-about-unknown-extensions is set.
2001-05-07 11:24:51 +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
27d429472d (rmail-sort-by-labels): Renamed from
rmail-sort-by-keywords.
2001-05-07 10:06:15 +00:00
Gerd Moellmann
e15dbc43fb (rmail-summary-sort-by-labels): Renamed
from rmail-summary-sort-by-keywords.  Doc fix.
(rmail-summary-mode): Doc fix.
2001-05-07 10:05:41 +00:00
Gerd Moellmann
5092477add (rmail-edit-mode): Doc fix.
(rmail-edit-mode-hook): New user-option.
2001-05-07 09:59:43 +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
Stefan Monnier
9832760a3e (mh-folder-hist): New var.
(mh-prompt-for-folder): Use it and pass `default' to completing-read.
2001-04-03 16:02:45 +00:00
Stefan Monnier
7a9ebd0b8e (mail-extr-delete-char, mail-extr-safe-move-sexp)
(mail-extr-skip-whitespace-forward, mail-extr-nuke-char-at)
(mail-extr-skip-whitespace-backward, mail-extr-undo-backslash-quoting):
Use `defsubst' rather than a macro to ease debugging.
(mail-extr-last): Remove (use `last' instead).
(mail-extract-address-components): Properly reset the syntax-table
after parsing an address.  Use `last' rather than mail-extr-last.
Make sure the end marker stays at the very end.
2001-04-02 22:49:38 +00:00
Eli Zaretskii
249dd4090e (report-emacs-bug): Report LC_COLLATE,
LC_MESSAGES, LC_MONETARY, LC_NUMERIC, and LC_TIME as well.
From Paul Eggert.
2001-03-29 15:31:58 +00:00
Gerd Moellmann
180d550917 (sendmail-send-it): Don't parse Resent-*
headers.  Always invoke sendmail with option -t.
2001-03-21 10:29:26 +00:00
Gerd Moellmann
117e4b0cb8 (mail-mode): Activate case-folding in
font-lock-defaults.
2001-03-20 12:43:30 +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
Gerd Moellmann
58285c3b3b (rmail-summary-override-mail-send-and-exit):
New function.
(rmail-summary-mail, rmail-summary-reply, rmail-summary-forward):
Use it.
2001-03-12 15:58:05 +00:00
Eli Zaretskii
40beeceea1 (rmail-output-to-rmail-file): When writing the
Babyl header to the newly-created output file, bind
coding-system-for-write to either rmail-file-coding-system or
emacs-mule-unix.
2001-03-11 11:54:03 +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
Richard M. Stallman
b926081f86 (rmail-retry-failure): Don't call rmail-beginning-of-message.
Don't discard From: field.  Do discard Received: field.
Use unwind-protect to re-prune.

(rmail-retry-ignored-headers): Discard X-Authentication-Warning field.
2001-03-06 03:19:14 +00:00
Dave Love
f37489e672 (mh-compose-letter-function): Fix :type. 2001-02-08 00:01:35 +00:00
Gerd Moellmann
b2065cb6eb (rmail-ignored-headers): Add X-Trace,
X-Complaints-To, NNTP-Posting-Date, and User-Agent.
2001-02-05 11:31:52 +00:00
Gerd Moellmann
0404d03100 (rmail-ignored-headers): Add X-Sign, X-BeenThere,
X-Mailman-Version, Precedence, List-Help, List-Post,
List-Subscribe, List-Id, List-Unsubscribe, List-Archive,
Content-Type, Content-Length.
2001-01-29 12:08:17 +00:00
Dave Love
fc066c545d (feedmail): Add :link.
(feedmail-send-it): Doc fix.
2001-01-26 18:26:32 +00:00
Dave Love
67ad9438c9 Doc fixes.
(sendmail-send-it): Fix the non-ASCII regexp and use
rfc2047-encode-string.
2001-01-26 18:24:03 +00:00
Eli Zaretskii
4685e6b754 (rmail-redecode-body): Doc fix. 2001-01-25 12:32:26 +00:00
Eli Zaretskii
8ab5d35a02 (report-emacs-bug): Mention the fact that the
bug report is mailed to an email list and posted to a news group.
2001-01-24 16:51:54 +00:00
Eli Zaretskii
fd4976b812 (rmail-redecode-body): New function. 2001-01-22 17:14:47 +00:00
Eli Zaretskii
bde49c444d (report-emacs-bug): Report the value of LC_CTYPE, not LC_TYPE. 2001-01-19 17:45:03 +00:00
Eli Zaretskii
dc81f8a23b (report-emacs-bug): Report values of
locale-coding-system, default-enable-multibyte-characters, and the
environment variables LC_ALL, LC_TYPE, and LANG.
2001-01-19 16:15:51 +00:00
Kenichi Handa
9be82109cf (mail-setup): Call set-buffer-multibyte because
kill-local-variable doesn't work for enable-multibyte-characters.
2001-01-18 08:01:34 +00:00
Eli Zaretskii
4deb3ba946 (mail-mode): Doc fix. 2001-01-07 10:05:26 +00:00
Dave Love
17d96998fe Obsolete. 2001-01-04 19:21:36 +00:00
Karl Fogel
43c4b57077 mail/mail-hist.el (mail-hist-text-too-long-p): doc fix. 2001-01-03 16:29:17 +00:00
Gerd Moellmann
bde4c7ce90 (mail-abbrevs-enable, mail-abbrevs-disable):
Use mail-mode-hook instead of mail-setup-hook.  Otherwise
continuing an interrupted message with C-u C-x m for instence,
winds up in Mail mode without abbrevs.
2000-12-29 12:19:28 +00:00
Miles Bader
eba52a1aca (mail-mode): Set `comment-start' to the yank prefix. 2000-12-21 02:11:01 +00:00
Dave Love
c5dfddb64f Fix last check-in. 2000-12-18 13:57:32 +00:00
Dave Love
40fa000821 (send-mail-function): Customize. 2000-12-18 13:48:34 +00:00
Gerd Moellmann
0c28d8421e (mh-find-path): Set read-mail-command. 2000-12-15 12:32:33 +00:00
Gerd Moellmann
09cefa66ee (rmail-summary-expunge)
(rmail-summary-expunge-and-save): Use rmail-expunge-confirmed
instead of rmail-confirm-expunge.
2000-12-12 14:52:36 +00:00
Gerd Moellmann
e6be618b87 (rmail-expunge-confirmed): New function.
(rmail-expunge): Use it.
2000-12-04 16:40:57 +00:00
Gerd Moellmann
d2bf5afe6d (rmail-summary-expunge)
(rmail-summary-expunge-and-save): Ask for confirmation with
rmail-expunge-confirmed.
2000-12-04 16:40:31 +00:00
Gerd Moellmann
2c0b18983c (rmail-set-message-counters): Don't use "D"
as dummy 0-th char of rmail-deleted-vector.
2000-11-30 16:22:12 +00:00
Dave Love
4926711621 Require smtpmail when compiling.
(mail-do-fcc): Autoload.
(feedmail) <defgroup>: Fix :link.
(feedmail-nuke-body-in-fcc): Fix :type.
(feedmail-send-it): Add autoload cookie.
2000-11-29 10:34:51 +00:00
Gerd Moellmann
f0a7da4d26 (rmail-automatic-folder-directives): Add a custom
type, group and version.
2000-11-27 17:14:53 +00:00
Gerd Moellmann
771e538796 (rmail-confirm-expunge): Default to
y-or-n-p.
2000-11-22 22:37:39 +00:00
Dave Love
29a69d04a6 Fix header,
(feedmail) <defgroup>: Add :link.
2000-11-12 00:57:08 +00:00
Dave Love
0eafc06c5e (mail-font-lock-keywords): Use [:alpha:], not
a-z.
(mail-mode): Use [:alnum:] in some regexps.
2000-11-12 00:27:05 +00:00
Dave Love
e873dcf574 comment fixes 2000-11-12 00:22:02 +00:00
Dave Love
51c39cdbd2 comment fix 2000-11-12 00:21:13 +00:00
Eli Zaretskii
94821e4f02 (report-emacs-bug): Fix whitespace and
punctuation in the warning inserted into the *mail* buffer.
2000-11-02 17:10:31 +00:00
Gerd Moellmann
6e65a812a0 Change maintainer. 2000-11-02 12:37:54 +00:00
Dave Love
f70de9d453 Byte-compile-dynamic since it gets loaded by
Gnus with little use.
(mail-setup-hook): Add mail-abbrevs-setup to options.
2000-10-08 17:30:59 +00:00
Gerd Moellmann
81c5edd7e6 (rmail-dont-reply-to): Fix last change. 2000-09-25 15:04:30 +00:00
Gerd Moellmann
5f9f981bc1 (rmail-dont-reply-to): Avoid infinite loop if
rmail-dont-reply-to-names matches the empty string.
2000-09-25 10:35:47 +00:00
Gerd Moellmann
8fcbbf7d42 (mail-mode-fill-paragraph): Do not get the
filed name if it's not there.
2000-09-12 13:30:30 +00:00
Gerd Moellmann
db2144080c (uce-reply-to-uce): Remove hard-coded "*Article*" from
Gnus support code, and use special article copy buffer
`(gnus-original-article-buffer)' instead.  This allows to get rid
of article-hide-headers usage (which breaks in the latest Gnus
version).  Thanks to Detlev Zundel.
2000-08-28 15:01:58 +00:00
Stefan Monnier
c0df1972b2 Don't quote lambda. 2000-08-16 21:05:37 +00:00
Stefan Monnier
7382bcae29 *** empty log message *** 2000-08-16 21:03:36 +00:00
Stefan Monnier
1e495fc764 (mh-make-local-vars):
Replace make-variable-buffer-local with make-local-variable.
2000-08-16 20:38:40 +00:00
Eli Zaretskii
fab7aa637e Fix typo in comment. 2000-08-13 09:09:02 +00:00
Eli Zaretskii
7e2605e79e (rmail-start-mail): Use display-multi-frame-p
instead of looking at window-system.
2000-07-31 15:41:39 +00:00
Karl Fogel
aeb4c63e0b (mail-hist-previous-input, mail-hist-next-input): do the obvious code
factorization.

(mail-hist-retrieve-and-insert): new func, contains common code of
above two.  If inserting a message body, leave point at top.
2000-07-28 18:22:57 +00:00
Kenichi Handa
5ddcadb8e3 (sendmail-send-it): Improve the way to avoid calling
select-message-coding-system twice.
2000-07-27 06:22:00 +00:00
Richard M. Stallman
82d221935c (mail-strip-quoted-names): Handle case where <...> appears inside "...".
Use replace-match to edit the string more simply.

(rmail-dont-reply-to): Cope with an unmatched ".
2000-07-19 21:53:51 +00:00
Gerd Moellmann
a893064df5 Correct author's mail address. 2000-07-19 11:04:18 +00:00
Gerd Moellmann
12c74386d9 Change maintainer to FSF. 2000-07-18 12:58:36 +00:00
Gerd Moellmann
bdbeb193c4 (rmail-clear-headers): Don't throw an error
if rmail-ignored-headers is nil.
(rmail-retry-failure): Bind rmail-ignored-headers and
rmail-displayed-headers to nil.
2000-07-07 14:14:08 +00:00
Gerd Moellmann
c70d73590c (mail-unsent-separator): Changed "the" to "\\w+", as
exim can use "your message" instead of "the message".
2000-07-06 20:08:28 +00:00
Gerd Moellmann
9858013fc8 (post-mail-send-it): Make sure file has
proper permissions from birth.
2000-06-23 07:13:08 +00:00
Sam Steingold
3a8e2ba917 ignore *.elc 2000-06-19 16:16:01 +00:00
Kenichi Handa
2b7573b15d (sendmail-send-it): Inherit
buffer-file-coding-system of the current buffer to the temporary
buffer that this funciton uses for work.
2000-06-14 13:04:57 +00:00
Gerd Moellmann
3d04071d91 (mail-specify-envelope-from): Initialize to
nil.  Contemporary sendmails issue an X-Authentication-Warning if
the sender is set with `-f.
2000-06-13 21:35:42 +00:00
Stefan Monnier
b68d1f2697 (news-reply-header-hook): Don't quote lambda. 2000-06-12 05:17:06 +00:00
Stefan Monnier
f7c4478f99 (mh-send-sub): Check mh-etc is bound before using it.
(mh-letter-mode): Derive from text-mode.
This implicitly means that it now calls kill-all-local-variables.
Also remove the Emacs-18 compatibility code.
2000-06-05 07:15:58 +00:00
Gerd Moellmann
07ae0d6685 (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
and rmail-msgend to compute the restriction at the end, instead of
computing it.
2000-05-30 18:45:08 +00:00
Dave Love
8761730929 Maintainer change. Doc fixes.
(reporter-version): Deleted.
2000-05-26 13:06:25 +00:00
Dave Love
020c9ca57d Add provide. 2000-05-25 18:20:20 +00:00
Dave Love
ab59163d52 1999-01-23 Eric M. Ludlam <zappo@ultranet.com>
* rmailout.el (rmail-output-to-rmail-file): Added optional param STAY

	* rmail.el (rmail-automatic-folder-directives): New user variable.
	(rmail-show-message): Add call to `rmail-auto-file' during display.
	(rmail-auto-file): New function
2000-05-24 16:25:27 +00:00
Stefan Monnier
1e15f1152c *** empty log message *** 2000-05-23 20:10:46 +00:00
Dave Love
f1ed9461a9 Add to debug-ignored-errors. 2000-05-22 17:41:53 +00:00
Kenichi Handa
d17f2b920b (rmail-decode-quoted-printable): Use delete-region
and insert, not subst-char-in-region.
2000-05-20 00:09:21 +00:00
Dave Love
187962c499 rmail-show-message-hook): Customize and offer
goto-addr as an option.
2000-05-14 16:22:04 +00:00
Gerd Moellmann
85d0e9edbc (mail-abbrev-insert-alias): Renamed from
mail-interactive-insert-alias.
(mail-abbrev-complete-alias): New command.
(mail-mode-map): Bind it to `M-TAB'.
2000-05-03 19:25:07 +00:00
Kenichi Handa
030106ca73 (sendmail-send-it): Set
buffer-file-coding-system to the selected coding system for MIME
header.
2000-04-28 04:04:04 +00:00
Gerd Moellmann
fe20aba8c7 (mh-send-sub): Look for mh-comp-formfile in
mh-etc, too.
2000-04-27 18:56:42 +00:00
Kenichi Handa
f03392a12d (rmail-expunge): When there's no deleted messages,
do nothing.
2000-04-25 23:49:40 +00:00
Gerd Moellmann
faeb73d448 (mail-do-fcc): Prevent inserting a newline
at the start of an existing but empty folder.
2000-04-18 13:04:46 +00:00
Gerd Moellmann
4bcb5a9e5d Correct author's email address. 2000-04-09 10:57:15 +00:00
Gerd Moellmann
852c283098 Remove supernumerary copyright line. 2000-04-04 20:59:17 +00:00
Gerd Moellmann
62f20204b7 *** empty log message *** 2000-04-03 21:21:42 +00:00
Gerd Moellmann
36c5e6177b (rmail-user-mail-address-regexp): New option.
(rmail-make-basic-summary-line): Use that option.
2000-04-03 19:25:08 +00:00
Dave Love
82db7fdf6b Defvar curline when compiling.
(sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
(sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
rather than a-zA-Z0-9 to allow non-ASCII characters.
2000-03-31 10:50:03 +00:00
Gerd Moellmann
9f7c6da9c5 (rmail-confirm-expunge): New user-option.
(rmail-expunge): Ask for confirmation depending on the setting
of rmail-confirm-expunge.
2000-03-24 12:12:58 +00:00
Stefan Monnier
af59544485 (rmail-summary-font-lock-keywords): Make sure the
regexp for labels cannot span several lines.
2000-03-17 20:05:14 +00:00
Gerd Moellmann
f7daf1e10f Change maintainer to `none'. 2000-03-07 12:41:05 +00:00
Gerd Moellmann
baaa1f1913 (mail-send-nonascii): Add a new value 'mime and use
it as the default.
(mail-send): Test mail-send-nonascii also for the new 'mime value.
(sendmail-send-it): Conditionaly add MIME headers specifying the
used character set.
2000-03-07 12:33:39 +00:00
Gerd Moellmann
6c5def8e73 (rmail-quit-hook): New variable. 2000-03-02 09:29:36 +00:00
Gerd Moellmann
7090859485 (rmail-resend): Verify buffer is really Rmail. 2000-02-25 15:44:18 +00:00
Dave Love
5404d9b01b (footnote): Add :version to defgroup.
(footnote-section-tag-regexp): Customize.
(footnote-start-tag, footnote-end-tag): New option.
(footnote-latin-regexp): New variable.
(Footnote-latin): New function.
(footnote-style-alist): Add element for latin style.
(footnote-style): Moved.
(Footnote-goto-footnote): Use eq to test arg.
2000-02-23 20:25:34 +00:00
Gerd Moellmann
97bd30eb51 (rmail-dont-reply-to): Remove leading commas as well. 2000-02-12 19:44:56 +00:00
Gerd Moellmann
77e38f8bbb (rmail-retry-failure): Use
rmail-beginning-of-message before rmail-toggle-header, because the
former toggles headers.
2000-02-07 23:27:14 +00:00
Dave Love
fcc31755c5 Change maintainer. 2000-02-02 16:00:17 +00:00
Dave Love
a23cf8c2bd Fix year ranges in copyright notice. 2000-01-31 22:21:01 +00:00
Gerd Moellmann
38246e2ad6 (mh-find-progs): Add directory `etc' to
the list of directories scanned heuristically.
2000-01-30 21:19:21 +00:00
Gerd Moellmann
a0b796e3ed (rmail-dont-reply-to): Replace matched
userids differently.
2000-01-27 16:53:17 +00:00
Richard M. Stallman
7588f68a7f Fix previous change. 2000-01-21 03:43:45 +00:00
Richard M. Stallman
5ea4b65bfe (rmail-digest-end-regexps): Variable replaces rmail-digest-end-regexp.
Allows multiple regexps for detecting the end line.
(undigestify-rmail-message): Corresponding changes.
2000-01-21 02:04:16 +00:00
Gerd Moellmann
51ee83ac34 (rmail-digest-end-regexp): New user option.
(undigestify-rmail-message): Use it.
2000-01-18 21:30:05 +00:00
Gerd Moellmann
bf61662d88 (toplevel): Provide `sendmail' when compiling
before `require'ing rmail and mailalias to prevent infinite
recursion.
2000-01-09 12:37:37 +00:00
Dave Love
be0b8d6965 Require rmail, mailalias when compiling.
(mail-setup-hook): Add :options.
(mail-mode-hook, mail-send-hook): Customize.
2000-01-08 22:36:16 +00:00
Dave Love
409f8a3f94 Require cl when compiling. Don't autoload kemap and minor-mode-alist
stuff.  Don't set zmacs-region-stays.
(footnote-insert-text-marker, Footnote-insert-pointer-marker): Avoid
`acons'.
(footnote-mode-line-string, Footnote-add-footnote): Remove autoload
cookie.
1999-12-12 16:04:25 +00:00
Gerd Moellmann
6d6c336cf7 (rmail-summary-mode-map): Bind RET to rmail-summary-goto-msg. 1999-12-12 12:25:47 +00:00