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

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

Re: session management with desktop and window configuration


From: Lennart Borgman
Subject: Re: session management with desktop and window configuration
Date: Fri, 1 Jan 2010 16:04:30 +0100

On Fri, Jan 1, 2010 at 3:55 PM, martin rudalics <rudalics@gmx.at> wrote:
>> Strange things happens during resizing.
>
> The inherent problem of resizing is that you can't specify _which_ other
> windows may be affected when resizing a particular window.  So you end
> up doing what your and Stefan's balancing routines do: Adjusting the
> size of one window may break the size of another one and ou have to go
> on until the configuration converges to (a possibly suboptimal) one
> which can't be improved by the algorithm.
>
> My current code allows to specify the sizes of windows directly.  It
> only checks whether the sizes fit - if they do it applies them


Is there an elisp function to access it?


> (in one
> direction only though - so for resizing horizontally and vertically you
> have to run the code twice).


Don't you have to run it once for every node in the window tree?


> What I don't know yet is whether we should
> keep the splitting concept of winsave.el.  IIRC it's a bit tedious since
> you have to make sure that the window you want to split is large enough.
> OTOH writing some extra code to construct a window tree from a saved
> description is not very funny either (especially because I would have to
> write it in C.)
>
> martin
>




reply via email to

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