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: Stefan Monnier
Subject: Re: Lisp primitives and their calling of the change hooks
Date: Mon, 08 Jan 2018 17:24:14 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> What do other primitives do when there's an error?

They follow the same rules, AFAIK (e.g. they may for example call b-c-f
and nothing else if no modifications were performed).

> Up front, I see no reason to keep any promises when that happens.

We should still obey the general rules about b-c-f and a-c-f.

>> The (1 22016) b-c-f is thus unbalanced when this happens.
> If this is really important (and I don't see why it would be),

Indeed, it doesn't look like a problem.

> Is implementation convenience the only argument for Stefan's variant?

Not just convenience but also "obviously correct", i.e. more maintainable.


        Stefan



reply via email to

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