Bad-ptr / persp-mode.el

named perspectives(set of buffers/window configs) for emacs
400 stars 44 forks source link

persp-auto-save file gets deleted periodically #85

Open rieje opened 6 years ago

rieje commented 6 years ago

For persp-mode, every once in a while, I lose my perspectives--starting up Emacs, I get the message in the minibuffer saying: [persp-mode] Error: No such file -- /home/immortal/emacs/autosave. My autosave file apparently gets deleted and I have no idea why--all my perspectives are therefore lost.

These are my following settings for persp-mode:

(setq persp-auto-resume-time 1) (setq persp-auto-save-fname "autosave") (setq persp-auto-save-opt 1) (setq persp-autokill-buffer-on-remove 'kill-weak) (setq persp-save-dir "~/emacs/")

~/emacs/autosave doesn't exist, but autosave1, autosave2, and autosave3 does exist. As I've said, this problem only happens periodically--when everything's alright, I do have the autosave file. I don't know if it might be because I shutdown the system without closing Emacs or whatnot (I typically leave Emacs running on a separate workspace and shut the system down with it running).

Any ideas or suggestions is much appreciated. Thanks.