From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: Change Tramp syntax Date: Mon, 3 Apr 2017 16:35:51 -0700 (PDT) Message-ID: References: <20170309184457.29604.13048@vcs0.savannah.gnu.org> <20170309184458.08C9725FCF@vcs0.savannah.gnu.org> <87k27xfo3q.fsf@detlef> <87efy5fmml.fsf@detlef> <87mvcti5he.fsf_-_@detlef> <83shmldumk.fsf@gnu.org> <87fuhppgt0.fsf@detlef> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1491262606 28483 195.159.176.226 (3 Apr 2017 23:36:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 3 Apr 2017 23:36:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: John Wiegley , Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 04 01:36:43 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 1cvBWX-0006Ot-Ku for ged-emacs-devel@m.gmane.org; Tue, 04 Apr 2017 01:36:37 +0200 Original-Received: from localhost ([::1]:33306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvBWd-0004Hp-1p for ged-emacs-devel@m.gmane.org; Mon, 03 Apr 2017 19:36:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvBW1-0004GJ-Rg for emacs-devel@gnu.org; Mon, 03 Apr 2017 19:36:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cvBVy-0006eZ-PE for emacs-devel@gnu.org; Mon, 03 Apr 2017 19:36:05 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:27382) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cvBVy-0006dX-GJ for emacs-devel@gnu.org; Mon, 03 Apr 2017 19:36:02 -0400 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v33NZtMZ021591 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 3 Apr 2017 23:35:56 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v33NZsmG022436 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 3 Apr 2017 23:35:54 GMT Original-Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id v33NZpIb018311; Mon, 3 Apr 2017 23:35:52 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6753.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-Received-From: 156.151.31.81 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:213628 Archived-At: > MA> It didn't work ever. User and host name completion was based on > a terrible > MA> heuristic. There have been bug reports, plus a many years long > dissense > MA> between Stefan and me about `non-essential'. >=20 > Personally I don't care to ever complete host names (they're always > short, as > I use ssh/config to manage them), so I'd rather have /host:file than > an > unambiguous way to complete host names I never complete. I could be > in the > minority, though. >=20 > MA> Enough reasons that I decided to solve it once and forever. >=20 > This is the essence of my question: Does it solve the problem for > some, at a > cost to others? What is the new user experience if they fail to use > "ssh:"? Is > it obvious what they've done wrong and how to fix it? You're > modifying some > seriously ancient behavior with this change. >=20 > MA> There's no need to use "-". You could always use "ssh" instead, > if this > MA> annoys your eyes. >=20 > Well.... by adding 4 characters to every remote pathname I type, for > no > benefit *I* can perceive. >=20 > MA> The other way back to the ange-ftp syntax I've mentioned in my > MA> announcement: You are invited to implement a solution in Tramp > :-) >=20 > Since you know the code well, do you think it's easy to add my own > file-name-handler that will insert the missing "ssh:" and resubmit > to Tramp? FWIW, and without wanting to argue for it, I'll mention that I too use FTP and the /host:file/ syntax. I don't use ssh - I use only ange-ftp. And I don't really care about file-name completion for remote names, if that helps. Not trying to persuade anyone; just letting you know there is one more ange-ftp user.