From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: recursive query replace regexp Date: Tue, 14 Jan 2003 16:26:55 +0100 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84lm1nah1c.fsf@lucy.is.informatik.uni-duisburg.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1042558436 12868 80.91.224.249 (14 Jan 2003 15:33:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 14 Jan 2003 15:33:56 +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 18YT4c-0003LB-00 for ; Tue, 14 Jan 2003 16:33:54 +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 18YT1Y-0005vX-00 for gnu-help-gnu-emacs@m.gmane.org; Tue, 14 Jan 2003 10:30:44 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!lucy.is.informatik.uni-duisburg.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 12 Original-NNTP-Posting-Host: lucy.is.informatik.uni-duisburg.de (134.91.35.216) Original-X-Trace: fu-berlin.de 1042558058 21859977 134.91.35.216 (16 [73968]) User-Agent: Gnus/5.090012 (Oort Gnus v0.12) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:yNIfafc1OWK3QgbuS9t/5MttNvQ= Original-Xref: shelby.stanford.edu gnu.emacs.help:108948 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:5477 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5477 "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. In addition to TAGS files, another approach is M-x find-dired RET to generate a dired buffer with the files, then invoke Q (not q). You need (require 'dired-x) in ~/.emacs for Q to work. -- Ambibibentists unite!