Camden Narzt <[email protected]> writes:

Hi Camden,

> 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.

I have started "docker run -it --name alpine --rm alpine:latest sh", my
usual test case. Then I've started Emacs 26.3 via "emacs -Q".

In Emacs, I have loaded the docker-tramp package via

--8<---------------cut here---------------start------------->8---
(load-library 
"~/.emacs.d/elpa/docker-tramp-20170207.325/docker-tramp-autoloads.el")
(setq docker-tramp-use-names t)
--8<---------------cut here---------------end--------------->8---

Now I can do

--8<---------------cut here---------------start------------->8---
C-x C-f /doc <TAB>
=> /docker:

alp <TAB>
=> /docker:alpine:

<TAB> <TAB>
=> /docker:alpine:.
=> Possible completions are:
   ../
   ./
   .ash_history
--8<---------------cut here---------------end--------------->8---

All of this looks OK to me. Could you pls check, whether this works also
for you?

Best regards, Michael.

Reply via email to