From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/20903 Path: main.gmane.org!not-for-mail From: Karl Kleinpaste Newsgroups: gmane.emacs.gnus.general Subject: Re: C-u x gnus-group-get-new-news (pgnus 0.75) Date: 02 Feb 1999 18:14:44 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035159111 20247 80.91.224.250 (21 Oct 2002 00:11:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:11:51 +0000 (UTC) Keywords: groups,level,status,open,gnus-get-unread-articles,active Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id SAA27548 for ; Tue, 2 Feb 1999 18:16:14 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id RAB22562; Tue, 2 Feb 1999 17:15:32 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 02 Feb 1999 17:15:48 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id RAA09786 for ; Tue, 2 Feb 1999 17:15:38 -0600 (CST) Original-Received: from beaver.jprc.com (BEAVER.JPRC.COM [207.86.147.217]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id SAA27529 for ; Tue, 2 Feb 1999 18:15:32 -0500 (EST) Original-Received: (from karl@localhost) by beaver.jprc.com (8.8.7/8.8.7) id SAA20236; Tue, 2 Feb 1999 18:14:44 -0500 Original-To: ding@gnus.org X-Face: "5(T0tZd{6}pd~YzBG8O/*EW,.]6]@`m^e;fv65W^Y&=d"M\1H}>T~4_.kcDD.O~y3k)a6h R;Nmi>9|>Nm${2IpM0^RcUEa\jcq?KOP)C&~x51l~zCHTulL^_T|u0I^kB'z@]{`2YjQu In-Reply-To: Jack Vinson's message of "02 Feb 1999 12:58:17 -0600" Original-Lines: 35 User-Agent: Gnus/5.070075 (Pterodactyl Gnus v0.75) XEmacs/21.2(beta9) (Athena) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:20903 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:20903 Jack Vinson writes: > 2) Groups /below/ the indicated level are marked with a "*" > (unknown) for the number of articles. Something like this was > happening in 0.74 as well. This is caused by the fix to gnus-get-unread-articles which was needed due to its previous misbehavior of activating groups which should have been left inactive. I just edebug'd through it again; we now have the inverse problem from before. Prior to the latest fix, gnus-get-unread-articles would activate native or secondary groups when it shouldn't, because there was no disabling of the check (using the local var "active") to get the unread article list. Now, with "active" being (correctly) nil'd, it doesn't leave such groups alone, but actually *removes* their status as open, active groups. The middle ground needs to be found, so that gnus-activate-level prevents unopened groups from being opened, but groups which are already open aren't *reduced* to "unopened" status when doing a level-specific get-new-news. In fact, I'd say that what's at issue is not (er, should not be) based on gnus-activate-level alone, 'cuz the groups in question are already activated. There's a semantic gap here as regards what "level" is in question: There's both activation of any kind, and there's querying at a particular level regardless of other, lower priority groups' activation status. These are not the same thing, but the code currently treats them as though they were. Hence, `C-u 2 g' destroys "opened" status on level 3+ groups in gnus-get-unread-articles even though they're properly open. (No words from me on Jack's point #1, about mail backends being queried for every group on the level in question, except to say that I see that problem, too.) --karl