🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #26337

Re: Slrn 0.9.0.0 & slang questions

#26337
From: David Mears
Date: Wed, 25 Sep 1996 00:00
63 lines
3640 bytes
Olly Betts <olly@mantis.co.uk> wrote:

> David Mears wrote:

> >Olly Betts <olly@mantis.co.uk> wrote:

> >> However, here's a patch I wrote some time ago which adds a new function
> >> (bound by default to Ctrl-A) to pull in from the server all headers not
> >> currently in this collection.

> >> You can "hide" read headers using 'x' (which expunges read headers) and
> >> with this patch, you can "reveal" read headers using '^A'.

> >Once the previously read headers have been pulled in from the server the
> >first time, do they have to be pulled in later, or will they be remembered?

> They have to be pulled in again.  It's not ideal, but it's more efficient
> than having to exit the group and re-enter with "Esc 1 Space" which will
> re-fetch all the unread headers as well as the read ones.

> Internally, slrn can "hide" headers, which is used for collapsing the thread
> tree.  However, trying to reuse the flag looked like a recipe for problems
> (e.g. searches should search collapsed trees, but probably not hidden read
> headers).

Interesting.  This brings up another issue.  There's a functionality in
tin that I would dearly love to have in slrn.  I use it quite often in
tin, and with it available in slrn, I could probably switch fully to slrn
and quit using tin altogether.

Tin has a command, X, which can be used to `hide' unselected articles.
Used in conjunction with tin's = command to select articles based on a
pattern, the resulting functionality is very useful.  Articles can be
selected based on any pattern matching criteria, then all other articles
hidden so only selected articles are visible and processed.  One can
then read through only the selected articles (which can be done, sort
of, in slrn by scoring those articles above others), or one can quickly
scan the selected headers and kill (i.e. mark as read) most or all of
them as desired.  The remaining articles can then be unhidden for more
processing.

The X command acts like a toggle.  The first time, it will hide unselected
articles; typed again it will expose articles previously hidden with X.  If
articles remain hidden when the group is exited, those hidden articles are
marked as read.

With slrn's new macro functioanlity, I believe I could write a function
to read a pattern, search for articles matching the pattern, and select
them.  This would let me match tin's = command.  With a simple function
to hide/unhide a given article, and a way to process either the hidden
list or the unhidden list of articles, then a macro could be written to
find unselected headers, hide them, and later unhide hidden articles.
A quit macro could be written to either mark as read, or leave unread,
any articles hidden when leaving the group.

David B. Mears
Hewlett-Packard
Cupertino CA
mears@cup.hp.com


Technical Details
Message-ID: <slrn54jfad.e9i.mears@hpindft.cup.hp.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.mbox.zip!not-for-mail
References: <51j11v$r4s@oravannahka.Helsinki.FI> <slrn53qfd2.cu.davis@aluche.mit.edu> <51oa9b$psr@aken.eed.ericsson.se> <slrn54aifg.glb.olly@mantis.co.uk> <slrn54df7f.8eq.mears@hpindft.cup.hp.com> <slrn54f8m2.glb.olly@mantis.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <slrn54jfad.e9i.mears@hpindft.cup.hp.com>
Subject: Re: Slrn 0.9.0.0 & slang questions
Date: Wed, 25 Sep 1996 00:00:00 +0000
From: mears@hpindft.cup.hp.com (David Mears)
References: <51j11v$r4s@oravannahka.Helsinki.FI> <slrn53qfd2.cu.davis@aluche.mit.edu> <51oa9b$psr@aken.eed.ericsson.se> <slrn54aifg.glb.olly@mantis.co.uk> <slrn54df7f.8eq.mears@hpindft.cup.hp.com> <slrn54f8m2.glb.olly@mantis.co.uk>
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!not-for-mail
X-Deja-AN: 185497803
Organization: Information Networks Division: Hewlett Packard
Newsgroups: news.software.readers