GNU bug report logs - #33147
tex-mode: ${{{{a}}}}$ or more braces not highlighted

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Rittwik Chatterjee <rittwik@HIDDEN>; Keywords: confirmed; dated Thu, 25 Oct 2018 07:05:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug Marked as found in versions 27.0.50. Request was from Akshay Gaikwad <akgaikwad001@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) confirmed. Request was from Akshay Gaikwad <akgaikwad001@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'minor' from 'normal' Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Changed bug title to 'tex-mode: ${{{{a}}}}$ or more braces not highlighted' from '26.1; Latex inline math syntax highlighting problem' Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Oct 2018 07:04:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 25 03:04:46 2018
Received: from localhost ([127.0.0.1]:41157 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gFZhF-0008Kz-KV
	for submit <at> debbugs.gnu.org; Thu, 25 Oct 2018 03:04:46 -0400
Received: from eggs.gnu.org ([208.118.235.92]:53491)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rittwik@HIDDEN>) id 1gFZhD-0008Km-RQ
 for submit <at> debbugs.gnu.org; Thu, 25 Oct 2018 03:04:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rittwik@HIDDEN>) id 1gFZh7-0005dT-3U
 for submit <at> debbugs.gnu.org; Thu, 25 Oct 2018 03:04:38 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:45636)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <rittwik@HIDDEN>) id 1gFZh6-0005dK-UY
 for submit <at> debbugs.gnu.org; Thu, 25 Oct 2018 03:04:37 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34865)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rittwik@HIDDEN>) id 1gFZh5-0004JS-Do
 for bug-gnu-emacs@HIDDEN; Thu, 25 Oct 2018 03:04:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rittwik@HIDDEN>) id 1gFZh3-0005c9-OS
 for bug-gnu-emacs@HIDDEN; Thu, 25 Oct 2018 03:04:35 -0400
Received: from mail-ot1-x329.google.com ([2607:f8b0:4864:20::329]:41253)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <rittwik@HIDDEN>) id 1gFZh3-0005bg-Bo
 for bug-gnu-emacs@HIDDEN; Thu, 25 Oct 2018 03:04:33 -0400
Received: by mail-ot1-x329.google.com with SMTP id c32so7799002otb.8
 for <bug-gnu-emacs@HIDDEN>; Thu, 25 Oct 2018 00:04:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=vWA484WZp3VxUr6HK9Ywn7v7otTSqGZAlDsloJpliyg=;
 b=BpCRSPMVULjVcoAl+Rd7K1hzM52ApDI5J7AgxScYF1wF4YFSufMsnigAMZALsvRg9g
 imdv3rH9cozUtYLksnQE0+hlUYMhMXDZhMf4mcPp86wSlnGuQOeAGqI7DuvH04KJdyb+
 R60AnYlQwP2oSCrH8XArgOm1qe3fIfC0yKMXm/Q8U3pDzgZ5OvNYTAvPGATJRr3Sq01b
 Ao9x7uR0MhWeNvdySf494pyxzzS2g0e+BOo9wDgB6W17f/xoHJPjwYDAq84g5DaTjJ3/
 TCFbVtR2s0v0hCMboHqobKpOxdTX03m43b5Kp7whjqBi7/cI4493yVM57/Rxas9j6woo
 neRg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=vWA484WZp3VxUr6HK9Ywn7v7otTSqGZAlDsloJpliyg=;
 b=WduOLt88c0MQM0e6mg6nmp9M+IEeaVf0aVbZNo/UNSOKBR8jGvjQ7XNVLj86B+n1LG
 NbF1fyiiaP4+mwA/YF4r9P43H4KudBpUwPEuUqz6MP8jhDDm3Fj+/RpXGaPrPCFaE9Tl
 tt4OesPc+KCxPmcBeRNIj3SMDE5d9CU9mCyEpOukkrdkE93jiOSO4ThI2mZiZef9Stya
 byj+At0x0/orP2U4rESzqbhTVbWTH/CVH90l2Hd5rq/WCd1xONsXoBu4oVemce8Jotgn
 HA/oATaKa6Rv/jF/L8CPdN9qmypR2R+9GG594QfyzmvpCwVPrS1WzIfO4V5cuTO4mFc3
 Hv3A==
X-Gm-Message-State: AGRZ1gKyanhacUatlbwfJW4eUVHQWd17WgVGn0zPadrQsZHG+po3h0t1
 YhlnaK+DjwImg9ZtLbtvLiV4K0liLp6h0bORywbqkLV4
X-Google-Smtp-Source: AJdET5fyrfBos1R+ImGCgnxzBpcxmhQva5t1bgpd3Fa/HewQK6CTP7Pf+ltVq8+TtAx7m0RzqsTXOqyyryCRc820sAQ=
X-Received: by 2002:a9d:5c19:: with SMTP id o25mr409840otk.264.1540451071281; 
 Thu, 25 Oct 2018 00:04:31 -0700 (PDT)
