I am using the Macports flavor of Emacs on OSX Yosemite, and have looked through every thread here on Tramp being slow without any solution.
Tramp is usable, but there is about a 100ms delay between every action. It's not a problem on the server's end because this delay does not exist if I just use terminal/iTerm to just ssh to the same server.
I thought maybe the problem was limited to editing files, but it turns out it's ubiquitous. Whether I'm using just a remote shell, or just pressing M-x
(with helm) it's all delayed.
I've tried ssh, scp, and rsync as methods for connecting without any solution. Also have tried the ControlMaster auto
without any effect.
Has anyone else had this problem, and was able to solve it?
(setq tramp-verbose 6)
and rerun your tests. There will be an exhaustive Tramp debug buffer, every single entry starts with a timestamp. Go through this buffer following the(6)
entries, they are the comands sent remotely, and the output from the remote shell. Check, whether there are obvious delays. Btw, which Tramp version are you using? Check it withC-h v tramp-version
.tramp-cleanup-all-connections
andtramp-cleanup-all-buffers
made a difference.