In my .emacs I use

(setq window-combination-resize nil)

to prevent Emacs from resizing split windows evenly.

In the upper part of the buffer I usually have an Org mode file, in the bottom part is the agenda view. I chose to have the agenda view much smaller than the Org-mode above.

On my GNU/Linux machine (Emacs 26.3), when rebuilding the agenda view with r, the uneven split size is kept. That's how it should be.

On the Windows machine in the office (Emacs 27.2), when rebuilding the agenda view with r, the split windows are always resized evenly. Seems like Emacs ignores my configuration.

Am I doing something wrong or is (setq window-combination-resize nil) ignored in the builds for Windows?

  • nil should be the default value for this variable, so you should not even have to set it in your .emacs. Nevertheless, check the value on Windows with C-h v window-combination-resize - it might be that somehow it is not set properly. – NickD Jun 18 at 15:26
  • You are right, thank you! Seems like I messed up some other things in the .emacs. I recreated it from scratch and decided to use org-agenda-window-frame-fractions instead to get the desired smaller agenda view. – ontheair Jun 20 at 5:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.