[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: executable-find in files.el
From: |
Michael Albinus |
Subject: |
Re: executable-find in files.el |
Date: |
Sat, 14 May 2005 16:58:10 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> In my view, the point of executable-find is to figure out whether there is
> a command that we can run. If it tells us "I found /ssh:foo/bar/baz", but
> then call-process fails because it doesn't work through Tramp, I think it's
> a problem.
Tramp does not consider `exec-path' (it uses `tramp-remote-path'
instead of). The reason is that `exec-path' would be ambiguous for
Tramp - it is needed to find local executables (say "ssh") and remote
ones.
I agree with Stefan that, as long as `file-executable-p' returns
meaningful values for remote files, there must be a meaning for
`exec-path', `executable-find' and `start-process' as well in the
remote case.
For `call-process' this has been done already, although I don't
understand why a new function (`process-file') was needed. Otherwise
the problem mentioned by Stefan wouldn't exist.
> Stefan
Best regards, Michael.
Re: executable-find in files.el,
Michael Albinus <=
- Re: executable-find in files.el, Richard Stallman, 2005/05/14
- Re: executable-find in files.el, Michael Albinus, 2005/05/17
- Re: executable-find in files.el, Stefan Monnier, 2005/05/17
- Re: executable-find in files.el, Kim F. Storm, 2005/05/17
- Re: executable-find in files.el, Stefan Monnier, 2005/05/17
- Re: executable-find in files.el, Richard Stallman, 2005/05/18
Re: executable-find in files.el, Richard Stallman, 2005/05/17
Re: executable-find in files.el, Michael Albinus, 2005/05/17
Re: executable-find in files.el, Richard Stallman, 2005/05/18
Re: executable-find in files.el, Richard Stallman, 2005/05/18