I hope it's a simple problem..
I'd like to search for the regexp 'thisWord' only in the marked files of a dired buffer.
Usually I used in the dired buffer:
M-x grep
and then in the mini-buffergrep -r -nH 'thisWord' .
But this searches all the files of the directory not just the marked ones.
Well, the dired mode of emacs has the possibility to restrict the search on the marked files with just using A
(dired-do-find-regexp
). But the results are listed in the unusual "xref format", I need the "grep format":
./file-a.org:16253: ..thisWord...
I there a simple way to get the search results of the marked files in the "grep format"?