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

Pranshu <[email protected]> Thu, 30 Jul 2026 20:18:58 +1000
Newsgroups gmane.emacs.bugs
Message-ID <CADqFYwbj90+uJWe9h+V-xdEfxGzxWsM-LiWvvc4tKp+0LMYWfg@mail.gmail.com>
Hi, sorry for not helping with the issue in time.

In the commit from 2 weeks ago, you added this comment:

> ;; Do we really care - the window/buffer relationship
> ;; should not be affected by rotating.

before the user-error message it gives during rotate-window if all
windows are dedicated. Although from a technical perspective this is
not necessary, but there's 2 reasons why I can think of as to why it
should be that way. (1) Although rotate-window does move windows
around, it dosn't feel that way to the user as much as it feels like
the buffers are being moved around in the windows. If so, it would
seem intutive that windows that are dedicated to the buffer stay that
way. (2) If some(but not all) windows are dedicated, then those
windows are simply not rotated and the other windows rotate around
them. So the fact that dedicated windows will not be rotated seems
consistant with this feature.