Alternatively, put the following in your emacs init file if you don't feel
like patching the originally find-dired.el. this also work for igrep.el
(if (or emacs-nt xemacs-nt)
(let ((cygwin (concat environment_home "\\cygwin\\bin")))
(setenv "PATH" (concat cygwin ";" (getenv "PATH")))))
if your setup don't have emacs-nt, xemacs-nt, or environment_home defined,
try:
(let ((cygwin "e:\\cygwin\\bin"))
(setenv "PATH" (concat cygwin ";" (getenv "PATH"))))
Troy Noble writes:
Troy> Unfortunately, the find-dired.el that comes with FSF Emacs
Troy> 20.7.1 doesn't let you set the "find" program. If you look
Troy> in the code (or the patch below), it is hardcoded to "find . "
Troy> So I made a minor modification to add a customize variable for my
Troy> own use (this is universal diff against the list/find-dired.el that
Troy> comes with FSF Emacs 20.7.1 for native Win32).
Troy> You'll also want to "cp find.exe gnufind.exe" and make sure your
Troy> cygwin/bin directory is on your PATH somewhere. And then you can
Troy> customize-group find-dired and set the value to whatever you want
Troy> (gnufind would be a good idea ;-).
--
Danny Dick-Fung Siu mailto:[EMAIL PROTECTED]
Acrobat Engineering @ Adobe Systems Incorporated