From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/42934 Path: main.gmane.org!not-for-mail From: Matt Armstrong Newsgroups: gmane.emacs.gnus.general Subject: Re: Automatically list groups with dormants, too Date: Tue, 05 Feb 2002 15:23:45 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: <877kpr36vi.fsf@squeaker.lickey.com> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035178107 14827 80.91.224.250 (21 Oct 2002 05:28:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:28:27 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: (qmail 21177 invoked from network); 5 Feb 2002 22:26:38 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 5 Feb 2002 22:26:38 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16YE2A-0005UX-00; Tue, 05 Feb 2002 16:25:50 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 05 Feb 2002 16:25:26 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id QAA27280 for ; Tue, 5 Feb 2002 16:23:55 -0600 (CST) Original-Received: (qmail 21099 invoked by alias); 5 Feb 2002 22:23:52 -0000 Original-Received: (qmail 21094 invoked from network); 5 Feb 2002 22:23:51 -0000 Original-Received: from hank.lickey.com (ident-is-dumb@64.81.100.235) by gnus.org with SMTP; 5 Feb 2002 22:23:51 -0000 Original-Received: from squeaker.lickey.com (squeaker.lickey.com [192.168.100.10]) by hank.lickey.com (Postfix) with ESMTP id D51E8EE3F; Tue, 5 Feb 2002 15:23:49 -0700 (MST) Original-Received: from localhost (localhost [127.0.0.1]) by squeaker.lickey.com (Postfix) with ESMTP id D78FCC09D; Tue, 5 Feb 2002 15:23:47 -0700 (MST) Original-Received: by squeaker.lickey.com (Postfix, from userid 1000) id D0D46C08B; Tue, 5 Feb 2002 15:23:45 -0700 (MST) Mail-Copies-To: never Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Mail-Followup-To: Kai.Grossjohann@CS.Uni-Dortmund.DE, ding@gnus.org In-Reply-To: (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Tue, 05 Feb 2002 14:53:05 +0100") Original-Lines: 35 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i386-debian-linux-gnu) X-Virus-Scanned: by AMaViS snapshot-20010714 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:42934 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:42934 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: > The key word is "automatically". I want Gnus to hit "A p ?" for me, > so to speak. But the "A p" command is only good for interactive > use. So I wrote the following function: > > > (defun kai-gnus-group-list-plus-dormant () > "List groups with dormant articles in them." > (interactive) > (save-excursion > (let ((gnus-group-listed-groups (gnus-group-listed-groups)) > (gnus-group-list-mode gnus-group-list-mode)) > (gnus-group-list-dormant gnus-group-default-list-level)))) > > > Evaling (kai-gnus-group-list-plus-dormant) appears to do the right > thing. But I couldn't find out how to have Gnus do it automatically, > whenever I hit `g' or `l'. Only a stone's throw away from the pet feature I've wanted for a while (but been too lazy to code). I'd like to be able to set a group parameter called something like hide-until to something like 20. Then, that group doesn't show up in the group buffer until it has 20 new messages in it. I'd use this for high volume mailing lists like ding. (right now I use group levels to hide such groups, but I still get curious and read them too frequently. ;-)) --=20 matt