Article View: news.software.readers
Article #18280Re: SLRN bugs?
From: John E. Davis
Date: Mon, 29 Jan 1996 00:00
Date: Mon, 29 Jan 1996 00:00
54 lines
2054 bytes
2054 bytes
On 29 Jan 1996 15:24:19 GMT, Heikki Kantola <hkantola@cc.Helsinki.FI>
wrote:
: I understand, but as counter example: what if I'm using negative
: scores to "kill" ALL CAPS subjects and extensive crossposts (in every
: group of course!) as I'm a nice guy and don't want to give those -9999
: score as sometimes such articles might hold information that I would
: like to read although the majority I wouldn't want to see ever again
: in any newsgroup... Could it be possible to have an option to control
: the behaviour of that feature?
Ok, what about this: In art.c, look at the function:
static Slrn_Header_Type *apply_score (Slrn_Header_Type *h)
In it, you will find:
else if (score < 0)
{
if (score == -9999)
{
int number = h->number;
SLFREE (h->subject);
SLFREE (h);
add_to_kill_list (number);
return NULL;
}
else h->flags |= (HEADER_READ | HEADER_LOW_SCORE);
}
Change it to:
else if (score < 0)
{
if (score == -9999)
{
int number = h->number;
SLFREE (h->subject);
SLFREE (h);
add_to_kill_list (number);
return NULL;
}
else h->flags |= (HEADER_READ | HEADER_LOW_SCORE);
kill_cross_references (h);
}
If this works out, I can make it configurable, e.g.,
if (Slrn_Kill_Xref_Upon_Score)
kill_cross_references (h);
--John
Technical Details
Message-ID:
<slrn4gqalh.b15.davis@wiwaxia.mit.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:
<slrn4gll1g.pia.hkantola@karhu.helsinki.fi> <4eior3$5m2@oravannahka.Helsinki.FI>Show Full Headers
Complete Article Headers
Message-ID: <slrn4gqalh.b15.davis@wiwaxia.mit.edu> Subject: Re: SLRN bugs? Date: Mon, 29 Jan 1996 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <slrn4gll1g.pia.hkantola@karhu.helsinki.fi> <4eior3$5m2@oravannahka.Helsinki.FI> 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: 137052665 Organization: Center for Space Research Reply-to: davis@space.mit.edu Newsgroups: news.software.readers