Subject: Re: bug#76955: 30.1; php-ts-mode-php-executable default path may not match remote path

From: Eli Zaretskii <[email-masked]>
Date: Thu, 13 Mar 2025 16:41:45 +0200

> From: Morgan Willcock <[email-masked]>
> Cc: Eli Zaretskii <[email-masked]>,  [email-masked]
> Date: Thu, 13 Mar 2025 11:26:03 +0000
> 
> I cannot see any benefit in calling executable-find to set the default
> value because this seems at odds with using the major mode with TRAMP
> connections.

The main benefit is that invoking the program on local files will be
faster.  And I presume that most of these invocations are indeed on
local files; remote files are much more rare.  So speeding up the
local case seems like a good optimization.