GNU bug report logs - #46087
26.3; Org should not bind keys in keymaps other than Org keymaps

Previous Next

Package: org-mode;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 24 Jan 2021 22:42:02 UTC

Severity: minor

Full log


Message #8 received at 46087 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Drew Adams <drew.adams <at> oracle.com>, "46087 <at> debbugs.gnu.org"
 <46087 <at> debbugs.gnu.org>
Subject: RE: 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))




This bug report was last modified 3 years and 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.