Thread View: news.software.readers
7 messages
7 total messages
Started by Fritz Wuehler
Tue, 10 Jul 2012 01:34
[slrn] need to hilight regex's that contribute to score
Author: Fritz Wuehler
Date: Tue, 10 Jul 2012 01:34
Date: Tue, 10 Jul 2012 01:34
11 lines
1784 bytes
1784 bytes
When a post gets a non-zero score, the whole line is colorized. This makes it difficult to see what regular expression caused the score. In some cases I'll study a line that does not appear to contain any of my regular expressions at all, which hinders improvement of the scorefile. 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?
Re: [slrn] need to hilight regex's that contribute to score
Author: Mike Yetto
Date: Tue, 10 Jul 2012 12:00
Date: Tue, 10 Jul 2012 12:00
26 lines
2463 bytes
2463 bytes
Fritz Wuehler <fritz@spamexpire-201207.rodent.frell.theremailer.net> writes and having writ moves on. >When a post gets a non-zero score, the whole line is colorized. This >makes it difficult to see what regular expression caused the score. >In some cases I'll study a line that does not appear to contain any of >my regular expressions at all, which hinders improvement of the >scorefile. >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- Mike "choose wisely" Yetto -- In theory, theory and practice are the same. In practice they are not.
Re: [slrn] need to hilight regex's that contribute to score
Author: Whiskers
Date: Tue, 10 Jul 2012 15:57
Date: Tue, 10 Jul 2012 15:57
21 lines
2229 bytes
2229 bytes
On 2012-07-10, Fritz Wuehler <fritz@spamexpire-201207.rodent.frell.theremailer.net> wrote: > When a post gets a non-zero score, the whole line is colorized. This > makes it difficult to see what regular expression caused the score. > In some cases I'll study a line that does not appear to contain any of > my regular expressions at all, which hinders improvement of the > scorefile. > > 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? Hitting v [1] reveals which score-file entries match the article you're currently reading. Is that what you're looking for? [1] unless you've changed the default key bindings. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [slrn] need to hilight regex's that contribute to score
Author: Anonymous
Date: Thu, 12 Jul 2012 21:10
Date: Thu, 12 Jul 2012 21:10
17 lines
1553 bytes
1553 bytes
Whiskers <catwheezel@operamail.com> wrote: > > Hitting v [1] reveals which score-file entries match the article > you're currently reading. Is that what you're looking for? > > [1] unless you've changed the default key bindings. Thanks Whiskers. That solves one problem. It really helps me troubleshoot my scorefile, and understand what criteria is behind a score. I would still like better readability. Highlighting the whole line doesn't make it easy to pick out key words. I'm still forced to read the whole subject line to find out what each thread is about. Highlighting just the word(s) of interest would make it much faster to sort through large amounts of content.
Re: [slrn] need to hilight regex's that contribute to score
Author: Anonymous
Date: Fri, 13 Jul 2012 00:42
Date: Fri, 13 Jul 2012 00:42
30 lines
2077 bytes
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.
Re: [slrn] need to hilight regex's that contribute to score
Author: Whiskers
Date: Fri, 13 Jul 2012 15:33
Date: Fri, 13 Jul 2012 15:33
58 lines
3458 bytes
3458 bytes
On 2012-07-12, Anonymous <noreply@breaka.net> wrote:
> Whiskers <catwheezel@operamail.com> wrote:
>>
>> Hitting v [1] reveals which score-file entries match the article
>> you're currently reading. Is that what you're looking for?
>>
>> [1] unless you've changed the default key bindings.
>
> Thanks Whiskers. That solves one problem. It really helps me
> troubleshoot my scorefile, and understand what criteria is behind a
> score.
>
> I would still like better readability. Highlighting the whole line
> doesn't make it easy to pick out key words. I'm still forced to read
> the whole subject line to find out what each thread is about.
> Highlighting just the word(s) of interest would make it much faster to
> sort through large amounts of content.
Use different scores for different things; eg here are some of my
scorefile entries:
#v+
Score:: 1000 %fup to mine
References: ID-107770\.user\.individual\.net>$
References: ID-107770\.user\.individual\.net>[^>]+>$
References: ID-107770\.user\.individual\.net>[^>]+>[^>]+>$
References: ID-107770\.user\.individual\.net>[^>]+>[^>]+>[^>]+>$
References: ID-107770\.user\.individual\.net>[^>]+>[^>]+>[^>]+>[^>]+>$
Score: 4000 %direct fup to mine
References: ID-107770\.user\.individual\.net>$
Score: 50 %my name in Subject
Subject: Whiskers
%Per-group scores
%
[alt.free.newsservers,alt.usenet.news-server-comparison]
Score: 500 %Individual.net
Subject: Individual
[news.software.readers]
Score:: 10 %about slrn
Subject: slrn
#v-
Negative scores usually end in a 9 (eg -99, -199, -999, etc). The
'kill' score (articles not listed at all when entering a group) is
-9999 or lower.
This method tends to group things more or less in order of interest to
me.
--
-- ^^^^^^^^^^
-- Whiskers
-- ~~~~~~~~~~
Re: [slrn] need to hilight regex's that contribute to score
Author: Anonymous
Date: Fri, 13 Jul 2012 22:28
Date: Fri, 13 Jul 2012 22:28
30 lines
2220 bytes
2220 bytes
Whiskers <catwheezel@operamail.com> wrote: > > Use different scores for different things; eg here are some of my > scorefile entries: Thanks, but that's only a marginal improvement. Consider these scenarios: * you visit an RSS-fed gmane newsgroup showing hundreds of new Craigslist postings a day. You have a ~25-50 regular expressions (mostly single words) in your scorefile for things you might buy. Even if each regular expression were to color the line differently, it's still hard reading because the word of interest is the same color as the rest of the subject line. It's the matching expression that's important here. The matching portion of the text should be in boldface, whatever the color. * you visit a newsgroup showing hundreds of Android phone postings. And your scorefile has ~30-40 apps and concepts of interest. The first screenfull might be all highlights. You have no chance of mentally associating score numbers or colors with an app or expression. One would have to be autistic to have memorized such a large scorefile section. Notice that when you search the web using duckduckgo.com or startpage.com, the results are shown with every instance of the search pattern in boldface. This makes a significant difference in readability.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads