[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: desktop-restore-frames
From: |
martin rudalics |
Subject: |
Re: desktop-restore-frames |
Date: |
Mon, 29 Jul 2013 14:11:42 +0200 |
> Well, yes, sure (one, or two if using a minibufferless /
> minibuffer-only setup). But my point is that desktop-clear allows the
> user to set up buffers s/he doesn't want to "clear", so perhaps it
> makes sense todo the same with frames. OTOH, perhaps not, and just
> going for the easy kill-them-all, Simon de Monfort's style.
Every buffer must have a name. Naming frames is less convenient so I'd
use the kill-them-all approach.
>> I suppose we want to make sure the window selected when saving should be
>> selected after restoring (unless it's a minibuffer window).
>
> Yes.
So the selected frame is that window's frame.
>> It has the advantage that we can save "something like" registered frame
>> configurations to disk and read them back.
>
> That, and also that it restores "dead" frames.
Which is a considerably advantage.
martin