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#35219: 27.0.50; Problems with nnimap groups with non-ASCII characters Date: Fri, 19 Apr 2019 09:14:54 -0700 Message-ID: <87wojqdla9.fsf@ericabrahamsen.net> References: <87ftqphjet.fsf@ericabrahamsen.net> <87imvgnh6n.fsf@ericabrahamsen.net> <875zrbi9z3.fsf@ericabrahamsen.net> <878sw7gkmd.fsf@ericabrahamsen.net> <878sw6g99p.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="154517"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 35219-done@debbugs.gnu.org, Andy Moreton , 35219@debbugs.gnu.org To: Katsumi Yamaoka Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 19 18:35:57 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 1hHWUW-000e2W-NM for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Apr 2019 18:35:56 +0200 Original-Received: from localhost ([127.0.0.1]:58819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHWUV-0003HZ-NN for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Apr 2019 12:35:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHWTv-0002cU-80 for bug-gnu-emacs@gnu.org; Fri, 19 Apr 2019 12:35:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hHWBH-0004Qg-Am for bug-gnu-emacs@gnu.org; Fri, 19 Apr 2019 12:16:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59222) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hHWBH-0004Qc-8M for bug-gnu-emacs@gnu.org; Fri, 19 Apr 2019 12:16:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hHWBH-0005vp-3l for bug-gnu-emacs@gnu.org; Fri, 19 Apr 2019 12:16:03 -0400 Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Apr 2019 16:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 35219 X-GNU-PR-Package: emacs Mail-Followup-To: 35219@debbugs.gnu.org, eric@ericabrahamsen.net, larsi@gnus.org Original-Received: via spool by 35219-done@debbugs.gnu.org id=D35219.155569050622670 (code D ref 35219); Fri, 19 Apr 2019 16:16:02 +0000 Original-Received: (at 35219-done) by debbugs.gnu.org; 19 Apr 2019 16:15:06 +0000 Original-Received: from localhost ([127.0.0.1]:44530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHWAK-0005tW-51 for submit@debbugs.gnu.org; Fri, 19 Apr 2019 12:15:06 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:36416 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hHWAI-0005sf-8P; Fri, 19 Apr 2019 12:15:02 -0400 Original-Received: from localhost (97-126-87-168.tukw.qwest.net [97.126.87.168]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 1EEC9FA05C; Fri, 19 Apr 2019 16:14:55 +0000 (UTC) In-Reply-To: (Katsumi Yamaoka's message of "Fri, 19 Apr 2019 14:48:38 +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:157853 Archived-At: Katsumi Yamaoka writes: > On Thu, 18 Apr 2019 16:53:54 -0700, Eric Abrahamsen wrote: >>>> Andy Moreton writes: >>>>> I see a similar symptom, but with a different recipe: >>>>> - start Gnus >>>>> - open the server buffer, select a server, and subscribe to a new group >>>>> - quit the server buffer >>>>> - in the group buffer, kill the group line for the new group >>>>> At this point, emacs is busy but unresponsive. Breaking in with ^G >>>>> results in emacs becoming responsive agin, but all of the group lines >>>>> disappear from the group buffer. > [...] >>> After more testing, it seems that this wrong display depends on using >>> topics in the group buffer. If I toggle topics off ('t' in the group >>> buffer) then killing the newly added group appears to work normally. > [...] > > I found what is happening then, too. At first such a new group > is registered in only `gnus-newsrc-hashtb', not `gnus-active-hashtb'. > When trying to kill the group in the group buffer of the topic mode, > during the course of the procedures `gnus-group-change-level' > deletes the group from `gnus-newsrc-hashtb', even so > `gnus-group-goto-group' tries to go to the group, and fails. > > I also realized what `gnus-group-goto-group' does when the group > is not found in the hash tables is nonsense. > > [...] >> Yamaoka-san, this would revert some of your changes. > > Not revert but great improve. What is especially great is that > making `g-g-g-g' needless to refer to the hash tables: Yes, I like how this is simpler now. >> - (let ((start (point)) >> - (active (and (or >> - ;; Some kind of group may be only there. >> - (gnus-active group) >> - ;; All groups (but with exception) are there. >> - (gnus-group-entry group)) >> - group))) >> + (let ((start (point))) > [...] >> (gnus-text-property-search >> - 'gnus-group active 'forward 'goto)) >> + 'gnus-group group 'forward 'goto)) [...] > > Anyway there is no other problem so far, so please push the patch. Done! Thanks to both of you for testing. Eric