From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harald Hanche-Olsen Newsgroups: gmane.emacs.bugs Subject: bug#12447: 24.1.50; Stuck in garbage collection on OS X Date: Sat, 15 Sep 2012 16:23:53 +0200 (CEST) Message-ID: <20120915.162353.801081994667867167.hanche@math.ntnu.no> References: <834nmztqkp.fsf@gnu.org> <20120915.151909.318452080619853688.hanche@math.ntnu.no> <83y5kbs83l.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1347719105 11549 80.91.229.3 (15 Sep 2012 14:25:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Sep 2012 14:25:05 +0000 (UTC) Cc: 12447@debbugs.gnu.org To: eliz@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 15 16:25:09 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 1TCtIw-0001qE-G7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Sep 2012 16:25:06 +0200 Original-Received: from localhost ([::1]:58350 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCtIs-0006af-JE for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Sep 2012 10:25:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCtIq-0006Yp-9N for bug-gnu-emacs@gnu.org; Sat, 15 Sep 2012 10:25:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCtIp-0007Jp-7s for bug-gnu-emacs@gnu.org; Sat, 15 Sep 2012 10:25:00 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCtIp-0007Jl-4X for bug-gnu-emacs@gnu.org; Sat, 15 Sep 2012 10:24:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TCtJq-0008D4-6U for bug-gnu-emacs@gnu.org; Sat, 15 Sep 2012 10:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Harald Hanche-Olsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Sep 2012 14:26: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.134771910531489 (code B ref 12447); Sat, 15 Sep 2012 14:26:02 +0000 Original-Received: (at 12447) by debbugs.gnu.org; 15 Sep 2012 14:25:05 +0000 Original-Received: from localhost ([127.0.0.1]:35621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCtIu-0008Bq-Jc for submit@debbugs.gnu.org; Sat, 15 Sep 2012 10:25:05 -0400 Original-Received: from hylle01.itea.ntnu.no ([129.241.56.100]:53841) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCtIs-0008BR-Er for 12447@debbugs.gnu.org; Sat, 15 Sep 2012 10:25:03 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hylle01.itea.ntnu.no (Postfix) with ESMTP id 9FFFB35A001 for <12447@debbugs.gnu.org>; Sat, 15 Sep 2012 16:23:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hylle01.itea.ntnu.no Original-Received: from anne.math.ntnu.no (anne.math.ntnu.no [129.241.15.150]) by hylle01.itea.ntnu.no (Postfix) with SMTP id E16A731E018 for <12447@debbugs.gnu.org>; Sat, 15 Sep 2012 16:23:56 +0200 (CEST) Original-Received: (qmail 14036 invoked from network); 15 Sep 2012 14:23:56 -0000 Original-Received: from gauss.math.ntnu.no (HELO localhost) (hanche@129.241.15.58) by anne.math.ntnu.no with ESMTPA; 15 Sep 2012 14:23:56 -0000 In-Reply-To: <83y5kbs83l.fsf@gnu.org> X-URL: http://www.math.ntnu.no/~hanche/ X-Mailer: Mew version 6.5 on Emacs 24.2.50 / Mule 6.0 (HANACHIRUSATO) 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:64364 Archived-At: [Eli Zaretskii (2012-09-15 13:56:14 UTC)] > ??? AFAIU, you are trying to track a bug, not use the timers. You > specifically asked about "how the timers work at a lower level". > > Using timers does not involve any reading of C code; just read the > "Timers" and "Idle timers" nodes of the ELisp manual, and Bob's your > uncle. No low-level knowledge is needed just for using timers. Ah. I was forming my impression by looking at the code quoted in the discussion of bug#12326, which seems to be using lower level stuff. So I thought I had to understand that. But the timer code in mew seems to only use the interface described in the elisp manual. But yes, I am chasing a bug, not trying to use timers. Which seems to require understanding the underlying mechanism, as otherwise I have no idea what I need to be looking for. After all, the code works fine most of the time, but revision 109470 broke it for some strange reason. And this seems to imply that you do need to understand the lower levels in order to use timers safely. Which is bad, if true. For example: Is it okay to set a timer in a timer callback? Example code in the "Idle timers" node in the elisp manual seems to say so. Thanks for your patience with my many misunderstandings. I want to track this problem down, but I am still fumbling in the dark. - Harald