[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45330: 28.0.50; debbugs-gnu: Can't select reports before having star
From: |
Eric Abrahamsen |
Subject: |
bug#45330: 28.0.50; debbugs-gnu: Can't select reports before having started Gnus |
Date: |
Thu, 23 Dec 2021 14:42:04 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
On 12/12/21 03:46 AM, Michael Heerdegen wrote:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> I can switch the test to be something more explicit, but how about --
>
> Please let's not forget about this again.
>
> What has yet to be done to fix this issue?
Okay, dang it, here we go. Having thought about it, it seems like the
solutions might be simpler than I thought. `gnus-registry-initialize'
looks like this:
(defun gnus-registry-initialize ()
"Initialize the Gnus registry."
(interactive)
(gnus-message 5 "Initializing the registry")
(gnus-registry-install-hooks) => sets gnus-registry-enabled = t
(gnus-registry-install-shortcuts)
(if (gnus-alive-p)
(gnus-registry-load)
(add-hook 'gnus-read-newsrc-el-hook #'gnus-registry-load)))
It makes no sense to set `gnus-registry-enabled' to t when we haven't
fully loaded the registry. How about we move
`gnus-registry-install-hooks' and `gnus-registry-install-shortcuts' into
`gnus-registry-load', after the actual loading, a la the attached patch?
Does this solve the problems you're seeing?
Eric
gnusregistryguard.diff
Description: Text Data
- bug#45330: 28.0.50; debbugs-gnu: Can't select reports before having started Gnus, (continued)
- bug#45330: 28.0.50; debbugs-gnu: Can't select reports before having started Gnus, Lars Ingebrigtsen, 2021/12/05
- bug#45330: 28.0.50; debbugs-gnu: Can't select reports before having started Gnus, Lars Ingebrigtsen, 2021/12/06
- bug#45330: 28.0.50; debbugs-gnu: Can't select reports before having started Gnus, Eric Abrahamsen, 2021/12/06
- bug#45330: 28.0.50; debbugs-gnu: Can't select reports before having started Gnus, Michael Heerdegen, 2021/12/06
- bug#45330: 28.0.50; debbugs-gnu: Can't select reports before having started Gnus, Eric Abrahamsen, 2021/12/06
- bug#45330: 28.0.50; debbugs-gnu: Can't select reports before having started Gnus, Michael Heerdegen, 2021/12/06
- bug#45330: 28.0.50; debbugs-gnu: Can't select reports before having started Gnus, Michael Heerdegen, 2021/12/11
- bug#45330: 28.0.50; debbugs-gnu: Can't select reports before having started Gnus,
Eric Abrahamsen <=
- bug#45330: 28.0.50; debbugs-gnu: Can't select reports before having started Gnus, Michael Heerdegen, 2021/12/31
- bug#45330: 28.0.50; debbugs-gnu: Can't select reports before having started Gnus, Eric Abrahamsen, 2021/12/31