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
Juanma Barranquero
0a10297a06 Add "no-byte-compile: t" in first line. 2002-10-01 17:06:54 +00:00
Simon Josefsson
f029e7b0e9 (smtpmail-via-smtp): Only negotiate starttls on
streams that were opened using starttls.
2002-09-29 03:19:55 +00:00
Simon Josefsson
05f829ce2a (mail-hist-next-input): Fix docstring. 2002-09-26 23:19:58 +00:00
Richard M. Stallman
5eba27ea0d (unrmail): Do the work directly,
without actually selecting the messages in the from file.
(unrmail-unprune): New subroutine.
2002-09-26 22:02:23 +00:00
Simon Josefsson
2a487c6cdf (mail-extr-ignore-single-names): Change default.
(mail-extract-address-components): Doc fix.
2002-09-25 20:21:28 +00:00
Richard M. Stallman
c86237b26e (sendmail-send-it): If user's buffer is unibyte, make tembuf unibyte. 2002-09-23 00:17:51 +00:00
Markus Rost
f8aba1ce99 (mail-abbrev-make-syntax-table): Give %!._- word constituent syntax. 2002-09-21 20:11:08 +00:00
Simon Josefsson
bf6e31bc66 (smtpmail-send-it): Don't use : in filenames
(for cygwin). Suggested by Andrew Senior <aws@watson.ibm.com>.
Use expand-file-name.  Also don't require time-stamp.
2002-09-12 06:03:03 +00:00
Simon Josefsson
b559a04168 (smtpmail-default-smtp-server): Doc fix. 2002-09-11 04:53:40 +00:00
Simon Josefsson
d0e28141ba Update copyright. 2002-09-04 19:11:28 +00:00
Stefan Monnier
567bb3dd3a (mail-mode): Don't set local-abbrev-table.
(mail-mode-abbrev-table): Set to text-mode-abbrev-table.
2002-09-02 17:24:54 +00:00
Simon Josefsson
1121afb461 (smtpmail-via-smtp): Delete process buffer
unless s-debug-info is enabled.
2002-08-30 10:32:25 +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
Markus Rost
b92a07e0ed Update copyright notice and fix typo in commentary section. 2002-07-19 20:17:58 +00:00
Andreas Schwab
6946ae5b11 (mail-abbrev-make-syntax-table): Check the
inherited table entry.
2002-07-13 21:40:05 +00:00
Simon Josefsson
97f8327220 (mail-extr-all-top-level-domains): Update names. 2002-07-09 10:06:17 +00:00
Simon Josefsson
79814626bd Fix typo in comments, not worthy of a changelog entry. 2002-07-08 11:42:57 +00:00
Juanma Barranquero
e91053e833 (rmail-user-mail-address-regexp): Fix typo. 2002-07-02 14:49:22 +00:00
Juanma Barranquero
95b56cdf4b Fix typo. 2002-07-02 14:48:56 +00:00
Markus Rost
eb1213c14b (mail-recover-1): Remove (debug).
(mail-signature): Fix :type.
(mail-default-directory): New user option.
(mail, mail-recover):  Use that option.
2002-05-20 16:05:56 +00:00
Markus Rost
c71276553d (report-emacs-bug-hook): Do another save-excursion. 2002-05-20 00:39:23 +00:00
Richard M. Stallman
4e391653c0 (rmail-show-message-hook): Offer `goto-address' as an option. 2002-05-19 15:36:55 +00:00
Markus Rost
515ced278c (report-emacs-bug-text-prompt): New variable.
(report-emacs-bug):  Store the prompt in
`report-emacs-bug-text-prompt'.  Move Configuration/Important settings
information after the user's report.
(report-emacs-bug-hook): Unclutter by deleting the content of
`report-emacs-bug-text-prompt'.
2002-05-18 19:19:18 +00:00
Richard M. Stallman
9210027b8d (report-emacs-bug): Change the "English please" msg. 2002-05-13 15:45:18 +00:00
Eli Zaretskii
89e7ad5946 Change all post-21.1 :version attributes to 21.4. 2002-05-12 17:30:42 +00:00
Richard M. Stallman
850ed7b3a7 (smtpmail-mail-address): New variable.
(smtpmail-send-it): Bind and use that instead of `mail-address'.
(smtpmail-via-smtp): Likewise.
2002-05-12 17:01:59 +00:00
Richard M. Stallman
de971ad1a1 (rmail-show-message): Catch error in check-coding-system. 2002-05-10 01:02:26 +00:00
Simon Josefsson
1a8e727bc0 (smtpmail-send-it): Use user-mail-address from
calling buffer.
(smtpmail-auth-credentials): Bump :version to 21.4 (21.3 will not
have the patch).
2002-05-09 10:18:09 +00:00
Richard M. Stallman
0d1c958a2f (netrc-machine, netrc-get): Add autoloads. 2002-05-08 13:13:41 +00:00
Francesco Potortì
67f9d50ec6 (rmail-font-lock-keywords): Highlight Resent-[Ff]rom:. 2002-05-06 07:52:30 +00:00
Richard M. Stallman
461f30cb27 (report-emacs-bug-hook): Use replace-match only if search was successful. 2002-04-30 17:11:38 +00:00
Richard M. Stallman
74d51fb840 (report-emacs-bug-hook): Don't fail completely
if the user edits the Emacs version number in the text.
2002-04-30 02:23:49 +00:00
Richard M. Stallman
d41eb0aaeb (mail-recover-1): Decrease non-random-len by 1 for the newly-readded #. 2002-04-28 22:35:54 +00:00
Sam Steingold
a8ba442952 (smtpmail-try-auth-methods): host is not in the authinfo/netrc => cred=nil. 2002-04-26 18:59:08 +00:00
Richard M. Stallman
60ed3fa5f0 (smtpmail-auth-credentials): Support netrc files as well.
(smtpmail-try-auth-methods): Support netrc data.
(netrc-parse): Autoload netrc.
2002-04-25 23:39:21 +00:00
Richard M. Stallman
08b10dd422 (smtpmail-queue-counter): New variable.
(smtpmail-send-it): Use it to construct new queue filenames (needed
if you send more than one message per second, which is
possible if you use Gnus Agent).
2002-04-25 21:45:22 +00:00
Richard M. Stallman
0b0b4ce761 (mail-use-dsn): New variable to request delivery status notification from MTA.
(sendmail-send-it): Use it.
2002-04-25 21:33:38 +00:00
Richard M. Stallman
fba75b6b1a (mail-mode-abbrev-table): Delete defvar. 2002-04-19 00:08:19 +00:00
Richard M. Stallman
f436b1cbdb (mail-abbrev-make-syntax-table): Use (syntax-table), not old-syntax-table. 2002-04-04 20:50:15 +00:00
Richard M. Stallman
da00bb1869 (mail-abbrev-complete-alias): Call mail-abbrev-make-syntax-table. 2002-04-03 15:33:17 +00:00
Richard M. Stallman
ed1086b7ac (rmail-resend): Call mail-abbrev-make-syntax-table. 2002-03-25 00:41:26 +00:00
Richard M. Stallman
cf8b484f16 (mail-abbrev-make-syntax-table): New subroutine
broken out of sendmail-pre-abbrev-expand-hook.
(sendmail-pre-abbrev-expand-hook): Use it.
2002-03-23 16:10:14 +00:00
Thien-Thi Nguyen
ea33ba739a (report-emacs-bug-hook): Remove submitter
directions as the last action.
2002-03-21 02:11:53 +00:00
Paul Reilly
7fab5ded52 Eliminate compilation warnings due to `rfc822-addresses'.
(rmail-dont-reply-to): Eliminate `pos' as a free variable for a
warning free compile.
2002-03-20 08:13:21 +00:00
Paul Reilly
bb0974cf08 (rmail-dont-reply-to): Overhaul to correctly apply the regular
expressions in the variable `rmail-dont-reply-to-names' to the list of
destination addresses.  Contributed by lorentey@elte.hu.
2002-03-19 19:42:46 +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
f67acc8dfb (sc-select-attribution): Accept whatever value we get in CHOICE; there
is no value meaning "try again".
2002-03-08 21:08:19 +00:00
Richard M. Stallman
8366cfb567 (mail-recover-1): Increase non-random-len
by 1 since we changed make-auto-save-file-name to add one
fewer character to the buffer name.
(mail-recover): Really show point at the right place
in the *Directory* buffer.
2002-03-03 22:18:12 +00:00
Richard M. Stallman
5a7a27be27 (rmail-summary-output): Properly advance
to next message, by calling rmail-summary-goto-msg.
2002-02-23 17:14:34 +00:00
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