Article View: news.software.readers
Article #48560Re: view complete threads in slrn, how?
From: Remco van den Berg
Date: Wed, 12 May 1999 00:00
Date: Wed, 12 May 1999 00:00
47 lines
2800 bytes
2800 bytes
"John E. Davis" wrote:
>
> On Wed, 12 May 1999 11:41:18 +0200, Remco van den Berg <Remco.vdBerg@ehv.sc.philips.com>
> wrote:
> >I ONLY want the threads which have 1 or more unread messages to be
> >viewed. But I DO wanna see the already read old messages in that thread.
>
> You will have to write a macro to do this and add the macro to an
> article_mode_hook. The macro would run through the headers and use
> code of the form
>
> set_prefix_argument (1);
> call ("get_parent_header");
>
> I think the best way to implement this would be to loop through the
> headers first to obtain the message-ids. Then for each of the
> corresponding headers, execute the above code.
> --
> John E. Davis Center for Space Research/AXAF Science Center
> 617-258-8119 One Hampshire St., Building NE80-6019
> http://space.mit.edu/~davis Cambridge, MA 02139-4307
OK, this gets somewhat complicated if you're not familiar with slang and
slrn internals.
Is there somebody who can show me the way to program this?
It has to do something like this (????) :
for i in "all unread headers"
do
complete_thread = calculate_all headers_in_thread( $i );
for j in $complete_thread
do
show_header( $j );
done
done
Fine, and how to program this in slrn / slang ???
(I even don't know if the above program is functional OK...)
And after I've programmed such macro, how can I connect that to
the article_mode_hook? (Yes, I printed out a pile of docs but I
cannot find answers anyware... Perhaps I printed the wrong ones :)
-Remco
Technical Details
Message-ID:
<3739988E.EED44497@ehv.sc.philips.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-mailReferences:
<slrn7jgna2.ctn.rvdberg@jupiter.strijp.Ehv.nl> <slrn7jgoem.i6v.davis@aluche.mit.edu> <37394CBE.A3D81DF1@ehv.sc.philips.com> <slrn7jit78.lba.davis@aluche.mit.edu>Show Full Headers
Complete Article Headers
Message-ID: <3739988E.EED44497@ehv.sc.philips.com> Subject: Re: view complete threads in slrn, how? Date: Wed, 12 May 1999 00:00:00 +0000 From: Remco van den Berg <Remco.vdBerg@ehv.sc.philips.com> References: <slrn7jgna2.ctn.rvdberg@jupiter.strijp.Ehv.nl> <slrn7jgoem.i6v.davis@aluche.mit.edu> <37394CBE.A3D81DF1@ehv.sc.philips.com> <slrn7jit78.lba.davis@aluche.mit.edu> 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: 477031583 Cache-Post-Path: dibbs3.eur.cis.philips.com!unknown@sle004.ehv.sc.philips.com Content-Transfer-Encoding: 7bit X-Accept-Language: en-GB, en-US, en, nl Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@dibbs3.eur.cis.philips.com X-Trace: dibbs3.eur.cis.philips.com 926521323 23599 130.139.33.70 (12 May 1999 15:02:03 GMT) Organization: Philips Semiconductors B.V. X-Cache: nntpcache 2.3.2.1 (see http://www.nntpcache.org/) Mime-Version: 1.0 NNTP-Posting-Date: 12 May 1999 15:02:03 GMT Newsgroups: news.software.readers