Replies: 7 comments 1 reply
-
Please answer the following (also reading https://joaotavora.github.io/eglot/#Troubleshooting-Eglot is recommended)
I can't reproduce this with Emacs 29.1 with this much simpler recipe:
Server is Adding Please, as the instructions indicate, try to avoid use-package. Also avoid MELPA, Eglot is available from ELPA. |
Beta Was this translation helpful? Give feedback.
-
Happy to test this without use-package. Is there a oneliner that can be used to test it from I don't have easy access to emacs 29.1. |
Beta Was this translation helpful? Give feedback.
-
My goal with the prog-mode thing is just to use eglot whenever I can. I don't know what language servers I happen to have installed and I don't want to think about it for the rare cases when I open a file in some language other than the 2 or 3 I use day-to-day (case in point, I do have clangd installed, but I rarely open .c files). |
Beta Was this translation helpful? Give feedback.
-
Use this
Yes, but if you don't have a server installed for a given major mode, |
Beta Was this translation helpful? Give feedback.
-
Closing this since I've now reproduced the problem by visiting a file of a major mode I don't have a server for. Make sparse use of |
Beta Was this translation helpful? Give feedback.
-
There's a few things here, which are independent, but I think they are all valid:
Really this issue is about the second thing. I can open separate issues for the other two if you like. |
Beta Was this translation helpful? Give feedback.
-
It's an Emacs error, not an Eglot error.
You need to answer those four questions. I think I'm doing a bit too much guesswork for such an poorly-specified issue. I thought it was due to the daring "eglot-ensure in prog-mode" heroics, it might not be. That's the only way I can reproduce something vaguely similar to this. |
Beta Was this translation helpful? Give feedback.
-
I am using emacsclient with emacs 28.1, and ever since I installed eglot, when I first start a client, it immediately exits. If I run the command again it opens.
Here is a reproducer:
without eglot, the first
emacsclient -nw somefile
works.Beta Was this translation helpful? Give feedback.
All reactions