-
Notifications
You must be signed in to change notification settings - Fork 200
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
Strange error after eglot start server #199
Comments
Can you rerun after |
Hi @joaotavora , I turn on
|
@Crandel, currently, even if you don't use Flymake, you must install the latest version from GNU ELPA (not MELPA). The easiest way to do this is to also install Eglot from GNU ELPA (or also MELPA). So your |
Thanks, I update |
Could eglot perhaps check the version of flymake and report this as the error rather than something mysterious about "wrong number of arguments"? |
No. Programs in emacs lisp don't usually check each other versions in real time. And suggesting solutions without a clear understanding of the problem is getting quite ahead of ourselves. @tomjaguarpaw did you really run into this very problem or another one? How? This problem has been solved for almost a year. How did you install Eglot? If you did it in Emacs 25, it must have been through some strange installation mechanism, and it won't work Flymake or no Flymake. |
I installed it by hand in Emacs 25. If you're wondering about my rationale for this, see #191 (comment) |
I'm running
I have these in
I got Still, I'm hitting this error:
|
@blackgnezdo: For |
@blackgnezdo as you suspect, you're possibly still running an old version of Flymake somewhere. Can you @tomjaguarpaw your comment has no relevance to this particular issue. I've already registered your aggravation from your difficulties in discovering the versions of Emacs supported by Eglot. |
@blackgnezdo You using an old build-in version of Flymake. You need to install it explicitly and manually from elpa or melpa |
Yes, you are right. I did have the old version of flymake that came with Emacs active. My mistake was to install eglot (which did pull in the right version of flymake) and then not restart Emacs. The old version of flymake was already loaded so the new one didn't have any effect until I used the old solution: unplug it and plug back in. I verified with |
Dear @joaotavora, I'm sorry my aggravation leaked enough to annoy you. I cannot deny that it has been a very frustrating experience trying to get an LSP setup working on Emacs (despite having used an -- admittedly simple -- Emacs setup for a couple of decades). You may be aware that a Haskell LSP server called As an open source software maintainer myself I know there's never enough time or energy to make the UX of our software as good as it could be. My observations are intended to be constructive, and I hope ultimately they make some tiny contribution to the software ecosystem we rely on. I have sent a PR to |
Oh, don't worry, It's not particularly annoying, it's just irrelevant, as is the rest of your intervention. In this issue's context, at least, open a new issue is you'd like to discuss such broader matters. Thanks in advance. |
Hi,
I`m using
GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2018-07-05
on Arch Linux. I want to use eglot together with Pythonpyls
. After I open python buffer I got strange messageFlymake mode disabled, because I use Flycheck
This is my settings, related to eglot
When I try to type anything emacs freezing and this error appears again and again
The text was updated successfully, but these errors were encountered: