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: Sat, 03 Aug 2019 17:16:45 -0700 Message-ID: <87ef21wzrm.fsf@ericabrahamsen.net> References: <87pnlmen9q.fsf@web.de> <87zhkqw965.fsf@ericabrahamsen.net> <87zhkpq0az.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="167530"; 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: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 04 02:17:12 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 1hu4D1-000hSY-FV for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Aug 2019 02:17:11 +0200 Original-Received: from localhost ([::1]:42408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hu4D0-0008DP-Gk for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Aug 2019 20:17:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50745) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hu4Ct-00089Y-HO for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2019 20:17:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hu4Cs-0007jd-Hx for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2019 20:17:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51390) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hu4Cs-0007jX-Ez for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2019 20:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hu4Cs-00061M-8t for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2019 20:17: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, 04 Aug 2019 00:17: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.156487781923125 (code B ref 36903); Sun, 04 Aug 2019 00:17:02 +0000 Original-Received: (at 36903) by debbugs.gnu.org; 4 Aug 2019 00:16:59 +0000 Original-Received: from localhost ([127.0.0.1]:60210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hu4Cn-00060s-08 for submit@debbugs.gnu.org; Sat, 03 Aug 2019 20:16:57 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:54736 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hu4Ck-00060Z-Nc for 36903@debbugs.gnu.org; Sat, 03 Aug 2019 20:16:55 -0400 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id B0292FA0A3; Sun, 4 Aug 2019 00:16:47 +0000 (UTC) In-Reply-To: <87zhkpq0az.fsf@web.de> (Michael Heerdegen's message of "Sun, 04 Aug 2019 01:47:00 +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:164512 Archived-At: On 08/04/19 01:47 AM, Michael Heerdegen wrote: > Eric Abrahamsen writes: > >> > AFAIU the problem is that gnus-registry-db is bound to nil *Bugs* >> >> Do you know why/where this is happening? > > The nil binding? That can only be `gnus-registry-clear'. > > And I guess that explains why I do not see the problem always: when Gnus > is running, it works, and it also works before Gnus has started for the > first time. Okay, so `gnus-registry-clear' should probably also run `gnus-registry-unload-hook'. You're not expecting the registry to be doing it's thing when you've shut down Gnus, but are using debbugs, right? Would you try this definition: (defun gnus-registry-clear () "Clear the registry." (setq gnus-registry-db nil) (gnus-registry-unload-hook)) Huh, right after the definition of `gnus-registry-unload-hook' is this line: (add-hook 'gnus-registry-unload-hook 'gnus-registry-unload-hook) I wonder what that's supposed to mean. Perhaps it should have been a gnus shutdown hook, in which case you wouldn't have seen this error... Anyway, I still think a gnus shutdown is a better place to have this. Eric