all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.