emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master b904a23: Adjust regexp for parsing IMAP header resp


From: Eric Abrahamsen
Subject: [Emacs-diffs] master b904a23: Adjust regexp for parsing IMAP header response
Date: Mon, 22 Jul 2019 15:50:42 -0400 (EDT)

branch: master
commit b904a238a5ab759a4d0d8c9ee5c48199febd8f62
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>

    Adjust regexp for parsing IMAP header response
    
    * lisp/gnus/nnimap.el (nnimap-transform-headers): The first header
    might have no value, or a continuation header might start with a
    newline.
---
 lisp/gnus/nnimap.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index 49b997c..ad2b1a4 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -270,7 +270,7 @@ textual parts.")
                  (forward-line)
                  (null (looking-at-p
                         ;; We're expecting a mail header.
-                        "^[!-9;-~]+: "))))
+                        "^[!-9;-~]+:[[:space:]]"))))
            (delete-region (line-beginning-position)
                           (1+ (line-end-position)))
          (setq lines nil)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]