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: Sun, 09 Aug 2015 12:30:54 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> Will buffer-undo-list not be truncated by GC anyway?

Truncation is only done at undo-boundaries.  Hence the problem.

> I'm struggling with understanding this also. I've tried tracing when the
> code my patch removes actually runs and it is pretty rarely.

When you're editing buffer FOO while some process is inserting data in
buffer BAR.  Or when your commands modify two buffers (e.g. in your case).

> Also, adding boundaries in all modified buffers strikes me as fairly
> stochastic.

Not sure what you mean.

> Assuming a well-behaved timer (i.e. one that releases
> control with `sit-for'),

Hmm?  timers usually shouldn't call sit-for.


        Stefan



reply via email to

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