From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.help,gmane.emacs.devel Subject: Re: How to debug hang? Date: Sat, 18 Nov 2006 09:58:34 +0100 Message-ID: <455ECB3A.8060606@gmx.at> References: <87irhdcvt8.fsf@pereiro.luannocracy.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1163840321 7736 80.91.229.2 (18 Nov 2006 08:58:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Nov 2006 08:58:41 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, emacs-devel@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 18 09:58:40 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GlM1y-0001fq-Sh for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Nov 2006 09:58:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GlM1y-0008R0-GE for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Nov 2006 03:58:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GlM1h-0008PF-C7 for help-gnu-emacs@gnu.org; Sat, 18 Nov 2006 03:58:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GlM1e-0008MW-FK for help-gnu-emacs@gnu.org; Sat, 18 Nov 2006 03:58:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GlM1e-0008MK-6U for help-gnu-emacs@gnu.org; Sat, 18 Nov 2006 03:58:14 -0500 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1GlM1e-00045o-3A for help-gnu-emacs@gnu.org; Sat, 18 Nov 2006 03:58:14 -0500 Original-Received: (qmail invoked by alias); 18 Nov 2006 08:58:12 -0000 Original-Received: from N734P031.adsl.highway.telekom.at (EHLO [62.47.35.191]) [62.47.35.191] by mail.gmx.net (mp019) with SMTP; 18 Nov 2006 09:58:12 +0100 X-Authenticated: #14592706 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en Original-To: David Abrahams In-Reply-To: <87irhdcvt8.fsf@pereiro.luannocracy.com> X-Y-GMX-Trusted: 0 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:38792 gmane.emacs.devel:62411 Archived-At: > I'm trying to debug some kind of a hang that occurs when I try to use > a font-lock mode I'm developing. I can't get control back by hitting > `C-g'. I suspected it was a bad (combinatoric) regexp, but I added > advice before and after re-search-forward that emitted enter/exit > messages, and when the hang occurs I am seeing an exit message, so I'm > guessing that's not it. I'm quite stumped now; hoping someone can > offer a clue. If a (presumed) bug in font-locking makes Emacs hang during redisplay, the latter won't be able to display your message. You could try to write your messages to a dribble file.