Article View: news.software.nn
Article #832Re: De-selecting auto-selected articles
From: Kim F. Storm
Date: Thu, 30 Aug 1990 14:53
Date: Thu, 30 Aug 1990 14:53
46 lines
2068 bytes
2068 bytes
iann@cnw01.storesys.coles.oz.au (Ian Nicholls) writes:
>I have worked out a way of keeping articles unselected that would otherwise
>be automatically selected.
This property already exists in nn although this isn't clearly documented
in the manual.
>So, I added a kill command '-', which de-selects matching articles.
The following example will work *now* if you simply omit the '-'.
>You have to add the de-select line before the select line in your kill file:
>I think the order has something to do with the linked lists used to store
>the various patterns.
> e.g. /amiga:-s/:Amiga
> comp.os.minix:-s/:minix
> :+s/:Amiga
> :+s/:minix
The reason why this works now (without the -'s) is:
a) if neither '!' nor '+' is specified, the article is neither killed nor
selected.
b) only the first kill-file entry matching the pattern will be used,
c) kill-file entries are handled in three passes:
- first the entries for the specific group,
- then the entries with a regexp matching the group name, and
- finally the entries for all groups.
within each of these "classes" of entries, the order is not defined.
So given the above example, the /amiga: entry will be used before the
generic +s/:Amiga entry.
So the following will work just as well:
:+s/:Amiga
/amiga:s/:Amiga
:+s/:minix
comp.os.minix:s/:minix
--
Kim F. Storm <storm@texas.dk> No news is good news,
Texas Instruments A/S, Denmark but nn is better!
Technical Details
Message-ID:
<650@texas.dk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!stormReferences:
<1043@cnw01.storesys.coles.oz.au>Show Full Headers
Complete Article Headers
Message-ID: <650@texas.dk> Subject: Re: De-selecting auto-selected articles Date: Thu, 30 Aug 1990 14:53:38 +0000 From: storm@texas.dk (Kim F. Storm) References: <1043@cnw01.storesys.coles.oz.au> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm Newsgroups: news.software.nn Organization: Texas Instruments, Denmark Lines: 46 Posted: Thu Aug 30 15:53:38 1990