From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/6708 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: batch operations on destination fields? Date: 15 Jun 1996 02:38:54 +0200 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035147124 4506 80.91.224.250 (20 Oct 2002 20:52:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:52:04 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id SAA26499 for ; Fri, 14 Jun 1996 18:37:37 -0700 Original-Received: from aegir.ifi.uio.no (4867@aegir.ifi.uio.no [129.240.94.24]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Sat, 15 Jun 1996 03:20:51 +0200 Original-Received: (from larsi@localhost) by aegir.ifi.uio.no ; Sat, 15 Jun 1996 03:20:48 +0200 Original-To: ding@ifi.uio.no In-Reply-To: eichin@kitten.gen.ma.us's message of 13 Jun 1996 00:19:07 -0400 Original-Lines: 24 X-Mailer: Gnus v5.2.18/Emacs 19.29 Xref: main.gmane.org gmane.emacs.gnus.general:6708 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:6708 eichin@kitten.gen.ma.us (Mark W. Eichin) writes: > gnus-summary-limit-to-author looked ideal, except it looks only at > the From field and I want to look at just about everything *else*. > Unfortunately, gnus-summary-find-matching only works on headers that > are cached in gnus-data-header as part of gnus-newsgroup-data. Yes, that's unfortunate. `gnus-summary-find-matching' should accept pseudo-"headers" like "body", "head" and "all", the way the scoring functions do. I've now added this to the Red Gnus todo list. > Is there a gnus function that will give me a list of articles that > match a regexp? You can cheat a bit and use the scoring (or even killing) code. Raise the score on all articles that have a body that match a certain regexp, go through `gnus-newsgroup-scored' and pick out the high-scored articles, and there you have it. You could use something like `(gnus-summary-score-entry "all" match 'r score 'now nil)' to score the articles... -- "Yes. The journey through the human heart would have to wait until some other time."