I usually have multiple instances of doom emacs running (one for every project).
I use this line in my config to save the session of each instance after 10 seconds idle time.
(run-with-idle-timer 10 t #'doom-save-session)
This leaves me with a bunch of stored session:
> ls -la ~/.emacs.d/.local/etc/workspaces
.rw-r--r-- 39k peter 16 Jun 19:48 autosave
.rw-r--r-- 39k peter 16 Jun 19:48 autosave1
.rw-r--r-- 39k peter 16 Jun 19:44 autosave2
.rw-r--r-- 39k peter 16 Jun 19:44 autosave3
Now the problem is, that I can't see which session belongs to which project.
Does anyone know how I can use a better template for the filenames? E.g.: auto--PROJECT_ROOT_DIR--NUMBER
:
.rw-r--r-- 39k peter 16 Jun 19:48 auto--home-peter-projects-foo--1
.rw-r--r-- 39k peter 16 Jun 19:48 auto--home-peter-projects-bar--1
.rw-r--r-- 39k peter 16 Jun 19:44 auto--home-peter-projects-foo--2
.rw-r--r-- 39k peter 16 Jun 19:44 auto--home-peter-projects-bar--2