[gnus git] branch master updated: =1= (nnimap-send-command): Mark the command time for each command, so that we don't get NOOPs stepping on our toes.

Lars Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  2aef6613ab584151b6d2dba6953a4bec0f33894c (commit)
      from  2fe73cf99f750f56c12e4c3ac6413dca4590d8ed (commit)


- Log -----------------------------------------------------------------
commit 2aef6613ab584151b6d2dba6953a4bec0f33894c
Author: Lars Ingebrigtsen <[email protected]>
Date:   Sun Feb 13 19:02:51 2011 -0800

    (nnimap-send-command): Mark the command time for each command, so that we don't get NOOPs stepping on our toes.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0d1ec1d..68a3140 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
 2011-02-14  Lars Ingebrigtsen  <[email protected]>
 
+	* nnimap.el (nnimap-send-command): Mark the command time for each
+	command, so that we don't get NOOPs stepping on our toes.
+
 	* gnus-art.el (article-date-ut): Get the date from the Date header on
 	`t'.
 
diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index be3f812..b612539 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -1565,6 +1565,7 @@ textual parts.")
 (defvar nnimap-sequence 0)
 
 (defun nnimap-send-command (&rest args)
+  (setf (nnimap-last-command-time nnimap-object) (current-time))
   (process-send-string
    (get-buffer-process (current-buffer))
    (nnimap-log-command
@@ -1588,7 +1589,6 @@ textual parts.")
 
 (defun nnimap-command (&rest args)
   (erase-buffer)
-  (setf (nnimap-last-command-time nnimap-object) (current-time))
   (let* ((sequence (apply #'nnimap-send-command args))
 	 (response (nnimap-get-response sequence)))
     (if (equal (caar response) "OK")

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    3 +++
 lisp/nnimap.el |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.