From 53e154166e122a31ed42b35712c2403184d4b5d6 Mon Sep 17 00:00:00 2001 From: enami tsugutomo Date: Fri, 24 Oct 2014 06:05:57 +0000 Subject: [PATCH] lisp/gnus/nnimap.el (nnimap-wait-for-response): Ignore NOOP response requested to keep connection open --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/nnimap.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 6cc97e635d5..2e17c5ab385 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/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/gnus/nnimap.el b/lisp/gnus/nnimap.el index ad48d4737a5..799215190e0 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/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.39.5