Subject: Re: bug#61748: 27.2; Eglot should use shell-file-name when launching the language server for a remote file

From: Michael Albinus <[email-masked]>
Date: Wed, 01 Mar 2023 10:07:46 +0100

[email-masked] writes:

> Hi Michael,

Hi Jérôme,

>> Try
>>
>> --8<---------------cut here---------------start------------->8---
>> # emacs -Q --eval "(custom-set-variables '(tramp-remote-path
>> '(tramp-own-remote-path tramp-default-remote-path)))"
>> --8<---------------cut here---------------end--------------->8---
>>
>> Note the additional apostrophe.
>>
>
> I tried both with or without the second apostrophe, same result.

You're right. I'm working with Emacs 30.0.50, and my example is fine
there. In Emacs 27, custom-set-variables requires that the respective
library is loaded already. So please try instead

--8<---------------cut here---------------start------------->8---
# emacs -Q -l tramp --eval "(custom-set-variables '(tramp-remote-path '(tramp-own-remote-path tramp-default-remote-path)))"
--8<---------------cut here---------------end--------------->8---

> Regards,
> Jérôme

Best regards, Michael.