emacs-devel
[Top][All Lists]
Advanced

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

Re: Add function to rotate/transpose all windows


From: martin rudalics
Subject: Re: Add function to rotate/transpose all windows
Date: Sun, 13 Oct 2024 10:17:58 +0200
User-agent: Mozilla Thunderbird

>> Then keybindings could be like these:
>>
>> C-x w r a       rotate-windows-anticlockwise
>> C-x w r c       rotate-windows-clockwise
>> C-x w r h       flip-windows-horizontally
>> C-x w r v       flip-windows-vertically
>> C-x w r t       transpose-windows
>
> Yeah this seems good.

I'm not sure whether "horizontally" and "vertically" are good terms.  In
the past, people complained that for example 'split-window-horizontally'
could mean side-by-side or at some horizontal axis.  Maybe
'flip-windows-left-right' and 'flip-windows-above-below' would be better
and should be reflected in the key mnemonics somehow.

> Btw Martin, did you have look at the code for these functions, and think
> it is ready? I am still waiting on assign@gnu.org(I sent them signed
> form) but then we can add it.

Yes.  Also people might still want to comment on my latest patch to
'split-window'.

> toggle window dedicated seems like an extremely useless command tbh,
> have you should about binding it to C-x w D or C-x w C-d.  I prefer the
> former, but capital keys are not really used in C-x maps, but lots of
> major modes(gnus,org) use them.

You should hurry here: IIUC 'toggle-window-dedicated' is new in the
release version and if you want to change its default binding, you'd
better do that right away there.

> Also C-x w o for open in new frame/tab could be used.

"o" could be also used for deleting an "old" window in some direction
but I think that it has been already taken to mean "other" for too long.

But whatever you do my opinion should hardly count - I'm using my own
sets of key bindings ever since.

martin



reply via email to

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