Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to force an Emacs tramp time out?

Tags:

emacs

tramp

I use TRAMP a lot with emacs. However, sometimes a server goes down and tramp sits waiting for a timeout. Usually it's after doing a C-x-f in ido-mode to open a new file. I have to wait an annoyingly long amount of time. Is there an easy way to tell TRAMP to timeout and let ido-mode continue. I try C-g and the option to open a file never happens.

like image 552
User1 Avatar asked Nov 05 '22 05:11

User1


1 Answers

In thoses (frequent) cases when tramp stalls, I just halt the process with C-g, kill the tramp buffer and I can then save the file.

M-x kill-buffer RET *tramp.*
like image 109
yPhil Avatar answered Nov 09 '22 09:11

yPhil