[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: map-file-lines

From: Stefan Monnier
Subject: Re: map-file-lines
Date: Mon, 02 Feb 2009 23:13:13 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> 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.

OK, that's indeed how I imagine it as well, but I fail to see how this
relates to map-file-lines.  All you need for that is to use the BEG and
END args of insert-file-contents (and maybe also to extend those args
so they can be floats, in case Emacs's ints are too limited).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]