From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63880 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: cpNNN and ibmNNN coding systems, mm-charset-synonym-alist (was: emacs-unicode-2: cpNNN and ibmNNN coding systems) Date: Tue, 24 Oct 2006 22:05:18 +0200 Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1161720625 7913 80.91.229.2 (24 Oct 2006 20:10:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Oct 2006 20:10:25 +0000 (UTC) Original-X-From: ding-owner+m12407@lists.math.uh.edu Tue Oct 24 22:10:21 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GcSbD-0004t5-OQ for ding-account@gmane.org; Tue, 24 Oct 2006 22:10:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1GcSaw-0003xf-00; Tue, 24 Oct 2006 15:09:54 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1GcSWd-0003xZ-00 for ding@lists.math.uh.edu; Tue, 24 Oct 2006 15:05:27 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1GcSWZ-0003uR-6g for ding@lists.math.uh.edu; Tue, 24 Oct 2006 15:05:27 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.1]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1GcSWW-0007xG-00 for ; Tue, 24 Oct 2006 22:05:20 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.8/8.13.8) with ESMTP id k9OK5Jpn026949 for ; Tue, 24 Oct 2006 22:05:19 +0200 (MEST) Original-Received: from viandante.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by bridgekeeper.physik.uni-ulm.de (Postfix) with SMTP id DECD6122B0 for ; Tue, 24 Oct 2006 22:05:18 +0200 (CEST) Original-Received: (nullmailer pid 9675 invoked by uid 170); Tue, 24 Oct 2006 20:05:18 -0000 Original-To: ding@gnus.org X-Face: P05mdcZT&lL[-s2=mw~RsllZ0zZAb?vdE}.s [ Redirecting from emacs-pretest-bug to ding. See http://thread.gmane.org/v9lkng5nwy.fsf@marauder.physik.uni-ulm.de ] On Mon, Oct 16 2006, Reiner Steib wrote: > in emacs-unicode-2, the coding systems ibm437 and cp437 are aliases: [...] > However, according to > , there > are minor (?) differences between the Microsoft and IBM mappings: [...] > [ Background: Today there was a posting with "charset=IBM437" in > de.comp.text.tex (). I thought > of adding an alias (ibm437 . cp437) in `mm-charset-synonym-alist' > (Gnus), but I wasn't sure if it's correct. ] I've now added aliases via `mm-codepage-ibm-list': * mm-util.el (mm-codepage-iso-8859-list, mm-codepage-ibm-list): New variables. (mm-setup-codepage-iso-8859, mm-setup-codepage-ibm): New functions. (mm-charset-synonym-alist): Move some entries to mm-codepage-iso-8859-list. Comments/review welcome. If nobody can see a problem with this, I'll install this change in v5-10 as well. Maybe we should go one step further: Introduce one more *customizable* variable and build `mm-charset-synonym-alist' at runtime from the new variable, `mm-codepage-iso-8859-list' and `mm-codepage-ibm-list'. (`mm-charset-synonym-alist' is not customizable and probably shouldn't be.) Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/