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 #44 received at 34343 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Michael Albinus <michael.albinus <at> gmx.de>
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: Sat, 28 Dec 2019 17:46:07 +0300
On 27.12.2019 19:57, Michael Albinus wrote:
> file-local-name uses internally file-remote-p, which calls
> expand-file-name if the connection is already established

Why? If the caller needs an expanded name, they can call 
expand-file-name themselves. Or if they need an expanded local name:

    (file-local-name (expand-file-name filename))

Aside from performance problems, this feels like an inconsistent behavior.

> Could you pls test the appended patch, whether it improves performance?

In any case, this didn't help because in my main scenario 
identification=localname. Whatever that means.




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.