-
-
Notifications
You must be signed in to change notification settings - Fork 227
-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
elpy -> company-mode -> tramp interaction #985
Comments
Sorry, left off the versions: |
What if you try to reproduce it without company?
|
In any case, though, you might want to try a newer Emacs first. This version is 5 years old. |
Thanks, |
Hmm, what if you do this instead?
All of the above with the default completion engine, preferably. No Ido/Ivy/Helm/etc. |
Emacs 26 doesn't have the error, but I think it's only because elpy throws errors on initialization and doesn't run correctly. I don't get any command completion. The errors are: |
Something to report, maybe? But it shouldn't be hard to fix:
That just means it's the minimum version. |
Nothing further seems likely to happen here, so closing. |
While coding in emacs with elpy enabled I've found that I get a freeze of a few minutes after typing
os.chdir("/ho
I'm just trying to change to my home directory. After the third character emacs freezes. It is not sensitive to ctrl-G. This happens the first time in an emacs session. It also happens with other function calls (e.x. os.stat()). The /xx also does not have to be the start of a valid path.
What appears to be happening is that elpy is using company to complete the text string. Company seems to interpret the /xx as something tramp should try to handle and passes it to tramp. Tramp ends up calling ssh. The most relevant part of the backtrace seems to be:
Sorry for the image. There are some unicode characters in the text that screw up markdown.
My questions are: (1) Is if this is the desired behavior from the standpoint of company-mode? (2) Is there something about the way elpy is using company-mode that could be at issue? (3) Can anyone duplicate the issue? Perhaps it has to do with my tramp or ssh setups (both are pretty unremarkable). Duplication is simple:
`
import os
os.chdir("/xx
`
The text was updated successfully, but these errors were encountered: