emacs-devel
[Top][All Lists]
Advanced

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

Re: tramp and executable-find


From: Philipp Stephani
Subject: Re: tramp and executable-find
Date: Sat, 20 Jun 2020 19:00:22 +0200

Am Sa., 20. Juni 2020 um 18:49 Uhr schrieb Michael Albinus
<michael.albinus@gmx.de>:
>
> Ivan Yonchovski <yyoncho@gmail.com> writes:
>
> > Hi Michael,
>
> Hi Ivan
>
> > As part of investigating
> > https://github.com/emacs-lsp/lsp-mode/issues/1688 I noticed that
> > executable-find does not return the binary when it is not on the remote
> > PATH(or at least this is what I see) even if you specify the full path
> > to the binary. Can you comment if this is the expected behaviour?
>
> `executable-find' is not designed to be supported by a file name handler
> like Tramp. It will always check for binaries on the local host.
>

Starting with Emacs 27, it takes an optional REMOTE argument to check
on the remote host. It doesn't have its own file name handler, though;
it rather relies on the file name handler for `exec-path'.



reply via email to

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