From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/42918 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Automatically list groups with dormants, too Date: Tue, 05 Feb 2002 14:53:05 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035178094 14753 80.91.224.250 (21 Oct 2002 05:28:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:28:14 +0000 (UTC) Return-Path: Original-Received: (qmail 13593 invoked from network); 5 Feb 2002 13:57:07 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 5 Feb 2002 13:57:07 -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 16Y64D-0002Re-00; Tue, 05 Feb 2002 07:55:25 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 05 Feb 2002 07:55:04 -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 HAA25044 for ; Tue, 5 Feb 2002 07:53:42 -0600 (CST) Original-Received: (qmail 13535 invoked by alias); 5 Feb 2002 13:53:38 -0000 Original-Received: (qmail 13530 invoked from network); 5 Feb 2002 13:53:38 -0000 Original-Received: from waldorf.cs.uni-dortmund.de (129.217.4.42) by gnus.org with SMTP; 5 Feb 2002 13:53:38 -0000 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id g15DrBb26917 for ; Tue, 5 Feb 2002 14:53:11 +0100 (MET) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id OAA07974; Tue, 5 Feb 2002 14:53:06 +0100 (MET) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id 0A73D3B02B; Tue, 5 Feb 2002 14:53:05 +0100 (CET) Original-To: ding@gnus.org Original-Lines: 23 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:42918 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:42918 --=-=-= 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: --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline (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)))) --=-=-= Content-Disposition: inline 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'. Help? kai -- ~/.signature is: umop 3p!sdn (Frank Nobis) --=-=-=--