From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Brian Schack Newsgroups: gmane.emacs.bugs Subject: Problems matching Chinese names in mail-extr.el Date: Sat, 27 Jan 2007 22:37:43 +0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1169908795 21374 80.91.229.12 (27 Jan 2007 14:39:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 27 Jan 2007 14:39:55 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 27 15:39:48 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HAoiZ-00051S-N0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jan 2007 15:39:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HAoiZ-0006Sn-61 for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jan 2007 09:39:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HAoiX-0006Sh-45 for bug-gnu-emacs@gnu.org; Sat, 27 Jan 2007 09:39:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HAoiW-0006SV-48 for bug-gnu-emacs@gnu.org; Sat, 27 Jan 2007 09:39:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HAoiV-0006SS-W4 for bug-gnu-emacs@gnu.org; Sat, 27 Jan 2007 09:39:44 -0500 Original-Received: from cmsout02.mbox.net ([165.212.64.32]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HAoiV-0006dr-JJ for bug-gnu-emacs@gnu.org; Sat, 27 Jan 2007 09:39:43 -0500 Original-Received: from cmsout02.mbox.net (cmsout02.mbox.net [165.212.64.32]) by cmsout02.mbox.net (Postfix) with ESMTP id 8ACBB5BD7 for ; Sat, 27 Jan 2007 14:39:41 +0000 (GMT) Original-Received: from cmsapps02.cms.usa.net [165.212.11.138] by cmsout02.mbox.net via smtad (C8.MAIN.3.34P) with ESMTP id XID328LaAonp4406X02; Sat, 27 Jan 2007 14:39:41 -0000 X-USANET-Source: 165.212.11.138 IN brian.schack@usa.net cmsapps02.cms.usa.net X-USANET-MsgId: XID328LaAonp4406X02 Original-Received: from brian-schacks-computer.local [61.228.140.12] by cmsapps02.cms.usa.net (ASMTP/brian.schack@usa.net) via mtad (C8.MAIN.3.31J) with ESMTP id 445LaAonj0430M38; Sat, 27 Jan 2007 14:39:37 GMT X-USANET-Auth: 61.228.140.12 AUTH brian.schack@usa.net brian-schacks-computer.local User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (darwin) Z-USANET-MsgId: XID445LaAonO0430X38 X-detected-kernel: Solaris 10 (1203?) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15555 Archived-At: 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 "=E6=9E=97" in "=E6=9E=97 =E6=AC=A3=E7=92=87" as an initial.= This causes mail-extr-voodoo to modify the name to "=E6=9E=97. =E6=AC=A3=E7=92=87". 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 --=20 Brian Schack mailto: brian.schack@usa.net 19 X=C7=94ch=C4=81ng Street 2F phone: 2381 4727 Taipei 100 fax: 2381 2145 TAIWAN=09=09=09