🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #48005

Re: Slrn: marking article/thread read without moving to next unread?

#48005
From: he... Heikki Kantola
Date: Wed, 14 Apr 1999 00:00
28 lines
1924 bytes
Peppe <c92...@student.dtu.dk> informed
news.software.readers with the following:
>Thus wrote Heikki Kantola <he...@iki.fi>
>> Ok, after those hints, I managed to create the macro and in case
>> somebody else is also interested in it, here it is in its full glory:
>
>>      if (is_group_mode ())
>>        error (_function_name () + " doesn't work in group mode!");
>>      set_header_flags(HEADER_READ);
>>      if(thread_size() > 1) {
>[...]
>> 	header_up(1);
>> 	collapse_thread ();
>>      }
>
>Why the header_up(1)? It seems superfluous to me.

You're correct, I think it was left there as I for a while tried to
make the loop without detracting 1 from thread size and then moving up
would be needed to compensate that...
 
-- 
Heikki "Hezu" Kantola, <Heikki...@IKI.FI>
Lähettämällä mainoksia tai muuta asiatonta sähköpostia yllä olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.
Technical Details
Message-ID: <slrn7h8g72.8s3.hezu@tuuri.ling.helsinki.fi>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail
References: <slrn7h3o65.jcd.hezu@tuuri.ling.helsinki.fi> <slrn7h472c.6d.c928400@urdybet.pbk.dk> <slrn7h4883.or7.davis@aluche.mit.edu> <slrn7h62fn.s3k.hezu@tuuri.ling.helsinki.fi> <slrn7h6vl6.103.c928400@urdybet.pbk.dk>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7h8g72.8s3.hezu@tuuri.ling.helsinki.fi>
Subject: Re: Slrn: marking article/thread read without moving to next unread?
Date: Wed, 14 Apr 1999 00:00:00 +0000
From: he...@iki.fi (Heikki Kantola)
References: <slrn7h3o65.jcd.hezu@tuuri.ling.helsinki.fi> <slrn7h472c.6d.c928400@urdybet.pbk.dk> <slrn7h4883.or7.davis@aluche.mit.edu> <slrn7h62fn.s3k.hezu@tuuri.ling.helsinki.fi> <slrn7h6vl6.103.c928400@urdybet.pbk.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail
X-Deja-AN: 466208367
Content-Transfer-Encoding: 8bit
Mail-Copies-To: never
Content-Type: text/plain; charset=iso-8859-1
Organization: Department of General Wizardry, Unseen University, Ankh-Morpork
Mime-Version: 1.0
User-Agent: slrn/0.9.5.4 (UNIX)
Newsgroups: news.software.readers,alt.lang.s-lang