On Sat, Apr 28 2007, haomiao wrote:
> I want to split my mails through nnmail-split-methods
> setting. When I use regexp all in English, everything is fine, but
> when I use regexp having some Chinese charaters, the mail will not be
> split into the right mail folder.
> Why this happened? How to resolve it?
>
> Here is my code in .gnus.el
> ----------------------------------------------------------------------------
> (setq nnmail-split-methods
> '(("Mail.test" "^Subject:.*\\(测试\\|test\\).*")
> ("Mail.inbox" "")))
> ----------------------------------------------------------------------------
At least in Gnus >= 5.10.* (you didn't mention your Gnus version) ...
,----[ (info "(gnus)Splitting Mail") ]
| By default, splitting MIME-decodes headers so you can match on
| non-ASCII strings. The `nnmail-mail-splitting-charset' variable
| specifies the default charset for decoding. The behavior can be turned
| off completely by binding `nnmail-mail-splitting-decodes' to `nil',
| which is useful if you want to match articles based on the raw header
| data.
`----
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english