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

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

Re: New balance-windows


From: Pascal Bourguignon
Subject: Re: New balance-windows
Date: Mon, 08 Aug 2005 19:55:16 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Ehud Karni" <address@hidden> writes:
> If 2 more splits are done, both functions fails:
>
>     After `balance-windows'           After my new function
>     +-----------+-----------+        +-----------+-----------+
>     |           |    8      |        |           |   10      |
>     |   17      |           |        |   14      |           |
>     |           +-----------+        |           +-----------+
>     |           |           |        +-----------+   10      |
>     +-----------+           |        |           |           |
>     |           |   17      |        |           +-----+-----+
>     |   14      |           |        |   17      |     |     |
>     |           +-----+-----+        |           | 10  | 10  |
>     |  [*]      |  4  | 4   |        |           |     |     |
> --> +------+----+---+-+-----+  -V-   +------+----+---+-+-----+ <---
>     |   8  |        |  8    |        |      |        |       |
>     |      |        |       |        |  12  |  12    |  12   |
>     +------+--------+-------+        |      |        |       |
>     |                       |        +------+--------+-------+
>     |          14           |        |          10           |
>     |                       |        |                       |
>     +-----------------------+        +-----------------------+
>
> The reason to the failure is that in this configuration the
> vertical border (-V-) , although full length border, can NOT
> be moved by resizing of any window.
>
> I have looked into `enlarge-window' and I it is too complex for
> me to fix it.
> [...] It sure will fail when there is an unmovable edge.

One solution would be to rebuild a new window tree.


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d? s++:++ a+ C+++ UL++++ P--- L+++ E+++ W++ N+++ o-- K- w--- 
O- M++ V PS PE++ Y++ PGP t+ 5+ X++ R !tv b+++ DI++++ D++ 
G e+++ h+ r-- z? 
------END GEEK CODE BLOCK------


reply via email to

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