From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.help Subject: Re: opening large files (few hundred meg) Date: Tue, 29 Jan 2008 10:33:32 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <86zluo382r.fsf@lifelogs.com> References: <1f94fef6-a335-4ce5-8d4b-7e87025a28dc@e32g2000prn.googlegroups.com> <87r6g1esga.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1201624857 27318 80.91.229.12 (29 Jan 2008 16:40:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Jan 2008 16:40:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 29 17:41:06 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 1JJtW8-00027r-JV for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jan 2008 17:41:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJtVh-0007sI-Hl for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jan 2008 11:40:33 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-X-Trace: news.albasani.net 6lBJYAVGTy3krbbKV2dKGPQ9XthinvmN5+iwFlOO9U5oO4qvzds/XwXeFRjprU7gum+agrKr2omFmOta/JUySwT3sr5mmwt1DtvmzXLqhdOKZX+n+esASyI8RW+PFfM9 Original-X-Complaints-To: abuse@albasani.net Original-NNTP-Posting-Date: Tue, 29 Jan 2008 16:32:00 +0000 (UTC) X-User-ID: RkMKpj+7FPsK2L3RYd366pyrJLKMA8diJDvfAKNm2ho= X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Cancel-Lock: sha1:VIJ6Tz/+rZylMV0e1CgF2TbMn8M= sha1:nOxQ5FdBgw0skpuZxZwQsiuBFDc= User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-NNTP-Posting-Host: 1KE9x45nXaalVm1puBfDbY0weov/lqNcTX7fe8WOP+g= Original-Xref: shelby.stanford.edu gnu.emacs.help:155675 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:51056 Archived-At: On Mon, 28 Jan 2008 21:36:50 +0100 Andreas Röhler wrote: AR> What about a large-text-mode: sed reads chunks of text AR> in, one by one, letting Emacs forget the rest. Than AR> only the line-no matters, sent to sed. That's a sensible idea. I think it should act like narrow, but you are not allowed to widen, only redefine the narrowing criteria (line region/byte region/regular expression/etc) and you can also grow/shrink the window up to a practical limit. Most of such a mode's filtering functions should be implemented in C, so it's not an easy task. Ted