Article View: news.software.readers
Article #28268Re: slrn, score based on number of replies
From: John E. Davis
Date: Tue, 10 Dec 1996 00:00
Date: Tue, 10 Dec 1996 00:00
34 lines
1819 bytes
1819 bytes
On 7 Dec 1996 18:56:41 GMT, Alexius Ludeman <aludeman@octavian.ics.uci.edu>
wrote:
> 1 0 [Alexius Lud] 5 slrn, score based on number of replies
> ^^^ I want to score based on this number!
You might try creating a macro such as:
define article_mode_hook ()
{
header_bob ();
do
{
if (some_condition_involving thread_size())
{
call ("delete"); % Mark as read
}
}
while (header_down (1));
header_bob ();
}
Some of these functions, e.g., header_bob, are defined in
slrn/macros/util.sl so you will have to make sure it is loaded. You
will have to complete the `if' statement using the `thread_size'
function. The current version of slrn does not support assigning a
score to a header via a macro but that is on my TODO list.
--
John E. Davis Center for Space Research/AXAF Science Center
617-258-8119 MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis
Technical Details
Message-ID:
<slrn5ar948.q41.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-mailReferences:
<slrn5a9fv3.ntm.aludeman@octavian.ics.uci.edu> <slrn5agr59.3uu.guckes@banach.math.fu-berlin.de> <slrn5ah6d7.8gs.aludeman@octavian.ics.uci.edu> <slrn5aj479.5rq.guckes@banach.math.fu-berlin.de> <slrn5ajfbg.lue.aludeman@octavian.ics.uci.edu>Show Full Headers
Complete Article Headers
Message-ID: <slrn5ar948.q41.davis@aluche.mit.edu> Subject: Re: slrn, score based on number of replies Date: Tue, 10 Dec 1996 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <slrn5a9fv3.ntm.aludeman@octavian.ics.uci.edu> <slrn5agr59.3uu.guckes@banach.math.fu-berlin.de> <slrn5ah6d7.8gs.aludeman@octavian.ics.uci.edu> <slrn5aj479.5rq.guckes@banach.math.fu-berlin.de> <slrn5ajfbg.lue.aludeman@octavian.ics.uci.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: 203351341 Organization: Center for Space Research Reply-to: davis@space.mit.edu Newsgroups: news.software.readers