🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #78509

Re: [slrn] new patch dramatically improves thread reconstruction speed on --spool

#78509
From: J.B. Nicholson-Owens
Date: Sun, 13 May 2001 23:29
32 lines
2691 bytes
Walter Dnes wrote:
> There is one feature from Agent that I still miss...
> 
>   - if a thread has *NO UNREAD ARTICLES*, it is not displayed by
>     default when the group is opened
>   - if a thread has *ANY UNREAD ARTICLES AT ALL*, the *ENTIRE* thread
>     is displayed, with read/unread articles appropriately flagged
> 
>   This applied to all threads when the group was opened.

This could be done with a macro in an article_mode_hook() now.  The tricky
part (the part I think could use some attention in slrn) is expunging
individual articles.  To realistically fulfill this request close to now,
one would want to be able to expunge a single article from article mode.
Because slrn's expunge function expunges so many articles at once (all
articles marked read and not tagged with asterisks), one could easily write
a macro that would expunge too much.  It would take some coordination to
fulfill this request right now, but it could be done.  Also, such a macro
would not scale well -- the more articles in the group, the longer it would
take to enter group mode to where you could interactively use slrn.

In the long run, I think a more database-like approach to handling requests
like this would be desirable.  I vaguely imagine something conceptually like
SQL where you could give slrn a bunch of conditions and have it return to
you a list of matching message-IDs that you could then handle.  I imagine
such an approach would be faster for both the macro programmer and the user
because slrn's compiled code that has fast access to the structure of the
article list would be doing more of the work.

Anyhow, if there is still interest in this macro I could post what I've got
to offer.
Technical Details
Message-ID: <slrn9fu64b.84.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.mbox.zip!archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
References: <slrn9eq9km.25o._hate_spam_thunder7@middle.of.nowhere> <9con8e$bti$3@news.tht.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9fu64b.84.jbn@forestfield.org>
Subject: Re: [slrn] new patch dramatically improves thread reconstruction speed on --spool
Date: Sun, 13 May 2001 23:29:42 +0000
From: jbn@forestfield.org (J.B. Nicholson-Owens)
References: <slrn9eq9km.25o._hate_spam_thunder7@middle.of.nowhere> <9con8e$bti$3@news.tht.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!forestfield.ORG!not-for-mail
Newsgroups: news.software.readers
Organization: Forest Field OmniMedia
Lines: 31
NNTP-Posting-Host: forestfield.org (208.216.67.173)
X-Trace: fu-berlin.de 989796582 20445038 208.216.67.173 (16 [35848])
X-Orig-Path: jbn
User-Agent: slrn/0.9.7.0 (Unix)