From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marco Gidde Newsgroups: gmane.emacs.help Subject: Re: Maximum buffer size exceeded Date: 06 May 2004 10:21:29 +0200 Organization: Linux Private Site Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <7iekpzljjq.fsf@neoscale.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083832557 26746 80.91.224.253 (6 May 2004 08:35:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 May 2004 08:35:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 06 10:35:47 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 1BLeM7-00073a-00 for ; Thu, 06 May 2004 10:35:47 +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 1BLeI7-00078Z-Ux for geh-help-gnu-emacs@m.gmane.org; Thu, 06 May 2004 04:31:39 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.tiscali.de!news.tiscali.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: p83.129.35.209.tisdip.tiscali.de Original-X-Trace: ulysses.news.tiscali.de 1083831434 40448 83.129.35.209 (6 May 2004 08:17:14 GMT) Original-X-Complaints-To: abuse@tiscali.de Original-NNTP-Posting-Date: Thu, 6 May 2004 08:17:14 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:123014 Original-To: help-gnu-emacs@gnu.org 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:18301 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18301 Eli Zaretskii writes: > > 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. I did not know that. Thanks for the hint.