DEV Community

Russell Standish
Russell Standish

Posted on • Originally published at hpcoders.com.au on

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”).

Top comments (0)