Gnus development mailing list
 help / color / mirror / Atom feed
From: Robert Bihlmeyer <e9426626@stud4.tuwien.ac.at>
Subject: Re: split-fancy problem...
Date: 06 Sep 1999 12:33:07 +0200	[thread overview]
Message-ID: <lfhfl8e3do.fsf@mars.zserv.tuwien.ac.at> (raw)
In-Reply-To: Norman Walsh's message of "Sat,  4 Sep 1999 16:47:53 -0400"

Hi,

>>>>> On Sat,  4 Sep 1999 16:47:53 -0400
>>>>> Norman Walsh <ndw@nwalsh.com> said:

 Norman> (setq nnmail-split-fancy
 Norman>       '(| (| ("subject" "Returned mail: User unknown" "spam")
 Norman>              ("subject" "adults only" "spam")
 Norman> 	     ("subject" "EARN" "spam") ("subject" "money
 Norman> 	     making" "spam") ("subject" "credit report"
 Norman> 	     "spam"))
 Norman> 	  (any "LETPRESS@" "letterpress")
 Norman>           ....

 Norman> Then some things get split properly but others don't.

(I'm dry-debugging this, so apply appropriate quantities of salt).

The holy manual says:

     In these splits, FIELD must match a complete field name.  VALUE must
  match a complete word according to the fundamental mode syntax table.
  You can use `.*' in the regexps to match partial field names or words.
  In other words, all VALUE's are wrapped in `\<' and `\>' pairs.

Because of that, `(any "LETPRESS@" "letterpress")' will not fire, so
this message will end up in your catch-all group - "spam".

        Robbe

-- 
Robert Bihlmeyer	reads: Deutsch, English, MIME, Latin-1, NO SPAM!
<robbe@orcus.priv.at>	<http://stud2.tuwien.ac.at/~e9426626/sig.html>


  reply	other threads:[~1999-09-06 10:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-04 20:47 Norman Walsh
1999-09-06 10:33 ` Robert Bihlmeyer [this message]
1999-09-06 17:58   ` Norman Walsh
1999-09-07  7:45     ` Robert Bihlmeyer

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=lfhfl8e3do.fsf@mars.zserv.tuwien.ac.at \
    --to=e9426626@stud4.tuwien.ac.at \
    /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).