From: Eric Abrahamsen Date: Mon, 22 Jul 2019 17:00:06 +0000 (-0700) Subject: Adjust regexp for parsing IMAP header response X-Git-Tag: emacs-27.0.90~1817^2~167 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b904a238a5ab759a4d0d8c9ee5c48199febd8f62;p=emacs.git 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. --- 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)