From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Maximum buffer size exceeded Date: 06 May 2004 08:26:01 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <7iekpzljjq.fsf@neoscale.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1083821783 7303 80.91.224.253 (6 May 2004 05:36:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 May 2004 05:36:23 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 06 07:36:15 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BLbYN-0007jf-00 for ; Thu, 06 May 2004 07:36:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BLbVw-0002Aw-AN for geh-help-gnu-emacs@m.gmane.org; Thu, 06 May 2004 01:33:44 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BLbTP-0000vs-Bu for help-gnu-emacs@gnu.org; Thu, 06 May 2004 01:31:07 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BLbSQ-0000ay-17 for help-gnu-emacs@gnu.org; Thu, 06 May 2004 01:30:38 -0400 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.30) id 1BLbMO-0007Ir-UJ for help-gnu-emacs@gnu.org; Thu, 06 May 2004 01:23:53 -0400 Original-To: help-gnu-emacs@gnu.org In-reply-to: (message from Marco Gidde on 05 May 2004 13:45:22 +0200) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:18295 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18295 > From: Marco Gidde > Newsgroups: gnu.emacs.help > Date: 05 May 2004 13:45:22 +0200 > > And what if the modifications you want to make are not specific to > lines but to paragraphs? I think that would be a problem with sed. No, it isn't. Sed has a block construct, something like this: /FOO/,/BAR/ { s,FOOBAR,WHATEVER, } This replaces FOOBAR with WHATEVER in the range of lines between the line that matches FOO and the line that matches BAR.