GNU bug report logs - #17090
desktop.el saves unusable register data in register-alist

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Mon, 24 Mar 2014 20:33:02 UTC

Severity: minor

Merged with 27422

Found in version 25.2

Full log


Message #23 received at 17090 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 17090 <at> debbugs.gnu.org
Subject: Re: bug#17090: desktop.el saves unusable register data in
 register-alist
Date: Mon, 30 Sep 2019 06:40:19 +0200
Juanma Barranquero <lekktu <at> gmail.com> 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




This bug report was last modified 5 years and 253 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.