help-gnu-emacs
[Top][All Lists]
Advanced

[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 00:11:49 +0200
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

Bingham, Jay wrote:

<Send replies only to the list not to this address>

On: Wednesday, September 14, 2005 at 6:43 PM 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?

Lennart,

I tried your bw.el package on emacs 21.3 running on Win2K, and found the
following:

After evaluating the buffer containing the package and splitting window
into three uneven windows I executed bw-balance.  I received the
following message:
let: Wrong number of arguments: #<subr enlarge-window>, 3


However, when I tried some more complex configurations of windows, emacs
stopped responding and I would have to kill the process.

Here are two windows configurations that caused emacs to hang:
Thanks Jay! I am only using CVS Emacs and missed that enlarge-window only take two args in 21.3.

The window configurations you tested works well in CVS Emacs. I guess they do not converge because my code depends on the third arg to enlarge-window. I have made some small changes that I hope will make the code work on 21.3 too, but the result will of course is some cases not be as good as in CVS Emacs though. The new version is 0.52 and I have just uploaded it.

I have however found a case where bw-balance does not work, but I believe it is a bug in CVS Emacs. I have told this on the Emacs Devel list and I am waiting for some answer.

Best wishes,
Lennart




reply via email to

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