[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Regular express does _not_ work in nnmail-split-fancy
From: |
Steven Woody |
Subject: |
Re: Regular express does _not_ work in nnmail-split-fancy |
Date: |
Wed, 10 Aug 2005 08:30:39 +0800 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
Katsumi Yamaoka <yamaoka@jpl.org> writes:
>>>>>> 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'.
thank you! it works thought i am not clear your explain.
--
steven woody (id: narke)
Virginia Woolf: Someone has to die Leonard, in order that the rest of
us should value our life more.
- The Hours (2002)