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: Sat, 11 Mar 2017 22:08:33 +0200 Message-ID: <83o9x7d1a6.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1489262956 20186 195.159.176.226 (11 Mar 2017 20:09:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 11 Mar 2017 20:09:16 +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 Sat Mar 11 21:09:11 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 1cmnK5-00043t-RA for ged-emacs-devel@m.gmane.org; Sat, 11 Mar 2017 21:09:05 +0100 Original-Received: from localhost ([::1]:44580 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmnKB-0002Po-MH for ged-emacs-devel@m.gmane.org; Sat, 11 Mar 2017 15:09:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmnK5-0002Pj-OF for emacs-devel@gnu.org; Sat, 11 Mar 2017 15:09:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmnK1-0004As-71 for emacs-devel@gnu.org; Sat, 11 Mar 2017 15:09:05 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49627) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmnK1-0004Am-3s; Sat, 11 Mar 2017 15:09:01 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2011 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cmnJz-0002Bh-I3; Sat, 11 Mar 2017 15:09:00 -0500 In-reply-to: <8760jfegz4.fsf@detlef> (message from Michael Albinus on Sat, 11 Mar 2017 20:44:15 +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:212921 Archived-At: > From: Michael Albinus > Date: Sat, 11 Mar 2017 20:44:15 +0100 > Cc: emacs-devel@gnu.org > > > 1- Get rid of ange-ftp syntax altogether, like you propose. > > 2- Keep the syntax, but only when it doesn't collide with the > > Tramp syntax. I.e. /fencepost:foo will still be allowed, but > > if you want to access a host named "ssh" you'll need something like > > /ftp:ssh:foo or /ssh:ssh:foo or /ssh.domain:foo or /user@ssh:foo. > > I.e. /foo: will only be considered ange-ftp syntax if `foo` is not a method. > > 3- Like 2 but treat /foo:./bar and /foo:/bar as an ange-ftp syntax even if > > `foo` is a method. > > 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.