[Top][All Lists]

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

Problems matching Chinese names in mail-extr.el

From: Brian Schack
Subject: Problems matching Chinese names in mail-extr.el
Date: Sat, 27 Jan 2007 22:37:43 +0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (darwin)


The regular expression "mail-extr-initial-pattern", used in
mail-extr.el to match initials in email addresses, has trouble with
Chinese names formatted with spaces.  For example, it incorrectly
identifies the "林" in "林 欣璇" as an initial.  This causes
mail-extr-voodoo to modify the name to "林. 欣璇".

I'd guess the easiest way to fix it would be to extend
mail-extr-disable-voodoo to include Chinese characters:

(defcustom mail-extr-disable-voodoo "\\cj\\|\\cc" ...)

but I'm just guessing.

Yours truly,
Brian Schack

Brian Schack            mailto: brian.schack@usa.net
19 Xǔchāng Street 2F    phone:  2381 4727
Taipei 100              fax:    2381 2145

reply via email to

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