MIME-Version: 1.0
From: Rittwik Chatterjee <rittwik@HIDDEN>
Date: Thu, 25 Oct 2018 12:34:19 +0530
Message-ID: <CAJ31mQeSnHOfns0bj1918vLmn_NME_1vh2Quz2gZrBxXx7aD7A@HIDDEN>
Subject: 26.1; Latex inline math syntax highlighting problem
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="000000000000e5ce35057908361f"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

--000000000000e5ce35057908361f
Content-Type: text/plain; charset="UTF-8"

Create any 'tex' file, say 'a.tex'.
Start emacs by executing 'emacs -Q'
Visit the tex file with emacs.

Paste the following
${{{{a}}}}$

The syntax highlighting will not work.

Another (real life) example
$t = \frac{\hat{\beta}_{1} - \beta_{1}}{\sqrt{\frac{\sigma^{2}}{n}
\frac{\sum X_{i}^{2}}{\sum x_{i}^{2}}}}$

It seems that upto three nested '{}', the syntax highlighting is
working.
But beyond that it is not.


In GNU Emacs 26.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.22.30)
 of 2018-06-26 built on buildhw-10.phx2.fedoraproject.org
Windowing system distributor 'Fedora Project', version 11.0.11906000
Recent messages:
Loading /usr/share/emacs/site-lisp/site-start.d/cmake-init.el
(source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/desktop-entry-mode-init.el
(source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/git-init.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.

Configured using:
 'configure --build=x86_64-redhat-linux-gnu
 --host=x86_64-redhat-linux-gnu --program-prefix=
 --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
 --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
 --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
 --libexecdir=/usr/libexec --localstatedir=/var
 --sharedstatedir=/var/lib --mandir=/usr/share/man
 --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png
 --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3
 --with-gpm=no --with-xwidgets --with-modules
 build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu
 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security
 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
 -fstack-protector-strong -grecord-gcc-switches
 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
 LDFLAGS=-Wl,-z,relro
 PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY ACL
LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS XWIDGETS LCMS2

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv
bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg
epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date
mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting xwidget-internal
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 95948 6990)
 (symbols 48 20405 1)
 (miscs 40 92 118)
 (strings 32 28389 1495)
 (string-bytes 1 744394)
 (vectors 16 14688)
 (vector-slots 8 497630 7512)
 (floats 8 50 67)
 (intervals 56 308 0)
 (buffers 992 12))

--000000000000e5ce35057908361f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br>Create any &#39;tex&#39; file, say &#=
39;a.tex&#39;.<br>Start emacs by executing &#39;emacs -Q&#39;<br>Visit the =
tex file with emacs.<br><br>Paste the following<br>${{{{a}}}}$<br><br>The s=
yntax highlighting will not work.<br><br>Another (real life) example<br>$t =
=3D \frac{\hat{\beta}_{1} - \beta_{1}}{\sqrt{\frac{\sigma^{2}}{n}<br>\frac{=
\sum X_{i}^{2}}{\sum x_{i}^{2}}}}$<br><br>It seems that upto three nested &=
#39;{}&#39;, the syntax highlighting is<br>working.<br>But beyond that it i=
s not.<br><br><br>In GNU Emacs 26.1 (build 1, x86_64-redhat-linux-gnu, GTK+=
 Version 3.22.30)<br>=C2=A0of 2018-06-26 built on <a href=3D"http://buildhw=
-10.phx2.fedoraproject.org">buildhw-10.phx2.fedoraproject.org</a><br>Window=
ing system distributor &#39;Fedora Project&#39;, version 11.0.11906000<br>R=
ecent messages:<br>Loading /usr/share/emacs/site-lisp/site-start.d/cmake-in=
it.el (source)...done<br>Loading /usr/share/emacs/site-lisp/site-start.d/de=
sktop-entry-mode-init.el (source)...done<br>Loading /usr/share/emacs/site-l=
isp/site-start.d/git-init.el (source)...done<br>For information about GNU E=
macs and the GNU system, type C-h C-a.<br><br>Configured using:<br>=C2=A0&#=
39;configure --build=3Dx86_64-redhat-linux-gnu<br>=C2=A0--host=3Dx86_64-red=
hat-linux-gnu --program-prefix=3D<br>=C2=A0--disable-dependency-tracking --=
prefix=3D/usr --exec-prefix=3D/usr<br>=C2=A0--bindir=3D/usr/bin --sbindir=
=3D/usr/sbin --sysconfdir=3D/etc<br>=C2=A0--datadir=3D/usr/share --included=
ir=3D/usr/include --libdir=3D/usr/lib64<br>=C2=A0--libexecdir=3D/usr/libexe=
c --localstatedir=3D/var<br>=C2=A0--sharedstatedir=3D/var/lib --mandir=3D/u=
sr/share/man<br>=C2=A0--infodir=3D/usr/share/info --with-dbus --with-gif --=
with-jpeg --with-png<br>=C2=A0--with-rsvg --with-tiff --with-xft --with-xpm=
 --with-x-toolkit=3Dgtk3<br>=C2=A0--with-gpm=3Dno --with-xwidgets --with-mo=
