-
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
Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function) #557
Comments
What is your issue? Does it have anything to do with Eglot? The warning is probably correct and not problematic. |
Hi, Yes, you are correct. My issue and naive guess are the followings: |
This is the problem here, not anything else. When using Eglot, you don't need to Can you start from the beginning and tell me step by step what you do? Maybe you can, like the README suggests:
Does it start correctly? If so, go on and the "evident error". Does it appear? |
Thank you for your prompt reply. |
I had a similar problem right now, but I realized it was my fault. I had reinstalled python-language-server in a new virtualenv and forgotten to add a linter, so eglot was just not receiving any errors or warnings for flymake to highlight. Editing a file in a different language showed that eglot and flymake still worked fine. To fix it, I installed the package with the extra identifier
By default python-language-server package does not depend on any linter. I guess the reason is that it supports so many and they want you to choose and made them all optional. |
Hi,
I know that there are some issues regarding this, for instance, #500, but adding
(remove-hook 'flymake-diagnostic-functions 'flymake-proc-legacy-flymake)
does not solve the problem.When I open a python script, Flymake automatically starts, but I find the
Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function)
warning in the*Flymake log*
buffer.If I turn on Flymake on
*.el
, Flymake starts to detect errors...Could you kindly help me how can I debug this issue?
eglot
requires emacs 26.1, but I am now using 26.3 on Ubuntu 20.04. Could it be an issue, but maybe not I guess?Thank you in advance for your help!
The text was updated successfully, but these errors were encountered: