{"action":"closed","issue":{"url":"https://api.github.com/repos/abo-abo/swiper/issues/1326","repository_url":"https://api.github.com/repos/abo-abo/swiper","labels_url":"https://api.github.com/repos/abo-abo/swiper/issues/1326/labels{/name}","comments_url":"https://api.github.com/repos/abo-abo/swiper/issues/1326/comments","events_url":"https://api.github.com/repos/abo-abo/swiper/issues/1326/events","html_url":"https://github.com/abo-abo/swiper/issues/1326","id":277303074,"number":1326,"title":"Wrong behaviour with Tramp and custom method","user":{"login":"jeberger","id":930717,"avatar_url":"https://avatars3.githubusercontent.com/u/930717?v=4","gravatar_id":"","url":"https://api.github.com/users/jeberger","html_url":"https://github.com/jeberger","followers_url":"https://api.github.com/users/jeberger/followers","following_url":"https://api.github.com/users/jeberger/following{/other_user}","gists_url":"https://api.github.com/users/jeberger/gists{/gist_id}","starred_url":"https://api.github.com/users/jeberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeberger/subscriptions","organizations_url":"https://api.github.com/users/jeberger/orgs","repos_url":"https://api.github.com/users/jeberger/repos","events_url":"https://api.github.com/users/jeberger/events{/privacy}","received_events_url":"https://api.github.com/users/jeberger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-11-28T08:52:59Z","updated_at":"2017-12-04T19:14:25Z","closed_at":"2017-12-04T19:14:25Z","author_association":"CONTRIBUTOR","body":"Hi,\r\n\r\nI have a custom Tramp method to configure remote access using Putty. This method is called `jmb` and was appended to `tramp-methods`. You can see the custom method [here](https://bitbucket.org/jmb/emacscfg-patches/src/51fa570b3ad5ff8709fb3a8384845830fda31655/win-sagem.patch?at=default&fileviewer=file-view-default#win-sagem.patch-67). Now I have a wrong behaviour the first time I try to use this method in `counsel-find-file`.\r\n\r\n# Steps to reproduce\r\n\r\n- Close all Tramp buffers and connections: `tramp-cleanup-all-connections`.\r\n- Enable `ivy-auto-select-single-candidate`.\r\n- Start `counsel-find-file`.\r\n- Type `/jmb:` followed by `RET`.\r\n\r\n# Expected behaviour\r\n\r\n- I should get a `user@host` prompt.\r\n- Upon typing the user and host, I may get prompted for the password, then should see a list of remote files which I can navigate.\r\n\r\n# Observed behaviour\r\n\r\n- I get a `user@host: /jmb:jmb:` prompt.\r\n- Upon typing the user and host, I get a Tramp error \"failed to connect\" and am sent back to the `user@host: /jmb:jmb:` prompt.\r\n\r\n# Extra information\r\n\r\n- If I type `/jmb:user@host:` before typing `RET`, everything works fine.\r\n- If I have an open remote buffer, or simply an active Tramp connection in the background, everything works fine.\r\n- If I type `/ssh:` followed by `RET`, I get the expected `user@host` prompt. If I then cancel with `C-g` and retry with `/jmb:` followed by `RET`, everything works fine. Note that in that case, I get offered a choice of `ssh` or `jmb` as completion for the `user@host` prompt, but I can still ignore the choices and proceed with the actual user and host.\r\n- If I disable `ivy-auto-select-single-candidate`, I get the expected `user@host` prompt with a single `jmb` candidate which I can ignore."}}
{"actor":{"display_login":"abo-abo"}}