"Ehud Karni" <[EMAIL PROTECTED]> 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------ _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs