[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tramp is operating on host filesystem instead of container filesyste

From: Camden Narzt
Subject: Re: Tramp is operating on host filesystem instead of container filesystem
Date: Tue, 12 May 2020 11:00:02 -0600

Using the docker-tramp package from Melpa (installed via package-list-packages) 
the file path portion of the completion still shows the files on the host 
filesystem, and opens files on the host OS when I write a path manually.

So the Melpa package behaves the same as my cut&paste version, even though the 
code is different.

I wasn’t under the impression that the Tramp team had written the emacswiki 
code or the melpa package, however when I asked elsewhere for help debugging my 
problem, I was told to ask for help here.

> On May 12, 2020, at 10:19 AM, Michael Albinus <address@hidden> wrote:
> Camden Narzt <address@hidden> writes:
> Hi Camden,
>> Perhaps I was mistaken about the similarity of my code to the
>> docker-tramp package, I just found it here:
>> and made some small
>> changes to get the external commands working. As I understand it, the
>> advice intercepts completion in order to special case the host
>> completion when the protocol is “docker:". But if tramp has a better
>> way for me to provide this completion then I’m 100% willing to do that
>> instead.
> Neither the docker-tramp package, nor the code snippet from emacswiki
> you have quoted, are from "the Tramp team" (C). However, I have used the
> docker-tramp package occasionally, and it worked. That's why I have
> recommended it.
> Does it work for you?
> Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]