[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 19:46:04 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Dmitry Gutov <dgutov@yandex.ru> writes:
> 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.
I said already, that expand-file-name isn't needed for
file-local-name. I will try to find a better implementation.
- bug#34343: [PATCH] Make project--find-regexp-in-files work with remote files, Dmitry Gutov, 2019/12/26
- bug#34343: [PATCH] Make project--find-regexp-in-files work with remote files, Michael Albinus, 2019/12/27
- bug#34343: [PATCH] Make project--find-regexp-in-files work with remote files, Dmitry Gutov, 2019/12/28
- bug#34343: [PATCH] Make project--find-regexp-in-files work with remote files,
Michael Albinus <=
- bug#34343: [PATCH] Make project--find-regexp-in-files work with remote files, Dmitry Gutov, 2019/12/28
- bug#34343: [PATCH] Make project--find-regexp-in-files work with remote files, Michael Albinus, 2019/12/29
- bug#34343: [PATCH] Make project--find-regexp-in-files work with remote files, Dmitry Gutov, 2019/12/29