[Top][All Lists]

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

Re: undo weirdness with insert-file-contents

From: martin rudalics
Subject: Re: undo weirdness with insert-file-contents
Date: Thu, 28 Feb 2008 23:21:09 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

>>-       current_buffer->undo_list = Qt;
> But this patch is clearly problematic, if one believe the comment: it
> would cause the generation of undo info during the decoding step.
> I understand that this info will be thrown away later, but we don't want
> to pay the corresponding price.

The comment is mine, don't trust it.  Emacs 22 records undo information
all through the decoding step.  That's what I wanted to avoid.  But I'm
afraid two insertions get collapsed into one by the undo recording
mechanism and I'm comparing the wrong starting positions.  I don't yet
understand how this happens.

reply via email to

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