Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • I'm not sure about it: I have 2 problems with it. Problem #1: What I want is rather like a specific desktop checkpoint, which doesn't change, which is always the same, no matter what buffers I open or close on top of it within a session. desktop-save-mode, however, seems to take every change. Problem #2: How do I activate desktop-save-mode specifically - is it /.emacs? And where in that file specifically? Commented Apr 18, 2021 at 20:56
  • 1
    You might want to take a look at superuser.com/questions/681562/… As for #2, yes, you'd add (desktop-save-mode 1) in your .emacs. Commented Apr 20, 2021 at 2:39
  • Very good hint! Adding a function to the emacs-startup-hook probably will do the trick! It's just, that due to lack of experience in that area I keep messing it up. I will update the starting posting of this thread, in order to explain in detail what I do and what its effect is in trying to put your hint into action. Commented Apr 23, 2021 at 17:09