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

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

Re: Editing change groups


From: Ben Bacarisse
Subject: Re: Editing change groups
Date: Fri, 09 Nov 2018 13:36:40 +0000

Michael Heerdegen <michael_heerdegen@web.de> writes:

> Ben Bacarisse <ben.usenet@bsb.me.uk> writes:
>
>> Would fiddling with the undo mechanism not be a better way to do this?
>
> Well, since it's my program that changes the buffer, I can't just call
> `undo', which is a user command.

I was suggesting you call the more basic undo functions to roll back the
changes.

> Change groups look like the right tool
> because they seem to implement exact that fiddling with the undo
> mechanism that I need.

I've not looked at them in detail but they look more like a way to make
atomic updates rather than what you need.

-- 
Ben.


reply via email to

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