[Top][All Lists]

[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: Tue, 19 May 2015 22:00:12 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> Could you describe the exact case that bothers you, so we could start by
>> thinking what should be the ideal behavior for that one?
> Yes. Any after-change-function that changes another buffer breaks undo.
> My "noisy-change" package which just logs the before and
> after-change-function args is an example of this.
> https://raw.githubusercontent.com/phillord/lentic/master/noisy-change.el
> My real use case is lentic.
> Ideal behaviour: is just not to do it. Uncommenting all the
> "undo_boundary" calls in undo.c seems to achieve this for me, although
> obviously that's a blunt fix.

Could you be more specific.  Give a very concrete example of a sequence
of commands, and then explain which the undo-boundaries end up being and
what they should be instead.


reply via email to

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