GNU bug report logs - #38165
12.2.0; Syntax highlighting broken when there are too many characters in equation/align environment

Previous Next

Package: auctex;

Reported by: Ruiyang Wu <ruiyangwu <at> math.arizona.edu>

Date: Sun, 10 Nov 2019 22:19:02 UTC

Severity: normal

Tags: notabug

Found in version 12.2.0

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Arash Esbati <arash <at> gnu.org>
To: Ruiyang Wu <ruiyangwu <at> math.arizona.edu>
Cc: 38165 <at> debbugs.gnu.org
Subject: bug#38165: 12.2.0; Syntax highlighting broken when there are too many characters in equation/align environment
Date: Sun, 17 Nov 2019 22:35:10 +0100
tags 38165 notabug
close 38165
quit
--

Ruiyang Wu <ruiyangwu <at> math.arizona.edu> writes:

> Thanks for your reply. You are right, I just figured out this is not a bug
> of auctex, but a bug of polymode instead. L224 in `polymode-compat.el'
> messes up with font lock, and causes this problem in LaTeX mode.
>
> Although this is not quite relevant to auctex, a temporary workaround would
> be:
> (with-eval-after-load "polymode-compat"
>   (advice-remove 'font-lock-extend-region-multiline
> 'pm-check-for-real-change-in-extend-multiline))

Thanks for checking and providing a solution for others hitting this
issue.

Best, Arash





This bug report was last modified 5 years and 189 days ago.

Previous Next


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