🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #1063

Re: Save by name?

#1063
From: Kim F. Storm
Date: Fri, 09 Nov 1990 16:58
31 lines
1603 bytes
jspencer@eleazar.dartmouth.edu (Jeff Spencer) writes:

>  Has anyone out there written a macro to allow any articles
>in a group by a certain person to be saved automatically
>when entering that group?  
>  For example, I want all articles written by Jane.Doe in group
>comp.misc.foobar to be saved in a file called foobar.misc.

What about this:

on entry comp.misc.foobar
	:local select-on-name on
	unselect-all
	unselect-all
	find "jane.doe"
	save "foobar.misc" yes '+'
	:set select-on-name off
	select-auto
end

The problem with this approach is that you cannot leave article selected
between invocations of nn in comp.misc.foobar.  I have some ideas to
support a pair of "save-attr"/"restore-attr" commands which would allow
macros to operate on "selected groups" without interfering with the
current article attributes. But there are so many other things to do
as well...


-- 
Kim F. Storm  <storm@texas.dk>		No news is good news,
Texas Instruments A/S, Denmark		  but nn is better!
Technical Details
Message-ID: <710@texas.dk>
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!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
References: <24729@dartvax.Dartmouth.EDU>

Show Full Headers
Complete Article Headers
Message-ID: <710@texas.dk>
Subject: Re: Save by name?
Date: Fri, 09 Nov 1990 16:58:29 +0000
From: storm@texas.dk (Kim F. Storm)
References: <24729@dartvax.Dartmouth.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!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
Newsgroups: news.software.nn
Keywords: save,name,macro
Organization: Texas Instruments, Denmark
Lines: 31
Posted: Fri Nov 9 17:58:29 1990