GNU bug report logs -
#41129
outline-mode: New keybindings for demote/promote/move-subtree
Previous Next
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
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>>> (define-key outline-minor-mode-map (kbd "M-<left>") 'outline-demote)
>>> (define-key outline-minor-mode-map (kbd "M-<right>") 'outline-promote)
>>
>> Sorry, that should be the other way around:
>>
>> (define-key outline-minor-mode-map (kbd "M-<left>") 'outline-promote)
>> (define-key outline-minor-mode-map (kbd "M-<right>") 'outline-demote)
>
> `M-<right>' (etc) are already bound to cursor movement commands by
> default, so this would shadow these bindings in outline-minor-mode? I
> think that would be inconvenient for many people.
>
> I'm not sure M-<right> (etc) are obvious bindings for outline handling
> even if that weren't the case. Anybody got any opinions here?
That is difficult question. Because people coming from org background
will find it difficult if ‘M-<right>’ and ‘M-<left>’ don’t work as
expected by them. But then how many people will use both, org and the
outline-mode.
Irrespective of the above issue, in my opinion, there should be a
standardized way of doing similar things in Emacs.
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.