GNU bug report logs - #37296
\left breaks syntax highlighting

Previous Next

Package: auctex;

Reported by: Hendrik Rommeswinkel <rommeswi <at> ntu.edu.tw>

Date: Tue, 3 Sep 2019 14:40:02 UTC

Severity: normal

Tags: notabug

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: Hendrik Rommeswinkel <rommeswi <at> ntu.edu.tw>
Cc: 37296 <at> debbugs.gnu.org
Subject: bug#37296: \left breaks syntax highlighting
Date: Sun, 08 Sep 2019 13:51:21 +0200
[Message part 1 (text/plain, inline)]
Hi Hendrik,

Hendrik Rommeswinkel <rommeswi <at> ntu.edu.tw> writes:

> Using \left(\right) without a space before \left( breaks the syntax
> highlighting. The remainder of the document is shown in yellow but
> sometimes editing b e l o w the \left(\right) will make syntax
> highlighting work again.

I can't reproduce what you're describing.  It looks like this for me:
[x.png (image/png, inline)]
[Message part 3 (text/plain, inline)]
> A second issue with \left(\right) is that typing "\left(" produces
> "\left(()\right)" instead of "\left(\right)".

Can't reproduce that either.  Typing "\left(" completes to
"\left(\right)" for me.

Can you please start Emacs with

    emacs -Q &

and in scratch buffer, eval these lines:

    (require 'package)
    (package-initialize)

open your .tex file and see if happens again?

Best, Arash

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

Previous Next


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