Native frame transposition coming to Emacs 31

nanna | 181 points

Kudos to the programmer, who is apparently still in high school: https://p.bauherren.ovh/

globnomulous | 4 days ago

I find myself very rarely using window features of emacs. Am I missing out on something? I value mostly screen space dedicated to the one thing I am doing.

gumbojuice | 4 days ago

I’m confused, is this operating on Emacs’ frames or windows.

** For those here that are not Emacs users these terms mean the opposite of what you’re likely used to.

eddieh | 4 days ago

The joy of this is that emacs doesn't care if you have a desktop or if you're headless in a terminal. Which sounds a but morbid.

smitty1e | 4 days ago

Any chance folks have pointers on how I could do this for the windows of my desktop? Running PopOS and would love to setup some keyboard macros to setup common window arrangements. I am embarrassed that I have basically no idea where to start in doing that, though. :( Would I be looking to do a Gnome plugin?

taeric | 3 days ago
[deleted]
| 3 days ago

Oh, this will be nice. I've had a home-grown (rotate-windows) function in my config for a long time. I love it when I can shrink my config because core now has an equivalent.

a_e_k | 3 days ago
[deleted]
| 3 days ago
[deleted]
| 3 days ago

I once created a custom function that toggles between vertical and horizontal splits of two windows. It’s quite handy. https://github.com/masutaka/dotfiles-public/blob/66c976fb069...

masutaka | 3 days ago

This is great! I often have a situation where I have a nice three pane split with one split vertically and another one horizontal in one of the vertical panes, but if I close the big vertical pane, I now just have two wide horizontal panes and have to recreate the layout.

kfajdsl | 3 days ago

I am on macOS with a split screen browser left and emacs in the right half. Max 2 window vertical split in that frame and if needed a C-x 5 2 which opens a full screen frame workspace to the right for a c-x 3 side by side layout. That’s it - all the other buffers are backstage partying until they get called.

mediumsmart | 4 days ago

These functions are far more useful than I would have expected them to be. Will have to find a way to add them to my muscle memory. Curious if there are any obvious keybindings people have started using for them?

taeric | 3 days ago

Oh this makes me quite happy! I’ve been using an awful hack to do horizontal-mirroring (that sometimes borks), I’m so glad to find there’ll be a better way. Massive props to the author!

malicka | 3 days ago

I've gravitated to the use of a 43" 4K TV as my main monitor (and have a few others scattered about for auxiliary purposes) and when hacking hard have a full screen emacs window split into lots of panes, vertically and horizontally a la Mondrian. I am confused about how others get anything done without a similar configuration! This new feature seems like it will be great fun.

smurpy | 3 days ago

nice ! i typically use windmove.el for all windowing needs within Emacs including (but not limited to) moving between windows, swapping buffers etc. etc.

signa11 | 4 days ago

Neat, I've been using this for a while. Happy to strike off yet another package.

precompute | 3 days ago