emacs-devel
[Top][All Lists]
Advanced

[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 20:05:08 +0200

> Date: Sun, 7 Jan 2018 17:54:18 +0000
> Cc: address@hidden, address@hidden
> From: Alan Mackenzie <address@hidden>
> 
> One way of doing it would be to have a balanced pair of b/a-c-f for each
> chunk of text inserted.  The other way would be having a single b/a-c-f
> pair.
> 
> For reasons I can't articulate, I think the single pair of hooks would be
> better; less "noisy", perhaps.  But either strategy would work well.

I like the single pair alternative better, also because no other
caller of insert_from_gap calls the hooks before and after that call.
It's too low-level an action to bother users with it.



reply via email to

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