Be more liberal when extracting forwards as MIME
authorDavid Edmondson <dme@dme.org>
Sat, 10 Mar 2012 00:57:16 +0000 (01:57 +0100)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 10 Mar 2012 00:57:16 +0000 (01:57 +0100)
* mm-uu.el (mm-uu-forward-extract): Allow for blank lines between the
'Forwarded Message' header and the start of the message.

lisp/ChangeLog
lisp/mm-uu.el

index 43cd767..52da717 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
        accept.  Reported by Dan Christensen.
        (nnimap-command): Make sure that the error message doesn't error out.
 
-2010-09-20  David Edmondson  <dme@dme.org>  (tiny change)
+2010-09-20  David Edmondson  <dme@dme.org>
 
        * nnimap.el (nnimap-request-set-mark): Don't wait for a response when
        we haven't requested anything.
index 4f046d6..0cf3730 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))))