GNU bug report logs - #50104
28.0.50; 'M-o' is bound in diff-mode-map

Previous Next

Package: emacs;

Reported by: Augusto Stoffel <arstoffel <at> gmail.com>

Date: Wed, 18 Aug 2021 08:52:01 UTC

Severity: minor

Tags: wontfix

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 50104 <at> debbugs.gnu.org, Augusto Stoffel <arstoffel <at> gmail.com>, Juri Linkov <juri <at> linkov.net>
Subject: bug#50104: 28.0.50; 'M-o' is bound in diff-mode-map
Date: Thu, 19 Aug 2021 18:28:47 +0200
Andreas Schwab <schwab <at> linux-m68k.org> writes:

>> The standard key to display a buffer in another window is 'C-o', not 'M-o',
>> like is used in list-buffers, dired, compilation, grep, occur, etc.,
>> so maybe diff-mode should use the same.
>
> diff-mode is for editible buffers, so it should not override C-o.

Yup.

I grepped through Emacs to see whether other modes also define `M-o'...
and there's a handful that do.  I think it would be pretty annoying to
change these bindings (for users), so I think we should just leave
them as is, even though that means that any new global bindings for
`M-o' are shadowed in those buffers.

I don't think we've guaranteed anything about not using `M-o' for
anything in-tree.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

Previous Next


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