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: Mon, 16 Sep 2019 07:31:33 +0800 Message-ID: <87sgoxf86i.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> <87v9tuh08w.fsf@ericabrahamsen.net> <87h85dycnh.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="111530"; 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 Mon Sep 16 01:32:15 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 1i9e07-000Sre-0i for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Sep 2019 01:32:15 +0200 Original-Received: from localhost ([::1]:57658 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i9e05-00030P-FC for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Sep 2019 19:32:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35038) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i9dzy-0002zt-7G for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2019 19:32:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i9dzw-000556-7b for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2019 19:32:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40070) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i9dzu-00053W-Iv for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2019 19:32:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i9dzu-0001Cs-Da for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2019 19:32: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: Sun, 15 Sep 2019 23:32:02 +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.15685903094606 (code B ref 36903); Sun, 15 Sep 2019 23:32:02 +0000 Original-Received: (at 36903) by debbugs.gnu.org; 15 Sep 2019 23:31:49 +0000 Original-Received: from localhost ([127.0.0.1]:48891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9dzh-0001CE-I4 for submit@debbugs.gnu.org; Sun, 15 Sep 2019 19:31:49 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:36792 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9dze-0001Br-Q5 for 36903@debbugs.gnu.org; Sun, 15 Sep 2019 19:31:47 -0400 Original-Received: from localhost (unknown [36.102.228.103]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 19DE5FA028; Sun, 15 Sep 2019 23:31:39 +0000 (UTC) In-Reply-To: <87h85dycnh.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 15 Sep 2019 14:20:02 +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:166524 Archived-At: Lars Ingebrigtsen writes: > Eric Abrahamsen writes: > >> 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. > > Can't you just make the erroring-out functions return "" or something if > they're called before the registry is loaded? Or make them initialise > the registry if called when it's not loaded? I can do that for in-tree code, and my own packages, but who knows what else is out there that might try something similar. But it's probably a better solution than anything else I can think of. I'd be inclined to just have them return an empty string. Another possibility would be to have the formatting code wrap the user-function funcall in `ignore-errors' and return an empty string there. Eric