It loses most state, except for the current project, and then persists the bad state.
Steps to reproduce:
- Configure Treemacs to your liking. I have several different projects that I've added
- Press
SPC h r r to run doom/reload
- Treemacs has disappeared, that's fine I'll open it back up
- Open it back up to see that everything was lost, except for the currently-open project
- Quit Emacs to see if it was just weird state
- Reopen Emacs and find that it did lose everything
- Check persist file to confirm
I was also just able to reproduce by having multiple windows open and switching between them:
- Have Treemacs open and one window selected
- Close Treemacs (
+treemacs/toggle)
- Move to other window
- Open Treemacs back up (
+treemacs/toggle)
- See that the single project shown is for the new window and not the old one
- If I quit Emacs, that state will be persisted
Here's a simple example config of what I usually work with:
* Perspective main
** foo
- path :: ~/foo
** bar
- path :: ~/bar
** baz
- path :: ~/baz
Here's a common result of what I'm left with, e.g. after editing one of the Doom config files and running doom/reload
* Perspective main
** doom
- path :: ~/.config/doom
And this is what I was getting when switching between windows (this or the plain doom one above):
* Perspective main
** foo
- path :: ~/foo
This is with Treemacs 3.2 + Doom + Emacs 30.2
It loses most state, except for the current project, and then persists the bad state.
Steps to reproduce:
SPC h r rto rundoom/reloadI was also just able to reproduce by having multiple windows open and switching between them:
+treemacs/toggle)+treemacs/toggle)Here's a simple example config of what I usually work with:
Here's a common result of what I'm left with, e.g. after editing one of the Doom config files and running
doom/reloadAnd this is what I was getting when switching between windows (this or the plain
doomone above):This is with Treemacs 3.2 + Doom + Emacs 30.2