Subject: Re: bug#41129: outline-mode: New keybindings for demote/promote/move-subtree

From: Howard Melman <[email-masked]>
Date: Fri, 29 Jan 2021 15:06:07 -0500

Lars Ingebrigtsen <[email-masked]> writes:

> Stefan Kangas <[email-masked]> 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