Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to save and restore a desktop in emacs? #25

Open
RidaAyed opened this issue Feb 20, 2020 · 9 comments
Open

How to save and restore a desktop in emacs? #25

RidaAyed opened this issue Feb 20, 2020 · 9 comments

Comments

@RidaAyed
Copy link

Whatever desktop I save, after restarting emacs it's lost. What settings are required to simply reload one python (.py) buffer and a terminal (anyone is fine e.g. term, multiterm, ansi, eshell etc.) beside?

My workflow:

  1. Open file (sample.py)
  2. Open terminal
  3. m-x desktop+-create 'foo'
  4. Restart emacs after some time and doing anything else
  5. m-x desktop+-load (select foo in minibuffer)
  6. Get a completely different desktop than created in step 3

'(desktop-save nil) in init.el makes no difference

@kenbolton
Copy link

The above works for me in Spacemacs Mac OS Emacs 26.3.

@RidaAyed
Copy link
Author

RidaAyed commented Apr 2, 2020

@kenbolton Even after reboot?

2 similar comments
@RidaAyed
Copy link
Author

RidaAyed commented Apr 2, 2020

@kenbolton Even after reboot?

@RidaAyed
Copy link
Author

RidaAyed commented Apr 2, 2020

@kenbolton Even after reboot?

@kenbolton
Copy link

@kenbolton Even after reboot?

After quitting emacs clients & daemon, upon starting emacs I can load saved desktops.

@RidaAyed
Copy link
Author

@kenbolton What emacs shell can you restore e.g. ansi-termin, vterm, something else?

@kenbolton
Copy link

@RidaAyed I removed desktop-plus from my setup a while ago in an effort to simplify my config. I used multi-term. I may explore aweshell going forward, but idk. Emacs is an embarrassment of riches.

@RidaAyed
Copy link
Author

RidaAyed commented Jul 30, 2021 via email

@kenbolton
Copy link

kenbolton commented Jul 30, 2021

Thank you. May I ask how you restore your project terminals these days?

I do it manually, if I shut down emacs at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants