all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Why not enable extra keys by default?
@ 2024-01-10 21:51 Rudolf Adamkovič
  2024-01-11 12:42 ` Ihor Radchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Rudolf Adamkovič @ 2024-01-10 21:51 UTC (permalink / raw)
  To: emacs-orgmode

Hi folks,

I have the 'org-use-extra-keys' customization enabled to avoid reaching
for the arrow keys, but the variable needs to be set before loading Org,
which makes literate configuration a bit more complex.

Other Emacs commands have alternative keys bound by default, which makes
me wonder, why does Org need the 'org-use-extra-keys' customization?  If
the user rebinds any of the extra keys, their personal key bindings take
precedence, so all should work well for everyone, right?

If so, then why not (1) enable the extra keys by default and (2)
deprecate the 'org-use-extra-keys' customization?

Thank you for your time.

Rudy
-- 
"Mathematics takes us still further from what is human into the region
of absolute necessity, to which not only the actual world, but every
possible world, must conform."
--- Bertrand Russell, 1902

Rudolf Adamkovič <salutis@me.com> [he/him]
Studenohorská 25
84103 Bratislava
Slovakia


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Why not enable extra keys by default?
  2024-01-10 21:51 Why not enable extra keys by default? Rudolf Adamkovič
@ 2024-01-11 12:42 ` Ihor Radchenko
  2024-01-12 17:06   ` Rudolf Adamkovič
  0 siblings, 1 reply; 3+ messages in thread
From: Ihor Radchenko @ 2024-01-11 12:42 UTC (permalink / raw)
  To: Rudolf Adamkovič; +Cc: emacs-orgmode

Rudolf Adamkovič <salutis@me.com> writes:

> I have the 'org-use-extra-keys' customization enabled to avoid reaching
> for the arrow keys, but the variable needs to be set before loading Org,
> which makes literate configuration a bit more complex.

> Other Emacs commands have alternative keys bound by default, which makes
> me wonder, why does Org need the 'org-use-extra-keys' customization?  If
> the user rebinds any of the extra keys, their personal key bindings take
> precedence, so all should work well for everyone, right?
>
> If so, then why not (1) enable the extra keys by default and (2)
> deprecate the 'org-use-extra-keys' customization?

A comment in org-keys.el says:

;;  We only set them when really needed because otherwise the
;;  menus don't show the simple keys

Also, it is not true that re-binding will always work - if user binds
keys before Org mode is loaded (for example, globally), Org mode will
overwrite them.

Finally, C-c <left> / <right> conflict with winner-mode.
ESC <left> / <right> are bound to forward/backward-word by default.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Why not enable extra keys by default?
  2024-01-11 12:42 ` Ihor Radchenko
@ 2024-01-12 17:06   ` Rudolf Adamkovič
  0 siblings, 0 replies; 3+ messages in thread
From: Rudolf Adamkovič @ 2024-01-12 17:06 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

Dear Ihor,

Thank you for taking the time to explain the matter to me.

All is clear now!

Rudy
-- 
"Simplicity is complexity resolved."
--- Constantin Brâncuși, 1876-1957

Rudolf Adamkovič <salutis@me.com> [he/him]
Studenohorská 25
84103 Bratislava
Slovakia


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-12 17:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-10 21:51 Why not enable extra keys by default? Rudolf Adamkovič
2024-01-11 12:42 ` Ihor Radchenko
2024-01-12 17:06   ` Rudolf Adamkovič

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.