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#33653: 27.0.50; Change Gnus obarrays-as-hash-tables into real hash tables Date: Wed, 27 Mar 2019 15:10:02 -0700 Message-ID: <8736n8ge9x.fsf@ericabrahamsen.net> References: <8736raz3ec.fsf@ericabrahamsen.net> <87y392xoht.fsf@ericabrahamsen.net> <87imxzxa4s.fsf@ericabrahamsen.net> <87a7hn3h3w.fsf@ericabrahamsen.net> <87a7hhtinz.fsf@ericabrahamsen.net> <87imw4f1oo.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="116547"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: 33653@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 27 23:11:22 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 1h9GlV-000U9O-So for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Mar 2019 23:11:22 +0100 Original-Received: from localhost ([127.0.0.1]:54485 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h9GlU-0000yU-SF for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Mar 2019 18:11:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h9GlH-0000wv-0V for bug-gnu-emacs@gnu.org; Wed, 27 Mar 2019 18:11:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h9GlD-0002lR-IA for bug-gnu-emacs@gnu.org; Wed, 27 Mar 2019 18:11:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48314) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h9GlC-0002l1-J8 for bug-gnu-emacs@gnu.org; Wed, 27 Mar 2019 18:11:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h9GlC-0007Tv-9R for bug-gnu-emacs@gnu.org; Wed, 27 Mar 2019 18:11:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <8736raz3ec.fsf@ericabrahamsen.net> Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Mar 2019 22:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33653 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.155372462328706 (code B ref -1); Wed, 27 Mar 2019 22:11:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Mar 2019 22:10:23 +0000 Original-Received: from localhost ([127.0.0.1]:33623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h9GkX-0007Su-Hr for submit@debbugs.gnu.org; Wed, 27 Mar 2019 18:10:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59023) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h9GkW-0007Sb-43 for submit@debbugs.gnu.org; Wed, 27 Mar 2019 18:10:20 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:55525) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h9GkQ-0002Mf-RX for submit@debbugs.gnu.org; Wed, 27 Mar 2019 18:10:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h9GkP-0000am-OQ for bug-gnu-emacs@gnu.org; Wed, 27 Mar 2019 18:10:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h9GkO-0002Lw-8u for bug-gnu-emacs@gnu.org; Wed, 27 Mar 2019 18:10:13 -0400 Original-Received: from [195.159.176.226] (port=42646 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h9GkO-0002Ji-0G for bug-gnu-emacs@gnu.org; Wed, 27 Mar 2019 18:10:12 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1h9GkK-000SuO-Q8 for bug-gnu-emacs@gnu.org; Wed, 27 Mar 2019 23:10:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:7ztznVkISvWnB+LBNC56CqechaQ= 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:156873 Archived-At: Eric Abrahamsen writes: > On 03/27/19 13:54 PM, Katsumi Yamaoka wrote: >> On Tue, 26 Mar 2019 14:44:32 -0700, Eric Abrahamsen wrote: >>> Thanks for this report. When you have a moment will you please try the >>> attached patch and see if it fixes the problem? >> >> Works great. Now I can enter and read the nnml:テスト group. >> Thank you. But there seem to be some more fix needed. >> >> The group level of nnml:テスト is 1 and there are some unread >> articles in it, however the group is not listed in the Group >> buffer when I launch Gnus by `C-u 1 M-x gnus RET' (it also >> happened when I worked on non-ASCII group names years ago, but >> I don't recall how I fixed it, sorry). Typing L helps it. > > I think I've found the source of the problem. The error you and others > are seeing comes when the group has an entry in gnus-newsrc-hashtb (ie, > you're subscribed to the group) but not in gnus-active-hashtb (Gnus > can't tell if the group has articles). > > Gnus writes "nnml:テスト" to .newsrc.eld as > "nnml:\343\203\206\343\202\271\343\203\210", and that's used as the key > in gnus-newsrc-hashtb. But when it reads the active info from nnml, the > (unibyte) buffer contains: > > nnml:\343\203\206\343\202\271\343\203\210 > > As a symbol, not a string. Sorry, as raw bytes I guess. But `read' interprets it as a symbol.