GNU bug report logs -
#74492
31.0.50; [FR] explicit minor mode precedence
Previous Next
Reported by: Eshel Yaron <me <at> eshelyaron.com>
Date: Sat, 23 Nov 2024 13:50:02 UTC
Severity: normal
Found in version 31.0.50
Fixed in version 31.1
Done: Eshel Yaron <me <at> eshelyaron.com>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
I'm creating this feature request to track an idea that Stefan brought
up in bug#74404:
> BTW, maybe we should add some notion of minor mode precedence since such
> problems are actually fairly common. We could do something similar to
> what we do with `add-hook`, so `add-minor-mode` takes care of obeying
> the ordering constraints.
Currently, the last minor mode to be defined takes precedence over
previously defined minor modes, at least in terms of keybindings. This
makes it hard-to-impossible for minor modes that need high precedence to
"guard" their keybindings from minor modes defined at any later time.
An explicit mechanism for specifying minor mode precedence could help.
Best,
Eshel
This bug report was last modified 231 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.