From b904a238a5ab759a4d0d8c9ee5c48199febd8f62 Mon Sep 17 00:00:00 2001 From: Eric Abrahamsen Date: Mon, 22 Jul 2019 10:00:06 -0700 Subject: [PATCH] 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 49b997cb0b8..ad2b1a4fb63 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) -- 2.39.2