From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33575 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.emacs.gnus.general Subject: Re: Some numbering problem (nnml?) Date: 04 Dec 2000 17:25:53 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: <5bofyrn8d1.fsf@brandy.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035169657 25855 80.91.224.250 (21 Oct 2002 03:07:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:07:37 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id 7AC18D049A for ; Mon, 4 Dec 2000 17:27:02 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id QAB25397; Mon, 4 Dec 2000 16:26:17 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 04 Dec 2000 16:25:41 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id QAA00403 for ; Mon, 4 Dec 2000 16:25:32 -0600 (CST) Original-Received: from multivac.student.cwru.edu (multivac.STUDENT.CWRU.Edu [129.22.239.69]) by mailhost.sclp.com (Postfix) with SMTP id 03923D049A for ; Mon, 4 Dec 2000 17:25:56 -0500 (EST) Original-Received: (qmail 1108 invoked by uid 500); 4 Dec 2000 22:26:15 -0000 Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org In-Reply-To: ShengHuo ZHU's message of "04 Dec 2000 17:12:58 -0500" Original-Lines: 25 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:33575 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33575 ShengHuo ZHU writes: > prj@po.cwru.edu (Paul Jarc) writes: > > But anyway, backends already report the number of articles in the > > output of -request-group. Gnus ignores this in favor of > > last-first+1 (according to the 5.8.7 texinfo). Anyone know why? > > One reason is that the number doesn't help much to calculate the > number of unread articles. Ok, but when using C-u RET, you don't need the number of unread articles, just the total. Yet in that case, Gnus still prompts you with last-first+1. > For example, -request-group returns 3 5 9 (the number of articles, > first, last), and you've read 5-8. What is the number of unread > articles? Gnus doesn't know whether number 9 is missing. What if the number of articles reported by the backend is smaller than last-first+1-(number of read articles)? In that case, we can improve the estimate by using the backend's number, even by assuming that all of those are unread. (This may not be a common case, but it isn't expensive to handle, either.) paul