GNU bug report logs - #76955
30.1; php-ts-mode-php-executable default path may not match remote path

Previous Next

Package: emacs;

Reported by: Morgan Willcock <morgan <at> ice9.digital>

Date: Tue, 11 Mar 2025 20:11:02 UTC

Severity: normal

Found in version 30.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #68 received at 76955 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: v.pupillo <at> gmail.com, 76955 <at> debbugs.gnu.org,
 Morgan Willcock <morgan <at> ice9.digital>
Subject: Re: bug#76955: 30.1; php-ts-mode-php-executable default path may
 not match remote path
Date: Thu, 13 Mar 2025 18:53:36 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

Hi Eli,

> If executable-find fails to find the PHP binary on the remote host,
> how can using "php" which you suggested do any better?

Because the PATH you set in your remote .profile isn't expanded by
default into tramp-remote-path. You must arrange for it, for example by
adding symbol tramp-own-remote-path into that list.

(info "(tramp) Remote programs")

Best regards, Michael.




This bug report was last modified 51 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.