Subject: Re: bug#70792: 30.0.50; [PATCH] Add Eshell support for expanding absolute file names within the current remote connection

From: Eli Zaretskii <[email-masked]>
Date: Thu, 09 May 2024 21:53:18 +0300

> From: Michael Albinus <[email-masked]>
> Cc: Jim Porter <[email-masked]>,  [email-masked]
> Date: Thu, 09 May 2024 20:14:07 +0200
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> There is no public Tramp syntax for "/local:" or "/localhost:" or alike
> in Tramp. Tramp uses internally, in `tramp-null-hop', the "local" method
> in order to cache properties of the local machine. But this isn't
> intended to be a public API.
> 
> > I'd like Michael's opinion on this, since we will be "invading" the
> > Tramp methods space.
> 
> I'm kind of undecided. We might use this method internally for Eshell,
> as "/local::/path/to/file", but it should be clear that it won't be an
> official Tramp method. There might be problems, because all methods the
> basic Tramp functions work for must be registered in `tramp-methods'.
> 
> And there might be other problems if a user changes the Tramp
> syntax. The so-called simplified syntax doesn't use explicit method
> strings, see (info "(tramp) Change file name syntax") .

What would you suggest as an alternative?

Since there's no official Tramp method for the local host, we could
invent one now.