Subject: executable-find does not find scripts on woe32

From: Sam Steingold <[email-masked]>
Date: Tue, 4 Jan 2011 18:44:16 -0500

GNU Emacs 23.2.1 (i386-mingw-nt5.2.3790)
 of 2010-05-08 on G41R2F1
--with-gcc (3.4) --no-opt --cflags -Ic:/xpm/include

(executable-find "bzr")
==> nil
(executable-find "svn")
==> "c:/gnu/cygwin/bin/svn.exe"

the problem, apparently, stems from:

(file-exists-p "c:/gnu/cygwin/bin/bzr")
==> t
(file-executable-p "c:/gnu/cygwin/bin/bzr")
==> nil
which is wrong because bzr is an executable python script.

-- 
Sam Steingold <http://sds.podval.org>