1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-20 10:23:57 +00:00
Commit Graph

228 Commits

Author SHA1 Message Date
Richard M. Stallman
3db0cdac49 (rmail-retry-failure): Copy the whole block of headers from the message
and then discard those in rmail-retry-ignored-headers.  Delete
usage of rmail-retry-setup-hook.  Bind mail-signature and
mail-setup-hook to nil when composing retry buffer.
Handle mail-self-blind.

(rmail-retry-ignored-headers): New variable,
specifying the headers that should be removed by rmail-retry-failure.
(rmail-retry-setup-hook): Obsolete variable (see below), deleted.
(rmail-clear-headers): New optional arg is list of headers to clear.
1994-09-23 04:37:16 +00:00
Richard M. Stallman
3f320f98b8 (rmail-mode-kill-summary): New function.
(rmail-variables): Put that on kill-buffer-hook locally.
1994-09-21 06:33:22 +00:00
Richard M. Stallman
8b7ef584f6 Build proper keymap for the "Input (menu)" and "Output (menu)" submenus:
(rmail-find-all-files, rmail-list-to-menu, rmail-construct-io-menu):
New functions.
(rmail-input-menu): Function deleted.
(rmail). Call rmail-construct-io-menu.
(rmail-mode-map): 'Input Rmail file (menu)' renamed to
`Input Rmail File'.  `Output (Rmail Menu)' renamed to 'Output Rmail File'.
1994-09-19 05:01:33 +00:00
Richard M. Stallman
8bdb9f4af9 (rmail-forward): Insert separator before and after message. 1994-09-18 09:09:43 +00:00
Richard M. Stallman
38e767421f (rmail-get-new-mail): Run rmail-get-new-mail-hook. 1994-09-05 00:10:56 +00:00
Richard M. Stallman
8c2f974f37 (rmail-ignored-headers): Split string constant into lines. 1994-08-23 16:33:18 +00:00
Richard M. Stallman
03863002c7 (rmail-retry-failure, mail-unsent-separator): Doc fix. 1994-08-19 22:50:56 +00:00
Richard M. Stallman
5070377627 (rmail-resend): Preserve point around expand-mail-aliases. 1994-08-14 09:56:17 +00:00
Richard M. Stallman
6b26586803 (rmail-retry-failure): Narrow to just the old header
for calling mail-fetch-field.

(rmail-maybe-display-summary): Don't set summary window
height if its frame isn't split.
If summary is in some frame, just use that.
1994-08-13 17:36:00 +00:00
Richard M. Stallman
99c3d92677 (rmail-forward): Anchor `mail-header-separator' on both
sides to match whole line, not just initial substring.
1994-08-10 07:02:35 +00:00
Richard M. Stallman
a05fc4d9f1 (rmail-select-summary): Preserve rmail buffer's value of
rmail-total-messages even while summary buffer is current.
1994-08-04 22:33:36 +00:00
Richard M. Stallman
37fdc96f78 (rmail-mode-map): Fix the Get New Mail entry.
Add `...' where appropriate.
1994-08-02 02:32:26 +00:00
Richard M. Stallman
5358bc42c2 (rmail-mode-map): Fix the Get New Mail entry. 1994-08-02 01:58:08 +00:00
Richard M. Stallman
0af6491072 (rmail-retry-failure): Handle a weird case with
a couple of lines before the old message header.
1994-07-31 20:08:53 +00:00
Richard M. Stallman
754b4eb72c (rmail-mode-map): Move new Re-send menu item to right place. 1994-07-31 05:32:26 +00:00
Richard M. Stallman
a2e667ecc2 (rmail-display-summary): New variable.
(rmail): Call rmail-summary at the end if rmail-display-summary is set.

