From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Timer scheduling and cancel-timer Date: Sun, 20 Jan 2013 17:39:48 -0800 Message-ID: References: <20130121005802.c7383f4994ead287e738f96f@cx4a.org><50FC43DB.6070505@cs.ucla.edu><0C917BD4690341A181CF2BE23E754FC7@us.oracle.com> 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 1358732408 18895 80.91.229.3 (21 Jan 2013 01:40:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jan 2013 01:40:08 +0000 (UTC) Cc: 'Tomohiro Matsuyama' , 'Paul Eggert' , emacs-devel@gnu.org To: "'Stefan Monnier'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 21 02:40:27 2013 Return-path: Envelope-to: ged-emacs-devel@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 1Tx6N8-00018n-RS for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2013 02:40:26 +0100 Original-Received: from localhost ([::1]:53362 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tx6Mr-0005NH-If for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2013 20:40:09 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tx6Mo-0005Kf-7a for emacs-devel@gnu.org; Sun, 20 Jan 2013 20:40:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tx6Mm-0008Or-39 for emacs-devel@gnu.org; Sun, 20 Jan 2013 20:40:06 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:22428) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tx6Ml-0008MU-Sa for emacs-devel@gnu.org; Sun, 20 Jan 2013 20:40:04 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by userp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id r0L1dwss022439 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 21 Jan 2013 01:39:59 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r0L1dwsU028519 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Jan 2013 01:39:58 GMT Original-Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r0L1dv4F001743; Sun, 20 Jan 2013 19:39:57 -0600 Original-Received: from dradamslap1 (/71.202.147.44) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 20 Jan 2013 17:39:57 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Ac33d7j3Z1s2/DGYQ8Gm6qphnXCYCAAACrag X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:156522 Archived-At: > > I have no idea whether this is relevant, but I'll mention > > it, as it might be. > > Sounds unrelated. > > > Debugger entered--Lisp error: (wrong-type-argument > > integer-or-marker-p t) > > #[nil ... > > ad-Advice-show-paren-function(#[nil... > > show-paren-function() > > apply(show-paren-function nil) > > #[nil ... [timer apply 5 6] 4]() > > timer-event-handler([t 0 0 125000 t show-paren-function > > nil idle 0]) > > Until recently timer-event-handler just silently dropped all errors > signaled by timers, whereas I recently changed it to turn them into > messages (a nd to show the backtrace if debug-on-error is non-nil). > > So maybe this error has been present for ever but just got unnoticed > until now. The "#[nil ...]" seems to be the unadvised body of > show-paren-function, so the error apparently comes from within > show-paren-function. I see. Since this happened for the first time yesterday, and it happened once today, I thought it might be related, but your explanation makes sense also. I was using a build from 12/31 until 1/18, so if you made your change during that period that too would explain why I see the problem for the first time now.