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: codepage-setup, autoload cpNNN Date: Thu, 04 Aug 2005 21:44:25 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1123182553 16823 80.91.229.2 (4 Aug 2005 19:09:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Aug 2005 19:09:13 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 04 21:09:12 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E0l4l-0007lu-R5 for ged-emacs-devel@m.gmane.org; Thu, 04 Aug 2005 21:08:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E0l7a-00041s-F4 for ged-emacs-devel@m.gmane.org; Thu, 04 Aug 2005 15:11:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E0l6c-0003oc-CA for emacs-devel@gnu.org; Thu, 04 Aug 2005 15:10:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E0l6Z-0003oA-9X for emacs-devel@gnu.org; Thu, 04 Aug 2005 15:10:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E0l4I-0002qH-AV for emacs-devel@gnu.org; Thu, 04 Aug 2005 15:07:50 -0400 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E0kub-000136-E9 for emacs-devel@gnu.org; Thu, 04 Aug 2005 14:57:49 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-138-12.inter.net.il [84.228.138.12]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id CAT07861 (AUTH halo1); Thu, 4 Aug 2005 21:44:25 +0300 (IDT) Original-To: emacs-devel@gnu.org In-reply-to: (message from Reiner Steib on Thu, 04 Aug 2005 19:57:43 +0200) 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:41500 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41500 > From: Reiner Steib > Date: Thu, 04 Aug 2005 19:57:43 +0200 > > On GNU/Linux, Emacs autoloads window-12xx. Yes, I know that. But this has nothing to do with the text in the MS-DOS appendix of the manual: that text describes codepage.el which is only used in the MS-DOS port. GNU/Linux uses code-pages.el, which is a different (and slightly incompatible) implementation of the same functionality. > I.e. if Gnus displays an > article with charset=window-12xx, all characters are displayed > correctly. Sometimes people use charset=cp850 or need to edit files > encoded in cpNNN. After `M-x codepages-setup RET NNN RET' the coding > system is available. But etc/NEWS says "`codepage-setup' is now > obsolete". What is the correct way to setup cpNNN? See code-pages.el. I don't know the answer for that, perhaps the code will tell you. IIRC, `codepage-setup' was declared obsolete because the need to do something in order for a coding system to become available was deemed a bad idea. But I don't remember the details, nor what would be the Right Way. The birth of code-pages.el was accompanied by heated discussions, so some issues were lost in the dispute and never resolved.