all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pankaj Jangid <pankaj@codeisgreat.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Stefan Kangas <stefan@marxist.se>, 41129@debbugs.gnu.org
Subject: bug#41129: outline-mode: New keybindings for demote/promote/move-subtree
Date: Thu, 28 Jan 2021 15:09:05 +0530	[thread overview]
Message-ID: <m2czxpv1s6.fsf@codeisgreat.org> (raw)
In-Reply-To: <87k0rx3792.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 28 Jan 2021 07:28:25 +0100")

Lars Ingebrigtsen <larsi@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.





  reply	other threads:[~2021-01-28  9:39 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 [this message]
2021-01-28 15:07       ` Stefan Kangas
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=m2czxpv1s6.fsf@codeisgreat.org \
    --to=pankaj@codeisgreat.org \
    --cc=41129@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=stefan@marxist.se \
    /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.