[Top][All Lists]

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

Re: undo bug?

From: martin rudalics
Subject: Re: undo bug?
Date: Thu, 03 Apr 2008 16:43:04 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> The record-point after it wouldn't make anny difference, would it?

It's needed for getting there after a redo.

> Hmm... unless undoing a `record-point' would forcefully add another
> record-point entry i nthe undo-list... I guess that might work.

Any `record-point' would simply have to preserve the symmetry of

UB RPB buffer-changes RPA UB RPB buffer-changes RPA UB

where UB is the undo-boundary, RPB and RPA the `record-point's before
and after the buffer-changes, and the buffer-changes would not contain
any undo-boundaries or point-recordings.

> Still, I'm wondering what will be the effect of such a thing on the
> length of the undo-list.  It's a pretty minor issue, as far as I can
> tell, so it had better not have any noticeable downside.

We could remove certain text-properties from undo-lists (mine are
usually full of 'fontified properties in deleted text).

reply via email to

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