From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.auctex.bugs,gmane.emacs.bugs Subject: Re: jit-lock-force-redisplay redefinition breaks jit fontification in auctex Date: Tue, 14 May 2013 11:52:06 -0400 Message-ID: References: <87obcftero.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1368546746 20719 80.91.229.3 (14 May 2013 15:52:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 May 2013 15:52:26 +0000 (UTC) Cc: bug-auctex@gnu.org, bug-gnu-emacs@gnu.org To: Antoine Levitt Original-X-From: bug-auctex-bounces+geab-bug-auctex=m.gmane.org@gnu.org Tue May 14 17:52:25 2013 Return-path: Envelope-to: geab-bug-auctex@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UcHWV-0008BJ-Jl for geab-bug-auctex@m.gmane.org; Tue, 14 May 2013 17:52:19 +0200 Original-Received: from localhost ([::1]:46689 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcHWV-0006mk-1n for geab-bug-auctex@m.gmane.org; Tue, 14 May 2013 11:52:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcHWR-0006ma-Oj for bug-auctex@gnu.org; Tue, 14 May 2013 11:52:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcHWQ-0003mv-G1 for bug-auctex@gnu.org; Tue, 14 May 2013 11:52:15 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:52257) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcHWK-0003lx-50; Tue, 14 May 2013 11:52:08 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r4EFq64l004845; Tue, 14 May 2013 11:52:06 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 6DA7CB4161; Tue, 14 May 2013 11:52:06 -0400 (EDT) In-Reply-To: <87obcftero.fsf@gmail.com> (Antoine Levitt's message of "Mon, 13 May 2013 11:23:07 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4579=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4579> : streams <960523> : uri <1419969> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: bug-auctex@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reporting list for AUCTeX List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-auctex-bounces+geab-bug-auctex=m.gmane.org@gnu.org Original-Sender: bug-auctex-bounces+geab-bug-auctex=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.auctex.bugs:2028 gmane.emacs.bugs:74243 Archived-At: > Second, this breaks function font-latex-jit-lock-force-redisplay in > auctex, which uses the old prototype. This is present in emacs and > auctex from trunk. Is the prototype change really necessary? If no, this > is a bug for emacs, if yes, this is a bug for auctex. In doubt, I'm > submitting the report in both. The answer is that font-latex should not modify font-lock-fontify-region-function and should instead use font-lock-extend-region-functions (it's OK to do what it does when running on older Emacsen which do not have font-lock-extend-region-functions, of course). Stefan