workspace not autosaved when quit emacs on windows
- Dominant language
- Emacs Lisp
- Stars
- 22.7k
- Forks
- 3.1k
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 4
Description
### What did you expect to happen?
according to the [doc]( https://docs.doomemacs.org/latest/modules/ui/workspaces/#/usage/session-persistence)
> By default, your session is autosaved when you quit Emacs (or disable persp-mode).
### What actually happened?
However I tested with latest doom-emacs on windows with emacs 28.1, seems the session is not autosaved either quitting emacs or disabling persp-mode
### Describe your attempts to resolve the issue
N/A
### Steps to reproduce
1. open emacs
2. open the folder where the session file should be saved, for me it is `~\.emacs.d\.local\etc\workspaces`
3. load session file from the above folder
4. made some buffer operation by open new files etc.
5. disable `persp-mode`, found no update on the session file
6. quit emacs by `C-x C-c`, found no update on the session file
### System Information
https://pastebin.com/BrCTPikZ
Contributor guide
Research direction
Start with the session-persistence documentation for the workspaces module and reproduce the report on Windows with Emacs 28.1. Check whether disabling persp-mode and quitting with C-x C-c update the session file under ~/.emacs.d/.local/etc/workspaces. Done means both operations reliably save the changed workspace state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- emacs, emacs-lisp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100