Article View: news.software.readers
Article #43436Re: [slrn] How to kill all "Re:" articles except the ones I have scored 9999
From: Dawn Owens-Nicholson
Date: Sun, 27 Sep 1998 00:00
Date: Sun, 27 Sep 1998 00:00
77 lines
3794 bytes
3794 bytes
Ken Keen wrote:
> I want to read in some newsgroups *only*:
> 1. New threads (*no* "Re:" at start of subject)
> 2. Old threads ("Re:" *is* at the start of subject) that I am
> interested in following.
So, you don't really want new threads, just non-"^Re:" subjects, and you
don't need to mark anything high (save that for really groovy stuff). I can
think of a few ways to do this:
You could have the use of "K" as you want if you'd be willing to live with
marking everything as read on group entry:
[news.group.wildmat(s)]
Score: =0 % keep non-Re: articles.
~Subject: ^Re:
Score: -1 % no equal sign here.
Subject: .
Then appending the "interesting" scores which would add at least one point:
[news.group.wildmat(s)] % same wildmat(s) as above
Score: 1
Subject: hokey pokey
[news.group.wildmat(s)] % same wildmat(s) as above
Score: 1
Subject: turn yourself around
[news.group.wildmat(s)] % same wildmat(s) as above
Score: 1
Subject: that's what it's all about
and putting call("art_xpunge") in your article_mode_hook()[1] so articles
marked read are removed from the header list (this is much like killing).
The difference is the scoring stats on group entry will always be wrong for
the number of headers killed.
Or you could use something more elegant like:
[news.group.wildmat(s)]
Score:: =0 % keep int. & non-Re: arts.
~Subject: ^Re:
% put other interesting header/regex lines here.
Score: =-9999 % kill everything else.
Subject: .
But you'll have to edit your scorefile to get the interesting header/regex
lines in between the two rules.
Another more involved suggestion is to implement adaptive scoring where you
keep track of what the user marked as read but didn't download so you can
add a fixed negative score for each article's author and subject to the
scorefile. This would be easy to do if there were an unobtrusive way to
determine what articles the user marked as read without downloading.
Currently, a macro set for this would involve writing wrapper functions for
too many slrn functions to work well.
> But I want to mark threads I desire to read on-the-fly -- i.e., by using
> the K key. This will put them at the *end* of the scorefile.
You could make a macro to make "K" do most of the work for you in the second
example I provided, but there is no way to say "kill everything I don't find
interesting" and still retain "K" functionality so long as your definition
of interesting remains complex. Also, slrn appends complete score entries,
not just header/regex lines, so your scorefile will grow large quickly the
more you use "K".
Hope this helps!
[1] I know article_mode_hook() runs before sorting, but I didn't test to see
if it runs after scoring, hopefully, for you, it does.
Technical Details
Message-ID:
<slrn70t7mr.pqu.bluemoon@ux6.cso.uiuc.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn70r7qg.6rt.TroubleEveryDay@user2.teleport.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn70t7mr.pqu.bluemoon@ux6.cso.uiuc.edu> Subject: Re: [slrn] How to kill all "Re:" articles except the ones I have scored 9999 Date: Sun, 27 Sep 1998 00:00:00 +0000 From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson) References: <slrn70r7qg.6rt.TroubleEveryDay@user2.teleport.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 395401962 Organization: University of Illinois at Urbana-Champaign User-Agent: slrn/0.9.5.3 (UNIX) Newsgroups: news.software.readers