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: font-lock-extend-region-function: Final refinements. Date: Sun, 30 Apr 2006 10:55:21 -0400 Message-ID: <87wtd7dsoc.fsf-monnier+emacs@gnu.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146408965 7697 80.91.229.2 (30 Apr 2006 14:56:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Apr 2006 14:56:05 +0000 (UTC) Cc: Ralf Angeli , Richard Stallman , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 30 16:56: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 1FaDKj-0007g0-MG for ged-emacs-devel@m.gmane.org; Sun, 30 Apr 2006 16:55:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FaDKj-0004bb-AK for ged-emacs-devel@m.gmane.org; Sun, 30 Apr 2006 10:55:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FaDKY-0004aR-44 for emacs-devel@gnu.org; Sun, 30 Apr 2006 10:55:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FaDKW-0004Zo-LS for emacs-devel@gnu.org; Sun, 30 Apr 2006 10:55:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FaDKW-0004Zl-GW for emacs-devel@gnu.org; Sun, 30 Apr 2006 10:55:24 -0400 Original-Received: from [209.226.175.188] (helo=tomts25-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FaDO6-0004zr-7v; Sun, 30 Apr 2006 10:59:06 -0400 Original-Received: from alfajor ([70.55.146.223]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060430145521.UNXI28586.tomts25-srv.bellnexxia.net@alfajor>; Sun, 30 Apr 2006 10:55:21 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id 66690D920E; Sun, 30 Apr 2006 10:55:21 -0400 (EDT) Original-To: Alan Mackenzie In-Reply-To: (Alan Mackenzie's message of "Sun, 30 Apr 2006 12:48:36 +0000 (GMT)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:53663 Archived-At: > It has been apparent for some time that the current mechanism for calling > font-lock-extend-region-function[*] from the two font-lock after-change > functions is incomplete - it needs to be supplemented by callng the > function from jit-lock-fontify-now and font-lock-default-fontify-region. > Here is a patch which does precisely this. I will install it if nobody > sees any problems with it. Since it depends on Richard's response to our query, I'd recomend you wait (just like I'm waiting to remove/move the after-change-function part). Also please don't add the jit-lock-fontify-now part, since I think it's not the right approach to solve this problem and it's not needed for correctness. Stefan