-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server process spawned on home not project root #5
Comments
I think I encountered the same with rust-analyzer, but to be sure to repro I'll need to make sure that I can log the folder that's been chosen, I just assumed I had weird Doom shenanigans, and it might still be the case tbh In upstream Emacs, the process is spawned in |
I am experiencing something that seems like it may be related. The error message I'm seeing with
I use |
os error 2 is "file not found", and given that the command that errored is |
Yes, but emacs is finding I have no such issues with the main branch of emacs. |
I think it is caused by the fact that we don't propagate the emacs env. Which ATM is kind of expected with the code as it is. |
Yes, I thought it was interesting how clearly the error message suggested that given the direnv interaction. Is the needed change to fill out the |
If you mean envp in SSP_Opts - I believe the answer is yes. |
Is there any temporary/easy workaround for this? My setup is the same as @acowley with |
I'm probably facing the same issue with lean4, the server complains about unknown project files/modules as if it was spawned in the same directory as the emacs process (instead of default-directory). One simple workaround is to start the emacs process in the project directory itself, the server works perfectly in this setting but it has the caveat I need one emacs process per project. The issue is not present in upstream emacs. |
testing with clojure-lsp, it seems that the process is being sapwned from my home dir and not the project root, this probably shows a bug on server side, but other servers may rely on the same
The text was updated successfully, but these errors were encountered: