From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: sunway Newsgroups: gmane.emacs.help Subject: Re: how to tell find-grep-dired skip binary files? Date: Tue, 3 Jun 2008 04:15:41 -0700 (PDT) Organization: http://groups.google.com Message-ID: <272a04dd-ffe3-4152-be3d-3fd832c85a30@z16g2000prn.googlegroups.com> References: <27350aef-a20b-4105-8659-649140787c46@p39g2000prm.googlegroups.com> <1707cb09-cb91-42cc-84d1-8584dcaa1c72@y38g2000hsy.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1212493271 28407 80.91.229.12 (3 Jun 2008 11:41:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2008 11:41:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 03 13:41:53 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K3UtC-00051f-RZ for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Jun 2008 13:41:19 +0200 Original-Received: from localhost ([127.0.0.1]:33563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3UsQ-0002nw-J5 for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Jun 2008 07:40:30 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!z16g2000prn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: 123.127.134.57 Original-X-Trace: posting.google.com 1212491741 4313 127.0.0.1 (3 Jun 2008 11:15:41 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 3 Jun 2008 11:15:41 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z16g2000prn.googlegroups.com; posting-host=123.127.134.57; posting-account=ngAdqwoAAAA0uK1OfC15kE5UvDiCOvxy User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.27 (X11; Linux i686; U; zh-cn),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 localhost.localdomain:8080 (squid/2.6.STABLE18) Original-Xref: news.stanford.edu gnu.emacs.help:159079 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54435 Archived-At: On Jun 3, 6:32=A0pm, weber wrote: > On Jun 3, 7:15=A0am, sunway wrote: > > > when using find-grep-dired in dired, I only care about plain text > > files like *.c, *.cpp,etc, How to tell find-grep-dired skip files I > > don't care,like binary files and .svn/*.. > > From the man > > =A0 =A0 =A0 =A0-I =A0 =A0 Process =A0a =A0binary file as if it did not con= tain > matching data; this is equivalent to the --binary-files=3Dwithout-match > option. > > so just add -I to the find-grep-options variable and you're good to > go. > > HTH, > Hugo that helps, but how to ignore files like .svn/* also?