🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #57178

Re: [slrn] "*" behaviour

#57178
From: Dawn Owens-Nicholson
Date: Mon, 24 Jan 2000 00:00
34 lines
1899 bytes
Markus Becker wrote:
> I think it's a bug, because sometimes I want to reread articles I have
> already read.

I imagine everyone does, however I was stating the norm for newsreading.

> So I guess I have to dive onto macros. OK.

You could try:

implements ("my");
static define toggle_header_tag ()
{
   if (is_group_mode ())
     error (_function_name () + " doesn\'t work in group mode!");

   if (andelse
        { get_prefix_arg () == -1 }
        { orelse
             { get_header_flags () & HEADER_READ }
             { is_thread_collapsed () }})
     {
        variable starting_point = extract_article_header ("Message-ID");
        call ("undelete");                       % mark thread or header unread
        () = locate_header_by_msgid (starting_point, 0);
     }

   Looptastic->toggle_header_tag ();
}

Of course, replace "Looptastic->toggle_header_tag ();" with
call("toggle_header_tag") if you don't use the Looptastic macros.

Technical Details
Message-ID: <slrn88n5he.239.bluemoon@ux6.cso.uiuc.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
References: <slrn88c1da.52.markus.becker@gl241.appl2.hrz.uni-siegen.de> <slrn88ej8h.ocl.bluemoon@ux6.cso.uiuc.edu> <slrn88eufv.83.markus.becker@gl241.appl2.hrz.uni-siegen.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrn88n5he.239.bluemoon@ux6.cso.uiuc.edu>
Subject: Re: [slrn] "*" behaviour
Date: Mon, 24 Jan 2000 00:00:00 +0000
From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson)
References: <slrn88c1da.52.markus.becker@gl241.appl2.hrz.uni-siegen.de> <slrn88ej8h.ocl.bluemoon@ux6.cso.uiuc.edu> <slrn88eufv.83.markus.becker@gl241.appl2.hrz.uni-siegen.de>
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: 576695160
X-Complaints-To: abuse@uiuc.edu
X-Trace: vixen.cso.uiuc.edu 948672042 128.174.5.9 (Sun, 23 Jan 2000 18:00:42 CST)
Organization: University of Illinois at Urbana-Champaign
User-Agent: slrn/0.9.6.2 (HP-UX)
NNTP-Posting-Date: Sun, 23 Jan 2000 18:00:42 CST
Newsgroups: news.software.readers