Questions tagged [tramp]

tramp stands for Transparent Remote Access - Multiple Protocols, an Emacs module that allows remote editing of files.

184 questions
8
votes
4 answers

Using tramp with EmacsW32 and cygwin, possible?

I have some trouble setting up Tramp with EmacsW32 and cygwin. I have configured emacs to use cygwin as shell using w32shell. I also set the HOME enviromental variable to c:/cygwin/home/myusername Problem is that tramp seems to hang and that no…
grm
  • 5,197
  • 5
  • 29
  • 35
8
votes
1 answer

Emacs tramp hangs with "Tramp: found remote shell prompt"

I'm trying, for the first time, to access remote files via tramp from Emacs on Windows. I'm trying to open a remote directory via C-x C-f /plink:user@host:/. However, when Emacs gets to "Tramp: found remote shell prompt" in the minibuffer, it hangs.…
Rose Kunkel
  • 3,102
  • 2
  • 27
  • 53
7
votes
3 answers

Is it possible to start emacs using a remote configuration file?

I have different work-specific .emacs configuration files on servers where I do work for various companies. These are packages that, for various reasons, I don't want to store locally on my machine. Is there any way to start up emacs using one of…
Eric Nguyen
  • 40,312
  • 4
  • 25
  • 31
7
votes
4 answers

In Emacs, how do I figure out which package is loading tramp?

I have a strange interaction with tramp and cygwin-mount (I think: Emacs: Tab completion of file name appends an extra i:\cygwin). Because of this, I want to disable tramp. I'm unable to find anything in my .emacs which is loading tramp explicitly.…
Rohith
  • 2,043
  • 1
  • 17
  • 42
7
votes
3 answers

emacs tramp performance

Is there a way to improve emacs tramp performance? For me it's faster to open an external ftp client (filezilla), transfer files to the local disk and open them in an external editor (notepad) than open them with emacs. I use emacs23.1 under windows…
Oleg Pavliv
  • 20,462
  • 7
  • 59
  • 75
6
votes
1 answer

magit over tramp: re-use ssh connection

magit seems to open a new ssh connection for every command. This becomes very annoying especially when staging more chunks, which takes noticeable time to establish the connection for each chunk. (from shell, I have persistent ssh connections…
Andreas
  • 1,106
  • 9
  • 26
6
votes
3 answers

Emacs, tramp, plink problem on XP

The target machine is running Ububtu server 8.04. Here's the tramp output: tramp: Opening connection for nungu@ip.ip.ip.ip using nil...
tramp: Waiting for prompts from remote shell
tramp: Waiting 60s for prompt from remote shell
tramp:…
YHVH
  • 585
  • 4
  • 12
6
votes
1 answer

Emacs Tramp hangs on saving & opening a current buffer after suspend/resume

While running Emacs (24.3.1) with Tramp (2.2.6-24.3) on Ubuntu 12.10 I'll have a bunch of remote files open through Tramp for example: m-x find-file: /scp:user@example.com:~/file.txt After a suspend/resume cycle on my laptop I'll go back into Emacs…
justCookin
  • 267
  • 2
  • 12
6
votes
2 answers

Emacs Tramp couldn't write region to file

I edit files over ssh using tramp, and though I've had no problems in the past today I'm having some issues. When I attempt to save a file, I get the following (slightly redacted) error: byte-code: Couldn't write region to `[filelocation]', decode…
PaulB
  • 299
  • 1
  • 11
6
votes
1 answer

How to set different author/committer for Git in TRAMP environment?

I edit files under Git control with Emacs 23.3.1/TRAMP/VC sudoed over an ssh connection (/sudo:sudouser@host:file with tramp-default-proxies-alist set accordingly). sudouser is a shared account, so I don't want to set user.email/user.name globally,…
Tim Landscheidt
  • 1,400
  • 1
  • 15
  • 20
6
votes
1 answer

running command on remote machine with tramp?

I opened a file on the remote machine, and typed C-u M-! and then typed tree command. It showed in the buffer: /bin/sh: tree: command not found The tree command is installed into /home/RNAer/bin, and I verified it can run successfully when login…
RNA
  • 146,987
  • 15
  • 52
  • 70
5
votes
3 answers

Emacs Tramp ssh double hop

Could somebody please help me setup Emacs Tramp to do a double hop? I want to work on machine2.abc.def.edu to which I can connect only through machine1.abc.def.edu. My username is myname, on both machines same. I've tried to add .emacs: (add-to-list…
user673592
  • 2,090
  • 1
  • 22
  • 37
5
votes
2 answers

emacs tramp mode does not respect .clang-format in the remote directory

I have a git repo with a .clang-format and a simple.c source code. In local mode, namely editing off local disk, it respects the style file. However if I edit using tramp mode the same repo, then clang-format will format the source code using some…
Covi
  • 1,331
  • 1
  • 14
  • 17
5
votes
3 answers

How to force an Emacs tramp time out?

I use TRAMP a lot with emacs. However, sometimes a server goes down and tramp sits waiting for a timeout. Usually it's after doing a C-x-f in ido-mode to open a new file. I have to wait an annoyingly long amount of time. Is there an easy way to…
User1
  • 39,458
  • 69
  • 187
  • 265
5
votes
1 answer

Emacs: How to start Local python interpreter when editing a remote python file via tramp

On Emacs, when I start python with C-c ! while editing a remote python file (using tramp - plinkx: on windows), the python interpreter is started on the remote host. Is there any way I can edit the remote python file and start a local python…
Shanmu
  • 938
  • 7
  • 15
1 2
3
12 13