bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23453: 25.0.93; dired-do-find-regexp does not work on Windows even a


From: Eli Zaretskii
Subject: bug#23453: 25.0.93; dired-do-find-regexp does not work on Windows even after installing GNU find and grep
Date: Wed, 04 May 2016 22:49:11 +0300

> From: Kaushal Modi <address@hidden>
> 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.)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]