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 15:56:37 +0200

> From: Stefan Kangas <[email-masked]>
> Date: Thu, 13 Mar 2025 01:00:48 -0700
> Cc: [email-masked], [email-masked], [email-masked]
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> >> Cc: Vincenzo Pupillo <[email-masked]>
> >> From: Stefan Kangas <[email-masked]>
> >> Date: Thu, 13 Mar 2025 00:35:06 -0700
> >>
> >> Morgan Willcock <[email-masked]> writes:
> >>
> >> >   (defcustom php-ts-mode-php-executable (or (executable-find "php") "/usr/bin/php")
> >>
> >> BTW, shouldn't this be called `php-ts-mode-php-command'?
> >
> > We are splitting hair, but "command" could be a shell command",
> > whereas "executable" generally means a file name.
> 
> It's mostly for consistency; I find few hits for -executable$ but many
> for -command$ in our tree.

I think we use "command" for strings that are shell commands, and
"program" for strings that are file names of program executables.