[gnus git] branch master updated: =1= Wait for the end of the LIST ACTIVE command, if we're using that.

Lars Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  8aa32cdf34caeab1762e8c07442164e2c66de641 (commit)
      from  a342fd73da8057b70a08ca63aa9fbd0ccdc2eb83 (commit)


- Log -----------------------------------------------------------------
commit 8aa32cdf34caeab1762e8c07442164e2c66de641
Author: Lars Ingebrigtsen <[email protected]>
Date:   Mon Feb 21 00:47:13 2011 -0800

    Wait for the end of the LIST ACTIVE command, if we're using that.
    
    Instead of waiting for the beginning.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 31a3828..1a52db3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -2,6 +2,8 @@
 
 	* nntp.el (nntp-finish-retrieve-group-infos): Add a kludge to use the
 	given method as in the group name if we're using an extended method.
+	(nntp-finish-retrieve-group-infos): Wait for the end of the LIST ACTIVE
+	command, if we're using that, instead of waiting for the beginning.
 
 	* gnus-start.el (gnus-get-unread-articles): Extend the methods so that
 	we're sure to get unique server names, and we don't output two async
diff --git a/lisp/nntp.el b/lisp/nntp.el
index 837f91f..09ecfb8 100644
--- a/lisp/nntp.el
+++ b/lisp/nntp.el
@@ -808,7 +808,11 @@ command whose response triggered the error."
 		      (progn
 			(goto-char last-point)
 			;; Count replies.
-			(while (re-search-forward "^[0-9]" nil t)
+			(while (re-search-forward
+				(if nntp-server-list-active-group
+				    "^[.]"
+				  "^[0-9]")
+				nil t)
 			  (incf received))
 			(setq last-point (point))
 			(< received count)))

-----------------------------------------------------------------------
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 |    2 ++
 lisp/nntp.el   |    6 +++++-
 2 files changed, 7 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.