Subject: bug#20237: Emacs built on Windows cannot figure out path correctly

From: Da Zhang <[email-masked]>
Date: Sat, 04 Apr 2015 14:18:56 -0400

Thanks for  your time!

M-: (w32-shell-name) RET returns

"C:/cygwin64/bin/bash.exe"

On 4/4/2015 2:12 PM, Eli Zaretskii wrote:
>> Date: Sat, 04 Apr 2015 14:06:02 -0400
>> From: Da Zhang <[email-masked]>
>> CC: [email-masked]
>>
>> The
>> (w32-shell-dos-semantics)
>>
>> returns nil.
> OK, so what does this display:
>
>    M-: (w32-shell-name) RET
>
>> Can you please let me know how to use edebug to follow through python-shell-parse-command?
> This is no longer needed: if w32-shell-dos-semantics returns nil, then
> shell-quote-argument will quote every character not in the Posix
> character set with a backslash.  This is what you see.  The question
> is why w32-shell-dos-semantics returns nil.