3 ms·
Interesting. How did you get it to store the list of previously opened files?
by tome 7y ago
Interesting. How did you get it to store the list of previously opened files?
- yaantc 7y agoIn the Emacs manual, read the "Saving Emacs Sessions" chapter (or get there from the 'desktop-save-mode' function documentation). Emacs can save and restore your current session, with opened files and windows layout, and as usual it's highly configurable. By default it uses a global session context, but for example I configure mine to save the session locally in the directory where emacs is started. Then I can have several projects in parallel, and when I start emacs in the project top level directory it restores the session for this specific project. I also make the session saving file name machine specific, and ignored by unison for file synchronization. So the layout is specific for each machines with possible different screen setup leading to different window organizations. Just an example, you can tune it to fit your own needs --- that's the whole point of Emacs to me.
- rataata_jr 7y agohttps://www.gnu.org/software/emacs/manual/html_node/emacs/Saving-Emacs-Sessions.html https://www.gnu.org/software/emacs/manual/html_node/emacs/Sa...
- wglb 6y agoWhat 'yaantc and 'rataata_jr said in this thread. Not only does the desktop session remember and re-open the files, but it also remembers what frames you had open, what position on the screen and which screen the windows are on. It is a huge convenience.