You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behaviour: 鉂わ笍 馃槃
Auto-saving working properly. I've looked in ~/.emacs.d/.cache/auto-save and found auto-save files created by the previous version of Spacemacs in the site subdir, their names being of form #_aplinkx_b188_b_ahome_auser_atest.sh#, so I guess the problem is broken file name escaping.
If Spacemacs caused this to happen it should be possible to bisect this. If not, you should probably report this upstream to the relevant places, since I don't think (famous last words) we are doing anything that might affect this.
You're right, the problem is with vanilla emacs 25.1.
I've looked into it and it looks like tramp has two methods for auto-save file name escaping: if tramp-auto-save-directory is set it uses it's own transformations (/ -> _a, : -> _b, etc) and if it's nil it uses the default behavior for the system provided by make-auto-save-file-name. The problem is, after this commitmake-auto-save-file-name can't detect the system as windows-nt and fails to replace the forbidden symbols in file names. I don't understand the reasoning behind the commit, but I got auto-saving working by explicitly setting tramp-auto-save-directory:
I'm aware this isn't your bug, but maybe Spacemacs could set tramp-auto-save-directory when it sets auto-save-file-name-transforms? It seems reasonable and would solve the problem.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!
Description![:octocat: :octocat:](https://github.githubassets.com/images/icons/emoji/octocat.png)
Spacemacs can't create auto-save files in the cache directory when using tramp on Windows.
dotspacemacs-auto-save-file-location
is set to'cache
.Reproduction guide 馃
Observed behaviour: 馃憖 馃挃
No new auto-save files in .cache/dist or .cache/site directories, error message in the Messages buffer:
Expected behaviour: 鉂わ笍 馃槃
Auto-saving working properly. I've looked in
~/.emacs.d/.cache/auto-save
and found auto-save files created by the previous version of Spacemacs in thesite
subdir, their names being of form#_aplinkx_b188_b_ahome_auser_atest.sh#
, so I guess the problem is broken file name escaping.System Info 馃捇
The text was updated successfully, but these errors were encountered: