Article View: news.software.readers
Article #256054Re: slrn keyboard commands
From: Lewis
Date: Sun, 03 Nov 2013 22:43
Date: Sun, 03 Nov 2013 22:43
26 lines
2146 bytes
2146 bytes
In message <slrnl7dj62.mup.jbn@forestfield.org>
J.B. Nicholson-Owens <jbn@forestfield.org> wrote:
> Phil Boutros <philb@philb.ca> wrote:
>> setkey article "call(\"toggle_collapse_threads\");call(\"delete\")" "X"
> If the goal is to mark an entire thread as read, the above won't mark
> the current thread read when the current thread is collapsed.
> I think you're looking for something closer to the following:
> !if (thread_was_collapsed) collapse_thread ();
> call ("delete");
> variable ending_article = extract_article_header ("Message-ID");
Can you just change the original line to
#v+
setkey article "call(\"!if is_thread_collapsed() collapse_thread\");call(\"delete\")" "X"
#v-
Or something like that?
--
'You're your own worst enemy, Rincewind,' said the sword.
Rincewind looked up at the grinning men. 'Bet?' --Colour of Magic
Technical Details
Message-ID:
<slrnl7dkbq.gum.g.kreme@mbp55.local>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!border1.nntp.ams.giganews.com!nntp.giganews.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mailReferences:
<slrnl6s4a0.26a.mr@irc.sandman.net> <slrnl7bopa.qm3.philb@ah61.is-a-geek.com> <slrnl7dj62.mup.jbn@forestfield.org>Show Full Headers
Complete Article Headers
Message-ID: <slrnl7dkbq.gum.g.kreme@mbp55.local> Subject: Re: slrn keyboard commands Date: Sun, 03 Nov 2013 22:43:06 +0000 From: Lewis <g.kreme@gmail.com.dontsendmecopies> References: <slrnl6s4a0.26a.mr@irc.sandman.net> <slrnl7bopa.qm3.philb@ah61.is-a-geek.com> <slrnl7dj62.mup.jbn@forestfield.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!border1.nntp.ams.giganews.com!nntp.giganews.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Newsgroups: news.software.readers Organization: Miskatonic U Lines: 26 Injection-Date: Sun, 3 Nov 2013 22:43:06 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="67a6ffcad0084cff2eaf00478b4e9e19"; logging-data="12748"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19C/DdR8PiqR7W9hKkFnNI/" User-Agent: slrn/1.0.1 (Darwin) X-No-Archive: Yes X-Excuse: Been playing lots of WoW X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z Cancel-Lock: sha1:4uiL/T/EV/VeWR/jyz3Lpn5RbTg= Mail-Copies-To: nobody