[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Redisplay hook
From: |
Andreas Schwab |
Subject: |
Re: Redisplay hook |
Date: |
Mon, 04 Jul 2016 09:59:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
>> From: Mark Oteiza <address@hidden>
>> Date: Sun, 03 Jul 2016 20:22:06 -0400
>> Cc: Richard Stallman <address@hidden>
>>
>>
>> Richard Stallman <address@hidden> writes:
>> > > > 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.
>>
>> Well, pre-redisplay-functions already exists, and it appears to be a hook
>> with equal potential for making trouble.
>
> No, because it runs _before_ redisplay.
But a post-redisplay hook should not be any more dangerous than a
post-command hook. Like the latter it could just be disabled
automatically if anything went wrong.
Andreas.
--
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
Re: Redisplay hook, Richard Stallman, 2016/07/03
Re: Redisplay hook, Mark Oteiza, 2016/07/03
Re: Redisplay hook, Eli Zaretskii, 2016/07/03
Re: Redisplay hook,
Andreas Schwab <=
Re: Redisplay hook, Eli Zaretskii, 2016/07/04