bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#53644: 29.0.50; xref-search-program breaks if programm not installed


From: Michael Albinus
Subject: bug#53644: 29.0.50; xref-search-program breaks if programm not installed on a remote host
Date: Wed, 09 Feb 2022 08:55:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Philip Kaludercic <philipk@posteo.net> writes:

Hi Philip,

> But the question here remains precisely what to use instead of the
> literal "/bin/sh"?

Well, if there isn't a better value, "/bin/sh" should serve as
fallback. In my experience with Tramp, it works on most of the remote
systems. It doesn't work on remote Android devices, for example. But the
number of Emacs < 27 users, running xref-* on a remote Android device,
is rather limited I believe.

POSIX declines this assumptions. It recommends to call "command -v sh"
in order to determine the shell path, see
<https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sh.html>.

Best regards, Michael.





reply via email to

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