bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#12326: 24.2.50; js2-mode freezes on current trunk


From: Jan Djärv
Subject: bug#12326: 24.2.50; js2-mode freezes on current trunk
Date: Sun, 2 Sep 2012 10:35:54 +0200

Hello.

1 sep 2012 kl. 23:57 skrev Dmitry Gutov <dgutov@yandex.ru>:

> js2-mode freezes during editing in some buffers.
> 
> This has been a long-standing complaint on Mac OS X port, but now it
> affect Linux and Windows users too, see
> https://github.com/mooz/js2-mode/issues/49
> 
> Bisecting the Bazaar history (on a Windows machine) points to the
> month-old commit no 109470, which adds one line in `timer_check_2'.
> 

The reason for that line is to make timer_check return the time to the next 
timeout, not the time to some random timer.

When a dialog i shown, the time to the next time is checked with timer_check 
and when that time is reached, the timer is run.  If timer_check returns an out 
of order time, timers are not run when they should be.

I'm surprised that js2 functions with undefined behaviour and not with defined 
behaviour.

        Jan D.






reply via email to

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