(rmail-highlight-face): New variable.
(rmail-highlight-headers): Use it if non-nil.
1994-07-30 07:46:03 +00:00
Richard M. Stallman
3df6812aab (rmail-highlighted-face): New variable.
(rmail-highlight-headers): Use it if non-nil.
1994-07-30 02:46:24 +00:00
Richard M. Stallman
386c099f6f (rmail-mode-map): Add Re-send menu item. 1994-07-29 21:26:00 +00:00
Richard M. Stallman
7456205363 (rmail-movemail-program): New variable.
(rmail-insert-inbox-text): Use it.
1994-07-13 05:04:46 +00:00
Richard M. Stallman
6ae1efb419 (rmail-mode-map): Fix previous change. 1994-07-13 03:40:48 +00:00
Richard M. Stallman
12dd87fc56 (rmail-mode-map): Add "Get New Mail" menu item under Mail. 1994-07-12 06:46:52 +00:00
Richard M. Stallman
f9a9d26e5b (rmail-highlight-headers): Do nothing if
rmail-highlighted-headers is nil.
1994-06-30 18:57:17 +00:00
Richard M. Stallman
92e068832c (rmail-highlight-headers): Don't skip newlines, just tab and space. 1994-06-18 13:26:33 +00:00
Richard M. Stallman
d43277ab9e (rmail-show-message): If transient-mark-mode, deactivate the mark. 1994-05-26 23:06:50 +00:00
Richard M. Stallman
6016579d51 (rmail-variables): Don't add any permanent-local props.
Don't make rmail-last-file local.
1994-05-19 20:48:32 +00:00
Richard M. Stallman
6ec569d420 (rmail-toggle-header): Call rmail-highlight-headers. 1994-05-10 07:38:34 +00:00
Richard M. Stallman
b1fd1e8d65 (rmail-input-menu): Don't call expand-file-name.
Do nothing if rmail-secondary-file-menu return nil.
(rmail-secondary-file-menu): If no files match, warn and return nil.
1994-05-04 22:00:30 +00:00
Karl Heuer
d733c5ec03 Update copyright. 1994-05-03 22:46:37 +00:00
Karl Heuer
99887e16ef (rmail-highlight-headers): Extracted as a new function. Fix overlay position.
Do nothing if face support is unavailable.
1994-04-24 18:30:53 +00:00
Richard M. Stallman
57ad77fab1 (rmail-show-message): Always re-set overlay face property. 1994-04-24 05:55:04 +00:00
Richard M. Stallman
24db549c64 (rmail-show-message): Use overlays, not text properties.
(rmail-overlay-list): New variable.
(rmail-mode): Make it local.
1994-04-24 05:10:51 +00:00
Richard M. Stallman
072c3cd228 (rmail-show-message): Highlight the specified fields.
(rmail-highlighted-headers): New user variable.
1994-04-23 07:40:25 +00:00
Karl Heuer
881fd7eb9b Cosmetic changes. 1994-04-23 02:30:17 +00:00
Fred Pierresteguy
206250958e (rmail-secondary-file-menu): Fix typo. 1994-04-07 14:19:46 +00:00
Karl Heuer
9ae6d54ae2 (rmail-mode-map): Key binding for rmail-sort-by-keywords. 1994-04-07 03:29:18 +00:00
Richard M. Stallman
21f69e7e21 (rmail-quit): Remove summary buffer from display.
Thoroughly remove Rmail buffer from display.
1994-03-23 18:38:23 +00:00
Richard M. Stallman
4139208e7b (rmail-secondary-file-menu): Display relative file names.
(rmail-output-menu): Autoload it.
(rmail-mode-map): Add rmail-output-menu and rmail-input-menu.
1994-03-23 18:29:07 +00:00
Richard M. Stallman
90254bb0b7 (rmail-summary-window-size): New variable.
(rmail-maybe-display-summary): Use it.
(rmail-secondary-file-directory): New var.
(rmail-secondary-file-regexp): New var.
(rmail-secondary-file-menu): New function.
(rmail-input-menu): New command.
1994-03-18 07:09:57 +00:00
Karl Heuer
5458f7f158 (rmail-convert-to-babyl-format): Check Content-Length field for consistency. 1994-03-17 23:29:16 +00:00
Richard M. Stallman
432240423b (rmail-ignored-headers): Add several x400 header types. 1994-03-10 15:50:26 +00:00
Karl Heuer
c47fae76cd (rmail-message-filter): Doc fix. 1994-03-04 23:08:31 +00:00
Karl Heuer
5170c9cbeb (rmail-insert-inbox-text): Recognize the spool directory even if symlinks are
present.
1994-02-23 00:29:43 +00:00
Karl Heuer
d0eecffacb (rmail-variables, rmail-insert-inbox-text): Change user-original-login-name to
user-login-name.
1994-02-11 22:04:41 +00:00
Karl Heuer
c70658194a (rmail-expunge-and-save): Mark summary buffer as unmodified. 1994-02-09 04:25:48 +00:00
Karl Heuer
a4b340c510 (rmail-variables): Make local variables permanent, so the user can safely
change major modes during an edit.
1994-02-08 22:25:35 +00:00
Richard M. Stallman
1f780b790f (rmail-reply): If no resent-date, use ordinary date.
If no resent-to, use empty string for to.
1994-02-04 22:59:05 +00:00
Richard M. Stallman
1de48e7f1f (rmail-make-in-reply-to-field): Discard text properties from
the address before printing it.
1994-01-29 23:56:27 +00:00
Richard M. Stallman
934111d04f (rmail-get-new-mail): Avoid error if file is empty.
Was done in 1994-01-14T18:35:09Z!rms@gnu.org:
(rmail-set-message-counters): Avoid errors moving backwd if new file.
1994-01-16 20:26:28 +00:00
Richard M. Stallman
c08f13bf4e (rmail-default-file): Renamed from rmail-last-file.
(rmail-default-rmail-file): Renamed from rmail-last-...
1994-01-15 01:23:28 +00:00
Richard M. Stallman
cf805d5d1d (rmail-bury): Rename local rmail-buffer to buffer-to-bury. 1994-01-14 18:35:09 +00:00
Richard M. Stallman
389e8f1127 (rmail-resend): Use send-mail-function. 1994-01-06 11:48:28 +00:00
Richard M. Stallman
a865e55bbe (rmail-convert-to-babyl-format):
Fix one-off error in handling content-length field.
1994-01-06 11:42:55 +00:00
Richard M. Stallman
151c7da254 (rmail-get-new-mail): Cope if display-time-string is nil. 1994-01-03 05:14:06 +00:00
Richard M. Stallman
876cd68935 Comment change. 1993-12-24 03:40:42 +00:00
Richard M. Stallman
660a52f9c9 (rmail-insert-inbox-text): If copy-file fails,
call rename-file with t as third arg.
1993-12-24 02:49:41 +00:00
Richard M. Stallman
d2fc297c32 (rmail-quit): Expunge without updating summary.
(rmail-resend): Delete more than one Sender,
but only in the headers, not in the body.

