πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #239028

Re: [slrn] I'd like to, but...

#239028
From: Christian Ebert
Date: Sun, 10 Jan 2010 16:30
56 lines
3194 bytes
* Christian Ebert on Sunday, January 10, 2010:
> * Indi on Friday, January 08, 2010:
>> According to the FAQ (at http://www.slrn.org/docs/slrn-FAQ-3.html):
>> 
>> "I want to see full threads as soon as they contain at least one unread 
>> article. Can slrn do this?
>> 
>> This is currently not implemented, although it should be possible to 
>> achieve such an effect using a macro.
>> 
>> For many, this behaviour would be a useful compromise between the two 
>> extremes of seeing all messages and seeing unread ones only, so this 
>> feature might be added in a future version of slrn."
>> 
>> I searched for, but did not find a macro that does this...
> 
> Ok, I'll bite. Might need some refining and works best with a
> local spool:

A bit more elegant and mapped to <space>, so the default
keybinding for entering a group is not overridden:

#v+
implements ("EnterWholeThreads");

static define enter_wholetreads () {
  variable next = 1;
  call ("select_group");
  collapse_threads ();
  set_prefix_argument (1);
  while (next > 0) {
    try {
      call ("get_parent_header");
    }
    catch AnyError;
    collapse_thread ();
    next = header_down (1);
  }
  reset_prefix_arg ();
  call ("header_bob");
  uncollapse_threads ();
}

definekey ("EnterWholeThreads->enter_wholetreads", " ", "group");
#v-

So, when one hits the spacebar in group view the group is entered
and all threads containing unread posting are shown completely as
long as the posts are available from the server.

c
-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]

_F R E E_  _V I D E O S_  --->>> http://www.blacktrash.org/underdogma/
Technical Details
Message-ID: <fubp17xb5u1.ln2@krille.blacktrash.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!weretis.net!feeder2.news.weretis.net!news.albasani.net!krille.blacktrash.org!not-for-mail
References: <pan.2010.01.08.14.40.08@moria.lan> <7qpeb9FmqeU1@mid.individual.net> <td7p17xp0s1.ln2@krille.blacktrash.org>

Show Full Headers
Complete Article Headers
Message-ID: <fubp17xb5u1.ln2@krille.blacktrash.org>
Subject: Re: [slrn] I'd like to, but...
Date: Sun, 10 Jan 2010 17:30:39 +0100
From: Christian Ebert <blacktrash@gmx.net>
References: <pan.2010.01.08.14.40.08@moria.lan> <7qpeb9FmqeU1@mid.individual.net> <td7p17xp0s1.ln2@krille.blacktrash.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!weretis.net!feeder2.news.weretis.net!news.albasani.net!krille.blacktrash.org!not-for-mail
Newsgroups: news.software.readers
Organization: Black Trash Productions http://www.blacktrash.org/
Lines: 56
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.albasani.net
 /jK6XQeOx8FCCehcro5gQgLTJL0Gss1i32G8i60D1OdV024CdzPoNzFgIHOSiu0oGwhXq7gVcAX6OX0FzFk5U5yWlR1YneYUDvTcIAkwHSIU4CsI9Pf1kCzcsaZkhKD8
X-Complaints-To: abuse@albasani.net
NNTP-Posting-Date: Sun, 10 Jan 2010 16:30:48 +0000 (UTC)
X-User-ID: xdHWZ+BbRSi0V+Cdt4s/CuDk1+d+cgXb9nAezbIIKFg=
X-Face: )&#alA:[x"-#%%./(nuC&8n; #gqM; =mfY&ivRz@Gnv|AD_0l1Uz{fnJ^BW~OX[d;
 /)z!y V
Cancel-Lock: sha1:EYa4LjnlKcC+TcNyur9vgfdGHzY=
User-Agent: slrn/pre1.0.0-18/mm/ao/mc (Darwin)
X-NNTP-Posting-Host: u974Ao/HJ3sHZZo79mdsIB45BtDYRENMFkZVzJTui8M=
Mail-Copies-To: nobody