(nnimap-retrieve-headers-progress): Fold continuation
authorSimon Josefsson <jas@extundo.com>
Thu, 16 Mar 2000 14:57:58 +0000 (14:57 +0000)
committerSimon Josefsson <jas@extundo.com>
Thu, 16 Mar 2000 14:57:58 +0000 (14:57 +0000)
lines and turn TAB into SPC before parsing.

lisp/ChangeLog
lisp/nnimap.el

index b03c480..9910ca3 100644 (file)
@@ -1,3 +1,8 @@
+2000-03-16  Simon Josefsson  <jas@pdc.kth.se>
+
+       * nnimap.el (nnimap-retrieve-headers-progress): Fold continuation
+       lines and turn TAB into SPC before parsing.
+
 2000-03-15  Simon Josefsson <jas@pdc.kth.se>
 
        * nnheader.el (nnheader-group-pathname): Make sure to return a
index 63fef5a..504c2a0 100644 (file)
@@ -384,6 +384,8 @@ If EXAMINE is non-nil the group is selected read-only."
         (buffer-disable-undo)
         (insert headers)
         (nnheader-ms-strip-cr)
+        (nnheader-fold-continuation-lines)
+        (subst-char-in-region (point-min) (point-max) ?\t ? )
         (let ((head (nnheader-parse-head 'naked)))
           (mail-header-set-number head uid)
           (mail-header-set-chars head chars)