From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel Subject: Re: mm-charset-to-coding-system and mm-charset-synonym-alist Date: Wed, 16 Mar 2005 17:18:35 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1111018862 20680 80.91.229.2 (17 Mar 2005 00:21:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 Mar 2005 00:21:02 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 17 01:21:02 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DBikr-00014g-8D for ged-emacs-devel@m.gmane.org; Thu, 17 Mar 2005 01:20:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DBj12-0002bv-FQ for ged-emacs-devel@m.gmane.org; Wed, 16 Mar 2005 19:37:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DBj02-0001oh-KC for emacs-devel@gnu.org; Wed, 16 Mar 2005 19:36:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DBizv-0001lo-3Q for emacs-devel@gnu.org; Wed, 16 Mar 2005 19:36:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DBizu-0001kj-Mk for emacs-devel@gnu.org; Wed, 16 Mar 2005 19:36:22 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1DBiiz-0005Ku-Ay for emacs-devel@gnu.org; Wed, 16 Mar 2005 19:18:53 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DBihX-0000mV-NZ for emacs-devel@gnu.org; Thu, 17 Mar 2005 01:17:24 +0100 Original-Received: from 207.167.42.60 ([207.167.42.60]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Mar 2005 01:17:23 +0100 Original-Received: from ihs_4664 by 207.167.42.60 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Mar 2005 01:17:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 28 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.60 User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34651 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34651 Stefan Monnier wrote: > Is there any good reason why mm-charset-to-coding-system only looks up > mm-charset-synonym-alist after checking mm-coding-system-p? > > I'm being annoyed with email encoded in windows-1252 but labelled as latin-1 > and figured that I could simply put > > ;; Since windows-1252 is a superset of latin-1 and some email encoded in > ;; windows-1252 are labelled as latin-1, let's just always use windows-1252 > ;; whenever the label says latin-1. > (add-to-list 'mm-charset-synonym-alist '(iso-8859-1 . windows-1252)) > > in my .gnus, but it didn't work because mm-charset-synonym-alist is not > consulted if the charset label says "iso-8859-1" because there is > a coding-system called "iso-8859-1". > > So I suggest the patch below, > Any objection? Yes. The people who send such messages were put here to annoy the rest of us, and you're disrupting God's plan and the harmony of the Tao by not allowing them to achieve their purpose. -- Kevin