dules<br>=C2=A0build_alias=3Dx86_64-redhat-linux-gnu host_alias=3Dx86_64-re=
dhat-linux-gnu<br>=C2=A0&#39;CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -=
Werror=3Dformat-security<br>=C2=A0-Wp,-D_FORTIFY_SOURCE=3D2 -Wp,-D_GLIBCXX_=
ASSERTIONS -fexceptions<br>=C2=A0-fstack-protector-strong -grecord-gcc-swit=
ches<br>=C2=A0-specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1<br>=C2=A0-sp=
ecs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=3Dgeneric<br>=C2=
=A0-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection&#3=
9;<br>=C2=A0LDFLAGS=3D-Wl,-z,relro<br>=C2=A0PKG_CONFIG_PATH=3D:/usr/lib64/p=
kgconfig:/usr/share/pkgconfig&#39;<br><br>Configured features:<br>XPM JPEG =
TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY ACL<br>LIBSELINUX=
 GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB<br>TOOLKIT_SCROLL_BARS GT=
K3 X11 MODULES THREADS XWIDGETS LCMS2<br><br>Important settings:<br>=C2=A0 =
value of $LANG: en_US.UTF-8<br>=C2=A0 value of $XMODIFIERS: @im=3Dibus<br>=
=C2=A0 locale-coding-system: utf-8-unix<br><br>Major mode: Fundamental<br><=
br>Minor modes in effect:<br>=C2=A0 tooltip-mode: t<br>=C2=A0 global-eldoc-=
mode: t<br>=C2=A0 electric-indent-mode: t<br>=C2=A0 mouse-wheel-mode: t<br>=
=C2=A0 tool-bar-mode: t<br>=C2=A0 menu-bar-mode: t<br>=C2=A0 file-name-shad=
ow-mode: t<br>=C2=A0 global-font-lock-mode: t<br>=C2=A0 blink-cursor-mode: =
t<br>=C2=A0 auto-composition-mode: t<br>=C2=A0 auto-encryption-mode: t<br>=
=C2=A0 auto-compression-mode: t<br>=C2=A0 buffer-read-only: t<br>=C2=A0 lin=
e-number-mode: t<br>=C2=A0 transient-mark-mode: t<br><br>Load-path shadows:=
<br>None found.<br><br>Features:<br>(shadow sort mail-extr emacsbug message=
 rmc puny seq byte-opt gv<br>bytecomp byte-compile cconv cl-loaddefs cl-lib=
 dired dired-loaddefs<br>format-spec rfc822 mml easymenu mml-sec password-c=
ache epa derived epg<br>epg-config gnus-util rmail rmail-loaddefs mm-decode=
 mm-bodies mm-encode<br>mail-parse rfc2231 mailabbrev gmm-utils mailheader =
sendmail rfc2047<br>rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-p=
air time-date<br>mule-util tooltip eldoc electric uniquify ediff-hook vc-ho=
oks<br>lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-b=
ar<br>dnd fontset image regexp-opt fringe tabulated-list replace newcomment=
<br>text-mode elisp-mode lisp-mode prog-mode register page menu-bar<br>rfn-=
eshadow isearch timer select scroll-bar mouse jit-lock font-lock<br>syntax =
facemenu font-core term/tty-colors frame cl-generic cham georgian<br>utf-8-=
lang misc-lang vietnamese tibetan thai tai-viet lao korean<br>japanese eucj=
p-ms cp51932 hebrew greek romanian slovak czech european<br>ethiopic indian=
 cyrillic chinese composite charscript charprop<br>case-table epa-hook jka-=
cmpr-hook help simple abbrev obarray minibuffer<br>cl-preloaded nadvice loa=
ddefs button faces cus-face macroexp files<br>text-properties overlay sha1 =
md5 base64 format env code-pages mule<br>custom widget hashtable-print-read=
able backquote dbusbind inotify lcms2<br>dynamic-setting system-font-settin=
g font-render-setting xwidget-internal<br>move-toolbar gtk x-toolkit x mult=
i-tty make-network-process emacs)<br><br>Memory information:<br>((conses 16=
 95948 6990)<br>=C2=A0(symbols 48 20405 1)<br>=C2=A0(miscs 40 92 118)<br>=
=C2=A0(strings 32 28389 1495)<br>=C2=A0(string-bytes 1 744394)<br>=C2=A0(ve=
ctors 16 14688)<br>=C2=A0(vector-slots 8 497630 7512)<br>=C2=A0(floats 8 50=
 67)<br>=C2=A0(intervals 56 308 0)<br>=C2=A0(buffers 992 12))<br><br></div>=
</div>

--000000000000e5ce35057908361f--




Acknowledgement sent to Rittwik Chatterjee <rittwik@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#33147; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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