|
From: | Stefan Monnier |
Subject: | Re: Can we make set_point_both less expensive? |
Date: | Wed, 18 Mar 2015 08:55:06 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
>>>>> Then redisplay would have to move `point' back to the window. >>>> Indeed. >>> And would run pre-redisplay-hook again. >> That's right. > Then why would we OT1H care about removing a function from > `post-command-hook' whenever it causes an error and OTOH not care about > running into an endless loop with pre-redisplay-hook? We don't have to have an endless loop. We can decide to stop the loop at any point. Since such inf-loop would be an error in any case it's perfectly OK to end up with an "incorrect" display. Currently we decide to stop the loop before it can even start, so we end up with an incorrect display even if there would not be any such inf-looping. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |