emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Control help- and Info-mode buffers from other buffers


From: Juri Linkov
Subject: Re: Control help- and Info-mode buffers from other buffers
Date: Fri, 02 Jun 2023 09:34:50 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

> Basically that these were two discussions, one where Juri asked me about my
> experiences about running commands in other windows, and one about the
> patch. Juri dislike the idea of wrapping all commands into 
> with-selected-window
> and is trying to find a way to transfer command execution to other window
> without need to wrap commands explicitly as I understand him, which I hope he
> will find.

If you ask me what would be an ideal UI, "UI of a dream", then
the answer is obvious.  Emacs already has such a rudimentary UI.
It works perfectly, but currently is limited to a tiny set of commands.

The key point of the existing "do-in-other-window" UI is that
no additional prefix keys are required, only a modifier key
to hold down while typing other-window navigation keys.

The current modifier key is 'M-'.  So while holding down the ALT key
you can use the navigation keys 'PgUp', 'PgDn', 'Home', 'End'
that browse the buffer in another window.  While doing this,
a natural wish appears to enable more navigation keys.
Why not enable arrow keys as well?  Why only 'M-PgUp' is supported,
but not 'M-up'?  Maybe the answer is that then some keys would conflict
with default keybindings, for example, with 'M-left'.

Such kind of problems found solutions in windmove.  For its
numerous keys it's possible to choose a dedicated modifier,
or a combination of modifiers.

So in the perfect UI, you could just hold down a modifier,
then type the usual keys that you would type if another window
was selected.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]