unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Problems matching Chinese names in mail-extr.el
@ 2007-01-27 14:37 Brian Schack
  0 siblings, 0 replies; only message in thread
From: Brian Schack @ 2007-01-27 14:37 UTC (permalink / raw)
  To: bug-gnu-emacs

Hi,

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
TAIWAN			

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-01-27 14:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-27 14:37 Problems matching Chinese names in mail-extr.el Brian Schack

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).