GNU bug report logs - #12326
24.2.50; js2-mode freezes on current trunk

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Sat, 1 Sep 2012 22:00:02 UTC

Severity: normal

Merged with 12447

Found in versions 24.1.50, 24.2.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 12326 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 12326 <at> debbugs.gnu.org
Subject: Re: 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 <at> 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.





This bug report was last modified 12 years and 248 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.