Perhaps I was mistaken about the similarity of my code to the docker-tramp 
package, I just found it here: https://www.emacswiki.org/emacs/TrampAndDocker 
<https://www.emacswiki.org/emacs/TrampAndDocker> 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.

> On May 12, 2020, at 3:37 AM, Michael Albinus <[email protected]> wrote:
> 
> Camden Narzt <[email protected]> writes:
> 
> Hi Camden,
> 
>> 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 computer, and performs completion from the host file-system
>> instead of in the container.
> 
> Before we start to analyze your problem, I'd like to understand what
> the defadvice is good for. docker-tramp.el from MELPA doesn't need it.
> 
> Best regards, Michael.

Reply via email to