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: Pranshu Sharma
Subject: Re: Add function to rotate/transpose all windows
Date: Wed, 18 Dec 2024 01:36:01 +1000
User-agent: Gnus/5.13 (Gnus v5.13)

martin rudalics <rudalics@gmx.at> writes:

> We have to resolve the following issues:
>
> - Which of my changes should I install.  I think the diff I posted on
>   2024-11-14 should suffice.  Right?  I attach a copy so you can check.

yes, thats fine

> - Have you settled on final names for your functions?  I need them so I
>   can write a(n at least) preliminary section in the Elisp manual.

I have

> - Have the keybindings been established?

Juri, what do you think?  IMO we could have
C-x w t   - transpose
      f   - flip window veritcly
      C-f - flip window horizontally
      r   - rotate clockwizse
      C-r - roate anti clocwise
      c   - rotate layout
      C-c - other direction rotate layout

IMO preserving keybindings for future use is premature optimisation,
breaking backward compatibility in terms of keybindings is generally
harmless.

Also is there any reason emacs doesn't bind M-{A-Z} (eg M-H), even
though they work on tty?  If not, someone, if not us, should break the
ice on using these bindings, we could bind rotate-window-layout to M-R.
That could be super handy, it's much more ergonomic than suepr key.

> - Where should your changes be installed?

We discussed this previously, and decided that it should not be in
window.el as it is loaded, instead we should put it in an autoloaded
file.  IMO we should make new file window-transpose.el, putting it in
windowmove would not make much sense.  wdyt?



reply via email to

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