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
{{ message }}
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
Emacs creates files that precede with .# when there's autosave data and the go-langserver seems to try read these files (and fail when they're gone). I'm not sure if it causes any problems or crashes, because it appears to still work, but I imagine it is something that should be considered.
This is the error I get:
open /Users/weijiangan/go/src/concealed/gosrc/dir/.#file.go: no such file or directory (Unknown error)
The text was updated successfully, but these errors were encountered:
Maybe so but tools should avoid writing temporary files outside of it's own data directories if possible. It's just an age old thing in emacs,, If the auto save backups were invented today they would would maybe not default to the same directory as the original file..
Having said that, (IIRC) the go tool ignores already ignores dotfiles so go-langserver should do it as well.
But I suggest that you look into the backup-directory-alist , auto-save-file-name-transforms and auto-save-list-file-prefix (maybe others, I'm not sure, just quickly scanned my init file) to stop Emacs from storing temp files and backups in the working directory.. I moved those things over to their own tree ages ago and problems like this stopped popping up.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Emacs creates files that precede with
.#
when there's autosave data and thego-langserver
seems to try read these files (and fail when they're gone). I'm not sure if it causes any problems or crashes, because it appears to still work, but I imagine it is something that should be considered.This is the error I get:
The text was updated successfully, but these errors were encountered: