From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: filter from find-dired Date: Mon, 14 Jan 2013 16:28:54 +0000 (GMT) Message-ID: <30627872.57471358180934507.JavaMail.defaultUser@defaultHost> Reply-To: r_mercado@o2.co.uk NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1358182614 17089 80.91.229.3 (14 Jan 2013 16:56:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Jan 2013 16:56:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 14 17:57:10 2013 Return-path: Envelope-to: geh-help-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 1TunLM-0007vF-O6 for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Jan 2013 17:57:04 +0100 Original-Received: from localhost ([::1]:32922 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TunL6-0003mj-K9 for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Jan 2013 11:56:48 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TumuD-0001zW-Tt for help-gnu-emacs@gnu.org; Mon, 14 Jan 2013 11:29:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tumu8-0002t1-Cx for help-gnu-emacs@gnu.org; Mon, 14 Jan 2013 11:29:01 -0500 Original-Received: from jabba.london.02.net ([82.132.130.169]:41357 helo=mail.o2.co.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tumu8-0002sn-7X for help-gnu-emacs@gnu.org; Mon, 14 Jan 2013 11:28:56 -0500 Original-Received: from lauda (82.132.130.218) by mail.o2.co.uk (8.5.140.03) (authenticated as r_mercado) id 50BFE8B20AF2463F for help-gnu-emacs@gnu.org; Mon, 14 Jan 2013 16:28:54 +0000 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 82.132.130.169 X-Mailman-Approved-At: Mon, 14 Jan 2013 11:56:44 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88609 Archived-At: Hello I created a helper interactive function for my work that searches files from the current directory that match the name "*subst*". (defun find-substitutions () "find substitution files in the current directory" (interactive) (find-name-dired (get-directory-name) "*substitutions*") ) I would like to filter the entries that sit under a .svn directory How would I go about it? In "plain" find, I found this works find . -name .svn -prune -o -name "*subst*" -print find-dired with the same parameters does not filter the entries under .svn, instead it includes all .svn directories Thanks