[gnus git] branch master updated: m0-5-110-gcd74f5b =1= nnimap: restore nnimap-get-responses

Julien Danjou <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  cd74f5b7a66f9f27cb51843c801c39387f503212 (commit)
      from  ac8c99968624159a827d8f6db842d9fcc22c7a60 (commit)


- Log -----------------------------------------------------------------
commit cd74f5b7a66f9f27cb51843c801c39387f503212
Author: Julien Danjou <[email protected]>
Date:   Wed Sep 5 11:50:30 2012 +0200

    nnimap: restore nnimap-get-responses
    
    Signed-off-by: Julien Danjou <[email protected]>

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f7b26e9..343d5cc 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -2,6 +2,7 @@
 
 	* nnimap.el (nnimap-request-list): Revert change that made listing
 	synchronous.
+	(nnimap-get-responses): Restore.
 
 2012-09-03  Lars Ingebrigtsen  <[email protected]>
 
diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index 5783f29..be5501b 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -1196,6 +1196,15 @@ If LIMIT, first try to limit the search to the N last articles."
 		groups))))
     (nreverse groups)))
 
+(defun nnimap-get-responses (sequences)
+  (let (responses)
+    (dolist (sequence sequences)
+      (goto-char (point-min))
+      (when (re-search-forward (format "^%d " sequence) nil t)
+        (push (list sequence (nnimap-parse-response))
+              responses)))
+    responses))
+
 (deffoo nnimap-request-list (&optional server)
   (when (nnimap-change-group nil server)
     (with-current-buffer nntp-server-buffer

-----------------------------------------------------------------------
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 |    1 +
 lisp/nnimap.el |    9 +++++++++
 2 files changed, 10 insertions(+), 0 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.