🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Jeff Spencer Wed, 26 Sep 1990 22:20
Save by name?
#944
Author: Jeff Spencer
Date: Wed, 26 Sep 1990 22:20
22 lines
1631 bytes
  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.

  I know that I could automatically select articles by a name, 
and then save all selected articles when I first enter the group,
but I may have more than one person in a group that I want to 
save articles by, and I want them in different save folders.

  The main difficulty I've found is it seems that in the selection
menu, you can only select by subject, not by name.  Is this true,
and is there any way around it?

  Jeff Spencer
-- 
"I'm well armored, though stupid" - Jack (Lalo) Griem Jr, Dec. 4,1989
UUCP:      ...!{harvard,linus,inhp4}!dartvax!eleazar!jspencer
OtherNets: jspencer@eleazar.Dartmouth.EDU
 "We are destined to flunk most egregiously." -Bill (B&T's Exlnt Advent.)
Re: Save by name?
#1063
Author: 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!
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