🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Dave Brower, DBMS hack, [510] 74... Tue, 29 Sep 1992 22:35
emacs/gnews kill help needed
#2298
Author: Dave Brower, DBMS hack, [510] 74...
Date: Tue, 29 Sep 1992 22:35
17 lines
1171 bytes
I'd appreciate some simple examples of how to use the hook-kill
processing in Weiner's gnews.  The examples in the document are very
commplex, and do not directly address the simple question I have:

(1) what is the exact equivalent of an "rn" kill file line:

	/stuff/j

Has anyone got pre-written functions that would match the "rn"
functions of the "j" or "k" keys (junk this subject for the
session, and permanently kill it).

thanks,
-dB


Re: emacs/gnews kill help needed
#2297
Author: Gregory Nowak
Date: Wed, 30 Sep 1992 11:11
49 lines
3226 bytes
Note: followups redirected to gnu.emacs.gnews. It's certainly
appropriate, and need not be crossposted.

In article <1992Sep29.223513.23891@pony.Ingres.COM>, daveb@Ingres (Dave Brower, DBMS hack, [510] 748-3418) writes:
}I'd appreciate some simple examples of how to use the hook-kill
}processing in Weiner's gnews.  The examples in the document are very
}commplex, and do not directly address the simple question I have:
}
}(1) what is the exact equivalent of an "rn" kill file line:
}
}	/stuff/j
}
}Has anyone got pre-written functions that would match the "rn"
}functions of the "j" or "k" keys (junk this subject for the
}session, and permanently kill it).

Yes -- Gnews does! Say, for example, that you want to permanently kill
the subject of the article you're reading. First hit ESC K.

You get two windows, the top one being the regular Gnews window and
the bottom one in which you can edit the hook-kills for that
newsgroup..

Now type C-C C-L.  This tells Gnews you want to enter an
"article-junk-local" hook, and it will then proffer "Subject" as the
header you're interested in. Since in this case that's what you want,
just hit RET, and then C-C C-C which saves the hook-kill, and gives
you back the one-window Gnews buffer. A few more keystrokes than "K"
in rn when you want to kill a subject, but a lot more flexible. If you
want  to kill by poster name  or crossposted newsgroup, just delete
"Subject" when it's proffered, and replace it with the appropriate
header tag. NOTE: You do NOT have to type in the contents of the
header line! Gnews does that for you. Before you save with C-C C-C,
you get to see the new hook-kill; after you've done a few of these, I
bet you'll get the idea and start coming up with your own techniques. 

The hook-kill buffer is editable, so you can always edit it to
un-kill a subject or name. 

For advanced users: at the group selection level, , ESC K first allows
you to do regexp matching on group names ( "." matches all groups), so
you can do hook-kills for a class of newsgroups, for example, killing
all posts from a certain user in the "sci" groups, but leaving his
posts to rec.arts.star-trek alone. 

Good luck, and thanks again, Matthew!

--greg
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