bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#50430: [External] : bug#50430: windmove bindings now override org-re


From: Drew Adams
Subject: bug#50430: [External] : bug#50430: windmove bindings now override org-read-date
Date: Mon, 6 Sep 2021 22:46:29 +0000

> a common situation where you want to define bindings
> in a minor mode, but you don't want them to override
> minibuffer bindings.

The global minor mode commands you bind could just
invoke a minibuffer key binding, if any, when there.

Or if you don't want the global minor mode to have
_any_ effect in the minibuffer then you could, in
effect, exclude minibuffers in some way.

But yes, those would be workarounds.

>I can indeed think of situations where you want to
> override a binding globally, so it seems like it
> would be best if there were ways to declare this
> behavior on a per-mode basis.

Sounds reasonable to me.  But is it only about key
bindings, or would you be asking (instead? also?)
for a general, easy way to exclude some buffers
from a global minor mode?  IOW, instead of it being
entirely global, have it be on (locally) everywhere
except in specified buffers?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]