Re: [PATCH] * tramp-sh.el (tramp-optimize-remote-path): Add it.

Michael Albinus <[email protected]> Wed, 25 Sep 2024 09:13:49 +0200
Newsgroups gmane.emacs.tramp
Message-ID <[email protected]>
"Andrey Portnoy" <[email protected]> writes:

Hi Andrey

>> That's all for now :-)
>
> Thank you for your notes, I'll look for a solution. Will try to send
> something out soon.

Thanks!

Last night, I had a further idea. What if we say that tramp-remote-path
values nil and '(tramp-own-remote-path) are equal? No settings, no
checks.

Otherwise, a value of nil would behave like '(tramp-own-remote-path), no
settings and no checks. But an explicit value of '(tramp-own-remote-path)
would result in settings and checks. That sounds inconsistent.

Going further this line, we wouldn't need the value nil anymore except
for convenience.

WDYT?

Best regards, Michael.