(nnimap-last-response-string): Unfold quoted lines, if they exist.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Thu, 25 Nov 2010 22:56:47 +0000 (23:56 +0100)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Thu, 25 Nov 2010 22:56:47 +0000 (23:56 +0100)
lisp/ChangeLog
lisp/nnimap.el

index 529ae98..2b84b11 100644 (file)
@@ -1,6 +1,7 @@
 2010-11-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * nnimap.el (nnimap-unfold-quoted-lines): Refactor out.
+       (nnimap-last-response-string): Unfold quoted lines, if they exist.
 
 2010-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
 
index 825f6a4..5fd5e2f 100644 (file)
@@ -1605,6 +1605,13 @@ textual parts.")
   (save-excursion
     (forward-line 1)
     (let ((end (point)))
+      ;; Unfold quoted {num} lines, if they exist.
+      (when (search-backward "}" nil t)
+       (save-excursion
+         (save-restriction
+           (narrow-to-region (point-min) end)
+           (goto-char (point-min))
+           (nnimap-unfold-quoted-lines))))
       (forward-line -1)
       (when (not (bobp))
        (forward-line -1)