🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189355

Re: query-replace across several files?

#189355
From: Dan_Jacobson
Date: Fri, 01 Mar 1991 22:38
18 lines
1463 bytes
>>>>> On 28 Feb 91 15:00:27 GMT, partain@cs.glasgow.ac.uk (Will Partain) said:

Will> Does someone have elisp code to do
Will> query-replace-across-all-the-files-mentioned-in-my-*compilation*-buffer?

Well, you didn't say that you already heard about this:

------
tags-query-replace:
Query-replace-regexp FROM with TO through all files listed in tag table.
Third arg DELIMITED (prefix arg) means replace only word-delimited matches.
If you exit (C-G or ESC), you can resume the query-replace
with the command ESC ,.

See documentation of variable tags-file-name.
------
-- 
Dan_Jacobson@ATT.COM  Naperville IL USA  +1 708 979 6364
Technical Details
Message-ID: <DANJ1.91Mar1163759@cbnewse.ATT.COM>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!caen!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!shelby!unixhub!linac!att!cbnewsj!cbnewsi!cbnewsh!cbnewse!danj1
References: <PARTAIN.91Feb28150027@tegua.cs.glasgow.ac.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,63902fc47ca06e79
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-03-01 22:25:32 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!caen!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!shelby!unixhub!linac!att!cbnewsj!cbnewsi!cbnewsh!cbnewse!danj1
From: Dan_Jacobson@ATT.COM
Newsgroups: gnu.emacs.help
Subject: Re: query-replace across several files?
Message-ID: <DANJ1.91Mar1163759@cbnewse.ATT.COM>
Date: 1 Mar 91 22:38:17 GMT
References: <PARTAIN.91Feb28150027@tegua.cs.glasgow.ac.uk>
Sender: danj1@cbnewse.att.com (Dan Jacobson)
Reply-To: Dan_Jacobson@ATT.COM
Distribution: gnu
Organization: AT&T-BL, Naperville IL, USA
Lines: 18
In-Reply-To: partain@cs.glasgow.ac.uk's message of 28 Feb 91 15:00:27 GMT