From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23453: 25.0.93; dired-do-find-regexp does not work on Windows even after installing GNU find and grep Date: Thu, 05 May 2016 05:37:46 +0300 Message-ID: <8337pxi611.fsf@gnu.org> References: <834madioy0.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1462415986 11180 80.91.229.3 (5 May 2016 02:39:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 May 2016 02:39:46 +0000 (UTC) Cc: 23453@debbugs.gnu.org, dgutov@yandex.ru To: Kaushal Modi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 05 04:39:32 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ay9CN-0000q4-P3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 May 2016 04:39:32 +0200 Original-Received: from localhost ([::1]:51260 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ay9CJ-0000wo-Gu for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 May 2016 22:39:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ay9C9-0000g3-0a for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 22:39:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ay9Bx-0001jJ-69 for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 22:39:11 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ay9Bx-0001iJ-3E for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 22:39:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ay9Bt-0000cI-Nj for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 22:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 May 2016 02:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23453 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org, dgutov@yandex.ru Original-Received: via spool by submit@debbugs.gnu.org id=B.14624159182327 (code B ref -1); Thu, 05 May 2016 02:39:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 May 2016 02:38:38 +0000 Original-Received: from localhost ([127.0.0.1]:38590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ay9BW-0000bT-5s for submit@debbugs.gnu.org; Wed, 04 May 2016 22:38:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47933) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ay9BU-0000bF-RO for submit@debbugs.gnu.org; Wed, 04 May 2016 22:38:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ay9BG-0001WA-3U for submit@debbugs.gnu.org; Wed, 04 May 2016 22:38:28 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ay9BG-0001VN-13 for submit@debbugs.gnu.org; Wed, 04 May 2016 22:38:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ay9B4-0007iy-8X for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 22:38:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ay9Aq-0001Py-Er for bug-gnu-emacs@gnu.org; Wed, 04 May 2016 22:38:02 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ay9Ad-0001KV-5H; Wed, 04 May 2016 22:37:43 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2979 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ay9AX-0001j5-16; Wed, 04 May 2016 22:37:37 -0400 In-reply-to: (message from Kaushal Modi on Wed, 04 May 2016 19:56:02 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:117829 Archived-At: > From: Kaushal Modi > Date: Wed, 04 May 2016 19:56:02 +0000 > Cc: bug-gnu-emacs@gnu.org, dgutov@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.