Article View: news.software.readers
Article #198389Re: [slrn] scoring whole threads
From: Troy Piggins
Date: Tue, 24 Apr 2007 03:41
Date: Tue, 24 Apr 2007 03:41
48 lines
3162 bytes
3162 bytes
* Elden Fenison is quoted & my replies are inline below :
> * Troy Piggins [04/23/2007 23:02 UTC]:
>> I just had a little play with the macro below (code hacked from onekey
>> score macro). As defined by the last line, hitting <esc>-k on an
>> article will get all the parent articles, kill the OP subject heading,
>> and also kill any references to the OP M-ID, even if the subject is
>> changed.
>>
>> Is that something like you are after?
>
> That's really cool. Yes I think that would suit the purpose.
>
> So that would work in conjunction with the onekey-score macro I take it.
I think it should play with onekey-score ok. Untested. Just
make sure the key bindings are different.
> I'll play around with it. My understanding... (as I have yet to test
> this all out)... is that the onekey-score macro will kill or watch a
> subthread. The difference is, your macro will kill the entire thread.
Pretty much. Read the well-commented code for onekey-score.
Once you understand a little about the code, you can extend it
like this one-key plonk I have appended to the end of onekey
score:
#v+
static define plonk_poster () %{{{
{
create_score("f", -9999, "a", Prefs["ignore_expiry"],
Prefs["ignore_immediately"]);
if (Prefs["ignore_deletes_thread"])
{
call("delete_thread");
}
message ("Plonking poster ...");
}
definekey(OneKeyScore->plonk_poster, "^P", article);
#v-
--
Troy Piggins ,-O (o- O All your sigs are belong to us.
http://piggo.com/~troy O ) //\ O
RLU#415538 `-O V_/_ OOO
hackerkey://v3sw5HPUhw5ln4pr6OSck1ma9u6LwXm5l6Di2e6t5MGSRb8OTen4g7OPa3Xs7MIr8p7
Technical Details
Message-ID:
<20070424133354@usenet.piggo.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!nntp.giganews.com!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mailReferences:
<slrnf2nlsl.1n7o.usenet@elden-pc.moondog.org> <20070422233344.579F.a.NOFFLE@ID-107770.user.individual.net> <slrnf2o4qm.1n7o.usenet@elden-pc.moondog.org> <slrnf2pc9i.5av.chrisgame@URANUS.example.net> <slrnf2pplu.1qnk.usenet@elden-pc.moondog.org> <slrnf2pt1r.5tr.chrisgame@URANUS.example.net> <slrnf2q12h.1qnk.usenet@elden-pc.moondog.org> <slrnf2q3rg.b1f.pjr@pjr.gotdns.org> <slrnf2q7g3.1qnk.usenet@elden-pc.moondog.org> <20070424085807@usenet.piggo.com> <slrnf2qpe6.2rp8.usenet@elden-pc.moondog.org>Show Full Headers
Complete Article Headers
Message-ID: <20070424133354@usenet.piggo.com> Subject: Re: [slrn] scoring whole threads Date: Tue, 24 Apr 2007 13:41:49 +1000 From: Troy Piggins <usenet@piggo.com> References: <slrnf2nlsl.1n7o.usenet@elden-pc.moondog.org> <20070422233344.579F.a.NOFFLE@ID-107770.user.individual.net> <slrnf2o4qm.1n7o.usenet@elden-pc.moondog.org> <slrnf2pc9i.5av.chrisgame@URANUS.example.net> <slrnf2pplu.1qnk.usenet@elden-pc.moondog.org> <slrnf2pt1r.5tr.chrisgame@URANUS.example.net> <slrnf2q12h.1qnk.usenet@elden-pc.moondog.org> <slrnf2q3rg.b1f.pjr@pjr.gotdns.org> <slrnf2q7g3.1qnk.usenet@elden-pc.moondog.org> <20070424085807@usenet.piggo.com> <slrnf2qpe6.2rp8.usenet@elden-pc.moondog.org> 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!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail Newsgroups: news.software.readers X-NNTP-Proxy: Leafnode-2 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/) User-Agent: slrn/0.9.8.1pl1/rt (Linux) Lines: 48 NNTP-Posting-Host: 203.206.121.193 X-Trace: 1177386731 per-qv1-newsreader-01.iinet.net.au 25445 203.206.121.193