kotct / dot

A collaborative configuration for various tools.
MIT License
3 stars 2 forks source link

fastest TRAMP method??? #103

Closed cg505 closed 6 years ago

cg505 commented 6 years ago

we use ssh, as per emacswiki. but TRAMP itself claims scp is faster. who's right?

also TIL tramp supports adb, lol

rye commented 6 years ago

I can definitely point to the fact that TRAMP likes to leave autogenerated commands in my history as a reason to try scp over ssh.

cg505 commented 6 years ago

I've been using scp for a while, and it seems pretty much fine. It also seems reasonable to allow TRAMP to dictate the default (which I think is scp). In any case, in emacs 26 you have to type /-: to use default protocol anyway, which is a whopping two characters shorter than /ssh: if you really want to use ssh. I'll probably open a PR this weekend. It's just like deleting two lines in tramp-c.el.

rye commented 6 years ago

SGTM. Should be transparently no different.