GNU bug report logs -
#23453
25.0.93; dired-do-find-regexp does not work on Windows even after installing GNU find and grep
Previous Next
Reported by: Kaushal Modi <kaushal.modi <at> gmail.com>
Date: Wed, 4 May 2016 19:42:02 UTC
Severity: normal
Found in version 25.0.93
Done: Kaushal Modi <kaushal.modi <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Kaushal Modi <kaushal.modi <at> gmail.com>
> Date: Wed, 04 May 2016 19:39:45 +0000
>
> The problem is that the user PATH env var comes at a lower order of precendence than the system value of
> the PATH env var. So first the admin controlled directories come in PATH and then the user added directories
> come.
You need to change the system Path, not the user Path.
Alternatively, rename the MS find.exe to something else.
> By I used the brute-force method below just so that the correct find.exe and grep.exe are found by emacs:
>
> (setq exec-path '("C:/Users/kmodi/Dropbox/Portable Software/ezwinports/bin"
> "c:/ProgramData/Oracle/Java/javapath"
No, don't do that, it won't work (as you have found out). Emacs
sometimes invokes commands through the shell, which doesn't know about
exec-path. This way lies madness. You should have your PATH and the
corresponding Emacs variables in sync.
(This is all basic Windows setup, nothing related to Emacs, btw.)
This bug report was last modified 9 years and 17 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.