[Top][All Lists]

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

Re: balance-windows again

From: Lennart Borgman
Subject: Re: balance-windows again
Date: Fri, 16 Sep 2005 09:01:22 +0200
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

Lennart Borgman wrote:

Some time ago I wrote some suggestions about how to rewrite balance-windows to use the windows split tree. I have tried to do that. The file bw.el at


contains my rewrite of balance-windows. Could those who are interested please test this version?

I have fixed some bugs (after feedback from Jay Bingham) and I believe it works ok now. It works a little bit better with CVS Emacs than 21.3.

bw.el balances windows both horizontally and vertically. I think bw-balance could be a replacement for the current balance-windows. (Though there seem to be other candidates too.)

Some heuristics are used to find the window split tree and those fails sometimes. It does not make the resulting window resizing awful, but it could be better if the split tree where known. However giving read access to the window split tree from elisp would simplify the code in bw.el a lot and make the result better in those cases.

Is there any possibility that access to the window split tree from elisp could be implemented in Emacs?

reply via email to

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