From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#35383: 27.0.50; Complete process of decoding Gnus group names Date: Mon, 13 May 2019 13:14:05 -0700 Message-ID: <87woiuf6ya.fsf@ericabrahamsen.net> References: <878sw1995f.fsf@ericabrahamsen.net> <87sgu87ayo.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="15500"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 35383@debbugs.gnu.org To: Katsumi Yamaoka Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 13 22:32:33 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQHce-0003tV-II for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 May 2019 22:32:32 +0200 Original-Received: from localhost ([127.0.0.1]:34615 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQHcd-0005jw-GM for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 May 2019 16:32:31 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQHbL-0004RI-Uh for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 16:31:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQHLi-0000jg-QK for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 16:15:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32847) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQHLi-0000ja-N2 for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 16:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hQHLi-0001vi-Fz for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 16:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 May 2019 20:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35383 X-GNU-PR-Package: emacs Original-Received: via spool by 35383-submit@debbugs.gnu.org id=B35383.15577784547342 (code B ref 35383); Mon, 13 May 2019 20:15:02 +0000 Original-Received: (at 35383) by debbugs.gnu.org; 13 May 2019 20:14:14 +0000 Original-Received: from localhost ([127.0.0.1]:46391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQHKw-0001uM-9W for submit@debbugs.gnu.org; Mon, 13 May 2019 16:14:14 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:57262 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQHKu-0001u7-Nk for 35383@debbugs.gnu.org; Mon, 13 May 2019 16:14:13 -0400 Original-Received: from localhost (50-251-205-17-static.hfc.comcastbusiness.net [50.251.205.17]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 3F484FA021; Mon, 13 May 2019 20:14:06 +0000 (UTC) In-Reply-To: (Katsumi Yamaoka's message of "Mon, 13 May 2019 09:32:41 +0900") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159212 Archived-At: Katsumi Yamaoka writes: >> On 04/23/19 17:12 PM, Katsumi Yamaoka wrote: >>> Though I'm not quite sure >>> yet, the new and the old newsrc.eld files (containing non-ASCII >>> nnml and nnrss groups) seem to be compatible with the new and >>> the old Gnus mutually. > > Not mutually but one-way from old Gnus[1] to new Gnus[2] is ok. > To activate the groups of the non-ASCII names for the old Gnus, > I realized I needed to convert those group names to that of > > (prin1-to-string (encode-coding-string "Group Name" 'utf-8)) > > one by one in the .newsrc.eld file before starting the old Gnus. > No other tweak is necessary to switch back to the old Gnus, and > nothing to be done to switch to the new Gnus again. I verified > it with only nnml and nnrss groups as I tried Gnus of the latest > git master today for the first time in about a month. > > [1] currently that of the master and the emacs-26 branches > [2] currentlt that of the scratch/gnus-decoded branch Thanks for the analysis. I think I only had nnimap groups that were properly (utf-8) encoded in .newsrc.eld, but still worked with the "old" Gnus code (in your sense, above). I guess that was different with nnml/nnrss. I have some more group sorting issues to fix in the current master code, then I'll call for testers for the scratch/gnus-decoded branch, then hopefully this whole thing can go in. Thanks again, Eric