🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #45942

Re: [SLRN] how to delete automarically reply threads?

#45942
From: Dawn Owens-Nicholson
Date: Thu, 14 Jan 1999 00:00
62 lines
3404 bytes
Matthias Maisenbacher wrote:
> But it isn't what I'm looking for.

It sounded to me like a good answer.  I tried another approach of
interpreting the problem statement.

> I want delete all threads which starts with an re (or Re or RE) *when
> collapsed*

So, only consider the article at the head of the thread, visually speaking?
That is, collapse the thread, consider whether it matches, delete the
articles in the collapsed thread (?) xor move to the next visual-thread?

For instance, if a thread looks like this:

   Indian food is excellent
     +-Yes, it is.  It's the best vegetarian food I've had in a long time.
     +-Re: Indian food is excellent
     +-I could go for a spicy mushroom masala right now (was: Re: Indian...)

there are at least four articles in the thread.  When collapsed, only the
"Indian food is excellent" article will be left on the screen.  Would this
be a match or not?  Visually speaking, I'd guess not, but there is a child
thread ("Re: Indian food is excellent") that I'd guess matches.  It depends
on how one interprets things.

If you marked all four articles as read (for whatever reason) and later
people continued to post in this thread:

       +-Re: Indian food is excellent
         +-Re: Indian food is excellent
	 +-Did Hitler enjoy vegetarian food?
	   +-Uhoh--Hitler alert!  Thanks for ruining the thread.

Are these articles to be marked as read by the macro?  The article (visually
speaking) at the head of the thread has a matching Subject: header, but that
article is the followup to an article that might not have matched.

> Target: I'm not interestet to delete the same thread again day 
> for day.

Putting a working macro in your article_mode_hook() would do the job for you
such that you could still go back and read the offending articles if
you wanted.  If you prefer to remove them from the header list, that can be
done too, with a speed penalty that increases with the size of the header
list (using a macro to do scoring jobs is generally slower than using
scoring).

If you were to kill certain threads instead, the speed penalty goes away
(scoring in slrn is quite fast) and you can still get the convenience of
single-button access to kill a (sub)thread.  Hence, scoring is a viable
option if you score on References: (which you said you knew how to do).

We want to help, but it's hard when the problem is sufficiently vague.



[1] (I'm assuming by starting with a case-insensitive "re" you also mean the
    following colon, or else you're *really* talking something that will
    match more articles than you expect).

Technical Details
Message-ID: <slrn79srfs.6pi.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-mail
References: <77f9t2$eo8$2@news.fr.internet.bosch.de> <1dlintp.1t6gqb4i10pbyN@roxboro0-019.dyn.interpath.net> <369dec76.21420869@news.fr.bosch.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrn79srfs.6pi.bluemoon@ux6.cso.uiuc.edu>
Subject: Re: [SLRN] how to delete automarically reply threads?
Date: Thu, 14 Jan 1999 00:00:00 +0000
From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson)
References: <77f9t2$eo8$2@news.fr.internet.bosch.de> <1dlintp.1t6gqb4i10pbyN@roxboro0-019.dyn.interpath.net> <369dec76.21420869@news.fr.bosch.de>
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: 432697516
Organization: University of Illinois at Urbana-Champaign
User-Agent: slrn/0.9.5.4 (UNIX)
Newsgroups: news.software.readers