From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#12447: 24.1.50; Stuck in garbage collection on OS X Date: Fri, 21 Sep 2012 22:26:18 +0800 Message-ID: <87mx0jtpth.fsf@gnu.org> References: <505598C8.8070904@yandex.ru> <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> <83ipb7ya41.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1348237666 16912 80.91.229.3 (21 Sep 2012 14:27:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Sep 2012 14:27:46 +0000 (UTC) Cc: 12447@debbugs.gnu.org, hanche@math.ntnu.no, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 21 16:27:50 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 1TF4Co-00025U-Mi for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Sep 2012 16:27:46 +0200 Original-Received: from localhost ([::1]:54942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF4Ck-0005bt-8I for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Sep 2012 10:27:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF4CZ-0005aZ-ME for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2012 10:27:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TF4CT-0006RR-T9 for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2012 10:27:31 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF4CT-0006RM-Pt for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2012 10:27:25 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TF4E2-00034e-IT for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2012 10:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Sep 2012 14:29: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.134823768611750 (code B ref 12447); Fri, 21 Sep 2012 14:29:02 +0000 Original-Received: (at 12447) by debbugs.gnu.org; 21 Sep 2012 14:28:06 +0000 Original-Received: from localhost ([127.0.0.1]:47197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TF4D7-00033T-NR for submit@debbugs.gnu.org; Fri, 21 Sep 2012 10:28:05 -0400 Original-Received: from mail-pb0-f44.google.com ([209.85.160.44]:40898) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TF4D4-00033L-Ow for 12447@debbugs.gnu.org; Fri, 21 Sep 2012 10:28:03 -0400 Original-Received: by pbbjt11 with SMTP id jt11so5423861pbb.3 for <12447@debbugs.gnu.org>; Fri, 21 Sep 2012 07:26:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=lFbia8S+xjDnuDuqnlBZ1YAL7bLODM1Xy8fHgkpM2mY=; b=pLp4mewCes9xHHRJyrhhbXICe1OS/NecYuOhBeVuaBBAfaz+ams15DUUreBtXBhFjA b9MejE/28YLmpaOARE744QOI6yDUsLW4x5ccWYsblpsifTgLH0DjjW+dK4EcvUisa6I1 QYFLgGQz0rsOpv0nOKecTG6ScIotNShYUxnxsBqDWzuLjIu/8FIjzi+G1R8k3v2SQHhG dMPO6tMn1niXb3riLnvmy7E2K5hxhV2Jd8GSJGZzIUVTIltrOLF8c9LP162HOtR5P6kw +IfVVc4+FAKJZj9qxzGVSA3/pRDciklQJZyjca9HN586e0bxWk7Rb6vAqRD4V+JVqmCU XKjg== Original-Received: by 10.66.77.170 with SMTP id t10mr13885597paw.0.1348237583585; Fri, 21 Sep 2012 07:26:23 -0700 (PDT) Original-Received: from ulysses (cm162.gamma80.maxonline.com.sg. [202.156.80.162]) by mx.google.com with ESMTPS id b6sm4207642paz.9.2012.09.21.07.26.20 (version=SSLv3 cipher=OTHER); Fri, 21 Sep 2012 07:26:22 -0700 (PDT) In-Reply-To: <83ipb7ya41.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 21 Sep 2012 12:54:22 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) 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:64691 Archived-At: Eli Zaretskii writes: >> 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. OK, I guess your approach is fine. Please go ahead and commit your patch when you're ready, and amend the docstring of run-with-idle-timer as Dmitry suggested. Thanks.