From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Sullivan Newsgroups: gmane.emacs.help Subject: Re: Multi-line replace across several/all buffers Date: Sun, 10 Sep 2006 01:13:40 -0400 Message-ID: <871wqkpam3.fsf@ashbery.wjsullivan.net> References: <6222809.post@talk.nabble.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157868167 14551 80.91.229.2 (10 Sep 2006 06:02:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Sep 2006 06:02:47 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 10 08:02:45 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GMIOp-0004Qb-4G for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Sep 2006 08:02:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMIOo-0003EV-PD for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Sep 2006 02:02:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GMIOd-0003E3-Av for help-gnu-emacs@gnu.org; Sun, 10 Sep 2006 02:02:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GMIOc-0003Dr-AV for help-gnu-emacs@gnu.org; Sun, 10 Sep 2006 02:02:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMIOc-0003Do-4C for help-gnu-emacs@gnu.org; Sun, 10 Sep 2006 02:02:22 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GMIPa-0003wS-K1 for help-gnu-emacs@gnu.org; Sun, 10 Sep 2006 02:03:22 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GMIOS-0004Mm-Rj for help-gnu-emacs@gnu.org; Sun, 10 Sep 2006 08:02:12 +0200 Original-Received: from dsl092-079-150.bos1.dsl.speakeasy.net ([66.92.79.150]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Sep 2006 08:02:12 +0200 Original-Received: from john by dsl092-079-150.bos1.dsl.speakeasy.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Sep 2006 08:02:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 18 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dsl092-079-150.bos1.dsl.speakeasy.net User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:gAwiTbJRXNCzVhYQCv8aTPi5xFY= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37264 Archived-At: AndyJB writes: > Hi > > Can someone tell me if there's a way to do a multi-line search and replace > across a number of buffers/files? Or will I have to write my own? Nothing > I've found so far does what I want - I have a block of text which occurs in > a number of files and I want to replace it with a new block across all of > those files. Maybe something from: http://www.emacswiki.org/cgi-bin/wiki?CategorySearchAndReplace -- -John Sullivan -http://www.wjsullivan.net -GPG Key: AE8600B6