[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] Re: isearch-regexp-in-all-matching-files-in-tree?

From: Kevin Rodgers
Subject: Re: [h-e-w] Re: isearch-regexp-in-all-matching-files-in-tree?
Date: Tue, 15 Oct 2002 12:28:06 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv: Gecko/20020406 Netscape6/6.2.2

Thomas L Roche wrote:

So dired-mark-files-regexp allows me to mark the files by name (1), and dired-do-query-replace-regexp does the interactive search/replace. But
only find-name-dired (or similar) seems to get me the files desired in
the entire directory tree.


However that I still need to dired-mark-files-regexp, with '.*', in
order to mark all the files returned by find-name-dired! Is there a
way around that?

Yes.  As I suggested earlier:

C-x h   ; mark-whole-buffer
M-x dired-mark-files-in-region RET

Oops, here's a customization that requires:

(defadvice dired-mark-files-in-region (before interactive activate)
  (interactive "r"))

You could even bind dired-mark-files-in-region to a key in dired-mode-map,
perhaps ". h".

<a href="mailto:&lt;kevinr&#64;;";>Kevin Rodgers</a>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]