emacs-devel
[Top][All Lists]
Advanced

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

Re: Infrastructural complexity.


From: Stefan Monnier
Subject: Re: Infrastructural complexity.
Date: Sat, 25 Jul 2009 10:48:19 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux)

>> I used window configurations as a simple and reliable way to make
>> sure it would not delete the window.  If someone wants to make it use
>> a different and faster method, I have nothing against it.

> Any such method would have to guess whether, which, and how many,
> windows `enlarge-window' is going to delete.  Counting windows and
> restoring saved window configurations seems indeed like the most simple
> and reliable approach to do that.

How 'bout: bind a enlarge-window-abort-before-delete variable to
t in adjust-window-trailing-edge, and then check this variable before
deleting a window?

> Currently, `adjust-window-trailing-edge' has a bug in that it does not
> handle fixed-size windows correctly, see bug#3689.  I think we need an
> `enlarge-window' function which does not delete windows but is allowed
> to resize any other windows that are not fixed-size.

100% agreement.


        Stefan




reply via email to

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