🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #10939

Re: TRN killfile question

#10939
From: Wayne Davison
Date: Fri, 19 Aug 1994 23:12
26 lines
1724 bytes
According to eddy Gorsuch <eddy@clipper.robadome.com>:
> _My_ only drawback with this is that I'm really using that killfile to
> junk all articles that don't have certain words in the body, but then I
> only want to read some of the remaining ones. That killfile leaves
> every article selected, so I have to unselect the articles I don't want
> to read (which feels backwards to me).

A good point.  I don't actually use this myself, but I think that I
would feel the same way and would argue that *X should deselect the
selected articles since it is junking all the unselected ones.  I
believe the following patch should fix this:

Index:kfile.c
@@ -213,4 +213,9 @@
 		    if (!(ap->flags & killmask))
 			set_read(ap);
+		    else if (ap->flags & sel_mask) {
+			ap->flags &= ~sel_mask;
+			if (!selected_count--)
+			    selected_count = 0;
+		    }
 		}
 		break;
-- 
Wayne Davison
davison@borland.com
Technical Details
Message-ID: <Cut1s1.7CH@borland.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!usc!nic-nac.CSU.net!charnel.ecst.csuchico.edu!olivea!news.hal.COM!decwrl!borland.com!davison
References: <CuqqxB.8Cr@murdoch.acc.virginia.edu> <330e7m$lj0@lynx.unm.edu> <332o4l$qi9@eclipse.eng.sc.rolm.com>

Show Full Headers
Complete Article Headers
Message-ID: <Cut1s1.7CH@borland.com>
Subject: Re: TRN killfile question
Date: Fri, 19 Aug 1994 23:12:01 GMT
From: davison@borland.com (Wayne Davison)
References: <CuqqxB.8Cr@murdoch.acc.virginia.edu> <330e7m$lj0@lynx.unm.edu> <332o4l$qi9@eclipse.eng.sc.rolm.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!usc!nic-nac.CSU.net!charnel.ecst.csuchico.edu!olivea!news.hal.COM!decwrl!borland.com!davison
Newsgroups: news.software.readers
Organization: Borland International
Lines: 26