From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69856 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Double encoding in ~/Mail/active Date: Mon, 02 Aug 2010 09:14:08 +0900 Organization: Emacsen advocacy group Message-ID: References: <87eiej21gd.fsf@topper.koldfront.dk> <878w4qoqe7.fsf@topper.koldfront.dk> <877hkasr6g.fsf@topper.koldfront.dk> <87tynemvr3.fsf@topper.koldfront.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1280708207 17263 80.91.229.12 (2 Aug 2010 00:16:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 Aug 2010 00:16:47 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18243@lists.math.uh.edu Mon Aug 02 02:16:46 2010 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.69) (envelope-from ) id 1Ofihx-0005u2-Le for ding-account@gmane.org; Mon, 02 Aug 2010 02:16:45 +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 1OfigG-0004Gd-4B; Sun, 01 Aug 2010 19:15:00 -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 1OfigE-0004GQ-B6 for ding@lists.math.uh.edu; Sun, 01 Aug 2010 19:14:58 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Ofig4-00026a-0D for ding@lists.math.uh.edu; Sun, 01 Aug 2010 19:14:58 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Ofig3-00012U-00 for ; Mon, 02 Aug 2010 02:14:47 +0200 Original-Received: from localhost ([127.0.0.1]:53692) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1OfifS-00049I-Er for ding@gnus.org; Sun, 01 Aug 2010 19:14:10 -0500 X-Hashcash: 1:20:100802:ding@gnus.org::LI0Kl6dSz9zwewPl:00004x7m 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/24.0.50 (gnu/linux) Cancel-Lock: sha1:Icj1x8fSiiaDW7kDeyz1A0YdUEQ= 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: -0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69856 Archived-At: Adam Sj=F8gren wrote: > On Sun, 01 Aug 2010 19:58:26 +0900, Katsumi wrote: >> Sorry for enbugging. I'm going to fix it asap. > Great! >> Maybe I have to make it encode nnml group names conditionally. Fixed. I must apologize to XEmacs users who keep track of the latest Gnus. If you have the nnml groups of which the names contain non-ASCII characters, you want to fix the ~/Mail/active file, and possibly the ~/.newsrc.eld file, manually. Beat me! The purpose of the change I did last was to make sure the names of groups, that nnmail-split creates[1], in nnml-group-alist are encoded. However, it encoded not only newly created group names but also existing ones. It happens only in XEmacs. In Emacs, the double encoding is not happen even if using encode-coding-string twice. (decode-coding-string (encode-coding-string (encode-coding-string "hyskenstr=E6de" 'utf-8) 'utf-8) 'utf-8) =3D> "hyskenstr=E6de" This is why I didn't notice the ill effect of the last change. [1] The case where the regexps in the splitting rules have something like "\\1" that is replaced with the actual text.