From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#6665: rgrep does not work on Windows Date: Wed, 17 Nov 2010 16:08:32 +0100 Message-ID: <8762vwq973.fsf@tux.homenetwork> References: <86hbjwhnc7.fsf@gmail.com> <01c701cb8652$b921a020$2b64e060$@cfraizer.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1290006867 4389 80.91.229.12 (17 Nov 2010 15:14:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Nov 2010 15:14:27 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 17 16:14:23 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PIjiG-0005fv-QB for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Nov 2010 16:14:21 +0100 Original-Received: from localhost ([127.0.0.1]:43938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIjiG-0007JO-7k for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Nov 2010 10:14:20 -0500 Original-Received: from [140.186.70.92] (port=52222 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIjiC-0007JG-2k for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2010 10:14:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIjiB-0002LN-4s for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2010 10:14:16 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44132) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIjiB-0002LI-28 for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2010 10:14:15 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PIjaD-0000OD-LO; Wed, 17 Nov 2010 10:06:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <86hbjwhnc7.fsf@gmail.com> Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Nov 2010 15:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6665 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.12900063071473 (code B ref -1); Wed, 17 Nov 2010 15:06:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Nov 2010 15:05:07 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PIjZL-0000Ni-Cu for submit@debbugs.gnu.org; Wed, 17 Nov 2010 10:05:07 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PIjZI-0000NM-BN for submit@debbugs.gnu.org; Wed, 17 Nov 2010 10:05:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIje9-0001d6-KK for submit@debbugs.gnu.org; Wed, 17 Nov 2010 10:10:06 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:44749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIje9-0001d2-I8 for submit@debbugs.gnu.org; Wed, 17 Nov 2010 10:10:05 -0500 Original-Received: from [140.186.70.92] (port=52200 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIje8-0006P8-KE for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2010 10:10:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIje7-0001co-Eo for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2010 10:10:04 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:34847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIje7-0001c8-2y for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2010 10:10:03 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PIje0-00029i-KG for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2010 16:09:56 +0100 Original-Received: from 49.211.85-79.rev.gaoland.net ([79.85.211.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Nov 2010 16:09:56 +0100 Original-Received: from thierry.volpiatto by 49.211.85-79.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Nov 2010 16:09:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 44 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 49.211.85-79.rev.gaoland.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:TddWZkwu2YoPPWQQw2TE01IzGZ4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 17 Nov 2010 10:06:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41700 Archived-At: Lennart Borgman writes: > On Wed, Nov 17, 2010 at 1:26 PM, Colin Fraizer wrote: >> >> On July 19, 2010, Eli Zaretskii wrote: >> >>>I think this bug report should be closed, as it is not something Emacs >> can fix. >> >> I believe Mr. Zaretskii is correct that Emacs is not the cause of the >> problem. It appears to be a bug in the GnuWin32 and/or MSys port of >> "find". *However*, I would argue that rgrep constructs a bogus find >> command anyway and that *that* should be fixed. Specifically, it >> creates > > We discussed some time ago the possibility to use "grep -r" for rgrep. > It was rejected, but I have implemented this in the library w32-grep > which is part of my patched Emacs (i.e. EmacsW32). FYI i have fixed in anything the use of grep with the Gnuwin32 version of grep.(See anything-config.el) So it work now both in GNU/Linux and windows. It is recursive by default like grep -r or -d recurse. By the nature of the implementation of grep in anything, you can select quickly a set of files/dirs not only in current directory but anywhere in your system files, with the use of wildcard or not. That increase the performance because you can search exactly in what you want. It is usable without knowledge of grep command (just write in the prompt what you search for). Of course, it is incremental unlike the vanilla emacs grep. With that i don't feel the need of grep/find. You can access it at anytime from f5 a C-x C-f (aka M-x anything-find-files) or with M-x anything-do-grep (f5 a M-g s). -- A+ Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997