From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: emacs-27 e1e0a7a 2/2: xref--collect-matches: Speed up on remote Date: Sat, 28 Dec 2019 19:58:17 +0100 Message-ID: <87zhfcxoom.fsf@gmx.de> References: <20191227141917.13328.16721@vcs0.savannah.gnu.org> <20191227141919.03F1321537@vcs0.savannah.gnu.org> <88d31403-1eb1-e294-4b88-15cacadd52a7@yandex.ru> <87imm1pllt.fsf@gmx.de> <3df43b9a-9b87-1ae5-727f-22ef3c8bf33f@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="18573"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Stefan Monnier , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 28 20:01:52 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ilHLU-0004jc-81 for ged-emacs-devel@m.gmane.org; Sat, 28 Dec 2019 20:01:52 +0100 Original-Received: from localhost ([::1]:45618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilHLS-0007w5-BU for ged-emacs-devel@m.gmane.org; Sat, 28 Dec 2019 14:01:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35408) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilHI9-0006WS-25 for emacs-devel@gnu.org; Sat, 28 Dec 2019 13:58:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilHI8-00074T-0W for emacs-devel@gnu.org; Sat, 28 Dec 2019 13:58:24 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:45647) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ilHI7-0006wU-Ml for emacs-devel@gnu.org; Sat, 28 Dec 2019 13:58:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1577559498; bh=IuCpgND3V8kqPFdRoJcCAaWZcC/fr/50yYd9lsr6W6A=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=c8DD2fEXXUP6hPDrcTrjsNMnubGJJsS/sG8GUzws3g6P8J/h37yZ6XwwaMtdEKwpD DQoXc+uckx/npXapYnwsFKAHBOWRIPoFBYsxkJS7GOde5n/EM/aBMF4AhznJMUTHE7 sVVah8JE7gT6qCk+r64tYS9kj6tWJSdyORaxLzKQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from detlef.gmx.de ([212.86.60.58]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M4s51-1ijLkT1c63-001xRA; Sat, 28 Dec 2019 19:58:18 +0100 In-Reply-To: <3df43b9a-9b87-1ae5-727f-22ef3c8bf33f@yandex.ru> (Dmitry Gutov's message of "Sat, 28 Dec 2019 18:22:38 +0300") X-Provags-ID: V03:K1:BfrTRHbamn8XEGTuk3BhyqLOa8UQjFeoBH/bmgLU0n2w9DKA5QT gOXhbBjnZTX1MwTyCMhyHUSTJ7cgnBRg+ww9SP7GUAhEplm8jS/NR/jXyyyjXoyo/t+CX0L CBvBMHGzFyB7ozbCiE/r4Ns8NVVeeVC76qFAoGxy7LgEeRF/icwYMdnv3FQt/c8rcysQWSa Ydj05eWQV2SoQX1TVWcPg== X-UI-Out-Filterresults: notjunk:1;V03:K0:v+WgXA5qvWU=:pfLt7ag3w9HiRvqC/w/h8F bLIdAxNY5MmQwhyIfMBM4BDFu2jhPpAWkzZq4w1ZU9S0t6ucuIhyHP8nOWOtLRmYQLtWFaEJe uM01KIZpVdjEee7pURy35BYAbTCW070WSqvT0Sm2ykU1tboIjp09g8HFqLwo2zB/EiMHM6Ntv lwitZMnZQW1VRA//is9L9TLDprW+0Gb761xmCNKJP5tZkp3vYpRcysdvPe5jy4f1mH5ZWn5nC fDoQ3izq8Zwm2UZfJq+AiiNQVGzjUTdug7ePoIU1HpiSRzGECMjEh1id3cgZivTsd1t/5Ykfx 2dVbi+5YMUMQA1EUwtE/whXwKFEsiA8P7IZf/DevVOzqGdp2kimxS6Rt0VtanuL8DPyMJuf3a 2am/sYUP4KrIEq1UGttplbqqWlzfZxCQFry11LO5Ak9YU7+jwHlcJREQItVra7kef/pu/Bk/c 4GNr01WOADlEkTYvGw1RXj5lDHIEFhAgAjCACDaf+x0qdQm0SBwTV2GWuaaJcyJu++lxFGPe6 C+hHMWOlykT8Tp9LJJsnr+wEBkdRVIlzZZKZATG40uj3pJ1zFhZZP74WxUDXXDHJgLOdWccjB ViBZvZ06NgVAtvFsFdZGwBC2MZI6s7a/CwGp7WIfnuSz4Z5/pf4rDbY8AGaSOolFL4EVsOetq hg39iipMthhQKl15QhU8rlH+3/o37ydsnRaDpUbls4my3x25NjXNxSFP5Vww5JSg0dBN4ZHvQ nV4hbJHV1CzUi7Yj3RsLEG/h8qhy8aHp6PsxjGa8M4Y5zYrNGtY+eSf4hSxN3vkvAn2FZJ7j X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:243740 Archived-At: Dmitry Gutov 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.