From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: windows-XXXX and cpXXXX Date: Thu, 12 Jan 2006 10:25:13 +0900 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1137029174 12124 80.91.229.2 (12 Jan 2006 01:26:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Jan 2006 01:26:14 +0000 (UTC) Cc: angeli@iwi.uni-sb.de, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 12 02:26:12 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EwrE5-0007nd-HN for ged-emacs-devel@m.gmane.org; Thu, 12 Jan 2006 02:26:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EwrG6-0002vr-42 for ged-emacs-devel@m.gmane.org; Wed, 11 Jan 2006 20:28:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EwrFw-0002uj-Bz for emacs-devel@gnu.org; Wed, 11 Jan 2006 20:28:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EwrFu-0002tY-MA for emacs-devel@gnu.org; Wed, 11 Jan 2006 20:27:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EwrFu-0002tO-Ib for emacs-devel@gnu.org; Wed, 11 Jan 2006 20:27:58 -0500 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EwrI6-0003TO-LM; Wed, 11 Jan 2006 20:30:15 -0500 Original-Received: from nfs.m17n.org (nfs.m17n.org [192.47.44.7]) by tsukuba.m17n.org (8.13.4/8.13.4/Debian-3) with ESMTP id k0C1PEjO012455; Thu, 12 Jan 2006 10:25:14 +0900 Original-Received: from etlken (etlken.m17n.org [192.47.44.125]) by nfs.m17n.org (8.13.4/8.13.4/Debian-3) with ESMTP id k0C1PEYI003713; Thu, 12 Jan 2006 10:25:14 +0900 Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1EwrDF-00052p-00; Thu, 12 Jan 2006 10:25:13 +0900 Original-To: Eli Zaretskii In-reply-to: (message from Eli Zaretskii on Wed, 11 Jan 2006 19:46:09 +0200) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) 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:48947 Archived-At: In article , Eli Zaretskii writes: >> From: Kenichi Handa >> CC: angeli@iwi.uni-sb.de, emacs-devel@gnu.org >> Date: Wed, 11 Jan 2006 20:35:34 +0900 >> >> >> cp437 cp720 cp737 cp775 cp850 cp851 cp852 cp855 cp857 cp860 >> >> cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp1125 >> >> Here, I forgot to add cp1251 and cp9XXs. >> >> >> But it seems that windows-XXXX are quite frequently called >> >> as cpXXXX(*). If so, I'll register cpXXXXs as alises of the >> >> corresponding windows-XXXXs, ok? >> >> > Won't that increase the confusion, which is IMHO already too high, >> > between codepage.el and code-pages.el? >> >> They already support a coding system of the same name >> (e.g. cp720) in a different way. > Then I'd rather remove DOS codepages (as opposed to Windows codepages) > from code-pages.el, than add more cpNNN encodings to it. >> What kind of confusion does making aliases cp125[02345678] increase? > Confusion between codepage.el and code-pages.el. They are different > and subtly incompatible, but define symbols that are almost identical. > As code-pages.el cannot be used in the MS-DOS port, we cannot throw > away codepage.el. Thus, I think DOS codepages (whose names are cpNNN) > should be provided only by codepage.el. I don't know the distinction of cpNNN and cpNNNN. If cpNNN are only for DOS and are never used in the other environment, I agree that having cpNNN in code-pages.el is useless. But, as for cpNNNN, says that Windows uses codepages 125[012345678]. And if it's a convention to refer to them by names cp125X, shouldn't we provide those names for non-DOS users? >> I didn't intend to change them. My suggestion is just to >> make cp125[02345678] as an aliases of windows-125[02345678]. > My concern would be how a user is to know which library of the two she > is using, or should use in a given situation. DOS users use codepage.el. The other users use code-pages.el. Isn't it clear? > I already saw several confused users on help-gnu-emacs. > So I think we need to sanitize these two libraries from > each other's namespace. Adding cpNNN aliases would be a > step in the wrong direction. > Alternatively, someone who has more time than I do could add to > code-pages.el what it is lacking now to fully support the MS-DOS port, > and then we could toss codepage.el and add the aliases you asked about > to code-pages.el. Unfortunately, I, too, don't have a time merge them. :-( --- Kenichi Handa handa@m17n.org