|
From: | Óscar Fuentes |
Subject: | bug#7784: executable-find does not find scripts on woe32 |
Date: | Wed, 05 Jan 2011 02:18:04 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Sam Steingold <sds@gnu.org> writes: > (file-executable-p "c:/gnu/cygwin/bin/bzr") > ==> nil > which is wrong because bzr is an executable python script. How does Emacs know that bzr is a Python script? Because it has #!/usr/bin/python as the first line? That only makes sense within the Cygwin environment, i.e. if you are running a Cygwin-based Emacs. As you know, there is no 'executable' attribute on Windows. Cygwin fakes it.
[Prev in Thread] | Current Thread | [Next in Thread] |