[Top][All Lists]

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

Re: Redisplay hook

From: Eli Zaretskii
Subject: Re: Redisplay hook
Date: Mon, 04 Jul 2016 05:42:25 +0300

> Cc: address@hidden
> From: Clément Pit--Claudel <address@hidden>
> Date: Sun, 3 Jul 2016 20:09:59 -0400
> > It is asking for trouble, since if there is any bug in it or confusing
> > behavior, you will get totally screwed.
> Much more than with a pre- or post-command-hook?

Yes, because those ones run outside of redisplay.

> We could have the same logic for errors:
>     If an unhandled error happens in running this hook,
>     the function in which the error occurred is unconditionally removed, since
>     otherwise the error might happen repeatedly and make Emacs nonfunctional.

If we go this way, that's probably a good thing to do.

reply via email to

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