[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33006: 27.0.50; `dired-do-find-regexp' doesn't work for remote direc
bug#33006: 27.0.50; `dired-do-find-regexp' doesn't work for remote directories
Fri, 12 Oct 2018 14:52:48 +0200
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
Philipp <address@hidden> writes:
> 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.
Description: Text document