ashwin@gatech.edu (Ashwin Ram) (01/05/90)
Three quick kill file questions: 1. How do I get gnus-kill to kill articles with a given string (say "foo") in the Keywords field? I tried (gnus-kill "Keywords" "foo") but I got a "Symbol's function definition is void: nil" error. 2. How do I set up a kill file to kill all articles except for those with particular strings (say "foo" and "bar") in the Subject line? 3. How do I get gnus-kill to search for a string (say "foo") anywhere in the header of the article (but not in the entire body)? I want to kill all articles with a given string in the Subject, Keywords or Summary lines, but I'll settle for anywhere in the header to avoid writing three gnus-kill lines. Thanks in advance. -- Ashwin Ram Georgia Institute of Technology, Atlanta, Georgia 30332-0280 UUCP: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!ar17 Internet: ashwin@gatech.edu, ashwin@pravda.gatech.edu, ar17@prism.gatech.edu
emv@math.lsa.umich.edu (Edward Vielmetti) (01/06/90)
1. (gnus-kill "Keywords" "foo") might not work because of a completing-read that doesn't include that field. In gnus-Subject-execute-command it only allows for Number, Subject, From, Xref, Lines, Date, and Id (should be fixed). 2. Kill file like so: (gnus-kill "Subject" "foo\\|bar" "u") (gnus-kill "Subject" ".") (gnus-expunge "X") will un-kill all except foo or bar in subject. (Might be a faster way, but this works fine.) 3. I don't think there's a way to kill on the entire header. Good luck. --Ed