How to force an Emacs tramp time out?
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. 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.* I don't face such timeout situation though I frequently use TRAMP. Try something like