Subject: Re: bug#17090: desktop.el saves unusable register data in register-alist

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 30 Sep 2019 06:40:19 +0200

Juanma Barranquero <[email-masked]> writes:

> But, I suppose it is perhaps not worth fixing now, because after that
> we implemented framesets, and you can do
>
> C-x r f a
>
> and the frameset in register a is saved and correctly reloaded
> afterwards. It's a bit of an overkill, of course.
>
> If we want to fix it, perhaps we could trick our way, by using
> framesets to save a one-frame frameset with some special info to mark
> that it is really intended to be just a window-configuration, and
> then, when reloading the desktop, restoring somehow the window
> configuration into the register, from the frameset data. No idea if it
> is worth the effort, but I think it would be doable.

It sounds like we should perhaps refer users to the C-x r f a command
instead...  But in any case, desktop.el probably shouldn't be saving
these useless window configuration registers.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no