From fe2740a92b6bfbacb41bd7ab353817cfd326632a Mon Sep 17 00:00:00 2001 From: enami tsugutomo Date: Fri, 24 Oct 2014 06:05:44 +0000 Subject: [PATCH] nnimap.el (nnimap-wait-for-response): Ignore NOOP response requested to keep connection open --- lisp/ChangeLog | 5 +++++ lisp/nnimap.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 43c5bfc4d..215630106 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-10-24 enami tsugutomo + + * nnimap.el (nnimap-wait-for-response): Ignore NOOP response requested + to keep connection open. + 2014-10-20 Glenn Morris * Merge in all changes up to 24.4 release. diff --git a/lisp/nnimap.el b/lisp/nnimap.el index ad48d4737..799215190 100644 --- a/lisp/nnimap.el +++ b/lisp/nnimap.el @@ -1888,7 +1888,7 @@ Return the server's response to the SELECT or EXAMINE command." (while (and (not (bobp)) (progn (forward-line -1) - (looking-at "\\*")))) + (looking-at "\\*\\|[0-9]+ OK NOOP")))) (not (looking-at (format "%d .*\n" sequence))))) (when messagep (nnheader-message-maybe -- 2.25.1