From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Default of jit-lock-stealth-time Date: Sun, 04 Mar 2007 22:13:23 +0100 Message-ID: <85bqj8n24s.fsf@lola.goethe.zz> References: <85tzxazb8r.fsf@lola.goethe.zz> <85irdi1mar.fsf@lola.goethe.zz> <85abytkugj.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173042837 30276 80.91.229.12 (4 Mar 2007 21:13:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 4 Mar 2007 21:13:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 04 22:13:44 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HNy1W-0000WI-Hf for ged-emacs-devel@m.gmane.org; Sun, 04 Mar 2007 22:13:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HNy1V-0003KH-TX for ged-emacs-devel@m.gmane.org; Sun, 04 Mar 2007 16:13:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HNy1K-0003KC-9N for emacs-devel@gnu.org; Sun, 04 Mar 2007 16:13:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HNy1I-0003Jg-TV for emacs-devel@gnu.org; Sun, 04 Mar 2007 16:13:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HNy1I-0003Jd-QY for emacs-devel@gnu.org; Sun, 04 Mar 2007 16:13:28 -0500 Original-Received: from mail-in-08.arcor-online.net ([151.189.21.48]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HNy1H-0000gL-A1; Sun, 04 Mar 2007 16:13:27 -0500 Original-Received: from mail-in-02-z2.arcor-online.net (mail-in-02-z2.arcor-online.net [151.189.8.14]) by mail-in-08.arcor-online.net (Postfix) with ESMTP id CB0B427AF7F; Sun, 4 Mar 2007 22:13:25 +0100 (CET) Original-Received: from mail-in-03.arcor-online.net (mail-in-03.arcor-online.net [151.189.21.43]) by mail-in-02-z2.arcor-online.net (Postfix) with ESMTP id BCDEC1141EF; Sun, 4 Mar 2007 22:13:25 +0100 (CET) Original-Received: from lola.goethe.zz (dslb-084-061-052-195.pools.arcor-ip.net [84.61.52.195]) by mail-in-03.arcor-online.net (Postfix) with ESMTP id 98D1D83BE2; Sun, 4 Mar 2007 22:13:25 +0100 (CET) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 67C751C460D3; Sun, 4 Mar 2007 22:13:23 +0100 (CET) In-Reply-To: (Eli Zaretskii's message of "Sun\, 04 Mar 2007 22\:59\:28 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 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:67316 Archived-At: Eli Zaretskii writes: >> Cc: rms@gnu.org, emacs-devel@gnu.org >> From: David Kastrup >> Date: Sun, 04 Mar 2007 14:29:48 +0100 >> >> I can send you the file in question > > If that's the standard texbook.tex from CTAN, I have it. FWIW, I > don't see any special problem with it in "emacs -Q". JIT stealth > still takes 1-3% of CPU on a 3GHz box, when this file is the only one > loaded in a session. > >> but you'll probably need font-latex and possible other AUCTeX >> components for reproducing the problem. > > Are there other files which exhibit similar problems? Or did we just > change the defaults because of some singular case, which on top of > that needs unbundled packages to raise its ugly head? I get similar effects with other files (not just TeX files, C mode has shown similar problems in some iterations), and if you had followed the discussion closely, you'd have realized that several other developers have disabled jit-lock-stealth-time previously for their own problems using it. I apologize for providing an actual example if it causes such a reaction. In case you have forgotten: I have repeatedly stated that there might very well be problems with some font lock patterns in some modes. The problem with stealth fontification is that it makes those problems non-debuggable, non-deterministic and spreads their bad effects across all buffers and modes, without the user being able to pinpoint them any more. With the current settings, such problems, if they exist, will exhibit themselves when paging through the affected areas. People will be able to report them. Currently, we instead let Emacs drain the batteries without a possibility to pinpoint when and why that is happening. And again: it is not just me and not just a single file and setup: _several_ other developers have, after my report, stated that they had long ago disabled stealth fontification for similar reasons. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum