all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: <r_mercado@o2.co.uk>
To: help-gnu-emacs@gnu.org
Subject: filter from find-dired
Date: Mon, 14 Jan 2013 16:28:54 +0000 (GMT)	[thread overview]
Message-ID: <30627872.57471358180934507.JavaMail.defaultUser@defaultHost> (raw)

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



             reply	other threads:[~2013-01-14 16:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-14 16:28 r_mercado [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-01-14 17:26 filter from find-dired r_mercado
2013-01-14 17:50 ` Drew Adams
2013-01-14 21:41 r_mercado

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=30627872.57471358180934507.JavaMail.defaultUser@defaultHost \
    --to=r_mercado@o2.co.uk \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.