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#36903: 27.0.50; gnus registry vs. debbugs Date: Sun, 15 Sep 2019 08:27:43 +0800 Message-ID: <87v9tuh08w.fsf@ericabrahamsen.net> References: <87pnlmen9q.fsf@web.de> <87zhkqw965.fsf@ericabrahamsen.net> <87zhkpq0az.fsf@web.de> <87ef21wzrm.fsf@ericabrahamsen.net> <87r261pwi6.fsf@web.de> <87tvaxvfxc.fsf@ericabrahamsen.net> <87pnllvera.fsf@ericabrahamsen.net> <87lfw497re.fsf@mouse.gnus.org> <87blx0afpv.fsf@ericabrahamsen.net> <87r25rz36l.fsf@mouse.gnus.org> <87o90u2yq9.fsf@ericabrahamsen.net> <874l1e7wcq.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="19401"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 36903@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 15 02:28:10 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i9IOg-0004wh-Ql for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Sep 2019 02:28:10 +0200 Original-Received: from localhost ([::1]:52762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i9IOf-0006DU-3h for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Sep 2019 20:28:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37056) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i9IOY-0006CQ-Tl for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2019 20:28:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i9IOX-0001k0-Sh for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2019 20:28:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38423) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i9IOX-0001js-OQ for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2019 20:28:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i9IOX-0002ph-KA for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2019 20:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Sep 2019 00:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36903 X-GNU-PR-Package: emacs Original-Received: via spool by 36903-submit@debbugs.gnu.org id=B36903.156850727710879 (code B ref 36903); Sun, 15 Sep 2019 00:28:01 +0000 Original-Received: (at 36903) by debbugs.gnu.org; 15 Sep 2019 00:27:57 +0000 Original-Received: from localhost ([127.0.0.1]:47244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9IOS-0002pP-Ld for submit@debbugs.gnu.org; Sat, 14 Sep 2019 20:27:56 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:60578 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9IOQ-0002pB-QU for 36903@debbugs.gnu.org; Sat, 14 Sep 2019 20:27:55 -0400 Original-Received: from localhost (unknown [36.102.228.103]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 34775FA081; Sun, 15 Sep 2019 00:27:46 +0000 (UTC) In-Reply-To: <874l1e7wcq.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 14 Sep 2019 17:04:21 +0200") 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:166476 Archived-At: Lars Ingebrigtsen writes: > Eric Abrahamsen writes: > >>> I can't really imagine it being performance-related... computing the >>> specs take extremely little time. >>> >>> But it's possible, I guess. >> >> I'll patch locally and run it for a while. > > So I think we arrived at the conclusion that removing that removal > should be safe (i.e., a noop) -- did you apply the patch? I didn't, because it doesn't solve anything, and it seemed like a proper fix would probably include this. > I'm not sure how this related to the other registry stuff... What was > the conclusion there? The conclusion is I don't know what to do. Users who have customized `gnus-summary-line-format' to draw info from the registry will see an error if they start Gnus, stop Gnus, then start debbugs-gnu. That's because stopping Gnus clears the registry, but starting debbugs-gnu doesn't re-load it (because it doesn't load the users gnus.el file), and the summary line format continues trying to access the registry object. I naively tried *adding* `gnus-format-specs' to the list of variables to clear, but of course that doesn't work because `gnus-summary-line-format' remains customized, and `gnus-format-specs' is simply re-built from that customized value when `debbugs-gnu' is started. This didn't use to be a problem because stopping Gnus used to leave the registry hanging around. I changed that in 2815174f as part of preventing the registry from being loaded twice at startup, and I just think it's good practice not to leave this (potentially huge) data structure lingering after shutdown. I can imagine a few possible solutions, but none of them are very appealing. debbugs-gnu seems stuck somewhere between "too Gnus" and "not Gnus enough". Eric