unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* list all matched strings in marked files of dired
@ 2010-05-19 13:17 filebat Mark
  2010-05-19 13:55 ` Drew Adams
  0 siblings, 1 reply; 2+ messages in thread
From: filebat Mark @ 2010-05-19 13:17 UTC (permalink / raw)
  To: Help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 412 bytes --]

Hi All

M-x grep-find can help us to list all matched strings, and we can easily
jump to the original files.
How can we achieve this, after marking several files in dired-mode?

I have searched for some time.
M-x dired-do-search is quite close.
However it seems only be able to switch among matched strings, rather than
listing all matched string.

Any suggestion is welcome.


-- 
Thanks & Regards

Denny Zhang

[-- Attachment #2: Type: text/html, Size: 480 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: list all matched strings in marked files of dired
  2010-05-19 13:17 list all matched strings in marked files of dired filebat Mark
@ 2010-05-19 13:55 ` Drew Adams
  0 siblings, 0 replies; 2+ messages in thread
From: Drew Adams @ 2010-05-19 13:55 UTC (permalink / raw)
  To: 'filebat Mark', Help-gnu-emacs

> M-x grep-find can help us to list all matched strings,
> and we can easily jump to the original files.
> How can we achieve this, after marking several files in dired-mode?
>
> I have searched for some time. 
> M-x dired-do-search is quite close.
> However it seems only be able to switch among matched strings,
> rather than listing all matched string.
>
> Any suggestion is welcome.

I'm not sure what you're asking, but it sounds like you want to grep the files
that are marked in Dired.

If so, then `M-g' (command `diredp-do-grep') is what you want. You'll find it in
Dired+.

http://www.emacswiki.org/emacs/DiredPlus




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-19 13:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-19 13:17 list all matched strings in marked files of dired filebat Mark
2010-05-19 13:55 ` Drew Adams

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).