GNU bug report logs - #7784
executable-find does not find scripts on woe32

Previous Next

Package: emacs;

Reported by: Sam Steingold <sds <at> gnu.org>

Date: Tue, 4 Jan 2011 23:38:02 UTC

Severity: wishlist

Merged with 36270

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Óscar Fuentes <ofv <at> wanadoo.es>
Cc: 7784 <at> debbugs.gnu.org, sds <at> gnu.org
Subject: bug#7784: executable-find does not find scripts on woe32
Date: Wed, 05 Jan 2011 18:25:51 +0200
> From: Óscar Fuentes <ofv <at> wanadoo.es>
> Cc: Sam Steingold <sds <at> gnu.org>, 7784 <at> debbugs.gnu.org
> 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.





This bug report was last modified 5 years and 362 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.