GNU bug report logs -
#76955
30.1; php-ts-mode-php-executable default path may not match remote path
Previous Next
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 #131 received at 76955 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Morgan Willcock <morgan <at> ice9.digital>
>> Cc: v.pupillo <at> gmail.com, 76955 <at> debbugs.gnu.org
>> Date: Tue, 18 Mar 2025 16:00:57 +0000
>>
>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>
>> >> If I have two remote versions installed, and one of them is found by
>> >> executable-find searching for "php", I cannot see how I would select the
>> >> other version once the patch is applied.
>> >
>> > How do you do this with the current version of php-ts-mode?
>>
>> Since the value of php-ts-mode-php-executable is used locally and
>> remotely, I just set the buffer local value to the correct name.
>
> So each time you have a connection to a new host, you do this setting
> anew?
Yes, if it is a development host and I want the setting to persist.
For this same environment, I have to configure the connection anyway to
modify the value of tramp-remote-path, because the LSP server binary
that I use is self-installed and will not be on PATH with the default
TRAMP settings.
I also use local PHP and LSP server binaries, which is why I don't just
set the global value to what works remotely.
--
Morgan Willcock
This bug report was last modified 52 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.