🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #58333

Re: slrn: How difficult to implement RE for Subject search?

#58333
From: John E. Davis
Date: Tue, 22 Feb 2000 00:00
21 lines
1340 bytes
On 22 Feb 2000 22:02:02 GMT, Renaud Colinet <colinet@pervenche10.ensta.fr>
wrote:
>Another method is to write a macro that prompts you for the number of
>headers you want to go down by:

You can also write a macro that simply gets the prefix argument and then
moves down that many lines.  This would do exactly what the original
poster wanted, e.g., something (untested) like:
#v+
   define header_down_n ()
   {
      variable n = get_prefix_arg ();
      if (n == -1) n = 1;
      () = header_down (n);
   }
   definekey ("header_down_n" ,"D","article");
#v-

--John

Technical Details
Message-ID: <slrn8b66kt.oe9.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
References: <slrn8b2tkp.s4s.mikeyMUNGE@crush.wwnet.net> <slrn8b61qp.1og.colinet@beige4.ensta.fr>

Show Full Headers
Complete Article Headers
Message-ID: <slrn8b66kt.oe9.davis@aluche.mit.edu>
Subject: Re: slrn: How difficult to implement RE for Subject search?
Date: Tue, 22 Feb 2000 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
References: <slrn8b2tkp.s4s.mikeyMUNGE@crush.wwnet.net> <slrn8b61qp.1og.colinet@beige4.ensta.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: 588604086
X-Trace: dreaderd 951261854 2943 18.75.2.45
Organization: Center for Space Research
User-Agent: slrn/0.9.6.3 (Linux)
Reply-To: davis@space.mit.edu
Newsgroups: news.software.readers