From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67667 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: gnus should accept UTF8 even if UTF-8 is standard Date: Wed, 22 Oct 2008 06:27:28 +0200 Message-ID: References: <87wsg2tvcn.fsf@xemacs.org> <20081021062510.GB22593@tomas> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1224649679 3133 80.91.229.12 (22 Oct 2008 04:27:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2008 04:27:59 +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: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 22 06:28:56 2008 connect(): Connection refused 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 1KsVL1-00068i-Im for ged-emacs-devel@m.gmane.org; Wed, 22 Oct 2008 06:28:51 +0200 Original-Received: from localhost ([127.0.0.1]:55536 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsVJv-0002Xp-VS for ged-emacs-devel@m.gmane.org; Wed, 22 Oct 2008 00:27:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsVJj-0002UK-Tn for emacs-devel@gnu.org; Wed, 22 Oct 2008 00:27:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsVJi-0002Tp-W4 for emacs-devel@gnu.org; Wed, 22 Oct 2008 00:27:31 -0400 Original-Received: from [199.232.76.173] (port=55004 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsVJi-0002Tg-M6 for emacs-devel@gnu.org; Wed, 22 Oct 2008 00:27:30 -0400 Original-Received: from mtaout6.012.net.il ([84.95.2.16]:41322) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KsVJc-0001UG-Ap; Wed, 22 Oct 2008 00:27:24 -0400 Original-Received: from HOME-C4E4A596F7 ([77.126.98.197]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K9400EZ2HS3SG50@i-mtaout6.012.net.il>; Wed, 22 Oct 2008 06:28:52 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) 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:104814 gmane.emacs.gnus.general:67667 Archived-At: > From: Kenichi Handa > CC: miles@gnu.org, rms@gnu.org, ding@gnus.org, emacs-devel@gnu.org, > tomas@tuxteam.de, monnier@iro.umontreal.ca, stephen@xemacs.org > Date: Wed, 22 Oct 2008 09:32:17 +0900 > > In article , Eli Zaretskii writes: > > > > From: Miles Bader > > > Date: Tue, 21 Oct 2008 15:21:25 +0900 > > > Cc: "Stephen J. Turnbull" , emacs-devel@gnu.org, > > > Stefan Monnier , ding@gnus.org, rms@gnu.org > > > > > > 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.