🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Joe Smulowicz Tue, 12 Nov 1996 00:00
slrn: Another feature request....
#27677
Author: Joe Smulowicz
Date: Tue, 12 Nov 1996 00:00
29 lines
1741 bytes
One thing I find annoying in slrn occurs during searches.   If  I'm  searching
for  a  subject  or  author  and  a match is found, the pointer is set to that
article. 

I see that the particular article is not exactly what I want, so I  enter  "s"
or "a" again to find the next relevant match. 

What happens often is that the initial article had  several  threads,  so  the
pointer  simply opens the next thread instead of skipping to the next matching
topic....very annoying and tedious.  I have to keep  hitting  "s"  until  I've
exhausted all the threads to get to the next topic. 

Request:

    Can search be changed so it doesn't look threads but only  the  top  level
    article? 



------------------------------------------------------------------------------
 Joe Smulowicz               Hewlett-Packard                Tel: 508-659-3760
 joes@an.hp.com      Mailstop 450, 3000 Minuteman Road      Fax: 508-685-3577
                       Andover, Massachusetts  01810         
      PGP fingerprint: 50 EA 8B 22 A0 59 60 D5  DD 4B 04 04 12 26 2E 16
------------------------------------------------------------------------------


Re: slrn: Another feature request....
#27663
Author: John E. Davis
Date: Tue, 12 Nov 1996 00:00
40 lines
1501 bytes
On 12 Nov 1996 13:55:53 GMT, Joe Smulowicz <joes@hpwaroh.an.hp.com>
wrote:
>    Can search be changed so it doesn't look threads but only  the  top  level
>    article? 

Use a macro such as:

variable Last_Search_Str = "";
define re_subject_search_forward ()
{
   variable str;

   ERROR_BLOCK
     {
	() = header_up (1);
     }

   !if (header_down (1))
     return;
   
   str = read_mini ("Subject re-search fwd: ", Last_Search_Str);
   
   !if (strlen (str))
     return;
   
   Last_Search_Str = str;
   !if (re_fsearch_subject (str))
     error ("Not found.");
}

definekey ("re_subject_search_forward", "s", "article");   

This macro preforms a regular expression search.
-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads