Questions tagged [tramp]

TRAMP is ‘Transparent Remote (file) Access, Multiple Protocol’ for editing remote files from Emacs.

Filter by
Sorted by
Tagged with
0
votes
0answers
27 views

Why is `git` running incredibly slow with `tramp` and `ssh` and `eshell`

Commands like ls, cd, etc. run perfectly fine using tramp, but as soon as I run a command such as git status, the speed is unbearably slow, and I always receive these messages in the *messages* buffer:...
2
votes
1answer
30 views

Dired doesn't open non-text files with external applications in a Tramp directory listing

In Dired I'm in a Tramp directory opened with /sftp:... (so using the gvfs backend). If I use & to open a non-text file with a local external application (ex. evince for PDF) it doesn't do ...
2
votes
1answer
44 views

Tramp `find-dired`: wrong type argument error

If i use find-dired in a remote directory (from Tramp) then I get a wrong type argument: processp, nil error. It works on a local dir. All I pass to find is '-iname "blah"'. /sftp:andreaz@10.0.0.99:...
0
votes
0answers
21 views

Tramp su seems to not work

I would like to upgrade my current workflow so I can use Emacs to edit a file on a remote machine. Here is what I have to do now: ssh remote # password1 required sudo su -l otheruser # password2 ...
1
vote
1answer
46 views

Separate auth-sources for Tramp and Gnus, or disable auth-sources for Tramp?

I have passwords stored in .authinfo.gpg file which I only need for Gnus. I never store passwords for machines or localhost in this .authinfo.gpg file (or in any other file). The problem is when I ...
0
votes
0answers
16 views

ido-mode breaks docker-tramp completion in minibuffer, and opens wrong files

Somehow the following minimal emacs config breaks docker-tramp. Completion in the mini-buffer does not work for /docker:, nor the container ids/names like /docker:43893ad331df, and once you type out ...
0
votes
1answer
19 views

clang-format-buffer with tramp doesn't actually format buffer

I'm using tramp to edit files on a remote machine, and when I run clang-format-buffer, it doesn't actually format the buffer. I get a message (clang-format: success) in the minibuffer, but the ...
3
votes
2answers
50 views

Using tramp and ESS-mode, how can I get the R interpreter to execute locally?

I use tramp to edit R files on a remote server. When I evaluate R code within ESS-mode, it starts an R interpreter on the remote machine. However, at the moment ssh -X to the server does not work, so ...
2
votes
1answer
37 views

RCS Version Control on Tramp Mode

Began using RCS Version Control within Emacs with no problem while locally, but having dificulty on Tramp mode, once it says: Debugger entered--Lisp error: (error "This file is already registered") ...
1
vote
1answer
33 views

Function `cd` not working correctly in conjunction with `tramp` and `compile`

For context I am looking at a remote file; for example: /ssh:desktop:/home/user/project/src/file.cpp. I then issue the interactive command compile like so: cd /ssh:desktop:/home/user/project/Release &...
1
vote
0answers
24 views

How to disable tramp autosave and backups, but keep other backups/autosave?

I'd like to disable autosaves and backups when using tramp, because I neither want to save stuff from remote machines nor stuff belonging to root in my backup/autosave directory. How to do that? I ...
0
votes
1answer
29 views

How to make Tramp execute only if address is reachable?

So I have a couple of VM I'm using (mainly for experiment) I use Tramp a lot on a particular file in the VM, so I started to use this: (find-file "/ssh:vm@192.168.122.141:/home/vm/test.org" t) I put ...
0
votes
1answer
21 views

Tramp is operating on host filesystem instead of container filesystem

I'm using a slightly modified version of the usual docker tramp integration (below) which works fine to complete up to /docker:container_name: but where it goes wrong is it opens files on the host ...
0
votes
1answer
28 views

Use tramp to play remote videos on the local

I use tramp to access my phone through termux and locates the Movies directory /ssh:termux:/storage/emulated/0/Movies: total 162M Superbook - In The Beginning - Season 1 Episode 1 - Full ...
0
votes
1answer
30 views

Default shell path with Tramp from MacOS to Linux

I have a local environment which is MacOS Catalina and a remote environment which is standard Linux. I use tramp to connect to the remote linux machine to work on it. Unfortunately, Catalina now ...
0
votes
1answer
23 views

tramp: $INSIDE_EMACS isn't defined while .bashrc is processed

It seems INSIDE_EMACS can be used to determine if tramp is used. I know I could use test "$TERM" = "dumb" but if [[ -z $INSIDE_EMACS ]]; then is provided by the home-manager tool. If I set tramp-...
0
votes
0answers
25 views

Opening a Remote Shell Renames Buffer Open to \*shell\*

here is a simple elisp program for opening a shell in a named buffer: (defun shell-make (dir buffer-name) (let* ((default-directory dir) (buffer (get-buffer-create buffer-name))) (set-...
1
vote
1answer
76 views

Accessing google drive with tramp in emacs 25

I'm trying to access my google drive from within emacs. According to this, that's possible with emacs 26. Based on the tramp 2.4.3 manual I think that's because emacs 26 comes with version 2.4.3 of ...
2
votes
1answer
35 views

how to show local file listings with C-x C-f through IVY when starting in a remote file buffer

System: Mac OSX catalina Emacs: 26.3 I use Ivy as my completion framework. Problem is when I am editing a remote buffer over ssh using Tramp, and then I want to look at a file on my local machine. ...
0
votes
1answer
45 views

disable company-mode when editing C++ over tramp

When editing Python files over tramp, elpy continues to use my local python distribution for completion, which is fine by be for what I need. However, when editing C++, it uses clang output from the ...
0
votes
2answers
40 views

tramp — open shell prompt for existing connection

i started using the eldritch and mysterious tramp again because a user on here helped me fix it. (thanks michael: tramp runs on odt export --). i create org mode links to my commonly-used remote conf ...
2
votes
1answer
150 views

How can emacs org-mode execute shell code remotely as sudo?

My self-documenting maintainance scripts, where I document how systems have been setup, I need to execute stuff as sudo/root and want the results automatically added to the document. But for safety ...
0
votes
1answer
34 views

Using `dired-do-compress-to` with `tramp`

Within a eamcs -q session and in a tramp dired buffer and call dired-do-compress-to on a file, I got this eror zip I/O error: No such file or directory zip error: Could not create output file (/ssh:...
0
votes
1answer
34 views

tramp runs on odt export --

this is slightly embarrassing, but i'm confused about it so: i run emacs 26.1, org 9.3. when i use the org exporter to export a file to odt format, tramp fires up and runs on the newly created file. ...
2
votes
2answers
51 views

How to Visualize Transfer Rate In TRAMP Mode File Transfer

Any idea on how could be enabled a progress bar and/or speed rate metter on TRAMP mode file transfer? Trying to manage TRAMP transfer mode via scp instead of ssh to seek avoidance base64 conversion, ...
0
votes
0answers
14 views

How fix freeze when work with google drive?

Emacs 26.1 Linux Mint 19 I use Tramp mode to work with my Google drive. But has any problems: Very long open remote file When edit remote file it's often "freeze". File saving takes a long time ...
1
vote
1answer
59 views

using tramp over aws ssm proxycommand

I'm trying to get tramp to use my ProxyCommand from my ~/.ssh/config (pasted below), specifically for AWS SSM. Should I expect this ProxyCommand to work, maybe something is wrong with my environment ...
1
vote
1answer
30 views

Using TRAMP through CyberArk Privileged Session Manager

Normally it is very easy to convert ssh and scp commands into tramp format for access via dired. For example The command line ssh username@hostname will become /ssh:username@hostname: in ...
0
votes
2answers
212 views

TRAMP on Emacs 26 doesn't work (macOS)

I've just installed Emacs 26.3 on my macOS 10.10 (Yosemite) using the binary at Emacs for OSX Everything so far works fine icluding new package installations and different themes. However, when I ...
0
votes
1answer
26 views

change the privileges of opening a file when it has already jumped to a remote host using tramp

Good afternoon. To visit the local sudo privilege file, I use the tramp command: Ctr+f //sudo::/путьКфайлу Is it possible to open a remote file with sudo privileges if emacs already uses tramp, and ...
0
votes
1answer
53 views

Tramp, transfer configuration file

To establish an ssh connection, I use the configuration file.;ssh remoteHost -F /home/alamd/ПакетыДоступа/root_91_211_249_142/config. Is it possible to transfer ssh connection settings from such a ...
1
vote
1answer
114 views

rewrite relative or absolute path from inherited tramp ssh property with org-babel

I define a global remote session for all my sh block code with properties :PROPERTIES :HEADER-ARGS:bash: :dir /ssh:xxx@myvm:/home/xxx/ :END: In my other bash blocks, I inherit this property, but ...
0
votes
1answer
95 views

Org Mobile staging area with a WebDAV: Unable to set 'org-mobile-directory' with TRAMP

I have a working Owncloud server, and I would like to use Org Mobile to sync my Org files with my phone. Following "Setting up the staging area" in the info doc for Org Mobile, I have customized the ...
1
vote
1answer
52 views

How to make gdb mode send proper filename to gdbserver? Running gdb from pure terminal works

I am trying to debug an application on a remote environment. Ofcourse running Tramp over gdb works as in https://www.gnu.org/software/emacs/manual/html_node/tramp/Remote-processes.html, but you miss ...
2
votes
1answer
40 views

How to resolve TRAMP spamming empty messages

Connecting to a remote machine with tramp that may have VC (subversion) related files, I tend to see a large number of repeated messages in the *Messages* buffer. For example: Type "q" in help ...
0
votes
0answers
17 views

IDO find file stay in TRAMP

When going to M-x ido-find-file then going to sudo /sudo::/ I can browse files as root but if I enter // or ~ it escapes TRAMP. How do I prevent it?
1
vote
0answers
49 views

Random freezes with `error in process filter: Quit`

I'm getting random freezes with the error message: error in process filter: Quit. I'm using tramp-mode with emacs 26.1 on macOS. It seems to maybe be linked to typing symbol characters like %, $, etc. ...
3
votes
1answer
112 views

Are there TRAMP mode log files? If so, how to access them?

Having here some troubles with TRAMP mode and already set (customize-set-variable 'tramp-verbose 6 "Enable remote command traces") in .emacs file. But main problem is that Emacs is stuck in TRAMP ...
1
vote
2answers
54 views

Cannot open remote file with TRAMP

I'm trying to connect and edit files on my openwrt box. But every time I tried Emacs shows me a blank buffer. C-x C-f /ssh:user:192.168.200.1:/etc/config/network RET the filesystem on openwrt cat /...
2
votes
2answers
107 views

TRAMP mode hangs while copy large file from remote to local via Ssh

Trying here to download (scp file from remote to local) that was considered large file, then Emacs tried to compact it, then got stuck. Even used scp command to do it because copying via ssh got ...
0
votes
1answer
210 views

Using dired via tramp on a remote machine

Maybe I am missing something rather simple but I completely fail to use dired on a remote machine. I can connect via ssh directly without emacs and I can edited a file using Tramp on the remote ...
0
votes
1answer
75 views

Tramp x11 on Mac os (local) , centos (remote)

I understand that I should be able to use X11 to show graphs from a remote R when I use a local emacs to connect to the remote machine with tramp. I have tried a few different things but can not get ...
0
votes
0answers
21 views

Wrong file permissions after saving changes with tramp sftp

I have been editing files on a remote server with sftp via tramp. When I save the files it changes the original file permissions (644) to 600. I have been using tramp for a while and not run into this ...
0
votes
0answers
88 views

Emacs Consistently Crashes when Scrolling Remote Files using Tramp

Whenever I scroll using the trackpad in a remote file, Emacs consistently crashes. (Also, other things crash Emacs in remote files, but this is the most common one I've come across) I have tried ...
1
vote
0answers
85 views

How to disable eldoc when using TRAMP (editing files over SSH)

Eldoc really bogs down the editor when used over SSH with TRAMP. I want to disable it in those cases. What I've tried is this: (defun no-tramp-eldoc () (interactive) (when (string-prefix-p "...
1
vote
0answers
75 views

Disable ispell when using Tramp

In my Spacemacs, I enabled the spell-checking layer which enables ispell. I noticed that my Tramp connection is very slow, and after debugging, I found that one of the causes is ispell: 02:07:20....
1
vote
1answer
72 views

dired-do-copy in tramp does not go to local when `\ C-j` is pressed. File path stays in the same directory

I am using dired-do-copy to copy a file from remote using tramp to local. When Copy file to path is promted. I used / C-j to go to local path but the path stays in the same directory , does not go to ...
0
votes
0answers
102 views

Getting MacOS Emacs + remote Ubuntu + rtags + company + TRAMP to work?

My development environment works as follows: Working locally on a MacOS laptop with Emacs without a local code repository (or any development tools e.g. clang) Code is remote on an Ubuntu development ...
0
votes
0answers
34 views

Helm expands ~. Is it possible to expand other “aliases” as well?

Apparently anaconda-mode provides eldoc support on remote files, but it kinda breaks TRAMP if the remote file name contains an ssh alias (TRAMP will keep reconnecting over and over). It is ...
0
votes
0answers
50 views

Emacs tramp on chroot directory

I have chroot directory. When I try to open /ssh:web@xxx.xxx.xxx.xxx:/, Emacs returns “Found remote shell prompt on”. From console I login to directory.

1
2 3 4 5 6