GNU bug report logs - #28119
26.0.50; TRAMP: Can't open "/sudo::/tmp" after (tramp-change-syntax 'simplified)

Previous Next

Package: emacs;

Reported by: Dima Kogan <dima <at> secretsauce.net>

Date: Thu, 17 Aug 2017 05:53:02 UTC

Severity: normal

Tags: notabug

Found in version 26.0.50

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#28119: closed (26.0.50; TRAMP: Can't open "/sudo::/tmp" after
 (tramp-change-syntax 'simplified))
Date: Thu, 17 Aug 2017 07:22:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 17 Aug 2017 09:21:08 +0200
with message-id <871soa4q3f.fsf <at> detlef>
and subject line Re: bug#28119: 26.0.50; TRAMP: Can't open "/sudo::/tmp" after (tramp-change-syntax 'simplified)
has caused the debbugs.gnu.org bug report #28119,
regarding 26.0.50; TRAMP: Can't open "/sudo::/tmp" after (tramp-change-syntax 'simplified)
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
28119: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28119
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dima Kogan <dima <at> secretsauce.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.50; TRAMP: Can't open "/sudo::/tmp" after (tramp-change-syntax
 'simplified)
Date: Wed, 16 Aug 2017 22:51:49 -0700
Hi. 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?


[Message part 3 (message/rfc822, inline)]
From: Michael Albinus <michael.albinus <at> gmx.de>
To: Dima Kogan <dima <at> secretsauce.net>
Cc: 28119-done <at> debbugs.gnu.org
Subject: Re: 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
Dima Kogan <dima <at> secretsauce.net> 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 <at> host:" as the changed
default syntaxw (user and host are optional), or "/user <at> 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.


This bug report was last modified 7 years and 283 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.