I am trying to connect to remote server by scp, but when I type C-x C-f /myhost: (no Enter pressing), emacs hangs for few minutes, then it allows to press Enter in minibuffer, and connects to host.

It Messages buffer it says:

For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...

Whatever I type in minibuffer between / and : - it makes emacs hang.

ssh and scp work fine, I tried to turn on and turn off ssh agent - it didn't help. Yesterday everything worked fine, I haven't installed any packages or changed emacs configs. How to debug it?

  • 2
    You haven't said which Emacs version you are using; the answer depends partly on this. Likely, Tramp tries something to complete. Set tramp-verbose to 6 (or to 10, if 6 isn't sufficient), and look what Tramp's doing. – Michael Albinus May 21 at 11:04

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.