From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/43084 Path: main.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: Re: Like (display . all) but hide expirable messages Date: Wed, 13 Feb 2002 17:30:14 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <871yfp2ex5.fsf@uwo.ca> References: <87n15953w6.fsf@TK212017118241.teleweb.at> <87k7zwlhqy.fsf@uwo.ca> <87y9i0y72e.fsf@uwo.ca> <2nu1smhxhr.fsf@zsh.cs.rochester.edu> <87g0452x48.fsf@uwo.ca> <2n7kph1gds.fsf@zsh.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035178236 15698 80.91.224.250 (21 Oct 2002 05:30:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:30:36 +0000 (UTC) Return-Path: Original-Received: (qmail 1295 invoked from network); 13 Feb 2002 22:31:12 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 13 Feb 2002 22:31:12 -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 16b7vR-0004FS-00; Wed, 13 Feb 2002 16:30:53 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 13 Feb 2002 16:30:50 -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 QAA10297 for ; Wed, 13 Feb 2002 16:30:35 -0600 (CST) Original-Received: (qmail 1286 invoked by alias); 13 Feb 2002 22:30:32 -0000 Original-Received: (qmail 1281 invoked from network); 13 Feb 2002 22:30:31 -0000 Original-Received: from pony.its.uwo.ca (129.100.2.63) by gnus.org with SMTP; 13 Feb 2002 22:30:31 -0000 Original-Received: from femail.its.uwo.ca (hurdle.its.uwo.ca [129.100.2.108]) by pony.its.uwo.ca (8.12.1/8.12.0) with ESMTP id g1DMUL3e018808 for ; Wed, 13 Feb 2002 17:30:29 -0500 (EST) Original-Received: from localhost (ren.math.uwo.ca [129.100.75.76]) by femail.its.uwo.ca (8.12.1/8.12.0) with ESMTP id g1DMUFCl029518 for ; Wed, 13 Feb 2002 17:30:15 -0500 (EST) Original-Received: from jdc by localhost with local (Exim 3.33 #1 (Debian)) id 16b7up-0004dc-00; Wed, 13 Feb 2002 17:30:15 -0500 Original-To: ding@gnus.org Mail-Copies-To: nobody In-Reply-To: <2n7kph1gds.fsf@zsh.cs.rochester.edu> (ShengHuo ZHU's message of "Wed, 13 Feb 2002 11:43:59 -0500") Original-Lines: 162 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i386-debian-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:43084 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:43084 ShengHuo ZHU writes: > Dan Christensen writes: > >> ShengHuo ZHU writes: >> >>> Dan Christensen writes: >>> >>>> Lars Magne Ingebrigtsen writes: >>>> >>>>> Dan Christensen writes: >>>>> >>>>>> 7. I can't get (display . [and (not expire) (not read)]) or >>>>>> (display . [and (not expire) unread]) to work for me. With >>>>>> the former I get prompted to input a Lisp Expression when I >>>>>> enter a group. >>>>> >>>>> So much ditto that I don't know how to express it. >>>>> >>>>>> With the latter I get the following error when >>>>>> entering a group: >>>>>> >>>>>> Debugger entered--Lisp error: (void-function unread) >>>>>> unread() >>>>> >>>>> I've now made that invalid and removed it from the documentation. >>>> >>>> This still doesn't work for me, with a cvs from an hour ago. (not >>>> read) checks that the article doesn't appear in gnus-newsgroup-reads, >>>> but this variable seems to keep track of the articles read in the >>>> *current* session, so I think it is always nil when the summary is >>>> being generated. What I want is to check that the article is in >>>> gnus-newsgroup-unreads. So I think read should be made invalid, and >>>> unread should be made valid, since it is what one is actually >>>> interested in. >>> >>> I added unread. >> >> It still doesn't work for me, with the latest cvs. > > What are the evaluations of gnus-summary-display-cache and > gnus-category-predicate-cache ? Here they are. The first doesn't mention unread. gnus-summary-display-cache's value is shown below. Documentation: not documented as a variable. Defined in `gnus-sum'. Value: ((seen . #[nil "\300\301!\207" [gnus-article-marked-p seen] 2]) (recent . #[nil "\300\301!\207" [gnus-article-marked-p recent] 2]) (forward . #[nil "\300\301!\207" [gnus-article-marked-p forward] 2]) (unsend . #[nil "\300\301!\207" [gnus-article-marked-p unsend] 2]) (download . #[nil "\300\301!\207" [gnus-article-marked-p download] 2]) (cache . #[nil "\300\301!\207" [gnus-article-marked-p cache] 2]) (save . #[nil "\300\301!\207" [gnus-article-marked-p save] 2]) (score . #[nil "\300\301!\207" [gnus-article-marked-p score] 2]) (dormant . #[nil "\300\301!\207" [gnus-article-marked-p dormant] 2]) (bookmark . #[nil "\300\301!\207" [gnus-article-marked-p bookmark] 2]) (killed . #[nil "\300\301!\207" [gnus-article-marked-p killed] 2]) (expire . #[nil "\300\301!\207" [gnus-article-marked-p expire] 2]) (reply . #[nil "\300\301!\207" [gnus-article-marked-p reply] 2]) (tick . #[nil "\300\301!\207" [gnus-article-marked-p tick] 2]) (unseen . #[nil "\300\301!\207" [gnus-article-marked-p unseen] 2]) (read . #[nil "\300\301!\207" [gnus-article-marked-p read] 2])) gnus-category-predicate-cache's value is shown below. Documentation: not documented as a variable. Defined in `gnus-agent'. Value: (((not expire) . #[nil "\300\301!?\207" [gnus-article-marked-p expire] 2]) ((and (not expire) (not read)) . #[nil "\300\301!?\205 [gnus-article-marked-p expire read] 2]) ((not read) . #[nil "\300\301!?\207" [gnus-article-marked-p read] 2]) (unread . unread) ((and (not expire) unread) . #[nil "\300\301!?\205 [gnus-article-marked-p expire unread] 2]) ((and (not expire) (unread)) . #[nil "\300\301!?\205 [gnus-article-marked-p expire nil] 2])) -- Dan Christensen jdc+news@uwo.ca