Gnus development mailing list
 help / color / mirror / Atom feed
From: Harry Putnam <reader@newsguy.com>
Subject: Re: Split mail on two headers
Date: 07 Apr 1998 15:35:57 -0700	[thread overview]
Message-ID: <m3n2dxs1iq.fsf@org.com> (raw)
In-Reply-To: Colin Rafferty's message of "07 Apr 1998 15:35:13 -0400"

Colin Rafferty <craffert@ml.com> writes:

> Harry Putnam writes:

> This is one of my fancy mail splitting rules that does something
> similar to what you want:
> 
> 	    (from mail
> 		  (| ("\\(resent-\\)?\\(to\\|cc\\)" "craffert" "mail.daemon")
> 		     "mail.auto.spam"))
> 
> `from' and `mail' are predefined regexp's that match the "From:" field 
> and the mailer-daemon sender, respectively.

When you say "predefined" do you mean in emacs or gnus *.el files
somewhere or do you mean that you have it 'predefined" somewhere?
Runing 'eval-region' or  'eval-last-sexp' just says 
"Symbol function definition is void: from"



> > Or, even more complicated, can it be made to match on a string in the
> > body? (might be fun to play with)
> 
> No.  You cannot even write a split function that does this, since the
> split is called narrowed to the header.


-- 

Harry Putnam  reader@newsguy.com


  reply	other threads:[~1998-04-07 22:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-07 18:30 Harry Putnam
1998-04-07 19:35 ` Colin Rafferty
1998-04-07 22:35   ` Harry Putnam [this message]
1998-04-07 23:24     ` Ken Raeburn
1998-04-08  1:06       ` Harry Putnam
1998-04-08  1:40       ` Harry Putnam
1998-04-08  2:22     ` Justin Sheehy
1998-04-08  8:59       ` Harry
1998-04-08  9:09         ` Hrvoje Niksic
1998-04-08 15:41           ` Harry Putnam
1998-04-09 13:37             ` Hrvoje Niksic
1998-04-09  3:36           ` Harry Putnam
1998-04-08  9:37         ` Kai Grossjohann
1998-04-08  9:44           ` Hrvoje Niksic
1998-04-08 10:15             ` Kai Grossjohann

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=m3n2dxs1iq.fsf@org.com \
    --to=reader@newsguy.com \
    /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).