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: emacs hangs in jit-lock Date: Thu, 30 Nov 2006 13:46:24 -0500 Message-ID: References: <456C70A0.6060105@gnu.org> <87k61fibk5.fsf@stupidchicken.com> <456C9877.7020905@gnu.org> <20061130001202.GB21945@printf.se> <456EA480.4000206@gmx.at> <456F201A.1040203@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1164912484 25780 80.91.229.2 (30 Nov 2006 18:48:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Nov 2006 18:48:04 +0000 (UTC) Cc: Henrik Enberg , Chong Yidong , Sam Steingold , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 30 19:48:02 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GpqwY-0004ZC-TP for ged-emacs-devel@m.gmane.org; Thu, 30 Nov 2006 19:47:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GpqwY-00088K-GY for ged-emacs-devel@m.gmane.org; Thu, 30 Nov 2006 13:47:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gpqvg-0007rH-KN for emacs-devel@gnu.org; Thu, 30 Nov 2006 13:46:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gpqve-0007qE-Dw for emacs-devel@gnu.org; Thu, 30 Nov 2006 13:46:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gpqve-0007q7-67 for emacs-devel@gnu.org; Thu, 30 Nov 2006 13:46:38 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gpqvc-0000AC-Dk; Thu, 30 Nov 2006 13:46:36 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id A47692CF095; Thu, 30 Nov 2006 13:46:35 -0500 (EST) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id CB2623FE1; Thu, 30 Nov 2006 13:46:24 -0500 (EST) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id B06834C6D25; Thu, 30 Nov 2006 13:46:24 -0500 (EST) Original-To: martin rudalics In-Reply-To: <456F201A.1040203@gmx.at> (martin rudalics's message of "Thu\, 30 Nov 2006 19\:16\:58 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63149 Archived-At: >> It will fix a few problems (typically of the sort "Emacs takes 100% cpu >> time"), but I agree that it won't really fix the mentioned problems. > If I open say xdisp.c with Alan's `beginning-of-defun-raw' and jump to > the end of the buffer Emacs takes more than 98% of my CPU with stealth > fontification turned off. Subsequent M-v's will do the same. Without > Alan's change Emacs takes less than 5%. Why am I not surprised ;-) ? Stefan