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: Juri Linkov <juri <at> linkov.net>
To: Augusto Stoffel <arstoffel <at> gmail.com>
Cc: 50104 <at> debbugs.gnu.org
Subject: bug#50104: 28.0.50; 'M-o' is bound in diff-mode-map
Date: Wed, 18 Aug 2021 19:25:43 +0300
> 'M-o' is bound to 'diff-goto-source' in 'diff-mode-map'.  I guess this
> binding should be removed, to be in line with the freeing up of 'M-o'
> elsewhere.  Otherwise, a global binding to 'M-o' is overridden in diff
> buffers.

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.

> Note also that there are several other bindings for that command in diff
> buffers: 'RET', 'C-c C-c', etc.
>
> (While we're at this, I'll express my opinion that, apart from leaving
> 'M-o' reserved for the user to customize, 'other-window' would the only
> sensible use for that key.)

For the long time, the bigger problem was to get rid of remaining 'M-s'
keybindings.  For example, it's impossible to use word search 'M-s M-w'
in log-edit buffers (where 'M-s' is bound to log-edit-comment-search-forward)
and in some other modes.




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

Previous Next


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