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: How to debug Error during redisplay Date: Fri, 11 Jan 2013 09:56:45 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1357916220 16606 80.91.229.3 (11 Jan 2013 14:57:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jan 2013 14:57:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Leo Liu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 11 15:57:17 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 1Ttg2k-0002wV-M9 for ged-emacs-devel@m.gmane.org; Fri, 11 Jan 2013 15:57:14 +0100 Original-Received: from localhost ([::1]:52516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ttg2U-0008Fm-Rn for ged-emacs-devel@m.gmane.org; Fri, 11 Jan 2013 09:56:58 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ttg2Q-0008FL-Ho for emacs-devel@gnu.org; Fri, 11 Jan 2013 09:56:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ttg2J-0007xf-Er for emacs-devel@gnu.org; Fri, 11 Jan 2013 09:56:54 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:61921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ttg2J-0007xY-Av for emacs-devel@gnu.org; Fri, 11 Jan 2013 09:56:47 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiAIAG6Zu09MCpYP/2dsb2JhbABEgXutX4Q3gQiCFQEBBAFWIwULCw4mEhQYDSSIHAW6CZBEA4hCmnGBWIMH X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="212297242" Original-Received: from 76-10-150-15.dsl.teksavvy.com (HELO pastel.home) ([76.10.150.15]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 11 Jan 2013 09:56:46 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id DE502592BE; Fri, 11 Jan 2013 09:56:45 -0500 (EST) In-Reply-To: (Leo Liu's message of "Fri, 11 Jan 2013 17:03:38 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:156219 Archived-At: > I have just noticed this (using 24.2.92) in the *message* buffer which I > cannot reproduce in emacs 24.2. Any idea how to debug this problem? > Error during redisplay: (jit-lock-function 1) signaled (wrong-type-argument stringp nil) > Error during redisplay: (jit-lock-function 561) signaled (wrong-type-argument stringp nil) > Error during redisplay: (jit-lock-function 1) signaled (wrong-type-argument stringp nil) [2 times] You can try (setq font-lock-support-mode nil) then turn font-lock-mode off and then back on, so as to make it not use jit-lock. If you're lucky, the same problem will occur, but this time it'll be in a context where debug-on-error works. Stefan