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: Tue, 04 Apr 2017 10:46:20 +0200 Message-ID: <87r318ftlv.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> <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 1491295599 23911 195.159.176.226 (4 Apr 2017 08:46:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 4 Apr 2017 08:46:39 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 04 10:46:33 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 1cvK6g-0005I7-Iy for ged-emacs-devel@m.gmane.org; Tue, 04 Apr 2017 10:46:30 +0200 Original-Received: from localhost ([::1]:34521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvK6m-00056l-93 for ged-emacs-devel@m.gmane.org; Tue, 04 Apr 2017 04:46:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvK6d-00055U-OI for emacs-devel@gnu.org; Tue, 04 Apr 2017 04:46:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cvK6Z-0007Rg-RN for emacs-devel@gnu.org; Tue, 04 Apr 2017 04:46:27 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:49179) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cvK6Z-0007Ou-Dq for emacs-devel@gnu.org; Tue, 04 Apr 2017 04:46:23 -0400 Original-Received: from detlef.gmx.de ([87.146.43.219]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M3eDF-1c4JsS1bTl-00rHZ1 for ; Tue, 04 Apr 2017 10:46:21 +0200 In-Reply-To: (John Wiegley's message of "Mon, 03 Apr 2017 16:14:03 -0700") X-Provags-ID: V03:K0:ZDCsgNJybj4d0Cg9A+fX2/c7wUoiYXAmF1Hw0pT2mUjrz1r/31X 4/1h1Lg32zLq8iyyF5pvg0+p3r06lF4/V2BHtHBZgSM9BKBJ1OwBhKIGQ3iX5a0tagavaZP Cw2wwUYMtFe6m1yKXk3AUhMWqkyUeRqRoGIi0jQxNFmwvvvF4hWhyiPQ9woWiluLCJ8vM5f RyyD8gB8l6RfOpnvQuXZQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:LBxBfofOnmI=:1H/rpDZ08sSyL+YdWvnLgz Xn6UkqXw375Sin8Igsf+fYeT76VJfimHK0aaoMiE9jrolOhQlTkquJbU4iol0Y/YEAawxXjde /+Dzur0CkIg4FTgtrCXlUC4u4Ux2wXm/vWFwgAOz43/8C3F3++uQsrYHVGkM0qKdJn71vc8QC brwB6v5JadHmdFFxMEVl0l/yHJFsHEzvRPuqMJDIVxPZSYGi7m7QsviQto0THA4KDwA5YV/Vg Gz8mKcOJl+59FXuxkOcorldBWCtsMxw71RDvWa5cklU61EVJxC/T6vqSdIV6gmfozV5BKz+iw NdC6nQEBcqoLu986ANgWvbAI18xFx4SGUhWpw1dVMxh8UOfvC0fyPFJu3atR53ynjcePjXWn7 Ym2Uuy2AeZCPeVA0oebEQ+8H68Cj+6sZilziCj0vScYkcMdKbvLe83xnugz+HV3zaBidM0yfc 3BOyKkBh3GJSnLyGGL5DndMR3HgwTS3PgyzMPJZHMgcsah+lb8BSGb1VLWLQHhUziOICYggvV tSnSxY6kuwElfA1+kcxqso3hwlq6vu7rC4vCM+jZIrmfzoK06ZSEpplXlhLAJLOQQfS21H3mx uVsuW2tybl5qFOGqDWXT2Gcfxtr2EMm1iAji64Fgqou5Z8O8o2JVfEHwZoPua97jTdTZ3kZuj ETQRmnqEsKugeowWkvkx4yz46pEtfX+0oQ8fuUvnLpWTFEKb5rVnIXpa4pmUpu15to5Obs/Mk CXSFcaRSMxbwLBKdMVtZN5U7P8/qdoyEW9N8iLBBk+xb1GyLZBxAr7QIxb0gSajAgISuP8f2 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:213634 Archived-At: John Wiegley writes: Hi John, > 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? Adding another file name handler would be complicate, because Tramp plays with inhibit-file-name-{handlers, operation} internally. And other packages call Tramp functions directly, which might cause also problems. But Tramp supports already two different syntaxes, the well known "/method:user@host:" syntax, and the XEmacs style "/[method/user@host]" syntax. You can select which syntax to use by changing `tramp-syntax'. It shouldn't be too hard to add a third variant "/user@host:". Give me some days to play with. Best regards, Michael.