From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: opening large files (few hundred meg) Date: Wed, 30 Jan 2008 09:55:38 -0500 Organization: UseNetServer.com Message-ID: References: <1f94fef6-a335-4ce5-8d4b-7e87025a28dc@e32g2000prn.googlegroups.com> <87r6g1esga.fsf@gmx.de> <2adae7bb-c775-4a6e-bf83-66a8618b326d@s12g2000prg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1201707690 28783 80.91.229.12 (30 Jan 2008 15:41:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jan 2008 15:41:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 30 16:41:50 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JKF4P-0003JS-Tw for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Jan 2008 16:41:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKF3y-0003kQ-Oa for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Jan 2008 10:41:22 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news.astraweb.com!border2.newsrouter.astraweb.com!uns-out.usenetserver.com!news.usenetserver.com!pc03.usenetserver.com!TEKSAVVY.COM-Free-a2kHrUvQQWlmc!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:OXeurpCnvE/W0Lc2JLHbkx7tmS0= Original-X-Complaints-To: abuse@usenetserver.com Original-Lines: 15 Original-X-Trace: b71b447a08fea6b5d3adc06460 Original-Xref: shelby.stanford.edu gnu.emacs.help:155703 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:51086 Archived-At: >> What about a large-text-mode: sed reads chunks of text >> in, one by one, letting Emacs forget the rest. Than >> only the line-no matters, sent to sed. > Such solutions have been proposed before, but the likely way that a > user will navigate through such a huge file is by searching, so just > paging parts of the file in and out is only part of the solution, it > must also offer searching to be useful. But now that isearch is able to do things like switch buffer when it reaches the end of a buffer, we could write a large-file-mode which "transparently" loads the various chunks while isearching. Stefan