[gnus git] branch master updated: =4= Comment fix. ; (gnus-read-active-file-1): Remove dead parameter infos. ; Add comments. ; Add comment.

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  3531c0498ec33fe82f2e1004ef7ff90cdbf869c1 (commit)
       via  cf9a1f28502ae17987738d6ddc1db76cd91e9a08 (commit)
       via  92c18a01f99e8cbe4c1942ba317f2978761fcbd8 (commit)
       via  c6096e378841e4478896caa06a2e656d02e2a0bc (commit)
      from  c9411643b863c43a6e89bf9a24783ca20f9496bf (commit)


- Log -----------------------------------------------------------------
commit 3531c0498ec33fe82f2e1004ef7ff90cdbf869c1
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Mon Jan 31 18:00:07 2011 -0800

    Comment fix.

diff --git a/lisp/gnus-start.el b/lisp/gnus-start.el
index 0546226..7517c87 100644
--- a/lisp/gnus-start.el
+++ b/lisp/gnus-start.el
@@ -1762,10 +1762,10 @@ If SCAN, request a scan of that group as well."
 	 (dolist (info infos (nreverse groups))
 	   (push (gnus-group-real-name (gnus-info-group info)) groups))
 	 method)))
-     ;; All backends have -request-list.
+     ;; Virtually all backends have -request-list.
      ((gnus-check-backend-function 'request-list (car method))
       (gnus-read-active-file-1 method nil))
-     ;; Unless nnvirtual and friends, where we request each group, one
+     ;; Except nnvirtual and friends, where we request each group, one
      ;; by one.
      (t
       (dolist (info infos)

commit cf9a1f28502ae17987738d6ddc1db76cd91e9a08
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Mon Jan 31 17:58:27 2011 -0800

    (gnus-read-active-file-1): Remove dead parameter infos.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 82b88c0..54f5c3b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-01  Lars Ingebrigtsen  <[email protected]>
+
+	* gnus-start.el (gnus-read-active-file-1): Remove dead parameter infos.
+
 2011-01-31  Lars Ingebrigtsen  <[email protected]>
 
 	* gnus-art.el (article-transform-date): Rewrite to still work when
diff --git a/lisp/gnus-start.el b/lisp/gnus-start.el
index b66c28b..0546226 100644
--- a/lisp/gnus-start.el
+++ b/lisp/gnus-start.el
@@ -1764,7 +1764,7 @@ If SCAN, request a scan of that group as well."
 	 method)))
      ;; All backends have -request-list.
      ((gnus-check-backend-function 'request-list (car method))
-      (gnus-read-active-file-1 method nil infos))
+      (gnus-read-active-file-1 method nil))
      ;; Unless nnvirtual and friends, where we request each group, one
      ;; by one.
      (t
@@ -1995,7 +1995,7 @@ If SCAN, request a scan of that group as well."
 	       (message "Quit reading the active file")
 	       nil))))))))
 
-(defun gnus-read-active-file-1 (method force &optional infos)
+(defun gnus-read-active-file-1 (method force)
   (let (where mesg)
     (setq where (nth 1 method)
 	  mesg (format "Reading active file%s via %s..."

commit 92c18a01f99e8cbe4c1942ba317f2978761fcbd8
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Mon Jan 31 17:56:59 2011 -0800

    Add comments.

diff --git a/lisp/gnus-start.el b/lisp/gnus-start.el
index 0e12108..b66c28b 100644
--- a/lisp/gnus-start.el
+++ b/lisp/gnus-start.el
@@ -1743,6 +1743,8 @@ If SCAN, request a scan of that group as well."
 (defun gnus-read-active-for-groups (method infos early-data)
   (with-current-buffer nntp-server-buffer
     (cond
+     ;; Finish up getting the data from the methods that have -early
+     ;; methods.
      ((and
        (gnus-check-backend-function 'finish-retrieve-group-infos (car method))
        infos
@@ -1750,6 +1752,7 @@ If SCAN, request a scan of that group as well."
 	   (gnus-online method)))
       (gnus-finish-retrieve-group-infos method infos early-data)
       (gnus-agent-save-active method))
+     ;; Most backends have -retrieve-groups.
      ((and (gnus-check-backend-function 'retrieve-groups (car method))
 	   infos)
       (when (gnus-check-backend-function 'request-scan (car method))
@@ -1759,8 +1762,11 @@ If SCAN, request a scan of that group as well."
 	 (dolist (info infos (nreverse groups))
 	   (push (gnus-group-real-name (gnus-info-group info)) groups))
 	 method)))
+     ;; All backends have -request-list.
      ((gnus-check-backend-function 'request-list (car method))
       (gnus-read-active-file-1 method nil infos))
+     ;; Unless nnvirtual and friends, where we request each group, one
+     ;; by one.
      (t
       (dolist (info infos)
 	(gnus-activate-group (gnus-info-group info) nil nil method t))))))

commit c6096e378841e4478896caa06a2e656d02e2a0bc
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Mon Jan 31 17:18:40 2011 -0800

    Add comment.

diff --git a/lisp/gnus-start.el b/lisp/gnus-start.el
index 3879df3..0e12108 100644
--- a/lisp/gnus-start.el
+++ b/lisp/gnus-start.el
@@ -1700,6 +1700,8 @@ If SCAN, request a scan of that group as well."
 		    'retrieve-group-data-early (car method)))
 	      (when (gnus-check-backend-function 'request-scan (car method))
 		(gnus-request-scan nil method))
+	      ;; Store the token we get back from -early so that we
+	      ;; can pass it to -finish later.
 	      (setcar (nthcdr 3 elem)
 		      (gnus-retrieve-group-data-early method infos)))))))
 

-----------------------------------------------------------------------
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     |    4 ++++
 lisp/gnus-start.el |   12 ++++++++++--
 2 files changed, 14 insertions(+), 2 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.