emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Zoom: a window management minor mode -- best practices and questions


From: Andrea Cardaci
Subject: Re: Zoom: a window management minor mode -- best practices and questions
Date: Thu, 3 May 2018 11:46:42 +0200

> If you mean that the selected window is resized as result of creating
> a new window, then yes, "window is resized" takes care of this.  (What
> about deleting a window, btw?)

Yes I mean that and the same applies when a window is deleted.

> No, because pre-redisplay-functions are run _before_ anything
> significant in redisplay, so your chances to confuse redisplay are
> nil.

Got it, thanks.

> Well, as you said, the main purpose of Zoom is to prevent resizing of
> the selected window due to Emacs's own considerations.  My
> interpretation of this was that you want to control the size of the
> selected window, and disallow anything else changing it.  So if you
> change the size at select-window time, and the size is not allowed to
> change after that, you have reached your purpose, right?

Hm maybe, but not only that, the reason why I use `balance-windows`
before resizing the selected window is ensure some consistency in the
sizes of other windows too.



reply via email to

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