aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog21
-rw-r--r--lisp/mail/metamail.el20
2 files changed, 36 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bd205450369..d0457265500 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,24 @@
12009-02-07 Alex Schroeder <alex@gnu.org>
2
3 * mail/unrmail.el (unrmail): Use regexps to find message separators so
4 as not to match any fake rmime.el separators. Remove any sections added
5 by rmime.el.
6
72009-02-07 Glenn Morris <rgm@gnu.org>
8
9 * mail/metamail.el (metamail-interpret-body): Remove Rmail-specific hack
10 that is no longer appropriate to mbox Rmail.
11
12 * mail/rmailsum.el (rmail-create-summary-line): Widen the view buffer
13 before trying to move to the start of the message.
14 (rmail-summary-undelete-many, rmail-summary-rmail-update):
15 Fix rmail-set-attribute calls.
16
17 * mail/sendmail.el (mail-bury-selects-summary, mail-yank-original):
18 Doc fix.
19 (rmail-output-to-rmail-buffer): Autoload it.
20 (mail-do-fcc): Give it a doc string. Update for mbox Rmail, simplify.
21
12009-02-06 Glenn Morris <rgm@gnu.org> 222009-02-06 Glenn Morris <rgm@gnu.org>
2 23
3 * mail/unrmail.el (unrmail): Use current-time-string. 24 * mail/unrmail.el (unrmail): Use current-time-string.
diff --git a/lisp/mail/metamail.el b/lisp/mail/metamail.el
index db2b5acf5f9..497fe73e3dc 100644
--- a/lisp/mail/metamail.el
+++ b/lisp/mail/metamail.el
@@ -121,11 +121,21 @@ Its header part is not interpreted at all."
121 (append metamail-switches 121 (append metamail-switches
122 (list "-b" "-c" contype "-E" encoding)))) 122 (list "-b" "-c" contype "-E" encoding))))
123 (metamail-region end (point-max) viewmode nil nodisplay)) 123 (metamail-region end (point-max) viewmode nil nodisplay))
124 ;; Mode specific hack. 124 ;; This mode specific hack is no longer appropriate in mbox Rmail.
125 (cond ((eq major-mode 'rmail-mode) 125 ;; Pre-mbox, we have just modified the actual folder, so we
126 ;; Adjust the marker of this message if in Rmail mode buffer. 126 ;; update the message-vector with the new end position of the
127 (set-marker (aref rmail-message-vector (1+ rmail-current-message)) 127 ;; current message. In mbox Rmail, all we have done is modify a
128 (point-max)))) 128 ;; display copy of the message. Note also that point-max is a
129 ;; marker in the wrong buffer: the message-vector contains
130 ;; markers in rmail-view-buffer (which is not in rmail-mode).
131 ;; So this hack actually breaks the message-vector.
132 ;; If you're calling this on the actual rmail-view-buffer (or a
133 ;; non-swapped rmail-buffer), you would still need this hack.
134 ;; But you're not going to do that.
135;;; (cond ((eq major-mode 'rmail-mode)
136;;; ;; Adjust the marker of this message if in Rmail mode buffer.
137;;; (set-marker (aref rmail-message-vector (1+ rmail-current-message))
138;;; (point-max))))
129 ))) 139 )))
130 140
131;;;###autoload 141;;;###autoload