Tramp mode not working on emacs 26

highperformancecoder

Russell Standish

Posted on October 6, 2018

Tramp mode not working on emacs 26

On a recent upgrade to emacs, I discovered that remote editing of files via tramp stopped working. This bugged me a lot, as I use it a lot. After much Googling (much), I came across a workaround using sshfs, which allows mounting a remote ssh connection as an fuse mount point.

But the real reason why tramp stopped working is that now an extra “method” parameter is required in the tramp string, eg


^X^F /ssh:remote:file

You can abbreviate ssh to ‘-‘ if you have not changed the defaults too much.

A nice additional feature is the su and sudo methods, eg


^X^F /sudo:/etc/passwd

See What’s new in emacs 26.1 (search for “tramp”).

💖 💪 🙅 🚩
highperformancecoder
Russell Standish

Posted on October 6, 2018

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related