From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67650 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: gnus should accept UTF8 even if UTF-8 is standard Date: Tue, 21 Oct 2008 15:21:25 +0900 Message-ID: References: <87wsg2tvcn.fsf@xemacs.org> <20081021062510.GB22593@tomas> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224570110 25938 80.91.229.12 (21 Oct 2008 06:21:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Oct 2008 06:21:50 +0000 (UTC) Cc: "Stephen J. Turnbull" , emacs-devel@gnu.org, Stefan Monnier , ding@gnus.org, rms@gnu.org To: tomas@tuxteam.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 21 08:22:48 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 1KsAdk-0000XU-BP for ged-emacs-devel@m.gmane.org; Tue, 21 Oct 2008 08:22:48 +0200 Original-Received: from localhost ([127.0.0.1]:45285 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsAce-0007Pc-UZ for ged-emacs-devel@m.gmane.org; Tue, 21 Oct 2008 02:21:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsAca-0007PL-Jn for emacs-devel@gnu.org; Tue, 21 Oct 2008 02:21:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsAcY-0007P8-HC for emacs-devel@gnu.org; Tue, 21 Oct 2008 02:21:35 -0400 Original-Received: from [199.232.76.173] (port=44039 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsAcY-0007P5-C9 for emacs-devel@gnu.org; Tue, 21 Oct 2008 02:21:34 -0400 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.193]:33917) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KsAcS-0004RQ-Rk; Tue, 21 Oct 2008 02:21:29 -0400 Original-Received: from relay21.aps.necel.com ([10.29.19.50]) by tyo201.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id m9L6LPDE027094; Tue, 21 Oct 2008 15:21:25 +0900 (JST) Original-Received: from relay21.aps.necel.com ([10.29.19.24] [10.29.19.24]) by relay21.aps.necel.com with ESMTP; Tue, 21 Oct 2008 15:21:25 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.112.215] [10.114.112.215]) by relay21.aps.necel.com with ESMTP; Tue, 21 Oct 2008 15:21:25 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id 5860C4D; Tue, 21 Oct 2008 15:21:25 +0900 (JST) System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <20081021062510.GB22593@tomas> (tomas@tuxteam.de's message of "Tue, 21 Oct 2008 08:25:10 +0200") Original-Lines: 22 X-detected-operating-system: by monty-python.gnu.org: Solaris 8 (1) 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:104722 gmane.emacs.gnus.general:67650 Archived-At: tomas@tuxteam.de writes: >> That seems reasonable (though "-from-string" seems superfluous, given >> the argument is ... a string). > > Heh. But this would be ambiguous. You might be feeding the function a > string encoded in some unknown coding system and expecting it to guess > what this is (e.g. using some statistical magic). The sister of > guess-coding-system-from-buffer (as long as I might be baking > pies-in-the-sky ;-) Actually that points out a problem with the name -- `guess-coding-system-from-string' implies that it somehow examines the _contents_ of the string and tries to choose a reasonable coding system, whereas in fact it simply treats it as a name. Perhaps something like `canonicalize-coding-system-name' would be good. -Miles -- Infancy, n. The period of our lives when, according to Wordsworth, 'Heaven lies about us.' The world begins lying about us pretty soon afterward.