Commit graph

264 commits

Author SHA1 Message Date
Richard M. Stallman
c034acdf58 (mail-font-lock-keywords): Match multiline In-Reply-To and X-*. 2003-01-06 01:07:14 +00:00
Kim F. Storm
8ba7cd4004 (mail-split-line): New function.
(mail-mode-map): remap split-line to mail-split-line.
2003-01-03 22:46:53 +00:00
Richard M. Stallman
287ef00fa1 (mail-signature): Handle case where
value of mail-signature is a string.
2002-11-24 19:02:14 +00:00
Markus Rost
65280ff31c (mail-default-directory): Set the version to 21.4. 2002-11-07 17:23:00 +00:00
Kenichi Handa
a80d729082 (sendmail-send-it): Call
select-message-coding-system before changing the current bufer to
" sendmail temp".
2002-10-15 01:10:03 +00:00
Simon Josefsson
56e5818fd6 * mail/sendmail.el (mail-envelope-from): New option `header' to
use RFC 2822 From: header as the envelope address.
(mail-envelope-from): New function, this should be used instead of
looking at the `mail-envelope-from' variable.
(sendmail-send-it): Use it.
* mail/smtpmail.el (smtpmail-via-smtp): Use it.
2002-10-11 02:27:30 +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
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
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
Eli Zaretskii
89e7ad5946 Change all post-21.1 :version attributes to 21.4. 2002-05-12 17:30:42 +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
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
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
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
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
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
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
Eli Zaretskii
0678d77963 (mail-mode): Doc fix. From Simon Josefsson <jas@extundo.com>. 2001-09-23 17:08:31 +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
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
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
3ff0518e6a (sendmail-send-it): Look at `sendmail-program'
in caller buffer.
2001-07-04 09:54:15 +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
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
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
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
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
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
8fcbbf7d42 (mail-mode-fill-paragraph): Do not get the
filed name if it's not there.
2000-09-12 13:30:30 +00:00
Eli Zaretskii
fab7aa637e Fix typo in comment. 2000-08-13 09:09:02 +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
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
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
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
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
Dave Love
a23cf8c2bd Fix year ranges in copyright notice. 2000-01-31 22:21:01 +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
0ec0d9c10a (mail-specify-envelope-from): Fix quoting of doc string. 1999-08-10 19:35:47 +00:00
Karl Heuer
32afb7445f (sendmail-send-it): Let mail-specify-envelope-from
control use of -f option.
(mail-specify-envelope-from): New variable.
(mail-from-style): Doc fix.
1999-08-10 17:46:24 +00:00