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#20404: 25.0.50; Sometimes no fontification with jit-lock-defer-time Date: Thu, 23 Apr 2015 09:14:10 +0300 Message-ID: <83a8xz2wy5.fsf@gnu.org> References: <87a8y0iji1.fsf@gnu.org> <837ft44fnf.fsf@gnu.org> <87y4ljgb01.fsf_-_@gnu.org> <83bnif3ks4.fsf@gnu.org> <87oamfwfkc.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1429769725 7693 80.91.229.3 (23 Apr 2015 06:15:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Apr 2015 06:15:25 +0000 (UTC) Cc: 20404@debbugs.gnu.org To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 23 08:15:13 2015 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 1YlAPo-0003sh-EJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2015 08:15:12 +0200 Original-Received: from localhost ([::1]:38220 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlAPn-0006fD-9R for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2015 02:15:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlAPj-0006cs-2l for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 02:15:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlAPf-00085v-Pz for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 02:15:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlAPf-00085S-MG for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 02:15:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YlAPf-0007nO-45 for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 02:15:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Apr 2015 06:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20404 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20404-submit@debbugs.gnu.org id=B20404.142976965929905 (code B ref 20404); Thu, 23 Apr 2015 06:15:03 +0000 Original-Received: (at 20404) by debbugs.gnu.org; 23 Apr 2015 06:14:19 +0000 Original-Received: from localhost ([127.0.0.1]:36984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YlAOw-0007mE-Ms for submit@debbugs.gnu.org; Thu, 23 Apr 2015 02:14:19 -0400 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:59478) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YlAOv-0007m2-6a for 20404@debbugs.gnu.org; Thu, 23 Apr 2015 02:14:18 -0400 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NN800C00XBB3700@mtaout26.012.net.il> for 20404@debbugs.gnu.org; Thu, 23 Apr 2015 09:15:46 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NN8007TMXEAUP30@mtaout26.012.net.il>; Thu, 23 Apr 2015 09:15:46 +0300 (IDT) In-reply-to: <87oamfwfkc.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:101901 Archived-At: > From: Tassilo Horn > Cc: 20404@debbugs.gnu.org > Date: Thu, 23 Apr 2015 07:59:15 +0200 > > Eli Zaretskii writes: > > > So you are saying that something prevents the timer to run at the > > prescribed time? > > That seems to be the case. It can also be that Emacs doesn't become idle for some reason. > > I suggest to add trace printf's in the code that traverses the > > idle-timers' list, and see why this timer doesn't run on time. > > That would be > > static struct timespec > timer_check_2 (Lisp_Object timers, Lisp_Object idle_timers) > > right? Yes. > + if (ripe) > + { > + printf("Idle timer calling %s is ripe.", AREF (5, chosen_timer)); > + } > } > > /* If timer is ripe, run it if it hasn't been run. */ > --8<---------------cut here---------------end--------------->8--- > > I think the problem is that the AREF returns the timer's function or > maybe the symbol whose function definition is the timer's function. Yes, you cannon printf a Lisp object with %s. > How do I get the function's name in order to print that? Try SDATA (SYMBOL_NAME (AREF (5, chosen_timer))).