[Top][All Lists]

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

Re: Lisp primitives and their calling of the change hooks

From: Eli Zaretskii
Subject: Re: Lisp primitives and their calling of the change hooks
Date: Sun, 07 Jan 2018 18:47:41 +0200

> Date: Sun, 7 Jan 2018 13:56:29 +0000
> From: Alan Mackenzie <address@hidden>
> Cc: address@hidden, address@hidden
> > > zlib-decompress-region calls del_range, which calls the hooks.  Or am
> > > I missing something?
> > Yes, you're right, sorry.  There are change-hook calls for the second,
> > deletion, part of the operation.  No hooks are called for the first
> > part, the insertion of the decompressed text into the buffer.  So
> > zlib-decompress-region is still not right.
> > I'm going to take a careful look for any more such primitives, which
> > have one balanced pair of change hook calls, yet these calls only cover
> > part of the operation.
> There appear to be no more such primitives.
> Should I try to fix zlib-decompress-region?

How do you want to fix it?  That function inserts the decompressed
stuff, then deletes the original compressed stuff.  What do you want
that to produce in terms of the change hooks?

reply via email to

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