emacs-devel
[Top][All Lists]
Advanced

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

Re: disabling undo boundaries


From: Stefan Monnier
Subject: Re: disabling undo boundaries
Date: Sat, 08 Aug 2015 17:28:28 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> Anyway, the patch is there. Any chance? If not, anything (further) that
>> I can add (or remove!) to the branch to make it happen?
> I'll try and look at it soon,

IIUC this only removes the code which adds a boundary when we change
buffer.   IOW it switches from the conservative option of adding
a boundary even if it might not be needed, to the risky option of hoping
that someone else will add the needed boundary.

As explained, this will most likely introduce problems with ever-growing
undo-logs in buffers filled by process output and timers.

It's an acceptable first step, but it needs to be compensated by
a second step which keeps track of all buffers modified during the
execution of a command and change the "add a boundary in current-buffer
at the end of a command" to "add boundaries in all modified buffers
at the end of a command".


        Stefan



reply via email to

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