(rmail-resend): Doc fix.
(rmail): Doc fix.
1993-12-23 03:24:31 +00:00
Richard M. Stallman
a38837b5d7 (rmail-variables): Abbreviate truename for comparison. 1993-11-26 20:42:23 +00:00
Richard M. Stallman
708bfd4f81 (rmail-set-attribute): Do nothing if MSGNUM is 0. 1993-11-16 08:45:56 +00:00
Richard M. Stallman
c33e95d805 (rmail-start-mail): Don't do other frame unless we have
a window system, irregardless of the state of rmail-mail-new-frame.
1993-11-10 20:51:02 +00:00
Richard M. Stallman
b30b6e2897 (rmail-retry-setup-hook): New hook variable.
(rmail-retry-failure): Use that variable.
1993-10-11 03:52:24 +00:00
Richard M. Stallman
c42722e391 (rmail): Really don't get new mail if file name was given.
(rmail-reformat-message): Move past Mail-from as well as Summary-line.
(rmail-toggle-header): Likewise.
(rmail-next-undeleted-message): Return t unless hit end of buffer.
(rmail-delete-forward): Likewise.
(mail-unsent-separator): Add `Original message follows'.
(rmail-resend): Handle mail-self-blind.
1993-10-09 03:47:15 +00:00
Richard M. Stallman
276d56c254 (rmail-convert-to-babyl-format): Protect against
nonsensical content-length values.
1993-10-05 00:22:31 +00:00
Brian Fox
760a35286c (rmail-convert-file): If the file is empty, don't convert it after
inserting the BABYL header.
1993-09-21 07:34:20 +00:00
Richard M. Stallman
0f0a85b310 (rmail-forward): Insert the text right after the header separator. 1993-09-15 22:59:12 +00:00
Richard M. Stallman
073fb95606 (rmail-convert-file): Narrow to exclude the Babyl header. 1993-09-11 10:40:03 +00:00
Richard M. Stallman
e3e87be8cd (rmail-convert-file): Exclude the Babyl header
when calling rmail-convert-to-babyl-format.
1993-09-07 10:41:05 +00:00
Richard M. Stallman
65c200c571 (rmail-forward): Don't bind mail-signature, mail-setup-hook. 1993-08-12 00:23:54 +00:00
Richard M. Stallman
6961bfbfdc (rmail-resend): Delete any Sender field. 1993-08-05 06:54:58 +00:00
Richard M. Stallman
15a36ac5ac (rmail-nuke-pinhead-header): Tell replace-match not to alter the case.
(rmail-toggle-header, rmail-reformat-message): Ignore case
when checking for Summary-line.
1993-07-29 05:37:32 +00:00
Richard M. Stallman
b03848314e (rmail-convert-file): If file needs conversion, convert it all. 1993-07-29 03:43:38 +00:00
Richard M. Stallman
b1d9bfa735 (rmail-last-rmail-file): Initialize to a file name.
(rmail): Don't set rmail-last-rmail-file.

(rmail-forward): Call rmail-start-mail for new frame
even if just one window.
(rmail-start-mail): Return what mail-other-frame returned.
1993-07-24 20:20:22 +00:00
Richard M. Stallman
94ed51e86b (rmail-mail-new-frame): New variable.
(rmail-start-mail): New function.
(rmail-mail, rmail-continue, rmail-reply, rmail-forward)
(rmail-retry-failure): Use rmail-start-mail.
1993-07-16 04:19:04 +00:00
Richard M. Stallman
019bf2a313 (rmail-insert-inbox-text): If inbox is not in the
spool dir, try copying before renaming.
1993-07-13 05:52:32 +00:00
Richard M. Stallman
bcf120251a (rmail-resend): Use RFC 822 style date in Resent-Date: line. 1993-07-07 17:54:20 +00:00
Richard M. Stallman
6cd37f8f5f (rmail-variables): Compare truename as well as given name
against rmail-file-name.
1993-07-06 22:39:56 +00:00
Richard M. Stallman
388348ae1f Doc fixes. 1993-06-30 16:44:35 +00:00
Richard M. Stallman
3bf526cfc6 Add autoloads for rmailsort commands.
(rmail-mode-map): Add bindings for those commands.
1993-06-22 05:55:22 +00:00
Richard M. Stallman
aac180a7b1 (rmail-mode): Move to the last message. 1993-06-22 02:51:26 +00:00
Richard M. Stallman
5201dddabb (rmail-mode-map): Add local menu bar bindings.
(rmail-search-backward): New command.
1993-06-22 02:25:20 +00:00
Richard M. Stallman
5009d9f0d4 (rmail-primary-inbox-list): Use defvar, not defconst. 1993-06-11 03:56:44 +00:00
Jim Blandy
eb8c3be94e Apply typo patches from Paul Eggert. 1993-06-09 11:59:12 +00:00
Richard M. Stallman
849056cc4c (rmail-variables): Default rmail-inbox-list here.
(rmail): Not here.
1993-06-07 06:56:03 +00:00
Richard M. Stallman
9ad8712e92 (rmail-resend): Require sendmail and mailalias. 1993-06-04 19:34:14 +00:00
Richard M. Stallman
46564c8d17 (rmail-select-summary): Add a save-excursion. 1993-06-03 21:02:22 +00:00
Richard M. Stallman
b73e2d8498 (rmail-bury): Fix call to set-window-buffer. 1993-05-25 16:56:15 +00:00
Richard M. Stallman
8896f2df11 (rmail-convert-to-babyl-format): Delete 1 char
if we see a newline instead of what we expect.
1993-05-09 01:14:47 +00:00
Richard M. Stallman
8159f4af7e (rmail-resend): Add `resent' attribute.
(rmail-forward): With prefix arg, run rmail-resend.
1993-05-07 17:34:34 +00:00
Eric S. Raymond
31e1d9206b All fsets changed to defaliases. 1993-04-23 06:51:44 +00:00
Richard M. Stallman
3af9db898d (rmail): Don't use mbox as inbox by default. 1993-03-29 22:44:46 +00:00
Richard M. Stallman
bd1f0f843f (rmail-delete-forward): Go to summary buf to change D mark.
Always do the motion in the rmail buffer; let that handle summary.
(rmail-undelete-previous-message): Likewise.
(rmail-select-summary): New macro.
(rmail-show-message): Use rmail-select-summary.
(rmail-get-new-mail): Likewise.
(rmail-expunge): Likewise.

