unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Paul W. Rankin" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 38843@debbugs.gnu.org
Subject: bug#38843: define-globalized-minor-mode enable boolean will prevent loading with :require
Date: Sat, 31 Oct 2020 01:25:47 +1000	[thread overview]
Message-ID: <E10D3074-5477-4443-872D-8EF84E70E60F@paulwrankin.com> (raw)
In-Reply-To: <87ft5vg45r.fsf@gnus.org>


> On 31 Oct 2020, at 12:49 am, Lars Ingebrigtsen <larsi@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.






  reply	other threads:[~2020-10-30 15:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-01  7:10 bug#38843: define-globalized-minor-mode enable boolean will prevent loading with :require Paul W. Rankin
2020-10-30 14:49 ` Lars Ingebrigtsen
2020-10-30 15:25   ` Paul W. Rankin via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2020-11-01 12:16     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E10D3074-5477-4443-872D-8EF84E70E60F@paulwrankin.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=38843@debbugs.gnu.org \
    --cc=hello@paulwrankin.com \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).