From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/10946 Path: main.gmane.org!not-for-mail From: Greg Stark Newsgroups: gmane.emacs.gnus.general Subject: nnchoke-retrieve-groups and nnchoke-request-group Date: 16 May 1997 18:29:02 -0400 Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035150739 27408 80.91.224.250 (20 Oct 2002 21:52:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:52:19 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.5/8.8.5) with SMTP id PAA10403 for ; Fri, 16 May 1997 15:41:33 -0700 Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Sat, 17 May 1997 00:29:54 +0200 Original-Received: (qmail 19793 invoked by uid 504); 16 May 1997 22:29:47 -0000 Original-Received: (qmail 19790 invoked from network); 16 May 1997 22:29:45 -0000 Original-Received: from g63-107.citenet.net (brnstnd@kramden.acf.nyu.edu@207.183.47.107) by claymore.vcinet.com with SMTP; 16 May 1997 22:29:44 -0000 Original-Received: by g63-107.citenet.net id m0wSVVB-0008eZC (Debian Smail-3.2 1996-Jul-4 #2); Fri, 16 May 1997 18:29:29 -0400 (EDT) Original-To: ding@gnus.org Original-Lines: 30 X-Mailer: Gnus v5.4.52/Emacs 19.34 Xref: main.gmane.org gmane.emacs.gnus.general:10946 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:10946 In rewriting and using my backend i've realized that gnus sometimes uses *-retrieve-groups to activate a bunch of groups and sometimes repeatedly calls *-request-group. I think it should always use *-retrieve-groups. That way the backend can choose to handle it however is most efficient. In my particular case it's about five times faster and the user feedback is vastly superior (since i can indicate how many groups remain to be handled) if Gnus uses *-retrieve-groups. On a similar note, if i set gnus-read-active-file to 'some Gnus is smart enough to only ask for some groups, but it seems to still ask for more than it really needs to. It seems to ask for anything that isn't a zombie or killed group, even though i have gnus-activate-level and gnus-activate-foreign-newsgroups set much lower so it's asking for active file information about group information it isn't even planning on using. I think these problems are actually related. It doesn't really make sense to have a gnus-read-active-file variable, there should maybe be a nntp-read-active-file which helps decide which NNTP query to use to complete the retrieve-groups request, but there's no reason for a user to change how the interface between Gnus and the backends go about they're business. Well i suppose the distinction between 'some and t is useful, but i don't think the distinction between nil and 'some should be made by Gnus; i think that should be decided by an nntp variable. greg