From: Reiner Steib <reinersteib+gmane@imap.cc>
To: info-gnus-english@gnu.org
Subject: Re: why cannot use Chinese character in nnmail-split-methods
Date: Sun, 29 Apr 2007 13:24:04 +0200 [thread overview]
Message-ID: <v9d51nxw2z.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <1177722887.338663.96860@y5g2000hsa.googlegroups.com>
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/
prev parent reply other threads:[~2007-04-29 11:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-28 1:14 haomiao
2007-04-29 2:51 ` It's me FKtPp ;)
2007-04-29 11:24 ` Reiner Steib [this message]
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=v9d51nxw2z.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--cc=info-gnus-english@gnu.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).