From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Change Tramp syntax Date: Sat, 11 Mar 2017 21:31:00 +0100 Message-ID: <87lgsbd08r.fsf@detlef> 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1489264314 18553 195.159.176.226 (11 Mar 2017 20:31:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 11 Mar 2017 20:31:54 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: monnier@IRO.UMontreal.CA, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 11 21:31:51 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 1cmnfx-0003cr-81 for ged-emacs-devel@m.gmane.org; Sat, 11 Mar 2017 21:31:41 +0100 Original-Received: from localhost ([::1]:44635 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmng3-00060T-8m for ged-emacs-devel@m.gmane.org; Sat, 11 Mar 2017 15:31:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmnfU-00060M-3v for emacs-devel@gnu.org; Sat, 11 Mar 2017 15:31:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmnfQ-0008EY-Qx for emacs-devel@gnu.org; Sat, 11 Mar 2017 15:31:12 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:56891) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmnfQ-0008D6-Cz; Sat, 11 Mar 2017 15:31:08 -0500 Original-Received: from detlef.gmx.de ([87.146.50.95]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lqhaw-1cIfa80PoI-00eOtJ; Sat, 11 Mar 2017 21:31:02 +0100 In-Reply-To: <83o9x7d1a6.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 11 Mar 2017 22:08:33 +0200") X-Provags-ID: V03:K0:O6Hqm30DpzFiFv8qVhFzB+D3Wq5CVC/VolaecY+kwO6YPg1SXpF 1X2iJWRl8UY0J1I0cQKn5sayMc3qyujKtpXfxzns0EoaFlln8Ueq1NeTqT622CwHh3CeL5N Yme+ilEOQYyJ8efiPHEE37XnA+0fzAoLV0A/NPF43xzt16MpXbQ6q0ENn1fhfrRSBiAnSHv M3k5upCgU52xh4h5X0gRg== X-UI-Out-Filterresults: notjunk:1;V01:K0:ZNALavxryiw=:6sFNkQ/QON3i70wz1n0EoE 8Zobl0a1Y1BW3G5YuLr3v7JH9NXJTAO5fCYW9w2Tm38HB/1Zp0S0ZOZB7LW9I4VtW6KoUroRV 3OrKAzL9oo6cLF6yjPby3rgJhcJiyyLUactG7BA7JMzz281E2jjQ7oNOPglZkPCVI6HEdDpyg wgqHl9qKOH4fbP2dXfqErDz/ByZGs/Kxjgu9jmKQOEFiJuXpPngGMvawmm41CdgWMdrwpmKj1 VFAZiqkN9dndnm+PMqmzUlz1aIUhZ6dvWXcZm3QM74IUqfX3ywlhZcOwjiEKncDV9le9Ti0J6 7l+rqC276ukrj+Oj67d8CpR0dGYKt/VCi8G37bf/oSwpXChwcz0nu1MeeQAT87cJQd1ydmK+A 6TB+yeaPiUpeXZ7fvVQGA/94xtMvi7r7zHYujJVtJDF3ZljIVQazEGQoXxZ/T6/XOwmGtuAet W/yCIH3oE7Aq245Vc1dJzrRzxfoDVRSt5gDy6CsePlAEmrklNbAtn4/ebZzCofHXRJwDj8Tr8 /JJalIyaZaNt0nuhR/PGLLgiou/NQkYXpnB6VR8T36iBPSxUZlIU7qnsEmOBPLLxeNF87mdO5 iKzl22J+o5P3sINx1XVfN9EcI06BUAFFl48XktK/vEln4IxFCtZgof6DWWrC5IuWYshB08Ox7 e9AR5A+ez4EEjKjMqCmuRUUilzfgPT8Z+cuW2lFFeVCjp2fh1t9W9r7xx2ZxbmUJC7Q2romjI 5RhqgCEiKDU+/ja8hklmQ3VOfRz5usvALY6MvQSGMRspelHeog4yYB/AqNlEeWpCRyx7GEWw 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.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:212924 Archived-At: Eli Zaretskii writes: Hi Eli, >> Currently, we have implemented option 2. But the check, whether the host >> name in /ssh:foo collides with a method, happens too late, because file >> name handlers are fired by parsing the file name, and not by additional >> checks (like a function call). > > 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 = . minibuffer-complete-and-exit) (13 . minibuffer-complete-and-exit) keymap = (menu-bar keymap (minibuf "Minibuf" keymap (tab menu-item "Complete" minibu= ffer-complete :help "Complete as far as possible") (space menu-item "Comple= te Word" minibuffer-complete-word :help "Complete at most one word") (63 me= nu-item "List Completions" minibuffer-completion-help :help "Display all po= ssible completions") "Minibuf")) (27 keymap (118 . switch-to-completions)) = (prior . switch-to-completions) (63 . minibuffer-completion-help) (32 . min= ibuffer-complete-word) (9 . minibuffer-complete) keymap (menu-bar keymap (m= inibuf "Minibuf" keymap (previous menu-item "Previous History Item" previou= s-history-element :help "Put previous minibuffer history element in the min= ibuffer") (next menu-item "Next History Item" next-history-element :help "P= ut next minibuffer history element in the minibuffer") (isearch-backward me= nu-item "Isearch History Backward" isearch-backward :help "Incrementally se= arch minibuffer history backward") (isearch-forward menu-item "Isearch Hist= ory Forward" isearch-forward :help "Incrementally search minibuffer history= forward") (return menu-item "Enter" exit-minibuffer :key-sequence "" :help= "Terminate input and exit minibuffer") (quit menu-item "Quit" abort-recurs= ive-edit :help "Abort input and exit minibuffer") "Minibuf")) (10 . exit-mi= nibuffer) (13 . exit-minibuffer) (7 . abort-recursive-edit) (C-tab . file-c= ache-minibuffer-complete) (9 . self-insert-command) (XF86Back . previous-hi= story-element) (up . previous-line-or-history-element) (prior . previous-hi= story-element) (XF86Forward . next-history-element) (down . next-line-or-hi= story-element) (next . next-history-element) (27 keymap (114 . previous-mat= ching-history-element) (115 . next-matching-history-element) (112 . previou= s-history-element) (110 . next-history-element))) nil file-name-history "~/= " nil) 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". Best regards, Michael.