News for hackers. Stuff that matters.
Re:Absolute Beginner's Guide to Emacs (2012) by TeMPOraL on Tuesday December 04, 2018 @05:00PM (#18603973)
Seconding the recommendation.

On my last project, I decided to do all remote server ops through Tramp, just to see how convenient it was. Turns out, very.

Besides launching a shell, one trick that you can do is piping Tramp invocation, including across different protocols - essentially creating tunnels. One special case I use frequently is for sudo operations.

C-x C-f, then /ssh:[email protected]|sudo:example.com:/etc/someconfig

Suddenly, you're editing as if you launched a session with sudo on the end machine.

Coupled with dired and M-x shell, it becomes a very convenient way of working.

(And in case Tramp causes you trouble, or you just need to close remote buffers and connections, remember about M-x tramp-cleanup-* set of commands.)

EDIT:

And lest I forget - GDB integration works over Tramp too.

There are no comments on this comment yet.