]> git.eshelyaron.com Git - emacs.git/commitdiff
[Backport] lisp/gnus/nnimap.el (nnimap-wait-for-response): Ignore NOOP response reque...
authorenami tsugutomo <tsugutomo.enami@jp.sony.com>
Mon, 27 Oct 2014 00:56:22 +0000 (00:56 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 27 Oct 2014 00:56:22 +0000 (00:56 +0000)
lisp/gnus/ChangeLog
lisp/gnus/nnimap.el

index 3c9c96051e3957436f200e7bd8e8b5a05ed6c333..534ac3af69d55c502089c6ddfc40dc39d5a2d9c3 100644 (file)
@@ -1,3 +1,8 @@
+2014-10-27  enami tsugutomo  <tsugutomo.enami@jp.sony.com>
+
+       * nnimap.el (nnimap-wait-for-response): Ignore NOOP response requested
+       to keep connection open (bug#18728).
+
 2014-10-20  Glenn Morris  <rgm@gnu.org>
 
        * Version 24.4 released.
index 2fc2dd6af79f9a531c07b5c547a60823cef6f2df..6a6ad4fbe7665e39cdf72b83f3c35f3bc9bcf9ad 100644 (file)
@@ -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