From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61240 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.emacs.gnus.general Subject: mm-codepage-setup not quite right Date: Thu, 27 Oct 2005 10:13:26 +1000 Organization: Bah Humbug Message-ID: <874q73olzt.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1130435042 24005 80.91.229.2 (27 Oct 2005 17:44:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Oct 2005 17:44:02 +0000 (UTC) Original-X-From: ding-owner+m9769@lists.math.uh.edu Thu Oct 27 19:44:00 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EVBky-0006YV-6D for ding-account@gmane.org; Thu, 27 Oct 2005 19:41:40 +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 1EVBkl-0006mz-00; Thu, 27 Oct 2005 12:41:27 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EUvOu-0005JA-00 for ding@lists.math.uh.edu; Wed, 26 Oct 2005 19:13:48 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1EUvOr-0004RG-79 for ding@lists.math.uh.edu; Wed, 26 Oct 2005 19:13:47 -0500 Original-Received: from mailout1.pacific.net.au ([61.8.0.84]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EUvOk-0000cl-00 for ; Thu, 27 Oct 2005 02:13:38 +0200 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86]) by mailout1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id j9R0DXdn021695 for ; Thu, 27 Oct 2005 10:13:33 +1000 Original-Received: from localhost (ppp26E3.dyn.pacific.net.au [61.8.38.227]) by mailproxy1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id j9R0DWea023600 for ; Thu, 27 Oct 2005 10:13:32 +1000 Original-Received: from gg by localhost with local (Exim 3.36 #1 (Debian)) id 1EUvOZ-0000va-00; Thu, 27 Oct 2005 10:13:27 +1000 Original-To: ding@gnus.org User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61240 Archived-At: In debian emacs 21.4 and the current gnus cvs, the call (mm-charset-to-coding-system 'windows-1251) returns nil, where I think the recent code is supposed to make it do a codepage setup. I think the problem is that the call (mm-codepage-setup 1251 t) doesn't add windows-1251 to mm-charset-synonym-alist, the way the rest of the code expects. The test in mm-codepage-setup (mm-coding-system-p alias) looks dubious. I don't think the alias, in this case symbol windows-1251, will be known to coding-system-p. I noticed this when thinking to add some similar stuff myself, but cvs-up showed great minds think alike. I don't get any real mail in windows-1251, only spam, but seeing cyrillic spam correctly is important, isn't it? :-)