Article View: news.software.readers
Article #183102Re: [slrn] filtering by poster's name
From: Rudy Taraschi
Date: Wed, 05 Apr 2006 16:17
Date: Wed, 05 Apr 2006 16:17
34 lines
2547 bytes
2547 bytes
Allodoxaphobia wrote:
> What I do for testing (a period of day - sometimes a week
> -- depending on the complexity of the scoring, and the
> "significance" of the consequences) is set the score to an
> eyecatcher value:
>
> Score: =-666
Wouldn't it be nice to make that score (and only that score)
even more eye-catching, say white text on a red background?
If you're comfortable compiling your own custom version of slrn,
here's a patch that allows you to assign different colors to
arbitrary score ranges.
http://www.istop.com/~rudy/slrn/patch-0.9.8.1.rt.score_color.1
Essentially, there's a new configuration variable called
"score_color" which allows you to set a score color that applies
to an arbitrary range. In a nutshell, the syntax looks like:
score_color -1 -9999 "blue" "default"
score_color -666 -666 "white" "red"
This example sets the color for negative scores blue, except for
score -666, which gets colored white on red. Note that overlapping
color ranges are supported (and useful).
Back in Aug. 2003, Thomas (the slrn maintainer) stated that he would
consider this patch for a later release, so this might make in into
the mainstream one day.
/rudy
Technical Details
Message-ID:
<slrne37od5.3r0.rudy@142.39.20.3>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!news-rtr.nyroc.rr.com!wesley.videotron.net!news.cae.ca!not-for-mailReferences:
<slrne34v8n.qvu.steven_schneider@gemini.wss-ds.org> <slrne358vr.2aqp.bit-bucket@shell.config.com>Show Full Headers
Complete Article Headers
Message-ID: <slrne37od5.3r0.rudy@142.39.20.3>
Subject: Re: [slrn] filtering by poster's name
Date: Wed, 05 Apr 2006 16:17:17 +0000
From: Rudy Taraschi <rudy@this.address.is.invalid>
References: <slrne34v8n.qvu.steven_schneider@gemini.wss-ds.org> <slrne358vr.2aqp.bit-bucket@shell.config.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!news-rtr.nyroc.rr.com!wesley.videotron.net!news.cae.ca!not-for-mail
Newsgroups: news.software.readers
Organization: CAE
Lines: 34
NNTP-Posting-Host: l1078.caecorp.cae.com
X-Trace: dns3.cae.ca 1144253837 9330 142.39.89.58 (5 Apr 2006 16:17:17 GMT)
X-Complaints-To: usenet@news.cae.ca
NNTP-Posting-Date: 5 Apr 2006 16:17:17 GMT
X-Face: (WrD*bX*:"j.$(|G/9Wky*T3hTx&09g_~|H3=5[WK$o8oQHIuw0@'Z.-{uz+O{/OQ<:yDquEpI!LJG_jn#a+=drl'V:8{a\WI*iSDIU9xV`bHsN+[y_P1QN-,=fTY4dP:5*z8G?;
=v(*g0As)Xc^t6p#OO6d05Tg/}i,).V-O; |[PH/T9*bcANx/A>m)cVi_Y
X-Files: The truth is out there
User-Agent: slrn/0.9.8.1pl1/rt (CYGWIN_NT-5.1)