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

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

bug#46087: 26.3; Org should not bind keys in keymaps other than Org keym


From: Drew Adams
Subject: bug#46087: 26.3; Org should not bind keys in keymaps other than Org keymaps
Date: Sun, 24 Jan 2021 22:54:22 +0000

> Org mode is a major mode.  It shouldn't be binding keys in keymaps such
> as `narrow-map', by default.
> 
> Please consider changing the default values of
> `org-replace-disputed-keys and `org-disputed-keys' so that, by default,
> Org does not create key bindings other than in its own keymaps.
> 
> Besides this general politeness, which should be expected, it makes no sense
> (does it?) for a command such as `org-narrow-to-element' to be bound to keys
> in non-Org buffers.  (And there are 3 such bindings in `narrow-map'.)

And if you disagree, and want to close this as "wont-fix",
then at least consider that a _minimum_ of politeness is
to do this:

(unless (lookup-key MAP KEY) (define-key MAP KEY COMMAND))





reply via email to

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