From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67445 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: message-idna problem Date: Thu, 25 Sep 2008 19:54:06 +0900 Organization: Emacsen advocacy group Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Trace: ger.gmane.org 1222340188 27510 80.91.229.12 (25 Sep 2008 10:56:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2008 10:56:28 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15895@lists.math.uh.edu Thu Sep 25 12:57:25 2008 connect(): Connection refused Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1KioXE-0003ff-7x for ding-account@gmane.org; Thu, 25 Sep 2008 12:57:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1KioVP-0008SJ-9Z; Thu, 25 Sep 2008 05:55:31 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KioVN-0008S1-FE for ding@lists.math.uh.edu; Thu, 25 Sep 2008 05:55:29 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KioVJ-000230-6f for ding@lists.math.uh.edu; Thu, 25 Sep 2008 05:55:29 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KioVL-00076k-00 for ; Thu, 25 Sep 2008 12:55:27 +0200 Original-Received: from localhost ([127.0.0.1]:49064) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1KioUc-0007lk-Mt for ding@gnus.org; Thu, 25 Sep 2008 05:54:43 -0500 X-Hashcash: 1:20:080925:ding@gnus.org::qTKKwQ0Fv+gvBe5/:00001vi4 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:DGzY65J6Eigl+phl1KzJptfOy4o= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67445 Archived-At: Hi, When I send a mail containing the From header like From: 山岡 克美 the *Messages* buffer collects the following warnings: Unknown symbol: 山 Unknown symbol: 岡 Unknown symbol: 克 Unknown symbol: 美 I've never noticed this since I rarely use Japanese names in the message header. It arises if `message-use-idna' is non-nil and there is a name of which the first letter is a non-ASCII character in the header. Those warnings are the ones that `ietf-drums-parse-addresses' (a.k.a. `mail-header-parse-addresses') that `message-idna-to-ascii-rhs-1' uses issues. Assuming there will potentially be non-ASCII names when `message-idna-to-ascii-rhs-1' runs, how about using `mail-extract-address-components' rather than an ietf-drums- function that does not support non-ASCII characters? This problem might not cause a real harm, though. --- message.el~ 2008-09-24 21:41:53 +0000 +++ message.el 2008-09-25 10:52:07 +0000 @@ -5633,7 +5633,8 @@ (mapcar (lambda (rhs) (or (cadr (split-string rhs "@")) "")) (mapcar 'downcase (mapcar - 'car (mail-header-parse-addresses field)))))) + 'cadr + (mail-extract-address-components field t)))))) (setq ace (if (string-match "\\`[[:ascii:]]+\\'" rhs) rhs (downcase (idna-to-ascii rhs)))) Regards,