emacs-devel
[Top][All Lists]
Advanced

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

Re: How to restore the layout?


From: martin rudalics
Subject: Re: How to restore the layout?
Date: Tue, 25 Jun 2013 08:46:51 +0200

> This is a first cut against 24.3; no docstrings, not tested other than
> trivially.

Thank you.  Since I never use desktop (I often restart Emacs to get rid
of any history that piled up during a session) I urge anyone using it to
test this.

> Once window-state-(get|put) do work in the trunk we can try to massage
> it into something better.

Please try with the remedy I hinted at earlier.  In `window-state-get-1'
replace the entry

            (combination-limit . ,(window-combination-limit window))

by something like

            ,@(unless (window-live-p window)
                `(combination-limit . ,(window-combination-limit window)))


,@s never make an expression more comprehensible to me so please
experiment.  If it doesn't work out easily, simply throw the entire

(combination-limit . ,(window-combination-limit window))

expression away.  Dmitry now uses the combination-limit slot for storing
the window's buffer when producing a window configuration and I don't
have the slightest idea whether and how this would infer with what we do
here :-(

Thanks again, martin



reply via email to

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