-
Notifications
You must be signed in to change notification settings - Fork 13
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
Eglot-java would not start when open java file #8
Comments
I've made a little research and found the roots of problem. Don't know how, but in ELPA there is a eglot version "from future". Depending on releases, commits and issues from the joaotavora/eglot, the latest official version of eglot is 1.9. In sources of that version, which I got when installing eglot-1.10, record about Java in
In sources of eglot from official GitHub-repositry that record differs:
And, of course eglot-java fails when When I removed that version of eglot "from future" and install the normal eglot 1.9 — eglot-java works correctly! |
Thanks for reporting this issue. I think that it's a valid concern though, as there could be several java-related modes associated to
|
Here's what will be implemented for mitigation
|
Eglot and eglot-java didn't start when I open any file with java source code from my project.
Steps to reproduce:
File mode specification error: (wrong-type-argument consp nil)
Emacs 28.2
Eglot 1.10
Eglot-java 20221218.1809 from MELPA
Му configuration:
I found (via
M-x toggle-debug-on-error
) what problem also reproduces, when I callM-x eglot-java-mode
after open the java file.The text was updated successfully, but these errors were encountered: