From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67647 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: gnus should accept UTF8 even if UTF-8 is standard Date: Tue, 21 Oct 2008 13:39:36 +0900 Message-ID: <87wsg2tvcn.fsf@xemacs.org> References: <87iqruvs19.fsf@jidanni.org> <86od1mj3z2.fsf@lifelogs.com> <86od1lg3xq.fsf@lifelogs.com> <87d4i1iqpq.fsf@marauder.physik.uni-ulm.de> <86k5c9fzm9.fsf@lifelogs.com> <878wsph5xr.fsf@marauder.physik.uni-ulm.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224563762 10214 80.91.229.12 (21 Oct 2008 04:36:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Oct 2008 04:36:02 +0000 (UTC) Cc: Stefan Monnier , ding@gnus.org, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: ding-owner+M16098@lists.math.uh.edu Tue Oct 21 06:36:58 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 1Ks8yT-000482-Om for ding-account@gmane.org; Tue, 21 Oct 2008 06:36:06 +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 1Ks8wm-00020L-Uw; Mon, 20 Oct 2008 23:34:21 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Ks8wl-000207-PR for ding@lists.math.uh.edu; Mon, 20 Oct 2008 23:34:19 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1Ks8wi-0000at-LI for ding@lists.math.uh.edu; Mon, 20 Oct 2008 23:34:19 -0500 Original-Received: from mtps02.sk.tsukuba.ac.jp ([130.158.97.224]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Ks8wp-0003xX-00 for ; Tue, 21 Oct 2008 06:34:23 +0200 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps02.sk.tsukuba.ac.jp (Postfix) with ESMTP id F2057800B; Tue, 21 Oct 2008 13:34:12 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id CB4F91A26AE; Tue, 21 Oct 2008 13:39:36 +0900 (JST) In-Reply-To: X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta28) "fuki" 83e35df20028+ XEmacs Lucid (x86_64-unknown-linux) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67647 gmane.emacs.devel:104714 Archived-At: Richard M. Stallman writes: > Yes, we should probably provide at least a function that we could call > `get-coding-system' and which would take a string and return > a coding-systm or nil. It would then take care of ignoring case > differences a well as addition/removal of dash/underscore/etc.. chars. > > That approach sounds good. `get-coding-system' and `find-coding-system' already exist in XEmacs, so I would appreciate it if you would avoid those names. I dislike them for this purpose, anyway. In general, get- functions retrieve an internal object by a canonical name; the get- nomenclature should not be used for a function which guesses what kind of abuse a luser has applied to a publicly registered name. How about `guess-coding-system-from-string' (or an abbreviation, but I would prefer it be inconvenient to provide the guessing functionality)?