From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: map-file-lines Date: Tue, 03 Feb 2009 00:59:07 +0100 Message-ID: References: <86wsc87o3c.fsf@lifelogs.com> <86skmw7ig6.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1233619494 15927 80.91.229.12 (3 Feb 2009 00:04:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Feb 2009 00:04:54 +0000 (UTC) Cc: Ted Zlatanov , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 03 01:06:08 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LU8nR-0004b5-80 for ged-emacs-devel@m.gmane.org; Tue, 03 Feb 2009 01:05:55 +0100 Original-Received: from localhost ([127.0.0.1]:34252 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LU8m8-0004un-Hy for ged-emacs-devel@m.gmane.org; Mon, 02 Feb 2009 19:04:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LU8m3-0004uF-Q1 for emacs-devel@gnu.org; Mon, 02 Feb 2009 19:04:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LU8m2-0004ty-8h for emacs-devel@gnu.org; Mon, 02 Feb 2009 19:04:19 -0500 Original-Received: from [199.232.76.173] (port=53003 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LU8m2-0004ts-1C for emacs-devel@gnu.org; Mon, 02 Feb 2009 19:04:18 -0500 Original-Received: from iwfs.imcode.com ([82.115.149.64]:34468 helo=gate.verona.se) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LU8m1-0007WO-Du for emacs-devel@gnu.org; Mon, 02 Feb 2009 19:04:17 -0500 Original-Received: from localhost.localdomain (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id n1304Bmr027969; Tue, 3 Feb 2009 01:04:11 +0100 In-Reply-To: (Stefan Monnier's message of "Mon, 02 Feb 2009 17:41:41 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:108649 Archived-At: Stefan Monnier writes: >> I would like to add my voice in requesting "large file" capability in >> Emacs. I wanted it many times over the years, but always coped-out into >> some other editor for this. > >> A common example is hex-editing a large binary file, or finding some >> text in some enourmous log-file. > > I don't se how such a "line-at-a-time" or "chunk-at-a-time" processing > (i.e. stream processing) will enable Emacs to let you conveniently edit > a large binary file. Maybe like this: - find where you want to edit, by searching chunk-at-a-time - display a buffer of this chunk - edit it - save the chunk back into the file This could behave conceptually like narrowing. Obviously not perfect, but better than not being able to edit large files at all. > > > Stefan > -- Joakim Verona