Article View: news.software.readers
Article #160816Re: [slrn] Killing a thread once and for all
From: W. Citoan
Date: Sat, 15 Jan 2005 02:25
Date: Sat, 15 Jan 2005 02:25
33 lines
2342 bytes
2342 bytes
Toby wrote:
>
> I can't work out how to get this automated with a macro. At the
> moment I use onekeyscore.sl, and the relevant section is this:
[snip]
> Can I add something to the first argument of create_score to make it
> score by Subject and attach ^\c and $ to the front and end of it?
The one-key-scoring macro already supports scoring by subject. For
example, the following line in your .slrnrc:
setkey article "OneKeyScore->create_score('s', -9999, 't', 30, 1);" "^K"
will kill any post by subject when you press Ctrl-k. That's explained
within the macro itself.
I don't believe you can do what you want from this macro, however. The
macro looks like it calls slrn's create_score command and simply fills
in the values for that. It is basically automating the steps you would
go through when using the 'k' key to interactively score a post. slrn
uses the subject of the selected post to build the score rule. I don't
think you change that via this macro.
You would have to write your own macro that queried the post's subject
and wrote the rule to the score file directly.
- W. Citoan
--
The middle of the road is where the white line is - and that's the worst
place to drive.
-- Robert Frost
Technical Details
Message-ID:
<slrncugvns.3gg.wcitoan@wcitoan-via.supernews.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!border2.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!128.230.129.106!news.maxwell.syr.edu!sn-xit-04!sn-xit-12!sn-xit-09!sn-xit-08!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mailReferences:
<slrncu7ded.489.google@ID-171443.user.uni-berlin.de> <slrncu7ftj.no2.no.spam@thurston.blinkynet.net> <yI_Ed.23198$sf5.7680@lakeread05> <slrncufivd.pnh.google@ID-171443.user.uni-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <slrncugvns.3gg.wcitoan@wcitoan-via.supernews.com> Subject: Re: [slrn] Killing a thread once and for all Date: Sat, 15 Jan 2005 02:25:04 -0000 From: "W. Citoan" <wcitoan@NOSPAM-yahoo.com> References: <slrncu7ded.489.google@ID-171443.user.uni-berlin.de> <slrncu7ftj.no2.no.spam@thurston.blinkynet.net> <yI_Ed.23198$sf5.7680@lakeread05> <slrncufivd.pnh.google@ID-171443.user.uni-berlin.de> 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!border2.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!128.230.129.106!news.maxwell.syr.edu!sn-xit-04!sn-xit-12!sn-xit-09!sn-xit-08!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Newsgroups: news.software.readers Organization: Posted via Supernews, http://www.supernews.com User-Agent: slrn/0.9.7.4 (Win32) X-Complaints-To: abuse@supernews.com Lines: 33