help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Editing change groups


From: Stefan Monnier
Subject: Re: Editing change groups
Date: Sat, 10 Nov 2018 08:15:08 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> >   (let ((g (prepare-change-group)))
>> >     (insert "a\n")
>> >     (activate-change-group g)
>>
>> You (*really*) shouldn't modify the buffer between
>> prepare-change-group and activate-change-group.
>
> Oh, it really means really, I see.

The world won't collapse, but the behavior will be different depending
on whether undo is enabled in the buffer and the semantics is unclear.

> But the effect on the experiment is negligible, the behavior is still
> not what I expect if I change that.

I'm not sure which experiment this refers to.


        Stefan



reply via email to

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