[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp-default-method not applied anymore

From: Michael Albinus
Subject: Re: tramp-default-method not applied anymore
Date: Mon, 12 Feb 2018 18:17:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Gilles Pion <address@hidden> writes:

Hi Gilles,

> I now have to explicitly a method in remote path names:
> "/<method>:<user>@<host>".

Yes, this is intended. Read etc/NEWS of Emacs 26.1:

--8<---------------cut here---------------start------------->8---
*** The method part of remote file names is mandatory now.
A valid remote file name starts with "/method:host:" or

*** The new pseudo method "-" is a marker for the default method.
"/-::" is the shortest remote file name then.
--8<---------------cut here---------------end--------------->8---

You could still use tramp-default-method, by using "-" as the default
method: "/-:<user>@<host>".

If you use only the default method, you could switch the Tramp syntax by
this in your .emacs:

--8<---------------cut here---------------start------------->8---
(require 'tramp)
(tramp-change-syntax 'simplified)
--8<---------------cut here---------------end--------------->8---

> Gilles

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]