From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Change Tramp syntax Date: Sun, 12 Mar 2017 17:18:54 +0200 Message-ID: <83innecyld.fsf@gnu.org> References: <20170309184457.29604.13048@vcs0.savannah.gnu.org> <20170309184458.08C9725FCF@vcs0.savannah.gnu.org> <87k27xfo3q.fsf@detlef> <87efy5fmml.fsf@detlef> <87mvcti5he.fsf_-_@detlef> <8760jfegz4.fsf@detlef> <83o9x7d1a6.fsf@gnu.org> <87lgsbd08r.fsf@detlef> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1489332005 12571 195.159.176.226 (12 Mar 2017 15:20:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 12 Mar 2017 15:20:05 +0000 (UTC) Cc: monnier@IRO.UMontreal.CA, emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 12 16:20:01 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cn5Hl-00022s-KL for ged-emacs-devel@m.gmane.org; Sun, 12 Mar 2017 16:19:53 +0100 Original-Received: from localhost ([::1]:47326 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cn5Hr-0007qV-Jl for ged-emacs-devel@m.gmane.org; Sun, 12 Mar 2017 11:19:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cn5H6-0007qN-RG for emacs-devel@gnu.org; Sun, 12 Mar 2017 11:19:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cn5H2-0000Sk-MQ for emacs-devel@gnu.org; Sun, 12 Mar 2017 11:19:12 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cn5H2-0000Sg-JB; Sun, 12 Mar 2017 11:19:08 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2551 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cn5H1-0000eY-Vp; Sun, 12 Mar 2017 11:19:08 -0400 In-reply-to: <87lgsbd08r.fsf@detlef> (message from Michael Albinus on Sat, 11 Mar 2017 21:31:00 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:212946 Archived-At: > From: Michael Albinus > Cc: monnier@IRO.UMontreal.CA, emacs-devel@gnu.org > Date: Sat, 11 Mar 2017 21:31:00 +0100 > > > Are the recent changes the reason that typing "C-x C-f ~/da" is now > > followed by a perceptible delay, due to Tramp being auto-loaded? This > > used not to be the case. > > "~/da" shall not invoke Tramp. But it does, indeed. If I call "emacs -Q" > and eval "M-x debug-on-entry RET load", then Tramp is already loaded > after typing "~/d". The reason is > > substitute-in-file-name("/d") > rfn-eshadow-update-overlay() > read-from-minibuffer("Find file: " "~/" (keymap (keymap (32)) keymap (10 . m Can we get rid of this somehow? It used to be possible to avoid loading Tramp when specifying local file names. > The delay is not serious on my 7-years old T500 (less than half a > second). I don't know whether this counts as "perceptible". Well, if it wasn't perceptible, I wouldn't have paid attention...