Article View: news.software.nn
Article #4086Re: Changing nn to search articles while in menu
From: Nancy McGough
Date: Thu, 22 Apr 1993 15:11
Date: Thu, 22 Apr 1993 15:11
67 lines
3495 bytes
3495 bytes
In <1993Apr21.222759.17392@cichlid.com> aab@cichlid.com (Andy Burgess) writes: >I am going to modify nn to allow searching the entire article >for a pattern while in the menu. > >I will probably add an extended command, say ':search <pattern>' >that would select the articles that contained the pattern. > >Please email me or post if you have any related features >or ideas that I may want to add while I'm at it. This would be a great addition. Here are some ideas. Rather than creating an extended command, how about using nn's existing search commands (G and =). This way things like regular expressions, case sensitivity, and which articles to search can be specified in the usual way. For G you could change the prompt from (+./~ %=sneN) to: (+./~ %=snbaN) Where s means subject, n means name, b means body, and a means all. I'd also throw in h for header so you'd have: (+./~ %=snhbaN) One advantage of having h as on option is it would make it easy to search for message ID. Now I use rn to do this. I'd have all (a) mean header and body. I'd remove the e option for searching both subject and name because it doesn't seem very useful. (Does anyone use this? What's a scenario where it's needed?) Another request that was discussed a while ago that I'd really like to see is to have name (n) searches search the whole From header. That way you can do things like select everything posted by people at microsoft.com. If you do this you might want to change n to f, but n is probably fine. For the find command (=) I guess you could expand the role of the select-on-sender variable but it probably only makes sense to have cached information searchable with =. Since full text searching can take a long time it would be nice to be able to do the following: * show hits as they are found * allow user to stop search at any time and view partial results * allow user to specify whether to search articles from newest to oldest or oldest to newest. That way if the user is searching for a *recent* article that contained a word they can find it faster by specifying newest to oldest. If they know it's an older article they could specify oldest to newest. * allow user to specify whether to search read or unread or both. This is probably only really useful if retain-seen-status is set. * allow searches to go on in the background so user can continue reading while the search is happening. Thanks for asking for input! Nancy -- nancym@u.washington.edu
Technical Details
Message-ID:
<1r6cisINNii2@shelley.u.washington.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.uoregon.edu!netnews.nwnet.net!news.u.washington.edu!stein.u.washington.edu!nancymReferences:
<1993Apr21.222759.17392@cichlid.com>Show Full Headers
Complete Article Headers
Message-ID: <1r6cisINNii2@shelley.u.washington.edu> Subject: Re: Changing nn to search articles while in menu Date: Thu, 22 Apr 1993 15:11:24 +0000 From: nancym@stein.u.washington.edu (Nancy McGough) References: <1993Apr21.222759.17392@cichlid.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.uoregon.edu!netnews.nwnet.net!news.u.washington.edu!stein.u.washington.edu!nancym Newsgroups: news.software.nn Organization: University of Washington Lines: 67 Reply-To: nancym@u.washington.edu (Nancy McGough) NNTP-Posting-Host: stein.u.washington.edu X-Newsreader: NN [version 6.4.16]