Philipp writes: Hi Philipp, > 1. emacs -Q > 2. C-x d /ssh:some-remote-host:/some/dir RET > 3. Mark any file with `m' > 4. A . RET > > Expected: File is searched for regex `.' > Actual: user-error: Search failed with status 1: find: ‘/ssh:some-remote-host:/some/dir/file’: No such file or directory Yep, same behaviour here. > This is probably because `xref-collect-matches' calls > `call-process-shell-command', which doesn't work remotely. It should > call `process-file-shell-command' instead. Yes, this must be changed. But the file name needs some massage, too. The appended patch fixes this for me. But since I don't know xref.el in detail, I fear I introduce collateral damages. At least a second opinion about the patch would be welcome, before I commit it to master. Best regards, Michael.