bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34343: [PATCH] Make project--find-regexp-in-files work with remote f


From: Michael Albinus
Subject: bug#34343: [PATCH] Make project--find-regexp-in-files work with remote files
Date: Sat, 28 Dec 2019 11:21:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Michael Albinus <michael.albinus@gmx.de> writes:

Hi Dmitry,

> file-local-name uses internally file-remote-p, which calls
> expand-file-name if the connection is already established. Not needed in
> case of local names.
>
> Could you pls test the appended patch, whether it improves performance?

Please forget this. I ran Tramp regression tests over night, and some of
them failed due to this change.

So we need a cheaper file-local-name. Just checking for
tramp-file-name-regexp isn't sufficient, because the file could be
"remote" independent of Tramp. Let me contemplate about.

Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]