help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to persist registers across sessions?


From: Eli Zaretskii
Subject: Re: How to persist registers across sessions?
Date: Thu, 30 Jun 2022 17:00:05 +0300

> Date: Thu, 30 Jun 2022 15:50:36 +0300
> From: Jean Louis <bugs@gnu.support>
> Cc: help-gnu-emacs@gnu.org
> 
> If somebody tells me how to `read' window configuration then I can
> provide function to save and load it.
> 
> However, I do not know how to save/read #<window-configuration> as
> object
> 
> It looks like this:
> (current-window-configuration) ⇒ #<window-configuration>
> 
> That is not enough data. 

Any reason you are insisting on reinventing the wheel, when we already
have desktop.el?  It does all that, and is ready to be used (I use it
all the time).

Is anything wrong with using desktop-save-mode?



reply via email to

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