What alternate session managers are available for Emacs?

后端 未结 5 1940
我寻月下人不归
我寻月下人不归 2020-12-13 21:36

I have read the page in Emacs wiki which contains a list of session manager plugins. But after trying all of these, I am still not happy with any of them.

By compari

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-13 21:52

    Already answered:

    • Emacs: reopen buffers from last session on startup?
    • Saving Window Configurations in Emacs

    Explaining your requirements in detail allow us to provide a more specific solution for you.

    Edit

    Desktop mode allows you to have more than one sessions—saved desktops are not name but directory based.

    From chapter Saving Emacs Sessions:

    You can save the current desktop and reload one saved in another directory by typing M-x desktop-change-dir.

    Furthermore, desktop-path variable allows you to define a list of directories to search for the saved desktops.

    Edit 2

    The Elisp code snippet sent by scottfrazer allows you to name your session, as in the background it translates the name to the proper directory name for Desktop mode.

提交回复
热议问题