From: Kevin Rodgers <kevinr@ihs.com>
Subject: Re: isearch-regexp-in-all-matching-files-in-tree?
Date: Mon, 14 Oct 2002 16:50:01 -0600 [thread overview]
Message-ID: <3DAB4A19.1040708@ihs.com> (raw)
In-Reply-To: mailman.1034621906.27584.help-gnu-emacs@gnu.org
Thomas L Roche wrote:
> On Mon, 14 Oct 2002, Tom Roche wrote:
>
>>>Use case: I'm in a dired buffer in GNU Emacs 21.1.1 on w2k. I
>>>want to _interactively_ search for the string 'GenericAction'
>>>(and replace with 'ActionClass') in all files with names
>>>matching '*.java' anywhere in the directory tree below the
>>>current directory.
>>>
>
> Dave Forrest 10/14/2002 02:37 PM
>
>>Would the Operate/Query replace in marked files Q
>> or
>>dired-do-query-replace do what you need?
>>
>
> No, because it requires marking the matching files first, but if
> there's a way to do that, I could (manually) chain the two
> operations.
How about
M-x find-dired RET RET -type f -name "*.java"
C-x h
M-x dired-mark-files-in-region
Q GenericAction RET ActionClass RET
--
<a href="mailto:<kevinr@ihs.com>">Kevin Rodgers</a>
next parent reply other threads:[~2002-10-14 22:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1034621906.27584.help-gnu-emacs@gnu.org>
2002-10-14 22:50 ` Kevin Rodgers [this message]
[not found] <44364250@toto.iv>
2002-10-15 19:14 ` isearch-regexp-in-all-matching-files-in-tree? Robert Mecklenburg
2002-10-14 18:55 isearch-regexp-in-all-matching-files-in-tree? Thomas L Roche
-- strict thread matches above, loose matches on Subject: below --
2002-10-14 18:18 isearch-regexp-in-all-matching-files-in-tree? Thomas L Roche
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=3DAB4A19.1040708@ihs.com \
--to=kevinr@ihs.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).