From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37871 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Like (display . all) but hide expirable messages Date: Fri, 17 Aug 2001 18:56:13 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <87n15953w6.fsf@TK212017118241.teleweb.at> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035173549 17860 80.91.224.250 (21 Oct 2002 04:12:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:12:29 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 3336 invoked from network); 17 Aug 2001 16:56:36 -0000 Original-Received: from quimby.gnus.org (195.204.10.139) by gnus.org with SMTP; 17 Aug 2001 16:56:36 -0000 Original-Received: (from news@localhost) by quimby.gnus.org (8.9.3/8.9.3) id SAA28929 for ding@gnus.org; Fri, 17 Aug 2001 18:56:23 +0200 (CEST) Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby.gnus.org 998067382 8648 195.204.10.148 (17 Aug 2001 16:56:22 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 17 Aug 2001 16:56:22 GMT Mail-Copies-To: never X-Now-Playing: Crank's _Wanton Phenomena_: "Vaudeville" User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ To take it even further, e.g.: > (display . (and (not expire) (or tick (not read)))) Neat. > But this might be more than is worthwhile. Has that ever stopped us before? :-) So, the question is -- what marks should be predicatable? (If that's not a word, I just made it one.) These are the ones that are stored in the .newsrc.eld file: (defconst gnus-article-mark-lists '((marked . tick) (replied . reply) (expirable . expire) (killed . killed) (bookmarks . bookmark) (dormant . dormant) (scored . score) (saved . save) (cached . cache) (downloadable . download) (unsendable . unsend) (forwarded . forward) (recent . recent))) I could make a general predicate that takes an article number and a type, but the function would just be one big cond, or I could define gnus-article-marked-p, gnus-article-replied-p, gnus-article-expirable-p and so on. If a general predicate (which might actually be easier to use, in this case), it would be called `gnus-article-marked-p'. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen