info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regular express does _not_ work in nnmail-split-fancy


From: Katsumi Yamaoka
Subject: Re: Regular express does _not_ work in nnmail-split-fancy
Date: Tue, 09 Aug 2005 10:05:44 +0900
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

>>>>> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]