emacs-devel
[Top][All Lists]
Advanced

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

Re: New functions remote-exec-path and remote-executable-find


From: Stefan Monnier
Subject: Re: New functions remote-exec-path and remote-executable-find
Date: Mon, 18 Jun 2018 21:19:51 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> these days I'm working on bug#31704. The point is, that for searching of
> programs, always `exec-path' (a list of local directories) is taken,
> even if the shell runs on a remote host. Therefore, I propose a new
> function `remote-exec-path'. In case of a remote `default-directory',
> the function returns a list of directories which belong to that
> host. Implemented via file name handlers. For a local
> `default-directory', `exec-path' is returned.

I think we could even name it just `exec-path`.  IIRC they'd be built by
examining the $PATH of the remote shell, right?

But I wonder: wouldn't there also be a need sometimes to *modify* these
(remote) exec-paths?


        Stefan




reply via email to

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