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:56:02 +0000
> Cc: bug-gnu-emacs <at> gnu.org, dgutov <at> yandex.ru
>
> You need to change the system Path, not the user Path.
>
> Alternatively, rename the MS find.exe to something else.
>
> I do not have admin access (work computer). Wouldn't (setenv "PATH" "..") be the same?
No.
> If I rename the MS find.exe (which I cannot without admin aceess), will it not affect any other program using it?
Nothing uses it.
> As I mentioned, I also set the PATH using (setenv "PATH "..."). Isn't executable-find returning the correct
> find.exe and grep.exe a proof that the right executable is being found.
No. See the source of executable-find.
> I have had this in my config and it works fine (for a different executable chrome.exe):
>
> (let ((chrome-path "C:/Program Files (x86)/Google/Chrome/Application/"))
> (setq exec-path (append exec-path `(,chrome-path)))
> (setq browse-url-generic-program (executable-find "chrome")))
Bad idea, as I explained in my earlier message. You need to change
PATH _outside_ of Emacs.
This bug report was last modified 9 years and 18 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.