From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: jit-lock doesn't honor font-lock-lines-before Date: Fri, 02 Sep 2005 02:05:53 -0400 Message-ID: References: <4311B76B.1050406@gmx.at> <43144CF6.1070505@gmx.at> <87r7cax1w0.fsf-monnier+emacs@gnu.org> <43169E8E.4020701@gmx.at> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1125642910 18674 80.91.229.2 (2 Sep 2005 06:35:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Sep 2005 06:35:10 +0000 (UTC) Cc: rudalics@gmx.at, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 02 08:35:07 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EB58e-0000L1-S9 for ged-emacs-devel@m.gmane.org; Fri, 02 Sep 2005 08:35:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EB5Cu-00031k-U0 for ged-emacs-devel@m.gmane.org; Fri, 02 Sep 2005 02:39:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EB4wy-0008DM-2v for emacs-devel@gnu.org; Fri, 02 Sep 2005 02:22:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EB4ww-0008Cr-V2 for emacs-devel@gnu.org; Fri, 02 Sep 2005 02:22:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EB4ww-0007zn-IA for emacs-devel@gnu.org; Fri, 02 Sep 2005 02:22:54 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EB4kU-0001MP-5e for emacs-devel@gnu.org; Fri, 02 Sep 2005 02:10:02 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EB4gT-0004Ou-KL; Fri, 02 Sep 2005 02:05:53 -0400 Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Thu, 01 Sep 2005 09:49:44 -0400) 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:42573 Archived-At: I suggest the patch below, which also sets the default value to 0: except for some special modes which rely on font-lock-lines-before (and which should thus set it explicitly to an appropriate value), setting it to something more than 0 will just waste CPU. If you change the default to 0, would you please modify C mode to set it to 1?