GNU bug report logs - #33006
27.0.50; `dired-do-find-regexp' doesn't work for remote directories

Previous Next

Package: emacs;

Reported by: Philipp <p.stephani2 <at> gmail.com>

Date: Wed, 10 Oct 2018 18:59:01 UTC

Severity: normal

Tags: fixed, patch

Found in version 27.0.50

Fixed in version 27.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 33006 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Philipp <p.stephani2 <at> gmail.com>
Cc: 33006 <at> debbugs.gnu.org
Subject: Re: bug#33006: 27.0.50;
 `dired-do-find-regexp' doesn't work for remote directories
Date: Fri, 12 Oct 2018 14:52:48 +0200
[Message part 1 (text/plain, inline)]
Philipp <p.stephani2 <at> gmail.com> 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.

[Message part 2 (text/plain, attachment)]

This bug report was last modified 6 years and 194 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.