From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#28119: 26.0.50; TRAMP: Can't open "/sudo::/tmp" after (tramp-change-syntax 'simplified) Date: Thu, 17 Aug 2017 09:21:08 +0200 Message-ID: <871soa4q3f.fsf@detlef> References: <87a82yivwq.fsf@scrawny> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1502954542 4848 195.159.176.226 (17 Aug 2017 07:22:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 17 Aug 2017 07:22:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 28119-done@debbugs.gnu.org To: Dima Kogan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 17 09:22:18 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1diF86-0000gt-Ut for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Aug 2017 09:22:11 +0200 Original-Received: from localhost ([::1]:36708 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1diF8D-0006zX-HC for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Aug 2017 03:22:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1diF83-0006y1-Pu for bug-gnu-emacs@gnu.org; Thu, 17 Aug 2017 03:22:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1diF7y-0004t5-Ss for bug-gnu-emacs@gnu.org; Thu, 17 Aug 2017 03:22:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33254) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1diF7y-0004sy-PS for bug-gnu-emacs@gnu.org; Thu, 17 Aug 2017 03:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1diF7y-0001zT-K1 for bug-gnu-emacs@gnu.org; Thu, 17 Aug 2017 03:22:02 -0400 Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Aug 2017 07:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 28119 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 28119@debbugs.gnu.org, michael.albinus@gmx.de, dima@secretsauce.net Original-Received: via spool by 28119-done@debbugs.gnu.org id=D28119.15029544807585 (code D ref 28119); Thu, 17 Aug 2017 07:22:02 +0000 Original-Received: (at 28119-done) by debbugs.gnu.org; 17 Aug 2017 07:21:20 +0000 Original-Received: from localhost ([127.0.0.1]:41933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diF7I-0001yG-HN for submit@debbugs.gnu.org; Thu, 17 Aug 2017 03:21:20 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:63557) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diF7H-0001y3-Dw for 28119-done@debbugs.gnu.org; Thu, 17 Aug 2017 03:21:19 -0400 Original-Received: from detlef.gmx.de ([212.86.40.21]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lg1QN-1dG75y2qfD-00peJX; Thu, 17 Aug 2017 09:21:09 +0200 In-Reply-To: <87a82yivwq.fsf@scrawny> (Dima Kogan's message of "Wed, 16 Aug 2017 22:51:49 -0700") X-Provags-ID: V03:K0:sho5jAQvJjX99V1t3rT/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+ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135860 Archived-At: Dima Kogan writes: > Hi. Hi Dima, > I'm running a bleeding-edge build of emacs from git. I turned on > what I thought was the old-style TRAMP syntax by evaluating > > (tramp-change-syntax 'simplified) > > This gives me the old syntax for ssh, but other modes don't work > anymore. For instance, trying to open /sudo::/whatever now tries to > contact an ssh server named "sudo". Is this expected? Is the 'simplified > syntax not an old-style compability syntax? `simplified' is not an old-style compatibility. The "old-style" syntax, allowing the method name to be optional, has been thrown away completely. You use now either "/method:user@host:" as the changed default syntaxw (user and host are optional), or "/user@host:" as the symplified syntax (user being optional). Simplified syntax looks similar to the old ange-ftp syntax. With the simplified syntax, you declare your default method via `tramp-default-method-alist' or `tramp-default-method'. I'm marking this ticket as notabug and closed, but of course we could continue to discuss how to optimize your settings. Best regards, Michael.