From: enami tsugutomo Date: Mon, 27 Oct 2014 00:56:22 +0000 (+0000) Subject: [Backport] lisp/gnus/nnimap.el (nnimap-wait-for-response): Ignore NOOP response reque... X-Git-Tag: emacs-24.4.90~310 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b13ccfca85d1751050fcfd7f94a7304a51ba93e7;p=emacs.git [Backport] lisp/gnus/nnimap.el (nnimap-wait-for-response): Ignore NOOP response requested to keep connection open --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 3c9c96051e3..534ac3af69d 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2014-10-27 enami tsugutomo + + * nnimap.el (nnimap-wait-for-response): Ignore NOOP response requested + to keep connection open (bug#18728). + 2014-10-20 Glenn Morris * Version 24.4 released. diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 2fc2dd6af79..6a6ad4fbe76 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el @@ -1872,7 +1872,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