]> code.delx.au - gnu-emacs/commitdiff
mm-uu.el (mm-uu-forward-extract): Be more liberal when extracting forwards as MIME
authorDavid Edmondson <dme@dme.org>
Sat, 10 Mar 2012 02:02:24 +0000 (02:02 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Sat, 10 Mar 2012 02:02:24 +0000 (02:02 +0000)
lisp/gnus/ChangeLog
lisp/gnus/mm-uu.el

index a4c1513926d0d4f6e1bc10bf36e08a4472d96c5a..092f42cd2ed0d1fb6723a1e99e98be186bcee269 100644 (file)
@@ -1,3 +1,8 @@
+2012-03-10  David Edmondson  <dme@dme.org>
+
+       * mm-uu.el (mm-uu-forward-extract): Allow for blank lines between the
+       'Forwarded Message' header and the start of the message.
+
 2012-03-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
 
        * gnus-msg.el (gnus-msg-mail): Call `message-mail' correctly when Gnus
index 4f046d6a4220778f6325820af80c114ee06f058f..0cf3730d0955ba70fe6b016669f5996da69b0640 100644 (file)
@@ -430,7 +430,11 @@ apply the face `mm-uu-extract'."
 
 (defun mm-uu-forward-extract ()
   (mm-make-handle (mm-uu-copy-to-buffer
-                  (progn (goto-char start-point) (forward-line) (point))
+                  (progn
+                    (goto-char start-point)
+                    (forward-line)
+                    (skip-chars-forward "\n")
+                    (point))
                   (progn (goto-char end-point) (forward-line -1) (point)))
                  '("message/rfc822" (charset . gnus-decoded))))