From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: Change Tramp syntax Date: Mon, 03 Apr 2017 16:14:03 -0700 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 X-Trace: blaine.gmane.org 1491261205 6253 195.159.176.226 (3 Apr 2017 23:13:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 3 Apr 2017 23:13:25 +0000 (UTC) User-Agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.2 (darwin) Cc: emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 04 01:13:21 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 1cvB9x-0000q2-In for ged-emacs-devel@m.gmane.org; Tue, 04 Apr 2017 01:13:17 +0200 Original-Received: from localhost ([::1]:33256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvBA3-0002An-HB for ged-emacs-devel@m.gmane.org; Mon, 03 Apr 2017 19:13:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvB9w-0002AY-J6 for emacs-devel@gnu.org; Mon, 03 Apr 2017 19:13:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cvB9t-0000wB-Bd for emacs-devel@gnu.org; Mon, 03 Apr 2017 19:13:16 -0400 Original-Received: from mail-pg0-x22b.google.com ([2607:f8b0:400e:c05::22b]:33167) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cvB9t-0000vx-65 for emacs-devel@gnu.org; Mon, 03 Apr 2017 19:13:13 -0400 Original-Received: by mail-pg0-x22b.google.com with SMTP id x125so134169127pgb.0 for ; Mon, 03 Apr 2017 16:13:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version; bh=mCPR60xOHp/UBIjf3FjfddT8BiAgsOOOO21FNDo+NOI=; b=lrRK35eSAS8GOvRJMaFOs9FKglOzfX8qxIEwsiYAxikhCmy/LPBYHkAynvstfPKs4n xJS3/v0l7AQ4A5Bzyt+kIc4qb/Fz896gxZdPFlnvqiSK113nAn3f7dDu41n2yDi02Ghu ugKiArkl3rNeNDKa1iq/4a2ZpeF8Ao+RNFq2Ahd13H5zqaiLgLqutAw6I5uo65Guwcbj zRkAvJBmrBmsWA5EWhOVahp6g2cSUQOB7rSysnqmrKnciRF32IZGtJAP06Xqk+fOnrEj htpXP3EJ0Tb9gXb+6EdEbCjyNd8XCqeqJFpzkR5zfVxeE1FFTO6NSJ81WsdiuBVJuWtF +2SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:mail-followup-to:mime-version; bh=mCPR60xOHp/UBIjf3FjfddT8BiAgsOOOO21FNDo+NOI=; b=CLYYuGqn8wE1jkw7EKskvg2CgS4s6pGC/Ytr9BYMnTnDyH/Ax3k4qqvDGIs1PnalSo X0WqvD7bswQqqkOUvRSZkAs2h3/rC8NknxArJQO+KScEz3qWnScmWJU9uBaAhxsq3Ldr Np5+K3ptVO+6JW24KYSBq9dE21G6pCQr2bY+G1BAAU0Py6YPTcCPrAKsgE1jhhSfUyTt cMs2GFLXhmcfMjeoyzsJ416NhyjZTPtWB5dTDxFJqYjHCgxFW04K5UBP4RqzMhniP04p BHQ9VQW3WxZrtGJHNZT1W+rgOLyI8EMNDFkmbGEgmO03dLbQTqLkiP8wPoQWuOWD4b6q mBvg== X-Gm-Message-State: AFeK/H0ohe3omvMwxJd5P7SR89JwDTLG4n1swDN2oviEyuSo4v7hNvkBmwJWappAqzXOkA== X-Received: by 10.99.42.78 with SMTP id q75mr20454232pgq.144.1491261192241; Mon, 03 Apr 2017 16:13:12 -0700 (PDT) Original-Received: from Vulcan.local (76-234-69-149.lightspeed.frokca.sbcglobal.net. [76.234.69.149]) by smtp.gmail.com with ESMTPSA id q64sm27742161pga.0.2017.04.03.16.13.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Apr 2017 16:13:11 -0700 (PDT) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id E57963645FAD; Mon, 3 Apr 2017 16:14:06 -0700 (PDT) In-Reply-To: <87fuhppgt0.fsf@detlef> (Michael Albinus's message of "Mon, 03 Apr 2017 19:00:27 +0200") Mail-Followup-To: Michael Albinus , emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c05::22b 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:213627 Archived-At: >>>>> "MA" == Michael Albinus writes: 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'. 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. MA> Enough reasons that I decided to solve it once and forever. 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. MA> There's no need to use "-". You could always use "ssh" instead, if this MA> annoys your eyes. Well.... by adding 4 characters to every remote pathname I type, for no benefit *I* can perceive. 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 :-) 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? -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2