emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs-27 e1e0a7a 2/2: xref--collect-matches: Speed up on remote


From: Michael Albinus
Subject: Re: emacs-27 e1e0a7a 2/2: xref--collect-matches: Speed up on remote
Date: Sat, 28 Dec 2019 19:58:17 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Dmitry Gutov <address@hidden> writes:

> On 28.12.2019 0:06, Stefan Monnier wrote:
>> so in that case
>> `expand-file-name` should presumably "always" return without contacting
>> the remote host, right?
>
> Personally, I don't see why file-local-name should ever call
> expand-file-name. The caller can do that itself, when necessary.

In the current implementation, file-local-name calls file-remote-p,
which sometimes calls expand-file-name. There are reasons for this, but
for the file-local-name business this is unfortune.

Best regards, Michael.



reply via email to

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