-
-
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
Wrong behaviour with Tramp and custom method #1326
Comments
I don't know the intricacies of tramp, so I can't make a proper fix. I added code that disables |
Nope: |
Don't waste too much time searching for the problem. I just realized that I no longer need my custom Tramp method with recent Tramp versions, and |
Note that I have completed a more thorough analysis of the problem, and I think I understand the sequence of events that create it:
|
Please PR with your suggested change. |
Hi,
I have a custom Tramp method to configure remote access using Putty. This method is called
jmb
and was appended totramp-methods
. You can see the custom method here. Now I have a wrong behaviour the first time I try to use this method incounsel-find-file
.Steps to reproduce
tramp-cleanup-all-connections
.ivy-auto-select-single-candidate
.counsel-find-file
./jmb:
followed byRET
.Expected behaviour
user@host
prompt.Observed behaviour
user@host: /jmb:jmb:
prompt.user@host: /jmb:jmb:
prompt.Extra information
/jmb:user@host:
before typingRET
, everything works fine./ssh:
followed byRET
, I get the expecteduser@host
prompt. If I then cancel withC-g
and retry with/jmb:
followed byRET
, everything works fine. Note that in that case, I get offered a choice ofssh
orjmb
as completion for theuser@host
prompt, but I can still ignore the choices and proceed with the actual user and host.ivy-auto-select-single-candidate
, I get the expecteduser@host
prompt with a singlejmb
candidate which I can ignore.The text was updated successfully, but these errors were encountered: