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

To reply to this bug, email your comments to 46087 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#46087; Package emacs. (Sun, 24 Jan 2021 22:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 24 Jan 2021 22:42:02 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: 26.3; Org should not bind keys in keymaps other than Org keymaps
Date: Sun, 24 Jan 2021 22:41:27 +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'.)

In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
 of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.18362
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#46087; Package emacs. (Sun, 24 Jan 2021 22:55:02 GMT) Full text and rfc822 format available.

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))




bug reassigned from package 'emacs,org-mode' to 'org-mode'. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 13 Jun 2022 19:02:02 GMT) Full text and rfc822 format available.

bug No longer marked as found in versions 26.3. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 13 Jun 2022 19:02:02 GMT) Full text and rfc822 format available.

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.