thierryvolpiatto / psession

Yet another package for emacs persistent sessions
67 stars 13 forks source link

Save frame as well #2

Open tuhdo opened 9 years ago

tuhdo commented 9 years ago

Hi Thierry,

I like this package. It is well integrated with Helm.

But one missing thing is that it does not save frames. It would be nice if we can save frames.

thierryvolpiatto commented 9 years ago

Tu Do notifications@github.com writes:

Hi Thierry,

I like this package. It is well integrated with Helm.

Thanks.

But one missing thing is that it does not save frames. It would be nice if we can save frames.

I haven't implemented this because frames configs are not writable actually and it would require much more code to save a frame config object (like in desktop.el). I want this package to stay light and fast. Probably I will do this when writable frames configs will be implemented in emacs.

Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997

tuhdo commented 9 years ago

Is it possible to reuse frame save/restore functions from desktop.el? I mean, you could make wrappers of those functions and do not make it automatically save unless user explicitly runs the frame save command, similar to how psesson handles window config.

thierryvolpiatto commented 9 years ago

Tu Do notifications@github.com writes:

Is it possible to reuse frame save/restore functions from desktop.el?

No as I don't save data the same way desktop.el does.

Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997