Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: Regular express does _not_ work in nnmail-split-fancy
Date: Tue, 09 Aug 2005 10:05:44 +0900	[thread overview]
Message-ID: <b4moe87hqc7.fsf@jpl.org> (raw)
In-Reply-To: <87br4bsuvq.fsf@narke.yellow.line>

>>>>> In <87br4bsuvq.fsf@narke.yellow.line> Steven Woody wrote:

> ,----[ Method B ]
>| (setq nnmail-split-methods 'nnmail-split-fancy
>|       nnmail-split-fancy
>|      `(|
>|        ...
>|        (any "@lists\\." "gen.list")
>|        "mail.misc"
>|        ))
> `----

> Methd A works well. but not Method B -- all message will unexpected go to
> "mail.misc" instead of "gen.list".  where did i make any wrong?

Try:

(setq nnmail-split-fancy-match-partial-words t)

In the case where it is nil (by default), the regexp "@lists\\."
is computed into "\\<@lists\\.\\>", which won't match any mail
address since "." is not recognized as `word'.  The value t
prevents it from being surrounded by "\\<...\\>".  Please note,
changing the value of `nnmail-split-fancy-match-partial-words'
might also affect other entries in `nnmail-split-fancy'.


  reply	other threads:[~2005-08-09  1:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-06  1:43 Steven Woody
2005-08-09  1:05 ` Katsumi Yamaoka [this message]
2005-08-10  0:30   ` Steven Woody

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=b4moe87hqc7.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    /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).