From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.bugs Subject: bug#35383: 27.0.50; Complete process of decoding Gnus group names Date: Tue, 23 Apr 2019 16:42:05 +0100 Message-ID: References: <878sw1995f.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="127102"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) To: 35383@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 23 17:43:19 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 1hIxZn-000Wtc-16 for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Apr 2019 17:43:19 +0200 Original-Received: from localhost ([127.0.0.1]:55593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIxZl-0004kw-R8 for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Apr 2019 11:43:17 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIxZZ-0004jL-Hl for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 11:43:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIxZX-0000U0-JZ for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 11:43:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40588) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hIxZV-0000Sv-Tv for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 11:43:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hIxZV-0002QR-NJ for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 11:43:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <878sw1995f.fsf@ericabrahamsen.net> Resent-From: Andy Moreton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Apr 2019 15:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35383 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15560341439277 (code B ref -1); Tue, 23 Apr 2019 15:43:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Apr 2019 15:42:23 +0000 Original-Received: from localhost ([127.0.0.1]:54131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIxYt-0002PZ-Ef for submit@debbugs.gnu.org; Tue, 23 Apr 2019 11:42:23 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIxYs-0002PN-Fr for submit@debbugs.gnu.org; Tue, 23 Apr 2019 11:42:22 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:48017) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hIxYn-0008Sz-BC for submit@debbugs.gnu.org; Tue, 23 Apr 2019 11:42:17 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIxYm-00048T-4X for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 11:42:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIxYk-0008OU-WA for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 11:42:16 -0400 Original-Received: from [195.159.176.226] (port=56048 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hIxYk-0008O2-Ov for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 11:42:14 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hIxYi-000VdJ-HY for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 17:42:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:Cw9ogP5Ykn1gNjxQCi3Ug6JgQ/g= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:158145 Archived-At: On Mon 22 Apr 2019, Eric Abrahamsen wrote: > This is part two and the completion of bug#33653, which changed Gnus's > obarrays into hash tables, and group names from symbols to (encoded) > strings. The commits in the recently-pushed "scratch/gnus-decoded" > branch change group names to decoded strings. > > Bug 33653 was a mess for a few reasons: I partitioned the changes > poorly, didn't call for testers, and it turned out that I was locally > testing a mismash of that change plus a couple changes included in this > branch, which hid some bugs. > > This time around I'll keep it cleaner: I'll locally test only this > change in isolation, I'm writing a semi-interactive test suite for Gnus, > and in a few weeks I'll rope in three or four users to road-test the > changes. The upside is that, once these changes are stabilized and put > in, it will eliminate a whole class of potential bugs. > > In the meantime I'm hanging this here as a placeholder. If any brave > soul does decide to give it a test-run in the meantime, back up your > .newsrc.eld file first! There don;t seem to bnbe any problems with the .nersrc.eld, as I have used the same file in emacs-26, master and scratch/gnus-decoded branches without obvious problems. There is a problem in the server buffer in the scratch/gnus-decoded buffer with group names. In my setup: 1) Start gnus, and open the server buffer 2) Select the feedbase server. This is configured as: (gnus-secondary-select-methods '((nntp "feedbase" (nntp-open-connection-function nntp-open-tls-stream) (nntp-port-number 563) (nntp-address "feedbase.org")) ... 3) Note that some group names are not decoded correctly in the server buffer. The group names are decoded properly in the article buffer. For example, (showing only names with problems): server buffer (master branch): K 140: feedbase.blog.københavnsskiklub K 208: feedbase.news.brk.høringer K 2017: feedbase.news.dr.hovedstadsområdet server buffer (scratch/gnus-decoded branch): K 140: feedbase.blog.k\303\270benhavnsskiklub K 208: feedbase.news.brk.h\303\270ringer K 2017: feedbase.news.dr.hovedstadsomr\303\245det The raw bytes (shown as escapes above) match the UTF-8 for the expected characters, so the decoding is not quite right. AndyM