emacs-devel
[Top][All Lists]
Advanced

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

Re: Infrastructural complexity.


From: martin rudalics
Subject: Re: Infrastructural complexity.
Date: Sat, 25 Jul 2009 10:54:12 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

> 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.

> Note that `adjust-window-trailing-edge' is conceptually a lower level
> and more predictable operation than `enlarge-window'.  One could
> imagine rewriting `enlarge-window' in Lisp and making it use
> `adjust-window-trailing-edge'.

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.

martin




reply via email to

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