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

From: Eli Zaretskii <[email-masked]>
Date: Fri, 09 Aug 2013 00:57:13 +0300

> From: Stefan Monnier <[email-masked]>
> Cc: David Engster <[email-masked]>, [email-masked],
>         "Eric M. Ludlam" <[email-masked]>, Eli Zaretskii <[email-masked]>
> Date: Thu, 08 Aug 2013 17:26:50 -0400
> 
> > If arbitrary timers can execute during the lexer's call to
> > accept-process-output or input-pending-p, then doesn't that mean
> > jit-lock-deferred-fontify can run too?
> 
> Yes.

No, I don't think so, because idle timers don't run.

> > If removing timers' sit-for calls is the solution,
> 
> It's a workaround.

I think the right solution is to not call input-pending-p etc. during
lexer run.