I’ll try to explain what i’m looking for: Let’s say i’m working on a work project, on my emacs configuration and my org notes. All of those i’ll use throughout the day but don’t do simultaneosly. I’m trying to set it up so i can save the current state for buffers and open project for work, switch to my org notes, do something there, and switch back with all buffers in place and files open where they where.
Things like desktop-save-mode seem to handle restoring the last buffers, but aren’t working for multiple sessions. So what’s my best bet to have multiple separated “setups” depending on what i’m working on at the moment?
i’d recommend checking out perspective.el. it allows you to save and restore window configurations, which sounds like what you’re looking for. it’s really handy for managing different workspaces within emacs.
https://github.com/alphapapa/burly.el: Expressly designed to solve this problem. Use with
tab-bar-mode
andburly-tabs-mode
.See also: https://github.com/alphapapa/bufler.el with
bufler-workspace
commands.Burly looks nice. But in my first use i ran into this bug https://github.com/alphapapa/burly.el/issues/28 So, that’s not usable for me, sadly.
Please read that issue and post a reply to it with the version of Emacs you’re using and the backtrace. And please test the branch in the comment that may fix the problem. As you can see, it’s been several months since anyone provided feedback, so the fix may already be available, but it needs user confirmation.
If you want saving/restoring, I can only recommend persp-mode. I need to try burly again though since its conceptually simpler and would be ideal.