From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: windows-XXXX and cpXXXX Date: Wed, 11 Jan 2006 19:46:09 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1137008619 15294 80.91.229.2 (11 Jan 2006 19:43:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 Jan 2006 19:43:39 +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 Wed Jan 11 20:43:38 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 1Ewlqe-0003UR-3e for ged-emacs-devel@m.gmane.org; Wed, 11 Jan 2006 20:41:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ewlsg-00046S-A5 for ged-emacs-devel@m.gmane.org; Wed, 11 Jan 2006 14:43:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ewk6n-0004dS-MU for emacs-devel@gnu.org; Wed, 11 Jan 2006 12:50:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ewk6k-0004b4-Su for emacs-devel@gnu.org; Wed, 11 Jan 2006 12:50:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ewk6k-0004aq-08 for emacs-devel@gnu.org; Wed, 11 Jan 2006 12:50:02 -0500 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ewk9P-0007gq-3y for emacs-devel@gnu.org; Wed, 11 Jan 2006 12:52:47 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-202-35.inter.net.il [80.230.202.35]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id CLC94577 (AUTH halo1); Wed, 11 Jan 2006 19:46:07 +0200 (IST) Original-To: Kenichi Handa In-reply-to: (message from Kenichi Handa on Wed, 11 Jan 2006 20:35:34 +0900) 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:48937 Archived-At: > 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 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. 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.