Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@ifi.uio.no>
Subject: Re: batch operations on destination fields?
Date: 15 Jun 1996 02:38:54 +0200	[thread overview]
Message-ID: <x6spbxlx40.fsf@eyesore.no> (raw)
In-Reply-To: eichin@kitten.gen.ma.us's message of 13 Jun 1996 00:19:07 -0400

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."


      reply	other threads:[~1996-06-15  0:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-13  4:19 Mark W. Eichin
1996-06-15  0:38 ` Lars Magne Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=x6spbxlx40.fsf@eyesore.no \
    --to=larsi@ifi.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).