[Top][All Lists]

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

Re: moving window handling into lisp

From: Lennart Borgman
Subject: Re: moving window handling into lisp
Date: Mon, 27 Jul 2009 16:41:15 +0200

On Mon, Jul 27, 2009 at 4:35 PM, martin rudalics<address@hidden> wrote:
>> I see. Yes, it would be nice to avoid that. But is that really that
>> difficult? I mean you calculate the sizes of all direct children and
>> then you create them. What is the problem with that? (Sorry, I just
>> don't understand.)
> It's not transparent, that is, it depends on the order how things are
> done.  You can set window attributes like `window-size-fixed' only after
> splitting.

That sounds like a real problem. Can't that be moved?

> You have to bind `window-min-height' and `window-min-width'
> around the splitting code.

Is that a problem?

> `set-window-configuration' is much simpler
> in this regard.
>> In winsav.el the problem is that you can't be sure what size the
>> windows get so you have to iterate and do some strange things to get
>> back the original (relative) sizes). But is not that more easy to do
>> if you can create the sizes and adjust them before creating the child
>> windows?
> I suppose we agree that it's much simpler when we can set the window
> sizes directly (and apply any frame resizing afterwards).

Hm, maybe ... ;-)

I do not understand how you mean. But yes, if the sizes can be kept
(or interpreted) as relative sizes when doing frame resizing.

> martin

reply via email to

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