From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67347 Path: news.gmane.org!not-for-mail From: Daiki Ueno 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: Tue, 09 Sep 2008 20:46:03 +0900 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 1220960817 19997 80.91.229.12 (9 Sep 2008 11:46:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Sep 2008 11:46:57 +0000 (UTC) Cc: 935@emacsbugs.donarmstrong.com, Sven Joachim , ding@gnus.org To: Katsumi Yamaoka Original-X-From: ding-owner+M15798@lists.math.uh.edu Tue Sep 09 13:47:52 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 1Kd1hG-0001ht-WB for ding-account@gmane.org; Tue, 09 Sep 2008 13:47:51 +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 1Kd1fm-0001xu-VI; Tue, 09 Sep 2008 06:46:19 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Kd1fl-0001xh-Nm for ding@lists.math.uh.edu; Tue, 09 Sep 2008 06:46:17 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1Kd1ff-0003zE-KM for ding@lists.math.uh.edu; Tue, 09 Sep 2008 06:46:17 -0500 Original-Received: from yw-out-2324.google.com ([74.125.46.28]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Kd1fi-00012V-00 for ; Tue, 09 Sep 2008 13:46:14 +0200 Original-Received: by yw-out-2324.google.com with SMTP id 9so180233ywe.77 for ; Tue, 09 Sep 2008 04:46:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :x-debbugs-cc:date:in-reply-to:message-id:user-agent:mime-version :content-type:sender; bh=dpQ0RUlgzV9pYv9YYO6QeIoJfCTQwGCfahJMpfneuow=; b=wJ/HxarxP3GNhnOsju7HeS0Z6kTwjU4k4oszKQJ6WmBhIvIl1XxqcyeLRdgYCt2Rx9 bRk0DLC7Zm7bySsFeBRljg3nfowggoxTgoXA2BN+oC7VKbKX3Ym/K6emFBNJevEElPY+ F7XIGIIAvw6k/kqvU7dtliw6o7o+wqUWpbCNI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:x-debbugs-cc:date:in-reply-to :message-id:user-agent:mime-version:content-type:sender; b=xcfhCNQuVpKLK9wwJQSGVlyQGB4IntdFBgh7AVNtrZYwDemkv4XqFL4CcPvTNn+HfC uMPhJkJz0pyReaeVyWsQnBjTEf1h55ENqU/EDnN9gor9+gI3LgCCpYDjD/RgPSeX3fT+ 6vjsB6qPTlqHwW75K6HBnwYgdSD6CM6SulQeA= Original-Received: by 10.150.147.9 with SMTP id u9mr23296728ybd.126.1220960768964; Tue, 09 Sep 2008 04:46:08 -0700 (PDT) Original-Received: from chilled ( [221.255.76.222]) by mx.google.com with ESMTPS id 30sm7595778yxk.4.2008.09.09.04.46.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 09 Sep 2008 04:46:07 -0700 (PDT) X-Debbugs-CC: emacs-pretest-bug@gnu.org In-Reply-To: (Katsumi Yamaoka's message of "Tue, 09 Sep 2008 10:00:15 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67347 Archived-At: >>>>> In >>>>> Katsumi Yamaoka wrote: > -(defun gnus-mime-strip-charset-parameters (handle) > - "Strip charset parameters from HANDLE." > +(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? 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. Regards, -- Daiki Ueno