From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#12326: 24.2.50; js2-mode freezes on current trunk Date: Sun, 2 Sep 2012 10:35:54 +0200 Message-ID: <44BE28C5-1BC9-4346-873D-84D052F2A338@swipnet.se> References: <504284CE.3040203@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1346575008 12310 80.91.229.3 (2 Sep 2012 08:36:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Sep 2012 08:36:48 +0000 (UTC) Cc: 12326@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 02 10:36:49 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T85fl-00084C-2B for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Sep 2012 10:36:49 +0200 Original-Received: from localhost ([::1]:36420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T85fi-0001PL-H3 for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Sep 2012 04:36:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T85ff-0001P3-HW for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2012 04:36:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T85fZ-00083u-Ih for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2012 04:36:43 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T85fZ-00083V-FX for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2012 04:36:37 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T85gw-0003EK-7M for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2012 04:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Sep 2012 08:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12326 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12326-submit@debbugs.gnu.org id=B12326.134657504812374 (code B ref 12326); Sun, 02 Sep 2012 08:38:02 +0000 Original-Received: (at 12326) by debbugs.gnu.org; 2 Sep 2012 08:37:28 +0000 Original-Received: from localhost ([127.0.0.1]:33853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T85gM-0003DW-KP for submit@debbugs.gnu.org; Sun, 02 Sep 2012 04:37:28 -0400 Original-Received: from mailout.attendit.se ([83.140.103.4]:52454) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T85gJ-0003DL-9Y for 12326@debbugs.gnu.org; Sun, 02 Sep 2012 04:37:25 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.attendit.se (Postfix) with ESMTP id 7A191500D4 for <12326@debbugs.gnu.org>; Sun, 2 Sep 2012 10:30:11 +0200 (CEST) Original-Received: (qmail 2392 invoked by uid 89); 2 Sep 2012 08:35:34 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 2 Sep 2012 08:35:34 -0000 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 8B3FE7FA05E; Sun, 2 Sep 2012 10:35:54 +0200 (CEST) In-Reply-To: <504284CE.3040203@yandex.ru> X-Mailer: Apple Mail (2.1486) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63669 Archived-At: Hello. 1 sep 2012 kl. 23:57 skrev Dmitry Gutov : > js2-mode freezes during editing in some buffers. >=20 > 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 >=20 > Bisecting the Bazaar history (on a Windows machine) points to the > month-old commit no 109470, which adds one line in `timer_check_2'. >=20 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.