bug#81406: 31.0.90; rotate-windows loses window balance when window-combination-resize is t

martin rudalics via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email protected]> Fri, 7 Aug 2026 17:58:51 +0200
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
 > I disagree, dedicated windows are windows that are dedicated to one
 > buffer, but that dosn't mean you can do stuff like split them or even
 > change their size.  rotate-windows is an exception, it seems like it's
 > moving the buffers around, but actually it's destroying and recreating
 > the window tree from scratch, so it gives the wrong impressoin.

All these functions destroy and recreate the window tree from scratch.
'delete-other-windows-internal' in 'window--transpose' destroys it.

 > The
 > other window-x don't have this issue, they're pretty clear about that
 > they do. Since dedicated windows are splittable, there's no reason why
 > they shouldn't be transposable etc.

I now added an option so users can decide themselves what they want.

martin