(rmail-bury): Record Rmail buffer to bury it later.

Major changes from Bob Weiner <weiner@pts.mot.com>
Handle some Emacs 18 function names to run in 18.
This is to facilitate working with Weiner.
(rmail-reply-prefix): New variable.
(rmail-reply): Use that variable to add to subject.
(rmail-retry-failure): Change binding to M-m.
(rmail-forward): Look for >From as well as for From.
Handle case where neither is found.
(rmail-last-regexp): New variable.
(rmail-mode): Make rmail-last-regexp local.
(rmail): Don't update rmail-mode data for old buffer
if it's not in rmail mode.
Error if in Rmail Edit mode.
(rmail-bury): New command, plus key binding.
(rmail-summary-by-topic): New key binding.
(rmail-insert-inbox-text): Check for pop case earlier.
(rmail-convert-to-babyl-format): Handle Content-Length field.
(rmail-maybe-display-summary): New function.
(rmail-redisplay-summary): New user option.
(rmail-undelete-previous-message, rmail-delete-forward):
(rmail-get-new-mail, rmail-show-message): Update summary buffer if any.
Call rmail-maybe-display-summary to put it back on screen.
(rmail-only-expunge): Renamed from rmail-expunge.
(rmail-expunge): New function.
(rmail-message-recipients-p, rmail-message-regexp-p): New functions.
(rmail-summary-exists, rmail-summary-displayed): New functions.
1993-03-09 08:08:13 +00:00
Richard M. Stallman
449783e911 (rmail-get-new-mail): Reset read-only after find-file. 1993-03-03 20:49:21 +00:00
Richard M. Stallman
487fcdc0a3 (mail-unsent-separator): Add `-- begin message --'. 1993-01-09 14:30:36 +00:00
Jim Blandy
13a5fb226a * rmail.el (rmail-unix-mail-delimiter): Not all time zone names
end with "T".  Accept any sequence of three or four alphabetic
	characters.
1992-12-24 06:01:02 +00:00
Richard M. Stallman
ed7ace63fc (rmail-mode-map): Delete binding of M-r (use global one). 1992-10-21 06:59:39 +00:00
Jim Blandy
9712b0bd2e * rmail.el (rmail-mode): Make this autoload; we might find a file
whose first line local variables want to put it in RMAIL mode;
	that ought to work.
1992-10-11 06:35:04 +00:00
Richard M. Stallman
db32c19336 (mail-unsent-separator): Handle "Message text follows". 1992-10-09 05:38:23 +00:00
Richard M. Stallman
f2da0c6813 (mail-unsent-separator): Allow "original message" as alternative.
Allow extra dashes and spaces.
(rmail-retry-failure): Ignore case while searching for unsent sep.
1992-10-09 02:05:10 +00:00
Joseph Arceneaux
117f4b92dc Cleaned up rmail-first-unseen-message. 1992-10-07 19:25:24 +00:00
Joseph Arceneaux
e9c735fabd * rmail.el (rmail-first-unseen-message): Don't show the message,
just return its number, if there was an unseen message.
	(rmail): Check for unseen messages before calling
	rmail-get-new-mail.  After getting the new mail, call
	rmail-show-message to show the 	pre-existing unseen message, or if
	that is nil, the current message, which rmail-get-new-mail sets to
	the first new message.
1992-10-05 20:38:54 +00:00
Richard M. Stallman
72e609d0db (mail-unsent-separator): Add another alternative. 1992-09-29 18:15:12 +00:00
Richard M. Stallman
ba0b550755 entered into RCS 1992-09-19 05:57:58 +00:00
Roland McGrath
1844ea6b76 *** empty log message *** 1992-09-18 07:30:25 +00:00
Richard M. Stallman
ce90c14948 *** empty log message *** 1992-09-14 19:00:13 +00:00
Richard M. Stallman
854c16c5e2 *** empty log message *** 1992-09-14 06:53:22 +00:00
Jim Blandy
b7cceaf12a *** empty log message *** 1992-09-13 10:54:38 +00:00
Richard M. Stallman
2c91c85ce0 *** empty log message *** 1992-09-04 21:28:29 +00:00
Richard M. Stallman
8defe99b80 *** empty log message *** 1992-08-19 07:17:26 +00:00
Richard M. Stallman
4d4c4e027f *** empty log message *** 1992-08-18 21:18:19 +00:00
Richard M. Stallman
df8a44dd8a *** empty log message *** 1992-08-05 01:10:28 +00:00
Richard M. Stallman
e91f80c43a *** empty log message *** 1992-07-26 19:54:20 +00:00
Eric S. Raymond
3a801d0c71 *** empty log message *** 1992-07-22 04:22:42 +00:00
Richard M. Stallman
2d315ae801 *** empty log message *** 1992-07-21 19:48:07 +00:00
Richard M. Stallman
fd5285f3e3 *** empty log message *** 1992-07-19 01:07:07 +00:00
Eric S. Raymond
d7b4d18fd4 *** empty log message *** 1992-07-17 20:24:00 +00:00
Jim Blandy
2581ab9968 *** empty log message *** 1992-07-17 20:09:54 +00:00
Eric S. Raymond
e516799970 *** empty log message *** 1992-07-16 21:47:34 +00:00
Eric S. Raymond
c88ab9ce4a *** empty log message *** 1992-05-30 21:11:25 +00:00
Jim Blandy
4746118aca *** empty log message *** 1992-04-24 08:11:54 +00:00
Jim Blandy
46947372a3 *** empty log message *** 1992-04-19 08:53:55 +00:00
Jim Blandy
49116ac071 *** empty log message *** 1992-03-16 20:39:07 +00:00
Jim Blandy
aa228418e9 *** empty log message *** 1991-12-21 09:14:03 +00:00
Michael I. Bushnell
a553316bbc *** empty log message *** 1991-08-20 21:31:08 +00:00
Roland McGrath
f595ecef54 *** empty log message *** 1991-08-20 20:14:42 +00:00
Richard M. Stallman
b77ab9e81f *** empty log message *** 1991-08-18 23:46:19 +00:00
Roland McGrath
462c10945e *** empty log message *** 1991-07-23 20:23:44 +00:00
Roland McGrath
c462c9645e *** empty log message *** 1991-07-23 19:23:23 +00:00
Michael I. Bushnell
4927c645fb *** empty log message *** 1991-05-22 22:04:08 +00:00
Roland McGrath
581d7e0b2d Initial revision 1991-05-13 22:34:50 +00:00