GNU bug report logs -
#38843
define-globalized-minor-mode enable boolean will prevent loading with :require
Previous Next
Reported by: "Paul W. Rankin" <hello <at> paulwrankin.com>
Date: Wed, 1 Jan 2020 07:11:01 UTC
Severity: normal
Tags: fixed
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> On 31 Oct 2020, at 12:49 am, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
>
> So the problem is basically that you've switched a minor mode on via
> Customize, but then deleted the minor mode. I'm actually not sure
> whether it makes sense for Emacs to signal an error or not here: You've
> asked to have a mode switched on, but then Emacs can't do that because
> it can't find the file it's defined in.
The customize system is designed not to prevent loading even when libraries aren't found, e.g. settings persist after uninstalling their library, because it makes sense that if the user then chooses to reinstall they get to keep their settings. The counter option is that uninstalling a package removes that packages settings, forcing the user to go through and set them all again.
The separation of settings and source is a good thing, and ought not to trip Emacs over. The absence of the source should not matter a wink to the settings.
This bug report was last modified 4 years and 206 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.