aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey C Honig2007-08-20 03:05:42 +0000
committerJeffrey C Honig2007-08-20 03:05:42 +0000
commitd59261046372b7f2c7ddf4ab3934ba3a977deff3 (patch)
treebb3a42ce9224123847b5c1c84cb4ee1d9ce41652
parentd7c5b212c91bd7e270471e2c307d0c9338cbb102 (diff)
downloademacs-d59261046372b7f2c7ddf4ab3934ba3a977deff3.tar.gz
emacs-d59261046372b7f2c7ddf4ab3934ba3a977deff3.zip
(mh-forward): Address SF 1730393. When forwarding
with mml, messages were included in reverse order.
-rw-r--r--lisp/mh-e/ChangeLog3
-rw-r--r--lisp/mh-e/mh-comp.el4
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 8c91b633c6d..ee332fc8186 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,5 +1,8 @@
12007-08-20 Jeffrey C Honig <jch@honig.net> 12007-08-20 Jeffrey C Honig <jch@honig.net>
2 2
3 * mh-comp.el (mh-forward): Address SF 1730393. When forwarding
4 with mml, messages were included in reverse order.
5
3 * mh-mime.el (mh-mml-forward-message): Address SF 1378993 and 6 * mh-mime.el (mh-mml-forward-message): Address SF 1378993 and
4 forward messages as inline attatchments. 7 forward messages as inline attatchments.
5 8
diff --git a/lisp/mh-e/mh-comp.el b/lisp/mh-e/mh-comp.el
index b74c445238e..a71de8246c5 100644
--- a/lisp/mh-e/mh-comp.el
+++ b/lisp/mh-e/mh-comp.el
@@ -497,7 +497,9 @@ See also `mh-compose-forward-as-mime-flag',
497 (dolist (msg msgs) 497 (dolist (msg msgs)
498 (setq i (1+ i)) 498 (setq i (1+ i))
499 (mh-mml-forward-message (format description i) 499 (mh-mml-forward-message (format description i)
500 folder msg)))))) 500 folder msg)
501 ;; Was inserted before us, move to end of file to preserve order
502 (goto-char (point-max)))))))
501 ;; Postition just before forwarded message 503 ;; Postition just before forwarded message
502 (if (re-search-forward "^------- Forwarded Message" nil t) 504 (if (re-search-forward "^------- Forwarded Message" nil t)
503 (forward-line -1) 505 (forward-line -1)