From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kgold@watson.ibm.com (kgold) Newsgroups: gmane.emacs.help Subject: Re: recursive query replace regexp Date: 14 Jan 2003 21:15:16 GMT Organization: IBM T.J. Watson Research Center Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1042590948 6903 80.91.224.249 (15 Jan 2003 00:35:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 15 Jan 2003 00:35:48 +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 18YbX1-0001nC-00 for ; Wed, 15 Jan 2003 01:35:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18YbWa-0002Is-00 for gnu-help-gnu-emacs@m.gmane.org; Tue, 14 Jan 2003 19:35:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!newsfeed.cs.utexas.edu!geraldo.cc.utexas.edu!an02.austin.ibm.com!ausnews.austin.ibm.com!newsfeed.btv.ibm.com!news.btv.ibm.com!kgold Original-Newsgroups: gnu.emacs.help Original-Lines: 12 Original-NNTP-Posting-Host: alpha.watson.ibm.com Original-X-Trace: news.btv.ibm.com 1042578916 33324 9.2.16.245 (14 Jan 2003 21:15:16 GMT) Original-X-Complaints-To: news@btv.ibm.com Original-NNTP-Posting-Date: 14 Jan 2003 21:15:16 GMT X-Newsreader: xrn 9.01 Originator: kgold@watson.ibm.com Original-Xref: shelby.stanford.edu gnu.emacs.help:108965 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5493 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5493 Edit the directory (emacs goes into dired mode), mark the files, and use the Q command in dired. "Per Nordlöw" writes: > Is there any way to perform an interactive replace (query-replace) of > regular expressions recursively in all or some (specified by a regular > expression) files present in a directory tree. -- -- Ken Goldman kgold@watson.ibm.com 914-784-7646