aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorenami tsugutomo2014-10-27 00:56:22 +0000
committerKatsumi Yamaoka2014-10-27 00:56:22 +0000
commitb13ccfca85d1751050fcfd7f94a7304a51ba93e7 (patch)
treef44120106420d131b0e6643a894fb8ba6d693124
parentf399929938417ddead87d8d3654ce61d4c4b754a (diff)
downloademacs-b13ccfca85d1751050fcfd7f94a7304a51ba93e7.tar.gz
emacs-b13ccfca85d1751050fcfd7f94a7304a51ba93e7.zip
[Backport] lisp/gnus/nnimap.el (nnimap-wait-for-response): Ignore NOOP response requested to keep connection open
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/nnimap.el2
2 files changed, 6 insertions, 1 deletions
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 @@
12014-10-27 enami tsugutomo <tsugutomo.enami@jp.sony.com>
2
3 * nnimap.el (nnimap-wait-for-response): Ignore NOOP response requested
4 to keep connection open (bug#18728).
5
12014-10-20 Glenn Morris <rgm@gnu.org> 62014-10-20 Glenn Morris <rgm@gnu.org>
2 7
3 * Version 24.4 released. 8 * 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."
1872 (while (and (not (bobp)) 1872 (while (and (not (bobp))
1873 (progn 1873 (progn
1874 (forward-line -1) 1874 (forward-line -1)
1875 (looking-at "\\*")))) 1875 (looking-at "\\*\\|[0-9]+ OK NOOP"))))
1876 (not (looking-at (format "%d .*\n" sequence))))) 1876 (not (looking-at (format "%d .*\n" sequence)))))
1877 (when messagep 1877 (when messagep
1878 (nnheader-message-maybe 1878 (nnheader-message-maybe