emacs-pe / docker-tramp.el

TRAMP integration for docker containers
339 stars 26 forks source link

dired-do-find-regexp (a.k.a. "A" key command) does not work #20

Open dusek opened 6 years ago

dusek commented 6 years ago

Steps to reproduce:

  1. Open a directory in docker container in dired: C-x d <RET> /docker:024527f3828c:/etc/apache2 <RET>
  2. Put cursor on the . item (i.e. current directory)
  3. Start searching for port (by pression: A port <RET>)

Expected results:

A buffer opens in window listing all occurrences of port in files in the /etc/apache2 directory of the given docker container.

Actual results:

"No matches for: port" appears in the echo area. Nothing else happens. (No new window/buffer shown, no results shown).

Configuration

Emacs: GNU Emacs 25.3.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1911)) of 2017-09-12 OS: macOS 10.13.3 (17D102) docker-tramp: 20170206.1925 Docker: Docker version 17.12.0-ce, build c97c6d6

Notes

Doing the same but using the "pretty name" of the container in step 1. instead of the "hex ID" (e.g. using kind_haibt instead of 024527f3828c in this case) does not work either (leads to Actual results).

Doing the same in a local directory (on the local machine, in step 1., specifying /etc/apache2 in step 1.) works fine (leads to Expected results).

olessavluk commented 5 years ago

Hi @dusek

According to https://www.mail-archive.com/tramp-devel@gnu.org/msg05000.html This is TRAMP issue (not this library) and luckily it has been already fixed in Emacs 27.0.50