Article View: news.software.readers
Article #209048[slrn] Patch for configurable score colors
From: Rudy Taraschi
Date: Sat, 20 Oct 2007 05:54
Date: Sat, 20 Oct 2007 05:54
31 lines
2442 bytes
2442 bytes
Hi folks,
Now that slrn has a new maintainer (welcome back John), I decided
to re-pitch my patch for configurable score colors. I know
there's at least two people other than myself using it, and it's
been running solidly for about four years. Essentially, its a
patch for slrn that allows you to assign different colors to
arbitrary score ranges.
I've added 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 5001 9998 "cyan" "default"
score_color 8888 8888 "green" "default"
score_color 7777 7777 "white" "blue"
This example sets the color for all scores between 5001 and 9998
inclusive to cyan, except for score 8888, which gets colored green
(in this case, =8888 is my "watched thread" score) and 7777 (which
is my "interesting people" score). Note that overlapping color
ranges are supported (and useful).
You can get the patch file against 0.9.8.1pl1 at:
http://www.taraschi.net/slrn/patch-0.9.8.1pl1.rt.score_color.1
Back in Aug. 2003, Thomas said that he would consider this patch
for a later release. Maybe now's the time. Cheers!
/rudy
Technical Details
Message-ID:
<slrnfhj46h.9n8.rudy@news.readfreenews.net>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!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!204.153.247.123.MISMATCH!mauve.octanews.net!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <slrnfhj46h.9n8.rudy@news.readfreenews.net>
Subject: [slrn] Patch for configurable score colors
Date: Sat, 20 Oct 2007 05:54:02 +0000
From: Rudy Taraschi <rudy@this.address.is.invalid>
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!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!204.153.247.123.MISMATCH!mauve.octanews.net!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail
Newsgroups: news.software.readers
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 (Linux)
Lines: 31
Organization: Read Free News
NNTP-Posting-Date: 20 Oct 2007 00:54:02 CDT
X-Trace: DXC=iKCBSR\DojT9S3ZIELT\2Q]AGWjF5PjPY465Ue@WB_5_QPIi_2hMeWU;
EIITWQgdUV8LFk1b0d<ZXHCEkd3aQc1RHd[93Z\:5]T