Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jplindstrom (594)

jplindstrom
  (email not shown publicly)

Journal of jplindstrom (594)

Wednesday May 21, 2008
11:26 AM

Emacs Tramp syntax (for reference)

[ #36485 ]

TRAMP is the Emacs feature that lets you edit files on other servers or as other users transparently. It's super convenient when you can't be arsed to drag the configuration all the way over there[1], or if Emacs isn't installed.

But I only need to every once in a while so I always forget the exact syntax even thought it isn't very diffcult.

Today I thought I had forgot it again, but instead I had been too clever with a socks configuration which prevented me to connect to otheraccount@localhost... Duh.

Anyway, when opening a file, just enter this:

/ssh:otheraccount@localhost:

and hit Tab to get file completion in the other account home dir.

Neato indeed.

[1] Yes, I know of -u to load .emacs from another account, but that often doesn't work out with the load paths, so TRAMP is actually easier if you don't need the version control integration, or flymake.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.