Gnus development mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: ding@gnus.org
Subject: Re: fancy split trouble
Date: Tue, 16 Oct 2012 15:03:45 +0200	[thread overview]
Message-ID: <m2zk3my3f2.fsf@igel.home> (raw)
In-Reply-To: <87k3uq1uyz.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 16 Oct 2012 20:07:16 +0800")

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> (setq nnmail-split-fancy
>       `(| (: gnus-registry-split-fancy-with-parent)
> 	  (| ("subject" ,(rx "MCLC") "mail.mclc")
> 	     ("subject" ,(rx "[literocracy]") "mail.literocracy")
> 	     ("subject" ,(rx "MARKED SPAM" eol) "mail.PRspam")
> 	     ("to" ,(rx "django-users") "mail.django"))

Note that fancy splitting implicitly puts word boundaries around the
matches (see nnmail-split-fancy-match-partial-words).  Since ?\[ and ?\]
are not word characters by default, a word boundary cannot match around
them.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



  reply	other threads:[~2012-10-16 13:03 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-16  7:45 Eric Abrahamsen
2012-10-16 10:05 ` Tassilo Horn
2012-10-16 10:08   ` Tassilo Horn
2012-10-16 12:07     ` Eric Abrahamsen
2012-10-16 13:03       ` Andreas Schwab [this message]
2012-10-16 13:48         ` Eric Abrahamsen
2012-10-16 14:09           ` Tassilo Horn
2012-10-17  0:51             ` Eric Abrahamsen
2012-10-16 14:21           ` Andreas Schwab
2012-10-17  0:49             ` Eric Abrahamsen
2012-12-23 13:25         ` Ted Zlatanov
2012-12-23 13:39           ` Andreas Schwab
2012-12-23 13:53             ` Ted Zlatanov
2012-12-24  2:22               ` Eric Abrahamsen
2012-12-24 17:53                 ` nnvolatile newsgroup (was: fancy split trouble) Ted Zlatanov
2012-12-25 11:55           ` fancy split trouble Lars Ingebrigtsen
2012-12-31 12:00             ` Ted Zlatanov
2012-12-31 15:45               ` Lars Magne Ingebrigtsen
2012-10-16 13:05     ` Eric Abrahamsen
2012-10-16 13:21       ` Tassilo Horn

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=m2zk3my3f2.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=ding@gnus.org \
    --cc=eric@ericabrahamsen.net \
    /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).