From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: [h-e-w] Re: isearch-regexp-in-all-matching-files-in-tree? Date: Tue, 15 Oct 2002 12:28:06 -0600 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <3DAC5E36.6060308@ihs.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1034706731 8163 80.91.224.249 (15 Oct 2002 18:32:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 15 Oct 2002 18:32:11 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 181WUD-00027D-00 for ; Tue, 15 Oct 2002 20:32:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 181WTK-0001fx-00; Tue, 15 Oct 2002 14:31:14 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-NNTP-Posting-Host: 170.207.51.80 Original-X-Trace: fu-berlin.de 1034706482 23742263 170.207.51.80 (16 [82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us Original-Xref: shelby.stanford.edu gnu.emacs.help:106097 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2644 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2644 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. Right. > 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". -- Kevin Rodgers