Commit graph

61 commits

Author SHA1 Message Date
Chong Yidong
a4f6970146 * mail/rmailedit.el (rmail-edit-mode): Use auto-save-include-big-deletions.
* mail/rmail.el (rmail-variables): Use auto-save-include-big-deletions.

* files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16 changes.
2009-07-21 23:34:33 +00:00
Richard M. Stallman
f5b574ad03 * mail/rmailedit.el (rmail-edit-current-message):
Call rmail-modify-format here.
(rmail-cease-edit): Not here.
2009-05-17 16:11:23 +00:00
Richard M. Stallman
4f31ad74fd * mail/rmailedit.el (rmail-cease-edit): Call rmail-modify-format. 2009-04-10 14:22:03 +00:00
Glenn Morris
e97389b933 Comment. 2009-03-11 03:33:30 +00:00
Glenn Morris
52b9c46105 (rmail-edit-mode): Set write-region-annotate-functions. (Bug#2625) 2009-03-11 03:22:37 +00:00
Glenn Morris
da5f63303a (rmail-cease-edit): Use rmail-ensure-blank-line. 2009-03-05 03:45:51 +00:00
Glenn Morris
24683c51e3 (rmail-edit-mode): Doc fix. 2009-03-04 04:20:13 +00:00
Eli Zaretskii
ff4abce949 (rmail-cease-edit): Notice changes in buffer's encoding during editing.
Make sure to use encoding that can safely encode the message.
Rewrite MIME charset= header if the new encoding is different from the old one.
2009-02-21 15:06:12 +00:00
Richard M. Stallman
59a6d2495a (rmail-edit-diff-headers): Delete spurious reference to OLD. 2009-02-15 02:32:03 +00:00
Richard M. Stallman
1945c7a74c Handle editing of header fields.
(rmail-old-headers): New variable.
(rmail-edit-current-message): Set it, recording current headers.
(rmail-cease-edit): Compute new headers and diff against old ones.
Update the mbox buffer with the changes that were made.
(rmail-edit-headers-alist): New function.
(rmail-edit-diff-headers, rmail-edit-update-headers): New functions.
2009-02-14 04:01:53 +00:00
Glenn Morris
a8e8f94704 Just require rmail.
(rmail-old-pruned): Add doc string.
(rmail-edit-current-message): Use rmail-msg-is-pruned.
(rmail-cease-edit): Don't mangle the leading From line.
Don't mark as edited if there were no changes.  (Bug#2256)
Correctly restore header state.
2009-02-10 03:33:48 +00:00
Eli Zaretskii
782c80e892 (rmail-cease-edit): Look for the message's encoding, and its
"content-transfer-encoding" and "content-type" headers only in the
headers' portion.  (Bug#2017)
2009-02-07 15:16:57 +00:00
Eli Zaretskii
aaaaa2767d (rmail-cease-edit): narrow-to-region before extracting mail message headers.
Use encode-coding-region instead of insert-buffer-substring for re-encoding
edited message.  Add qp/b64 encoding only after text was encoded.
2009-02-07 12:55:49 +00:00
Stefan Monnier
befa817562 (rmail-edit-map): Move init into declaration.
(rmail-edit-mode, rmail-cease-edit): Use with-current-buffer.
2009-02-01 03:26:17 +00:00
Glenn Morris
04c17beac3 (rmail-summary-disable): Fix declaration. 2009-01-29 03:42:17 +00:00
Chong Yidong
b3a51d1d20 (rmail-cease-edit): Add additional quotes to quoted From lines. 2009-01-29 03:02:39 +00:00
Chong Yidong
23c039d851 Remove local var. 2009-01-23 03:34:00 +00:00
Bastien Guerry
537ab246b2 Renamed all pmail* files to rmail*. 2009-01-22 17:09:23 +00:00
Bastien Guerry
13847f7970 Removed rmail.el, rmailedit.el, rmailkwd.el, rmailmm.el, rmailmsc.el, rmailout.el, rmailsort.el, rmailsum.el. 2009-01-22 17:01:40 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Glenn Morris
e9c033a098 (rmail-cease-edit): Check tool-bar-mode is bound. 2008-06-12 03:49:33 +00:00
Glenn Morris
b1fc2b5014 Switch to recommended form of GPLv3 permissions notice. 2008-05-06 07:25:26 +00:00
Stefan Monnier
cbee283dd7 Fix up comment convention on the arch-tag lines. 2008-04-10 14:10:46 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
2f043267ee Add 2008 to copyright years. 2008-01-07 02:00:47 +00:00
Dan Nicolaescu
2b54af7428 * mail/mspools.el (rmail-get-new-mail):
* mail/reporter.el (mail-position-on-field, mail-text):
* mail/rmail.el (mail-position-on-field, mail-text-start)
(rmail-update-summary):
* mail/rmailedit.el (rmail-summary-disable)
(rmail-summary-enable):
* mail/rmailmsc.el (rmail-parse-file-inboxes)
(rmail-show-message):
* mail/rmailout.el (rmail-update-summary):
* mail/rmailsort.el (rmail-update-summary):
* mail/sendmail.el (dired-move-to-filename, dired-get-filename)
(dired-view-file):
* mail/uce.el (mail-strip-quoted-names):
* mail/undigest.el (rmail-update-summary):
* mail/unrmail.el (mail-strip-quoted-names):
* ediff.el (diff-latest-backup-file): Declare as functions.

* obsolete/mlsupport.el (ml-previous-page): Fix typo.
(kill-to-end-of-line):
* obsolete/rnews.el (news-set-minor-modes): Remove non working
functions.
2007-11-25 16:48:31 +00:00
Glenn Morris
ceaeecb0c9 Switch license to GPLv3 or later. 2007-07-25 04:27:24 +00:00
Eli Zaretskii
22cc1d2046 (rmail-cease-edit): Restore the Rmail toolbar. 2007-02-23 20:00:31 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Thien-Thi Nguyen
e84b4b8614 Update years in copyright notice; nfc. 2005-08-06 19:51:42 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Lute Kamstra
fb33e15372 (rmail-edit-mode): Use delay-mode-hooks. 2005-06-14 12:08:43 +00:00
Lute Kamstra
7f9b6634a8 (rmail-edit-mode): Use run-mode-hooks. 2005-05-26 15:17:14 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Markus Rost
456f0b95dc Add provide call. 2002-11-15 05:25:19 +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
1d0533709c (rmail-edit-mode-hook): Add :version. 2001-05-07 11:27:36 +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
bd84ce869a (rmail-cease-edit): Run rmail-mode-hook. 1999-11-18 13:11:37 +00:00
Richard M. Stallman
7c968ca53e (rmail-edit-current-message, rmail-cease-edit):
Save and restore save-buffer-coding-system in another local variable.
1998-07-13 22:04:35 +00:00
Richard M. Stallman
77fb89636c (rmail-old-pruned): New permanent local.
(rmail-edit-current-message): Set rmail-old-pruned, then display full headers.
(rmail-cease-edit): rmail-old-pruned controls whether to prune headers.
1998-05-27 21:06:10 +00:00
Richard M. Stallman
cd95034f46 (rmail-cease-edit): Call rmail-show-message even if message text is unchanged. 1998-05-01 03:14:40 +00:00
Karl Heuer
c241bb9cbb (rmail-cease-edit): Call kill-all-local-variables.
Call rmail-variables.
(rmail-edit-mode): Call text-mode.  Don't run text-mode-hook here.
(rmail-edit-map): Use set-keymap-parent.
(rmail-old-text): Add defvar.
1998-04-08 19:03:00 +00:00
Richard M. Stallman
523abd28e7 (rmail-edit-current-message): Add autoload. 1996-09-27 00:31:16 +00:00
Karl Heuer
e26a12ac8c (rmail-edit-current-message): Pass proper format string to message. 1996-01-25 00:56:48 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
cde6342073 (rmail-edit-current-message): Use force-mode-line-update.
(rmail-cease-edit): Use force-mode-line-update.
1995-04-25 22:26:42 +00:00
Richard M. Stallman
2ac32b29b2 (rmail-abort-edit): Call `rmail-highlight-headers'. 1994-08-09 23:09:27 +00:00
Richard M. Stallman
6c65d1ec43 (rmail-edit-current-message): Undo previous change. 1994-05-19 20:46:24 +00:00