From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62033 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.xemacs.beta,gmane.emacs.gnus.general Subject: Re: [Bug: 21.4.18] gnus 5.10.7 not rendering Latin-1 headers Date: Mon, 20 Feb 2006 20:30:05 +0900 Organization: Emacsen advocacy group Message-ID: References: <8062.1140387067@athyra> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1140435077 3341 80.91.229.2 (20 Feb 2006 11:31:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Feb 2006 11:31:17 +0000 (UTC) Cc: Mike Kupfer , xemacs-beta@xemacs.org Original-X-From: xemacs-beta-bounces@xemacs.org Mon Feb 20 12:31:15 2006 Return-path: Envelope-to: gexb-xemacs-beta@gmane.org Original-Received: from gwyn.tux.org ([199.184.165.135]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FB9Fy-0006cv-5S for gexb-xemacs-beta@gmane.org; Mon, 20 Feb 2006 12:31:06 +0100 Original-Received: from gwyn.tux.org (ident-user@localhost.localdomain [127.0.0.1]) by gwyn.tux.org (8.12.11/8.12.11) with ESMTP id k1KBV0Qg006882; Mon, 20 Feb 2006 06:31:02 -0500 Original-Received: from gwyn.tux.org (ident-user@localhost.localdomain [127.0.0.1]) by gwyn.tux.org (8.12.11/8.12.11) with ESMTP id k1KBUTsA006771 for ; Mon, 20 Feb 2006 06:30:29 -0500 Original-Received: (from xemacweb@localhost) by gwyn.tux.org (8.12.11/8.12.11/Submit) id k1KBUTfp006768 for xemacs-beta-mailman@xemacs.org; Mon, 20 Feb 2006 06:30:29 -0500 Original-Received: from gwyn.tux.org (ident-user@localhost.localdomain [127.0.0.1]) by gwyn.tux.org (8.12.11/8.12.11) with ESMTP id k1KBUPAD006743 for ; Mon, 20 Feb 2006 06:30:25 -0500 Original-Received: (from mailnull@localhost) by gwyn.tux.org (8.12.11/8.12.11/Submit) id k1KBUPYI006740 for xemacweb@tux.org; Mon, 20 Feb 2006 06:30:25 -0500 Original-Received: from washington.hostforweb.net (washington.hostforweb.net [66.225.201.13]) by gwyn.tux.org (8.12.11/8.12.11) with ESMTP id k1KBUObO006731 for ; Mon, 20 Feb 2006 06:30:24 -0500 Original-Received: from [205.234.185.198] (port=33440 helo=mail.jpl.org) by washington.hostforweb.net with esmtpa (Exim 4.52) id 1FB9FH-0004zV-94; Mon, 20 Feb 2006 05:30:23 -0600 Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:HAVUlg9zIQgHovY+ir/eG0ELtiM= X-Hashcash: 1:20:060220:ding@gnus.org::dM0iggkG5N9q+oL4:00002rYh X-Hashcash: 1:20:060220:kupfer@athyra.sfbay.sun.com::kLzEbPwxLMv4yYDL:00000000000000000000000000000000000YJS X-Hashcash: 1:20:060220:xemacs-beta@xemacs.org::IRkmH1sjJIuH5viK:00000000000000000000000000000000000000068rJ X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - xemacs.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (gwyn.tux.org [0.0.0.0]); Mon, 20 Feb 2006 06:31:02 -0500 (EST) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (gwyn.tux.org [0.0.0.0]); Mon, 20 Feb 2006 06:30:29 -0500 (EST) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (gwyn.tux.org [0.0.0.0]); Mon, 20 Feb 2006 06:30:25 -0500 (EST) X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-1.6 (gwyn.tux.org [199.184.165.136]); Mon, 20 Feb 2006 06:30:25 -0500 (EST) X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on gwyn.tux.org X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on gwyn.tux.org X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on gwyn.tux.org X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on gwyn.tux.org X-Virus-Status: Clean X-XEmacs-List: beta X-BeenThere: xemacs-beta@xemacs.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: XEmacs Beta Testers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Original-Sender: xemacs-beta-bounces@xemacs.org Errors-To: xemacs-beta-bounces@xemacs.org Xref: news.gmane.org gmane.emacs.xemacs.beta:22116 gmane.emacs.gnus.general:62033 Archived-At: At last I realized the problem is due to my change: 2005-10-19 Katsumi Yamaoka * rfc2047.el (rfc2047-allow-incomplete-encoded-text): New variable. (rfc2047-charset-to-coding-system): New function. (rfc2047-decode-encoded-words): New function. (rfc2047-decode-region): Use them. (rfc2047-decode-cte): Remove. (rfc2047-parse-and-decode): Remove. (rfc2047-decode): Remove. Formerly `rfc2047-decode' didn't verify whether a given charset is valid, while `rfc2047-charset-to-coding-system' (which merged the feature of `rfc2047-decode' partially) does it now using `mm-coding-system-p'. However, it should be left to `mm-charset-to-coding-system' even if it is incomplete[1] now. Therefore, I've made a change in both the trunk and the v5-10 branch. [1] The form (mm-charset-to-coding-system 'foo-bar-baz) returns foo-bar-baz in non-Mule XEmacs 21.4. The following diff is for the latest Gnus XEmacs package: 2006-02-20 Katsumi Yamaoka * rfc2047.el (rfc2047-charset-to-coding-system): Don't check the coding system which mm-charset-to-coding-system returns for a given charset is valid. --- rfc2047.el~ 2005-12-19 22:31:44 +0000 +++ rfc2047.el 2006-02-20 11:29:44 +0000 @@ -835,7 +835,7 @@ (cond ((eq cs 'ascii) (setq cs (or (mm-charset-to-coding-system mail-parse-charset) 'raw-text))) - ((setq cs (mm-coding-system-p cs))) + ((mm-coding-system-p cs)) ((and charset (listp mail-parse-ignored-charsets) (memq 'gnus-unknown mail-parse-ignored-charsets))