Subject: Re: bug#15045: Point jumps inappropriately around time of Semantic lexing

From: David Engster <[email-masked]>
Date: Thu, 08 Aug 2013 20:13:23 +0200

Stefan Monnier writes:
>>   sit-for(0)
>>   display-time-event-handler()
>>   apply(display-time-event-handler nil)
>>   byte-code("[snipped]" [timer apply 5 6] 4)
>>   timer-event-handler([t 20995 27860 0 60 display-time-event-handler nil nil 0])
>>   accept-process-output()
>>   semantic-c-lexer(2886 7946 nil nil)
>
> Right, that would do it.
> What happens if you remove the calls to sit-for from time.el?

I would have thought that the time in the mode-line does not get updated
when Emacs is idle, but that does still work. So I've no idea why the
sit-for is there.

-David