* bug#28119: 26.0.50; TRAMP: Can't open "/sudo::/tmp" after (tramp-change-syntax 'simplified)
@ 2017-08-17 5:51 Dima Kogan
2017-08-17 7:21 ` Michael Albinus
0 siblings, 1 reply; 2+ messages in thread
From: Dima Kogan @ 2017-08-17 5:51 UTC (permalink / raw)
To: 28119
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#28119: 26.0.50; TRAMP: Can't open "/sudo::/tmp" after (tramp-change-syntax 'simplified)
2017-08-17 5:51 bug#28119: 26.0.50; TRAMP: Can't open "/sudo::/tmp" after (tramp-change-syntax 'simplified) Dima Kogan
@ 2017-08-17 7:21 ` Michael Albinus
0 siblings, 0 replies; 2+ messages in thread
From: Michael Albinus @ 2017-08-17 7:21 UTC (permalink / raw)
To: Dima Kogan; +Cc: 28119-done
Dima Kogan <dima@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@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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-17 7:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-17 5:51 bug#28119: 26.0.50; TRAMP: Can't open "/sudo::/tmp" after (tramp-change-syntax 'simplified) Dima Kogan
2017-08-17 7:21 ` Michael Albinus
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.