From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Timer scheduling and cancel-timer Date: Sun, 20 Jan 2013 20:36:06 -0500 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 X-Trace: ger.gmane.org 1358732187 17169 80.91.229.3 (21 Jan 2013 01:36:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jan 2013 01:36:27 +0000 (UTC) Cc: 'Tomohiro Matsuyama' , 'Paul Eggert' , emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 21 02:36:45 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 1Tx6JW-0000KF-GX for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2013 02:36:42 +0100 Original-Received: from localhost ([::1]:51960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tx6JF-0004J8-Hj for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2013 20:36:25 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tx6JC-0004J0-Tb for emacs-devel@gnu.org; Sun, 20 Jan 2013 20:36:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tx6JB-0007Tj-7X for emacs-devel@gnu.org; Sun, 20 Jan 2013 20:36:22 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:53505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tx6JB-0007Te-3n for emacs-devel@gnu.org; Sun, 20 Jan 2013 20:36:21 -0500 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r0L1a6qS011114; Sun, 20 Jan 2013 20:36:06 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 26F13AE365; Sun, 20 Jan 2013 20:36:06 -0500 (EST) In-Reply-To: <0C917BD4690341A181CF2BE23E754FC7@us.oracle.com> (Drew Adams's message of "Sun, 20 Jan 2013 13:04:36 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4467=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4467> : streams <892145> : uri <1323753> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:156521 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. Stefan