🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #49694

Re: [slrn] Total score in collapsed thread

#49694
From: Paul Murray
Date: Tue, 06 Jul 1999 00:00
22 lines
1565 bytes
On 4 Jul 1999 07:06:08 GMT, Stephane Gibier <sgibier@mail.dotcom.fr> wrote:
>I am currently using the $sorting_method=5 (aka by thread, then sort by
>score) and $display_score=1. This is great but I would like to show in
>front of the main thread the total score of sub-threads when it is
>entirely collapsed. This feature could be implemented in s-lang macro ?

This is the way I use slrn, as I tend to score on Author rather than
Subject, but I did this just by changing the source code.

In 0.9.5.4:
/home/m/murrayp/slrn/slrn/src>diff art.c art.c.old
4585,4587c4585,4586
< //              if (next->score > h->thread_score)
< //                h->thread_score = next->score;
<                     h->thread_score += next->score;
---
>                 if (next->score > h->thread_score)
>                   h->thread_score = next->score;

-Paul Murray

Technical Details
Message-ID: <slrn7o3vvq.7pd.murray-paul@unix3.netaxs.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: <slrn7nu1v0.8rb.sgibier@hermes.olympus.fr>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7o3vvq.7pd.murray-paul@unix3.netaxs.com>
Subject: Re: [slrn] Total score in collapsed thread
Date: Tue, 06 Jul 1999 00:00:00 +0000
From: murray-paul@usa.net (Paul Murray)
References: <slrn7nu1v0.8rb.sgibier@hermes.olympus.fr>
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: 497744932
Organization: newsread.com ISP News Reading Service (http://www.newsread.com)
User-Agent: slrn/0.9.5.4 (UNIX)
Reply-To: murray-paul@usa.net
Newsgroups: news.software.readers