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: Wed, 31 Aug 2005 10:36:55 -0400 Message-ID: References: <4311B76B.1050406@gmx.at> <43140295.4000102@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 1125499931 6500 80.91.229.2 (31 Aug 2005 14:52:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 31 Aug 2005 14:52:11 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 31 16:52:10 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EATti-0007nc-DP for ged-emacs-devel@m.gmane.org; Wed, 31 Aug 2005 16:49:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EATxu-0008WG-5r for ged-emacs-devel@m.gmane.org; Wed, 31 Aug 2005 10:53:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EATwS-00086q-Tf for emacs-devel@gnu.org; Wed, 31 Aug 2005 10:51:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EATwO-00084J-Vp for emacs-devel@gnu.org; Wed, 31 Aug 2005 10:51:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EATwO-00080M-TO for emacs-devel@gnu.org; Wed, 31 Aug 2005 10:51:52 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EATlO-0006jc-L2 for emacs-devel@gnu.org; Wed, 31 Aug 2005 10:40:30 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EAThv-0000R1-Sj; Wed, 31 Aug 2005 10:36:55 -0400 Original-To: martin rudalics In-reply-to: <43140295.4000102@gmx.at> (message from martin rudalics on Tue, 30 Aug 2005 08:54:13 +0200) 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:42528 Archived-At: Because this means that every time I insert one character, redisplay would refontify `font-lock-lines-before' in addition to the current line. That might be somewhat slower--but how much? Would it even be noticeable? jit-lock's after-change hook would only reset the fontified property to nil. Whether and when these lines are refontified would be _also_ decided by the redisplay engine. It's not decided by the redisplay engine alone. When calls for a certain region to be fontified, jit-lock could be changed to look at the previous line too.