🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #250757

Re: [slrn] need to hilight regex's that contribute to score

#250757
From: Anonymous
Date: Fri, 13 Jul 2012 00:42
30 lines
2077 bytes
Mike Yetto <myetto1@nycap.invalid> wrote:
> 
> >If there is copious scoring going on in a newsgroup, a whole page
> >will be solidly highlighted.  It would be much more readable if
> >only the text that matched an expression would be colorized.  Is
> >there a way to make this happen?
> 
> Yes, and you probably already did just that by changing your
> .slrnrc file.
> 
> #v+
> % Should color be used to indicate the score of an article?
> % (0) scores do not influence colors (1) scores are colored by their value
> % (2) subjects are colored by score  (3) both are colored by score
> set color_by_score 1 
> #v-

I don't think that option does what you think it does.  I don't see
how this option can reduce the colorized text to just the words that
match the regular expression.  The option you point out is likely to
use the score to set the color of the score or the whole line.  It
will probably still highlight the whole subject line, or none of the
subject at all.

If I'm looking at a screen full of highlighted lines, it's not very
readable.  I want just the word (or few words) that actually match my
regular expression to stand out.


Technical Details
Message-ID: <72d19056280457c3b203030cb30f4198@breaka.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.alt.net!news.dizum.com!sewer-output!mail2news
References: <slrn20120710075748.663.twooffive@may.eternal-september.org>

Show Full Headers
Complete Article Headers
Message-ID: <72d19056280457c3b203030cb30f4198@breaka.net>
Subject: Re: [slrn] need to hilight regex's that contribute to score
Date: Thu, 12 Jul 2012 20:42:17 -0400
From: Anonymous <noreply@breaka.net>
References: <slrn20120710075748.663.twooffive@may.eternal-september.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.alt.net!news.dizum.com!sewer-output!mail2news
Newsgroups: news.software.readers
Mail-To-News-Contact: abuse@dizum.com
Organization: mail2news@dizum.com
Lines: 29
X-Original-Bytes: 1785