Commit graph

252 commits

Author SHA1 Message Date
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
Kenichi Handa
0b64a3da3a (sendmail-coding-system): Doc-string fixed.
(default-sendmail-coding-system): Doc-string fixed.
1999-07-31 00:48:50 +00:00
Karl Heuer
81f5ed32ad (mail-sent-via): Use copy-marker not make-marker. 1999-04-26 04:33:56 +00:00
Stephen Eglen
e186b06917 Fix typo in error string for sendmail-send-it. 1999-03-14 19:41:37 +00:00
Richard M. Stallman
75e4db343e (mail-mode): Eliminate ambiguous match from paragraph-start.
(mail-yank-original): Remove text properties after insertion.
(mail-yank-region): Barf if no mark is set in the message being replied to.
1999-01-02 00:14:41 +00:00
Karl Heuer
538b98473f (sendmail-send-it): Don't wait for sendmail to
exit when mail-interactive is nil.
1998-12-10 03:07:35 +00:00
Karl Heuer
63b896163c (sendmail-send-it): Check for failure. 1998-11-05 19:31:09 +00:00
Andreas Schwab
265f03bcb2 (sendmail-coding-system,
default-sendmail-coding-system): Doc fix.
1998-10-30 10:53:59 +00:00
Karl Heuer
4e0c86509d Comment fix. 1998-10-06 23:22:48 +00:00
Kenichi Handa
da241b5c3c (sendmail-coding-system): Doc-string modified.
(default-sendmail-coding-system): New variable.
(sendmail-send-it): Encode the message by a coding system
select-message-coding-system returns.
1998-08-24 01:46:43 +00:00
Richard M. Stallman
55c3534be0 (sendmail-send-it): Report invalid values of mail-from-style. 1998-08-14 08:58:00 +00:00
Richard M. Stallman
3c2cede3cd (mail-setup): After using `fill-region-as-paragraph'
on a new address field, ensure that it ends with a newline.
1998-08-12 07:31:00 +00:00
Richard M. Stallman
118a3c046e (mail-setup): After using `fill-region-as-paragraph'
on a new address field, ensure that it ends with a newline.
1998-08-11 12:17:42 +00:00