From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67351 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: bug#935: 23.0.60; gnus-mime-view-part-as-charset displays non-ASCII characters as octals Date: Wed, 10 Sep 2008 07:48:46 +0900 Organization: Emacsen advocacy group Message-ID: References: <877i9mmk91.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221000622 14977 80.91.229.12 (9 Sep 2008 22:50:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Sep 2008 22:50:22 +0000 (UTC) Cc: 935@emacsbugs.donarmstrong.com, Sven Joachim , ding@gnus.org To: Daiki Ueno Original-X-From: ding-owner+M15802@lists.math.uh.edu Wed Sep 10 00:51:18 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1KdC3G-0002Zh-9K for ding-account@gmane.org; Wed, 10 Sep 2008 00:51:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1KdC1e-0004ge-Gi; Tue, 09 Sep 2008 17:49:34 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KdC1d-0004gT-Ca for ding@lists.math.uh.edu; Tue, 09 Sep 2008 17:49:33 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KdC1a-0006Nn-S5 for ding@lists.math.uh.edu; Tue, 09 Sep 2008 17:49:33 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KdC1d-0004vp-00 for ; Wed, 10 Sep 2008 00:49:33 +0200 Original-Received: from localhost ([127.0.0.1]:45863) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1KdC10-00060A-4p; Tue, 09 Sep 2008 17:48:54 -0500 X-Hashcash: 1:20:080909:ueno@unixuser.org::G5ff0j+OMXAPu81/:000000000000000000000000000000000000000000005NfT X-Hashcash: 1:20:080909:935@emacsbugs.donarmstrong.com::NFtzGKAdA16oAIJK:00000000000000000000000000000001NvC X-Hashcash: 1:20:080909:svenjoac@gmx.de::7fR94+Gdhb3x5wmL:001JHv X-Hashcash: 1:20:080909:ding@gnus.org::de1Vrym2YG3XrTJq:000060a3 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.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:F2FKXqYU1XrcsDk2uPipOazcvHw= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.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-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67351 Archived-At: >>>>> Daiki Ueno wrote: >> +(defun gnus-mime-set-charset-parameters (handle) >> + "Set charset to parameters in HANDLE. >> +The value of `gnus-newsgroup-charset' is used as a charset." >> (if (stringp (car handle)) >> (mapc #'gnus-mime-strip-charset-parameters (cdr handle)) > Should this line also be changed to call > gnus-mime-set-charset-parameters? Oops. Thank you for pointing it out. > I would also like to suggest that gnus-mime-set-charset-parameters > accept CHARSET as its 2nd arg to avoid dependency to the global variable > gnus-newsgroup-charset. That's a good idea. I also verified that to bind `gnus-newsgroup-charset' is not necessary in the function `gnus-mime-view-part-as-charset'. Installed in the Emacs trunk. Regards,