GNU bug report logs - #48365
13.0.11; Dollars in distinct comments trigger math mode highlighting in text in-between

Previous Next

Package: auctex;

Reported by: jfbu <jfbu <at> free.fr>

Date: Tue, 11 May 2021 19:18:01 UTC

Severity: normal

Found in version 13.0.11

Done: Ikumi Keita <ikumi <at> ikumi.que.jp>

Bug is archived. No further changes may be made.

Full log


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

From: Tassilo Horn <tsdh <at> gnu.org>
To: Ikumi Keita <ikumi <at> ikumi.que.jp>
Cc: 48365 <at> debbugs.gnu.org, JF <jfbu <at> free.fr>
Subject: Re: bug#48365: 13.0.11; Dollars in distinct comments trigger math
 mode highlighting in text in-between
Date: Wed, 12 May 2021 20:49:24 +0200
Ikumi Keita <ikumi <at> ikumi.que.jp> writes:

>>>> In case of file B, which differs only by an added %$ at end of the
>>>> \newcommand line, the \newcommand for example is not highlighted and
>>>> the B line changes colors without applying script style, see
>>>> screenshot
>
> Fixed in the git repo. Please try.

Works like a charm, and good catch!  How did you find the culprit?

With `jit-lock-debug-mode' I get as far as getting a message

  Error running timer ‘jit-lock--debug-fontify’: (end-of-buffer)

which clearly tells we're trying to moe farther than end of buffer but
still there is no indication where we're doing that.  Do you have some
trick I'm not aware of yet?

Bye,
Tassilo




This bug report was last modified 4 years and 73 days ago.

Previous Next


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