emacs-devel
[Top][All Lists]
Advanced

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

Re: window groups


From: martin rudalics
Subject: Re: window groups
Date: Fri, 30 May 2008 09:08:05 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

>     - Assert that layouts change in a conceivable way.
>
> I am not sure what distinction is meant by "a conceivable way".
> Did you mean some other word instead of "conceivable"?

I meant "predictable".

>     Technically, group numbers get assigned like window numbers.  It would
>     be possible, albeit inefficient, to avoid using numbers: Some group
>     identifier must get stored together with each window-configuration.
>
> Can you create an object (even a cons cell) to represent the window
> group?  It just has to be unique, different from the cons cell used
> for any other window group.

I can - but what should the cons cell store?  I want to compare group
identifiers quickly in C code and I want to store them as list structure
on file.

>      > It seems unclean that the group disappears if you happen
>      > to reduce it to just one window.
>
>     Currently, an invariant requires that group root windows are internal
>     Emacs windows.  Hence `delete-window' automatically dissolves a group as
>     soon as it has one visible member.  I suppose it wouldn't be difficult
>     to relax that invariant.
>
> I think that change is essential for practical use, and also needed
> for simplicity.

OK





reply via email to

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