unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: pookiebearbottom@yahoo.com
Subject: Re: rookie warning Can I search files from dired?
Date: 1 Mar 2006 08:06:51 -0800	[thread overview]
Message-ID: <1141229211.527114.237180@p10g2000cwp.googlegroups.com> (raw)
In-Reply-To: <1141217080.718534.299050@e56g2000cwe.googlegroups.com>


bp1497@att.com wrote:
> I have dired showing me all the files in a directory, can I execute
> some kind of search on these files from the dired screen.
>
> I know I can do M-x shell, grep some_thing files.
>
> I've used vim for the last 17 years and have changed jobs.  This
> location does not have vim installed but does have emacs.  I prefer it
> to textedit or vi

Mark the files you want (with m)

Then do dired-do-grep (can just hit E <- note Capital E)

-Sal

PS C-h b is your friend (it lists all of the bindings for your current
mode)
      So is C-h a regex (it will list all of the commands/variables/..
that match that regex.  If you did this with the word grep you would
have found dired-do-grep -  Not preaching here, just hopefully
teaching.  I know what a pain it is to lose your editor)

  reply	other threads:[~2006-03-01 16:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-01 12:44 rookie warning Can I search files from dired? bp1497
2006-03-01 16:06 ` pookiebearbottom [this message]
2006-03-01 19:45   ` billy
2006-03-02 10:45 ` Mathias Dahl
2006-03-02 23:25 ` Drew Adams
2006-03-03  5:47 ` Ian Zimmerman
2006-03-03 21:40 ` kgold

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=1141229211.527114.237180@p10g2000cwp.googlegroups.com \
    --to=pookiebearbottom@yahoo.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).