GNU bug report logs - #34343
[PATCH] Make project--find-regexp-in-files work with remote files

Previous Next

Package: emacs;

Reported by: Felicián Németh <felician.nemeth <at> gmail.com>

Date: Wed, 6 Feb 2019 08:19:01 UTC

Severity: normal

Tags: moreinfo, patch

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 34343 <at> debbugs.gnu.org,
 Felicián Németh <felician.nemeth <at> gmail.com>
Subject: Re: bug#34343: [PATCH] Make project--find-regexp-in-files work with
 remote files
Date: Sun, 29 Dec 2019 13:34:26 +0100
Dmitry Gutov <dgutov <at> yandex.ru> writes:

Hi Dmitry,

>> I said already, that expand-file-name isn't needed for
>> file-local-name. I will try to find a better implementation.
>
> Sorry, I guess I misunderstood you, then. I thought you meant to write
> a new function, "a cheaper file-local-name".

There could be both solutions, improve file-local-name, or create a new
function. My strong preference is the former, of course.

> BTW, does file-remote-p always call expand-file-name if the connection
> is already established?

Not always. But even if it calls expand-file-name, this doesn't mean
always that a remote command is fired. This is what is expensive.

Best regards, Michael.




This bug report was last modified 3 years and 303 days ago.

Previous Next


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