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: Mon, 29 Aug 2005 04:39:22 -0400 Message-ID: References: <4311B76B.1050406@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 1125308101 29691 80.91.229.2 (29 Aug 2005 09:35:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Aug 2005 09:35:01 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 29 11:35:00 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E9g1O-0005fi-VH for ged-emacs-devel@m.gmane.org; Mon, 29 Aug 2005 11:33:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E9g5T-00066t-Mq for ged-emacs-devel@m.gmane.org; Mon, 29 Aug 2005 05:37:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E9fZl-0003jQ-8E for emacs-devel@gnu.org; Mon, 29 Aug 2005 05:05:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E9fHR-0002yn-Hh for emacs-devel@gnu.org; Mon, 29 Aug 2005 04:46:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E9fFU-0002jJ-TE for emacs-devel@gnu.org; Mon, 29 Aug 2005 04:44:13 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E9fDW-0000Ea-Ug for emacs-devel@gnu.org; Mon, 29 Aug 2005 04:42:11 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1E9fAo-0005BX-Ax; Mon, 29 Aug 2005 04:39:22 -0400 Original-To: martin rudalics In-reply-to: <4311B76B.1050406@gmx.at> (message from martin rudalics on Sun, 28 Aug 2005 15:08:59 +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:42473 Archived-At: (2) Modify `jit-lock-after-change' appropriately by, for example, inserting (forward-line (- font-lock-lines-before)) before (setq start (line-beginning-position)) That seems like the right fix. Why do you think it isn't?