Article View: news.software.readers
Article #256577Re: [slrn] Slight annoyance with collapsed threads
From: J.B. Nicholson-Owens
Date: Sat, 28 Dec 2013 06:10
Date: Sat, 28 Dec 2013 06:10
17 lines
2199 bytes
2199 bytes
Lewis <g.kreme@gmail.com.dontsendmecopies> wrote: > How can I get 'd' to simply mark the whole thread regardless of the > score on the first message in it? One could use a macro bound to 'd' which will do this job. This is pretty easy to do in S-Lang. First, clearly define what you mean by "whole thread"; I gather you mean all of the articles in the thread currently visible (thus, no need to do parent/child article searches). I recommend storing the collapse status of the thread and current message-ID. Then, navigate to the head of the visible thread, uncollapse the thread, and loop over the articles in the thread changing the read bit on each article. Finally, collapse the thread in accordance with what was stored earlier, and leave the cursor on the article with the message-ID stored earlier. This should do what you asked for and not disturb the thread display.
Technical Details
Message-ID:
<slrnlbsqqf.3ka.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.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mailReferences:
<slrnl37nnb.1qtv.g.kreme@jaka.local>Show Full Headers
Complete Article Headers
Message-ID: <slrnlbsqqf.3ka.jbn@forestfield.org> Subject: Re: [slrn] Slight annoyance with collapsed threads Date: Sat, 28 Dec 2013 06:10:24 +0000 From: "J.B. Nicholson-Owens" <jbn@forestfield.org> References: <slrnl37nnb.1qtv.g.kreme@jaka.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.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail Newsgroups: news.software.readers Organization: albasani.net Lines: 17 X-Trace: news.albasani.net 8lpKixp0YTsbVQIG269qCXMeInQ+dQYIS3THIQzA2JKsF9ii81m8qJAfyqMjtnuwqkAD6CA//Up+a3GECgiQAQ== NNTP-Posting-Date: Sat, 28 Dec 2013 06:10:24 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="iXnZsGM+ChxfMyh6XR3ICeuejcH1FYTU3eyEoyEWiYt5+Ik1LGQWFc2PuzYoSfLHC9h2SnWZxu4otfv7CB/LgimgOdTFTfcggWWuP7cL5vbQODAjx1XcSWVG8VyhJa6u"; mail-complaints-to="abuse@albasani.net" User-Agent: slrn/pre1.0.0-18 (Linux) Cancel-Lock: sha1:rM0YwqHCvP7+bzhtTep23X2YH0s= X-Original-Bytes: 1905