GNU bug report logs - #14394
jit-lock-force-redisplay redefinition breaks jit fontification in auctex

Previous Next

Package: auctex;

Reported by: Antoine Levitt <antoine.levitt <at> gmail.com>

Date: Mon, 13 May 2013 09:25:01 UTC

Severity: normal

Merged with 16879

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Antoine Levitt <antoine.levitt <at> gmail.com>
Cc: bug-auctex <at> gnu.org, bug-gnu-emacs <at> gnu.org
Subject: Re: jit-lock-force-redisplay redefinition breaks jit fontification in
	auctex
Date: Tue, 14 May 2013 11:52:06 -0400
> 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




This bug report was last modified 11 years and 91 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.