Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!brutus.cs.uiuc.edu!rpi!tale From: tale@pawl.rpi.edu (David C Lawrence) Newsgroups: gnu.emacs.gnus Subject: Re: ! Kill Message-ID: <1989Oct30.042231.8648@rpi.edu> Date: 30 Oct 89 04:22:31 GMT References: Distribution: gnu Organization: Rensselaer Polytechnic Institute, Troy NY Lines: 16 In mrd@sun.soe.clarkson.edu (Michael DeCorte) writes: Michael> Gnus has gnus-kill but does it have a gnus-keep? In other words if Michael> the article has a line in it that matches my Reg Expr then don't Michael> delete, otherwise delete it. Sort of like grep -vil. You basically need to use the same sort of trick you would use with rn kill files: (gnus-kill "Subject" "^") (gnus-kill "Subject" "whatever you want to keep" "\M-u") This should mark all subjects as read and then return an clear the mark for all articles which you want to keep. -- (setq mail '("tale@pawl.rpi.edu" "tale@itsgw.rpi.edu" "tale@rpitsmts.bitnet"))