GNU bug report logs - #41129
outline-mode: New keybindings for demote/promote/move-subtree

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefankangas <at> gmail.com>

Date: Thu, 7 May 2020 20:50:02 UTC

Severity: wishlist

Fixed in version 29.1

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: Howard Melman <hmelman <at> gmail.com>
To: 41129 <at> debbugs.gnu.org
Subject: bug#41129: outline-mode: New keybindings for demote/promote/move-subtree
Date: Fri, 29 Jan 2021 15:06:07 -0500
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Stefan Kangas <stefan <at> marxist.se> writes:
>
>>> Irrespective of the above issue, in my opinion, there should be a
>>> standardized way of doing similar things in Emacs.
>>
>> Agreed.  Perhaps it is possible to find a better alternative.  Such an
>> alternative should ideally be suitable for at least all three of
>> outline-mode, org-mode and outline-minor-mode.
>>
>> It might be hard to settle on something that makes everyone happy,
>> however.
>
> Indeed.  Major modes (like Org) have greater leeway in defining
> keystrokes than minor modes, though -- a minor mode has to be more
> careful not to redefine common keystrokes because there's less of a "buy
> in" from users than with a major mode like Org.
>
> So it might make sense for Org to bind M-<right> to something while it'd
> be too intrusive for outline-minor-mode.

If I'm correct that the standard cursor movement bindings on
M-<right>, M-<left> you're referring to are word movement
commands, then they also have existing bindings on C-<right>
and C-<left> and are at least very similar to M-f and M-b..
So perhaps it's ok if outline-minor-mode shadows the
M-<arrow> flavor of them, particularly if it aligns with
org-mode.

-- 

Howard





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

Previous Next


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