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


View this message in rfc822 format

From: Ralf Angeli <angeli <at> caeruleus.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: bug-auctex <at> gnu.org, 14394 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, Antoine Levitt <antoine.levitt <at> gmail.com>
Subject: bug#14394: [Bug-AUCTeX] bug#14394: jit-lock-force-redisplay redefinition breaks jit	fontification in auctex
Date: Mon, 13 May 2013 18:57:51 +0200
* Eli Zaretskii (2013-05-13) writes:

>> 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.
>
> The doc string fix issue aside, is there any reason why AUCTeX should
> call jit-lock-force-redisplay, instead of always using its expanded
> code, like it does for versions of Emacs that don't have that
> function?

I guess the idea was that calling the function might be more
forward-compatible than using the expanded code because this decouples
the code from future changes in the underlying machinery.  In this
particular case this didn't work so well, but things can break with
either approach.

Mosè already changed the code in AUCTeX's repository to use the expanded
code only, so we might stick with this for the time being and see what
happens.

-- 
Ralf




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.