From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48230 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Find correct list of articles for a group Date: Sat, 28 Dec 2002 23:16:57 +0100 Organization: Programmerer Ingebrigtsen Sender: owner-ding@hpc.uh.edu Message-ID: References: <84of9qa41m.fsf@crybaby.cs.uni-dortmund.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1041114340 13824 80.91.224.249 (28 Dec 2002 22:25:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 28 Dec 2002 22:25:40 +0000 (UTC) Return-path: Original-Received: from util1.math.uh.edu ([129.7.128.22]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18SPOk-0003aq-00 for ; Sat, 28 Dec 2002 23:25:38 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by util1.math.uh.edu with esmtp (Exim 4.10) id 18SPGf-0005ws-00; Sat, 28 Dec 2002 16:17:17 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 28 Dec 2002 16:18:10 -0600 (CST) Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id QAA06851 for ; Sat, 28 Dec 2002 16:17:55 -0600 (CST) Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18SPGP-00072o-00 for ; Sat, 28 Dec 2002 23:17:01 +0100 Original-To: ding@hpc.uh.edu Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 23 Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby.gnus.org 1041113821 24032 80.91.231.2 (28 Dec 2002 22:17:01 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 28 Dec 2002 22:17:01 GMT Mail-Copies-To: never X-Now-Playing: Stereolab's _ABC Music (2)_: "Naught More Terrific Than Man" User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.50 (i686-pc-linux-gnu) X-Face: |J gnus-agent invokes (gnus-active GROUP-NAME) to see which articles are > in a group. I have a group where gnus-active returns something like > (1 . 4711) but actually only the first article exists and then the > last twenty or so starting at 4690. Well, finding out which articles are in a group basically means querying the server and seeing what we get. :-) Gnus can't know in advance which articles exists on the server. However, Gnus could keep track of which articles definitely aren't on the server, so it could, say, keep a list of `dead' ranges of articles that it knows aren't there, and then we could have a function that does the complement of `gnus-active' and the `dead' ranges. That'll give us a better upper bound on how many articles exist. But I don't know how useful that would be. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen