From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12447: 24.1.50; Stuck in garbage collection on OS X Date: Fri, 21 Sep 2012 12:54:22 +0300 Message-ID: <83ipb7ya41.fsf@gnu.org> References: <505598C8.8070904@yandex.ru> <5055AD8E.5020309@yandex.ru> <83zk4qqj4d.fsf@gnu.org> <5055C0EB.3040908@yandex.ru> <83wqzuqgzr.fsf@gnu.org> <5055D34F.1040800@yandex.ru> <83txuyqdtv.fsf@gnu.org> <5055E16E.1070604@yandex.ru> <83sjaiqaqb.fsf@gnu.org> <5055F69B.4020004@yandex.ru> <837grr1idg.fsf@gnu.org> <5059115B.8010407@yandex.ru> <83txuuzpqo.fsf@gnu.org> <5059965F.5030708@yandex.ru> <83obl2yr19.fsf@gnu.org> <5059F10C.6070806@yandex.ru> <83ipbaynku.fsf@gnu.org> <87a9wlz6e4.fsf@gnu.org> <83ehlwznsf.fsf@gnu.org> <87ipb8m4pk.fsf@gnu.org> <83r4pvyhj3.fsf@gnu.org> <87lig3d9nh.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1348221340 4702 80.91.229.3 (21 Sep 2012 09:55:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Sep 2012 09:55:40 +0000 (UTC) Cc: 12447@debbugs.gnu.org, hanche@math.ntnu.no, dgutov@yandex.ru To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 21 11:55:44 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 1TEzxS-0002MB-6x for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Sep 2012 11:55:38 +0200 Original-Received: from localhost ([::1]:39157 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEzxN-0006O9-HW for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Sep 2012 05:55:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEzxK-0006Mv-7r for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2012 05:55:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEzxJ-0004cz-56 for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2012 05:55:30 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEzxJ-0004cv-0g for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2012 05:55:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TEzyo-0004LC-Es for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2012 05:57:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Sep 2012 09:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12447 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12447-submit@debbugs.gnu.org id=B12447.134822137616626 (code B ref 12447); Fri, 21 Sep 2012 09:57:02 +0000 Original-Received: (at 12447) by debbugs.gnu.org; 21 Sep 2012 09:56:16 +0000 Original-Received: from localhost ([127.0.0.1]:46219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TEzy4-0004K7-3f for submit@debbugs.gnu.org; Fri, 21 Sep 2012 05:56:16 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:48224) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TEzy1-0004Jy-Hx for 12447@debbugs.gnu.org; Fri, 21 Sep 2012 05:56:14 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MAP00F0025YJS00@a-mtaout22.012.net.il> for 12447@debbugs.gnu.org; Fri, 21 Sep 2012 12:54:06 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MAP00FO3265JJ00@a-mtaout22.012.net.il>; Fri, 21 Sep 2012 12:54:06 +0300 (IDT) In-reply-to: <87lig3d9nh.fsf@gnu.org> X-012-Sender: halo1@inter.net.il 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:64686 Archived-At: > From: Chong Yidong > Cc: dgutov@yandex.ru, hanche@math.ntnu.no, 12447@debbugs.gnu.org > Date: Fri, 21 Sep 2012 17:09:54 +0800 > > Eli Zaretskii writes: > > >> What is the package that relies on the old behavior? > > > > js2-mode, see bug #12326 (merged with this one). > > I'm confused. You just said that js2-mode needed a code change: > > >> The one I posted in #12326: calling timer-activate-when-idle with nil > >> DONT-WAIT argument. > > > > I don't think that's a workaround. I think that's what js2 should do, > > if (AFAIU) it wants the timer handler be invoked once, after Emacs has > > been idle for more than 1 sec. > > If I understand correctly, js2-mode (prior to the workaround) assumed > the new behavior: it called run-with-idle-timer from inside the idle > timer, with the same delay, with the intention of scheduling for the > next period of idleness. I have no idea what js2-mode wants to do. What I wrote above was based on my limited reading of the code fragments posted to that bug.