[Top][All Lists]

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

Re: emacs kpart

From: Mario Lang
Subject: Re: emacs kpart
Date: Wed, 30 Jul 2003 17:28:55 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     Is there a way to store the contents of the current buffer and then, 
> after 
>     some modification, retrieve only the part that have changed? I know that 
>     there are some functions for retrieving the entire or part of the buffer 
>     (e.g. buffer-string,buffer-substring) but if I don't know which parts 
> have 
>     been modified after some point, my only choice is to retrieve the entire 
>     buffer, which is of course very inneficient.
> You could look through the undo list.
> You would need to prevent the undo list from being truncated
> so that you could be sure it gives a complete record.

I know at least that erc explicitly prevents insertions from the filter
function from affecting the undo-list, since that would clobber it up with
modifications the user himself never made.  It might be that
other extention packages do something roughly alike for the same reasons.


reply via email to

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