-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
Tram completion not working #1918
Comments
Please try to reproduce by cloing this repo and running |
Done! Yes, same issue. |
Thanks, please test. Also note that you can get TRAMP completion with Of course you can still go to the root directory if you prefer. |
Yes everything works fine now. Very thanks! for the fix and the hint. |
To make sure we have TRAMP compleiton candidates when expected, require TRAMP as soon as the collection function is `read-file-name-internal'. Fixes abo-abo#1918
Hi:
I already wrote this but as it was in a very old issue, I preffer to open a new one because maybe it is not related.
When I try:
It doesn't list anything most of the times. (I tried with ido and it is working fine). Maybe it has to do with the fact that I have TAB bind to ivy-partial, but when I try C-j or TAB I only get a message:
My ivy config actually is:
In some cases the completion works and not in others (specially in the beginning when emacs is just opened it doesnt even contain ssh as a possible completion).
Also when there are alias in the ~/.ssh/config that should connect using: /ssh:myserver:/var then the access there is only to the home directory and still no completion. Putting a (message ...) inside counsel--find-file shows that the variable ivy-text is empty there in those cases. So there is a previous command filtering. In other cases i tried something like /ssh:myserver:/var (not expecting for completion) and ivy-text in those cases was "/var" and it was completting with my local and not the remote /var content. So it looks like a filter problem again.
Related to this I see that the package counsel-tramp pretty much does the completion work and the function counsel-tramp--candidates does all the completion work there, so it can be used to fix this issue. But the point with this is to avoid the artificial call to counsel-tramp command (and/or require an extra keybind for it) instead of the default counsel-find-file to connect to tramp. Which fits better in the emacs workflow.
The text was updated successfully, but these errors were encountered: