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: 05 May 2004 13:45:22 +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 1083758030 12611 80.91.224.253 (5 May 2004 11:53:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 May 2004 11:53:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 05 13:53:39 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 1BLKy3-00007y-00 for ; Wed, 05 May 2004 13:53:39 +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 1BLKt9-0008P4-MZ for geh-help-gnu-emacs@m.gmane.org; Wed, 05 May 2004 07:48:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!feed.news.tiscali.de!news.tiscali.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-NNTP-Posting-Host: p213.54.101.228.tisdip.tiscali.de Original-X-Trace: ulysses.news.tiscali.de 1083757273 24712 213.54.101.228 (5 May 2004 11:41:13 GMT) Original-X-Complaints-To: abuse@tiscali.de Original-NNTP-Posting-Date: Wed, 5 May 2004 11:41:13 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:122978 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:18265 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18265 Eli Zaretskii writes: > > From: Marco Gidde > > Newsgroups: gnu.emacs.help > > Date: 05 May 2004 07:53:04 +0200 > > > > I was in the same situation a few days ago, a large file with more > > than 200MB. It's sad, but vim did the job without complaining. > > Why ``sad''? Simply because I couldn't use Emacs for that. > OTOH, why would someone need to load such a huge file into an > interactive editor like Emacs or vim? Sed sounds like a perfect tool > for the job (faster, too). In my special case it was a log file, that I had to modify in a special way and defining a kbd macro in Emacs was much faster than writing a perl/awk/sed script for the same purpose. After that I had to compare the file with another log file and this was just about the time when I first tried ediff and found that it is great. 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. And although I like hacking I don't like to write parsers that must (since they work without any help from my side) handle all edge cases just to throw it away after one use. So I think that interactive editing is not constrained to the case of files with a few thousand lines of text or code. And interactive editing requires an interactive editor. > In other words, there's the best tool for every job, ... Sure. > ... and Emacs (nor vim) is not the one for this job. What I doubt.