(nnimap-parse-flags): Fix regexp.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Wed, 13 Oct 2010 21:15:25 +0000 (23:15 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Wed, 13 Oct 2010 21:15:25 +0000 (23:15 +0200)
lisp/ChangeLog
lisp/nnimap.el

index 912b767..f7d30ea 100644 (file)
@@ -1,6 +1,7 @@
 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * nnimap.el (nnimap-open-connection): Fix open-tls-stream call.
 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * nnimap.el (nnimap-open-connection): Fix open-tls-stream call.
+       (nnimap-parse-flags): Fix regexp.
 
        * shr.el (shr-find-fill-point): Use a filling algorithm that should
        probably work for CJVK text, too.
 
        * shr.el (shr-find-fill-point): Use a filling algorithm that should
        probably work for CJVK text, too.
index 2faa2be..5aca6f3 100644 (file)
@@ -1289,7 +1289,7 @@ textual parts.")
                (setq start end))
            (setq start (point))
            (goto-char end))
                (setq start end))
            (setq start (point))
            (goto-char end))
-         (while (re-search-forward "\n* [0-9]+ FETCH " start t)
+         (while (re-search-forward "^\\* [0-9]+ FETCH " start t)
            (setq elems (read (current-buffer)))
            (push (cons (cadr (memq 'UID elems))
                        (cadr (memq 'FLAGS elems)))
            (setq elems (read (current-buffer)))
            (push (cons (cadr (memq 'UID elems))
                        (cadr (memq 'FLAGS elems)))