From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68212 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: gnus should accept UTF8 even if UTF-8 is standard Date: Tue, 27 Jan 2009 13:51:24 +0900 Message-ID: References: <87wsg2tvcn.fsf@xemacs.org> <20081021062510.GB22593@tomas> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1233031917 28925 80.91.229.12 (27 Jan 2009 04:51:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2009 04:51:57 +0000 (UTC) Cc: rms@gnu.org, ding@gnus.org, emacs-devel@gnu.org, tomas@tuxteam.de, monnier@iro.umontreal.ca, stephen@xemacs.org, miles@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 27 05:53:10 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LRfwZ-0001k9-Fs for ged-emacs-devel@m.gmane.org; Tue, 27 Jan 2009 05:52:59 +0100 Original-Received: from localhost ([127.0.0.1]:37547 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRfvH-0000RZ-Kz for ged-emacs-devel@m.gmane.org; Mon, 26 Jan 2009 23:51:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRfvC-0000RH-Ai for emacs-devel@gnu.org; Mon, 26 Jan 2009 23:51:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRfv9-0000R5-W9 for emacs-devel@gnu.org; Mon, 26 Jan 2009 23:51:33 -0500 Original-Received: from [199.232.76.173] (port=37569 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRfv9-0000Qy-Q5 for emacs-devel@gnu.org; Mon, 26 Jan 2009 23:51:31 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:60224) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LRfv3-0007jx-Kd; Mon, 26 Jan 2009 23:51:26 -0500 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id n0R4pLfQ017115; Tue, 27 Jan 2009 13:51:21 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id n0R4pL4b000615; Tue, 27 Jan 2009 13:51:21 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id n0R4pIMH008629; Tue, 27 Jan 2009 13:51:18 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1LRfv2-0007tu-Rv; Tue, 27 Jan 2009 13:51:24 +0900 In-reply-to: (message from Eli Zaretskii on Wed, 22 Oct 2008 06:27:28 +0200) X-detected-operating-system: by monty-python.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:108287 gmane.emacs.gnus.general:68212 Archived-At: It seems that this thread is left unsolved. In article , Eli Zaretskii writes: > > > > Perhaps something like `canonicalize-coding-system-name' would be good. > > > > > That implies that the return value would be a string, not the coding > > > system itself. I suggest we return the coding system (or nil), not > > > just the name. > > > > > Some time back in this thread I suggested `coding-system-for-charset' > > > (since the argument strings will be charsets). > > > > But, "for-charset" implies that it should be used for > > mime-charset. What is required is to find a coding system > > by loose name matching (not necessarily a mime-charset > > name), isn't it? > > > > How about `resolve-coding-system-name'? > Canonicalize is better, IMO. But again, I think the function should > return a symbol, not its name (which is a string). There's no need to > request that users intern the string. I've just installed a new function `coding-system-from-name' and use it to fix broken rmail-get-coding-system. --- Kenichi Handa handa@m17n.org