From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30022 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: Display groups in Group buffer with >0 cached messages? Date: 21 Apr 2000 10:50:31 -0400 Organization: U of Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <2n1z3zfqyw.fsf@tiger.jia.vnet> References: <2nzoqntuh7.fsf@tiger.jia.vnet> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035166606 6280 80.91.224.250 (21 Oct 2002 02:16:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:16:46 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 1D547D051E for ; Fri, 21 Apr 2000 10:48:56 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id JAB26431; Fri, 21 Apr 2000 09:48:52 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 21 Apr 2000 09:48:19 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id JAA01222 for ; Fri, 21 Apr 2000 09:48:03 -0500 (CDT) Original-Received: from mailhop1.nyroc.rr.com (mailhop1-1.nyroc.rr.com [24.92.226.166]) by mailhost.sclp.com (Postfix) with ESMTP id 197E2D051E for ; Fri, 21 Apr 2000 10:48:19 -0400 (EDT) Original-Received: from mailout1.nyroc.rr.com ([24.92.226.146]) by mailhop1.nyroc.rr.com (Post.Office MTA v3.5.3 release 223 ID# 0-59787U250000L250000S0V35) with ESMTP id com for ; Fri, 21 Apr 2000 10:45:02 -0400 Original-Received: from shenghuo.dhs.org ([24.24.41.223]) by mailout1.nyroc.rr.com (Post.Office MTA v3.5.3 release 223 ID# 0-59787U250000L250000S0V35) with ESMTP id com for ; Fri, 21 Apr 2000 10:48:07 -0400 Original-Received: (from zsh@localhost) by shenghuo.dhs.org (8.10.0/8.9.3) id e3LEoWO31009; Fri, 21 Apr 2000 10:50:32 -0400 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q Original-Lines: 23 User-Agent: Gnus/5.0805 (Gnus v5.8.5) Emacs/20.6 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30022 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30022 >>>>> "LMI" == Lars Magne Ingebrigtsen writes: LMI> Shenghuo ZHU writes: >> I don't think Kai wants this. I guess it should be called like >> gnus-group-list-cached. LMI> Oh, right. Hm. Well, I don't think that would be difficult to LMI> implement -- one would just have to iterate over all the groups and LMI> pick out the ones that have cached articles in them. LMI> *time passes* LMI> Looking over `gnus-group-prepare-flat', Gnus chooses to display groups LMI> based on a predicate in there. Perhaps we could add an extra LMI> parameter to that function (and friends) that would allow a different LMI> predicate, which would make it really easy to implement all kinds of LMI> different selection criteria? I just implemented one, called gnus-group-list-cached and gnus-group-prepare-flat-predicate. 'A c' is the key sequence. -- Shenghuo