From: Stefan Kangas <stefan@marxist.se>
To: Pankaj Jangid <pankaj@codeisgreat.org>,
Lars Ingebrigtsen <larsi@gnus.org>
Cc: 41129@debbugs.gnu.org
Subject: bug#41129: outline-mode: New keybindings for demote/promote/move-subtree
Date: Thu, 28 Jan 2021 09:07:30 -0600 [thread overview]
Message-ID: <CADwFkmke=zhzb-=P7a8bvNkxuB8rhuKgP_GKbKLEYUNs6SxqGQ@mail.gmail.com> (raw)
In-Reply-To: <m2czxpv1s6.fsf@codeisgreat.org>
Pankaj Jangid <pankaj@codeisgreat.org> writes:
> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>>> (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.
Yes, it is a real problem. But since this is context dependent, I find
that in practice I am rarely surprised by this. YMMV.
>> 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.
Right, this is the reason for suggesting this in the first place.
FWIW, I find the org-mode bindings to be okay in the sense that at least
they are easy to learn. But I have found myself wanting something a bit
more ergonomic at times.
> 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.
next prev parent reply other threads:[~2021-01-28 15:07 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-07 20:49 bug#41129: outline-mode: New keybindings for demote/promote/move-subtree Stefan Kangas
2020-05-08 17:56 ` Stefan Kangas
2021-01-28 6:28 ` Lars Ingebrigtsen
2021-01-28 9:39 ` Pankaj Jangid
2021-01-28 15:07 ` Stefan Kangas [this message]
2021-01-29 4:49 ` Lars Ingebrigtsen
2021-01-29 20:06 ` Howard Melman
2021-01-29 22:01 ` bug#41129: [External] : " Drew Adams
2021-01-30 6:23 ` Lars Ingebrigtsen
2021-01-30 17:39 ` Howard Melman
2021-01-30 18:00 ` Eli Zaretskii
2021-01-30 18:48 ` Howard Melman
2021-01-30 19:22 ` Eli Zaretskii
2021-01-30 19:40 ` Howard Melman
2021-01-30 19:55 ` Eli Zaretskii
2021-03-03 19:10 ` Juri Linkov
2022-05-09 10:38 ` Lars Ingebrigtsen
2022-05-09 14:31 ` Howard Melman
2022-05-10 2:03 ` Lars Ingebrigtsen
2022-05-11 7:10 ` Juri Linkov
2022-05-11 10:37 ` Visuwesh
2022-05-11 11:56 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADwFkmke=zhzb-=P7a8bvNkxuB8rhuKgP_GKbKLEYUNs6SxqGQ@mail.gmail.com' \
--to=stefan@marxist.se \
--cc=41129@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=pankaj@codeisgreat.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.