From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Phil Jackson Newsgroups: gmane.emacs.devel Subject: Re: IDE features: M-x find-grep Date: Sun, 27 Apr 2008 22:12:20 +0100 Message-ID: <87mynf80jv.fsf@shellarchive.co.uk> References: <200804272236.28969.davi@leals.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1209330780 28089 80.91.229.12 (27 Apr 2008 21:13:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Apr 2008 21:13:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Davi Leal Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 27 23:13:35 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JqEBi-0002wu-Th for ged-emacs-devel@m.gmane.org; Sun, 27 Apr 2008 23:13:35 +0200 Original-Received: from localhost ([127.0.0.1]:48230 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JqEB2-0005er-Eu for ged-emacs-devel@m.gmane.org; Sun, 27 Apr 2008 17:12:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JqEAy-0005eQ-C6 for emacs-devel@gnu.org; Sun, 27 Apr 2008 17:12:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JqEAw-0005e1-Gb for emacs-devel@gnu.org; Sun, 27 Apr 2008 17:12:47 -0400 Original-Received: from [199.232.76.173] (port=60508 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JqEAw-0005dy-86 for emacs-devel@gnu.org; Sun, 27 Apr 2008 17:12:46 -0400 Original-Received: from c.painless.aaisp.net.uk ([81.187.30.53]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JqEAv-0003G1-SU for emacs-devel@gnu.org; Sun, 27 Apr 2008 17:12:46 -0400 Original-Received: from 241.28.187.81.in-addr.arpa ([81.187.28.241] helo=phil-desktop) by c.painless.aaisp.net.uk with esmtp (Exim 4.69) (envelope-from ) id 1JqEAZ-0005WE-1d; Sun, 27 Apr 2008 22:12:23 +0100 In-Reply-To: <200804272236.28969.davi@leals.com> (Davi Leal's message of "Sun, 27 Apr 2008 22:36:27 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Virus-Scanned: Clear (Version: ClamAV 0.92/6973/Sun Apr 27 21:15:00 2008, by smtp.aaisp.net.uk) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:96018 Archived-At: Davi Leal writes: > So, instead of the current find-grep default command [1], emacs could > offer one which prune the repository control directories [2], [3], ... > > [1] find . -type f -print0 | xargs -0 -e grep -nH -e > > [2] find . -path '*/CVS' -prune -o -type f -print | xargs -e grep -I > -n -e [3] find . -path '*/.svn' -prune -o -type f -print | xargs -e > grep -I -n -e > > Can such behavior be got just configuring .emacs? It's customisable in 'Grep Find Command' (in the group 'grep'). Cheers, Phil -- Phil Jackson http://www.shellarchive.co.uk