[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal: new default bindings for winner and windmove
From: |
Eli Zaretskii |
Subject: |
Re: Proposal: new default bindings for winner and windmove |
Date: |
Tue, 02 Jul 2024 14:57:31 +0300 |
> From: Daniel Colascione <dancol@dancol.org>
> Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
> Date: Mon, 01 Jul 2024 19:18:36 -0400
>
> +Using the keyboard, you can switch windows directionally by typing
> +@kbd{C-x 4} followed by an arrow key. Emacs determines the direction of
> +movement using the geometry of windows on the screen rather than history
> +of recently-selected windows, so these commands may often by less
> +surprising than @kbd{C-x o} above. ^^
Did you mean "be"?
> +@kindex C-x 4 S-LEFT
> +@kindex C-x 4 S-RIGHT
> +@kindex C-x 4 S-UP
> +@kindex C-x 4 S-DOWN
> +
> +These commands are like the other directional movement commands, except
> +that Emacs, instead of moving point to the window in the desired
> +direction, moves the whole buffer state, as if taking the current buffer
> +and moving it to the desired window.
This description needs to be clarified. Something like (I hope I
understand the full effect of the command):
These commands switch to a window in the direction of the arrow, like
@kbd{C-x 4} followed by an arrow key, but they also move the current
buffer to be displayed in that window. (The buffer which was
displayed in that window will be now displayed in the
previously-selected window, i.e. the two buffers swap their windows.)
> --- a/etc/tutorials/TUTORIAL
> +++ b/etc/tutorials/TUTORIAL
> @@ -907,6 +907,11 @@ cursor which blinks when you are not typing. The other
> windows have
> their own cursor positions; if you are running Emacs in a graphical
> display, those cursors are drawn as unblinking hollow boxes.
>
> +You can also use arrow keys prefixed by C-x 4 to move
> +between windows directionally.
> +
> +>> Type C-x 4 <up> to move to the window above the current one.
AFAICT, if the user does exactly what the tutorial says, he/she will
be in the upper window at this point, so "C-x 4 <UP>" will signal an
error. Perhaps the text should be modified to cater to both
situations, because it is unknown how many times the user will type
"C-x o".
Re: Proposal: new default bindings for winner and windmove, Philip Kaludercic, 2024/07/02
- Re: Proposal: new default bindings for winner and windmove, Daniel Colascione, 2024/07/02
- Re: Proposal: new default bindings for winner and windmove, Alan Mackenzie, 2024/07/02
- Re: Proposal: new default bindings for winner and windmove, Dmitry Gutov, 2024/07/02
- Re: Proposal: new default bindings for winner and windmove, Daniel Colascione, 2024/07/02
- Re: Proposal: new default bindings for winner and windmove, Alan Mackenzie, 2024/07/02
- Re: Proposal: new default bindings for winner and windmove, Alfred M. Szmidt, 2024/07/02
Re: Proposal: new default bindings for winner and windmove,
Eli Zaretskii <=
Re: Proposal: new default bindings for winner and windmove, Stefan Kangas, 2024/07/02
Re: Proposal: new default bindings for winner and windmove, Liu Hui, 2024/07/02
Re: Proposal: new default bindings for winner and windmove, Visuwesh, 2024/07/02
Re: Proposal: new default bindings for winner and windmove, Pedro Andres Aranda Gutierrez, 2024/07/02