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: Tue, 28 Feb 2023 16:12:42 +0100

[email-masked] writes:

Hi Jérôme,

> Effectively, `(executable-find "rust-analyzer" t)` doesn't find it.

Your current buffer is a remote one when you call it, right?

> I'll try to find out why, but this point should indeed be fixed in
> `executable-find` rather than Eglot.

Pls set tramp-verbose to 10, rerun the test, and show me the Tramp debug
buffer. Something like

--8<---------------cut here---------------start------------->8---
# emacs -Q -l tramp --eval '(setq tramp-verbose 10)' --eval '(add-to-list (quote tramp-remote-path) ...)' /ssh:user@host: --eval '(executable-find "rust-analyzer" t)'
--8<---------------cut here---------------end--------------->8---

> Jérôme

Best regards, Michael.