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

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

Re: nnmail split multi-byte bug or feature?


From: Katsumi Yamaoka
Subject: Re: nnmail split multi-byte bug or feature?
Date: Wed, 28 Jul 2010 09:04:32 +0900
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Newsgroups: gnu.emacs.gnus (posted to news.eternal-september.org)
Cc: info-gnus-english@gnu.org

stormwatch wrote:
> Note: It seems that the original message sent thorugh
> news.individual.net was not delivered.

individual.net may forward articles posted to gnu.emacs.gnus to
a wrong moderator, or /dev/null, or the moderator may neglect it,
sigh.

> I did set this nnmail split method
> ("mail.utn.campusvirtual.\\1" "^X-Course-Name: \\(.*\\)$")

> The problem is that the matched text is multi-byte encoded. Setting
> (setq nnmail-mail-splitting-decodes t) did the trick. Well, almost,
> because the group name shown in the *Group* buffer is:

> 28: mail.utn.campusvirtual.ingenier\355a y sociedad

> instead of:

> 28: mail.utn.campusvirtual.ingeniería y sociedad

> The dir '/home/stormwatch/Mail/mail/utn/campusvirtual/ingeniería y
> sociedad' was created by gnus but I could not view the summary of the
> group; not until I created a symlink with a latin-1 encoded dirname by
> means of convmv:

> david :: mail/utn/campusvirtual » ls -l
> total 4
> lrwxrwxrwx 1 stormwatch stormwatch   22 jul 22 05:09 ingenier?a y
> sociedad -> ingeniería y sociedad
> drwxrwxr-x 2 stormwatch stormwatch 4096 jul 22 05:19 ingeniería y
> sociedad

> My locale is utf-8 (LANG=es_AR.UTF-8)

What is the mail back end you use?  As for the most recent Gnus:

,---- (info "(gnus)Non-ASCII Group Names") ----
| Currently Gnus supports non-ASCII group names not only with the `nntp'
| back end but also with the `nnml' back end and the `nnrss' back end.
`----

Besides them, nnimap supports non-ASCII group names since Mar.
2010 (I haven't tried it though).

I tried this for the nnml back end in the utf-8 locale and got
no problem:

(setq nnmail-mail-splitting-decodes t
      nnmail-split-methods
      '(("mail.utn.campusvirtual.\\1" "^X-Course-Name: \\(.*\\)$")
        ("mail.misc" "")))



reply via email to

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