bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7784: executable-find does not find scripts on woe32


From: Jason Rumney
Subject: bug#7784: executable-find does not find scripts on woe32
Date: Thu, 06 Jan 2011 07:13:25 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: Óscar Fuentes <address@hidden>
>> Cc: Sam Steingold <address@hidden>, address@hidden
>> Date: Wed, 05 Jan 2011 15:24:26 +0100
>> 
>> One thing I noticed while experimenting with file-executable-p is that
>> it returns false for files with extensions listed in PATHEXT. For
>> instance, .JS is listed on one machine's PATHEXT but, after creating
>> foo.js, (file-executable-p "foo.js") returns nil.
>> 
>> As those files are directly executable from the shell, maybe Emacs
>> should recognize them as executables as well?
>
> Patches for supporting PATHEXT are most welcome, TIA.

It might also be a good idea to merge the list used by is_exec in w32.c
with the list that is used as the initial value of exec-suffixes.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]