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
http://ourcomments.org/Emacs/DL/elisp/test/
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?
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel