[Top][All Lists]

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

Re: Redisplay hook

From: Clément Pit--Claudel
Subject: Re: Redisplay hook
Date: Sun, 3 Jul 2016 20:09:59 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

On 2016-07-03 18:34, Richard Stallman wrote:
> > > Is there a standard way to run a function after each redisplay cycle?
> > No, not that I know of.
> 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? 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.


Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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