GNU bug report logs - #31722
12.1.1; TeX Fold fontification problem

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: auctex; Reported by: Marco Falconi <marco.falconi@HIDDEN>; dated Tue, 5 Jun 2018 11:54:01 UTC; Maintainer for auctex is bug-auctex@HIDDEN.

Message received at submit <at>

Received: (at submit) by; 5 Jun 2018 11:53:33 +0000
From debbugs-submit-bounces <at> Tue Jun 05 07:53:33 2018
Received: from localhost ([]:34428
	by with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at>>)
	id 1fQAWr-0004Ba-92
	for submit <at>; Tue, 05 Jun 2018 07:53:33 -0400
Received: from ([]:55794)
 by with esmtp (Exim 4.84_2)
 (envelope-from <marco.falconi@HIDDEN>) id 1fQ7bC-00042m-JT
 for submit <at>; Tue, 05 Jun 2018 04:45:50 -0400
Received: from Debian-exim by with spam-scanned (Exim 4.71)
 (envelope-from <marco.falconi@HIDDEN>) id 1fQ7b6-0006AQ-Bm
 for submit <at>; Tue, 05 Jun 2018 04:45:45 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from ([2001:4830:134:3::11]:33522)
 by with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <marco.falconi@HIDDEN>)
 id 1fQ7b6-0006AG-7O
 for submit <at>; Tue, 05 Jun 2018 04:45:44 -0400
Received: from ([2001:4830:134:3::10]:46756)
 by with esmtp (Exim 4.71)
 (envelope-from <marco.falconi@HIDDEN>) id 1fQ7b4-0008Rj-Mp
 for bug-auctex@HIDDEN; Tue, 05 Jun 2018 04:45:44 -0400
Received: from Debian-exim by with spam-scanned (Exim 4.71)
 (envelope-from <marco.falconi@HIDDEN>) id 1fQ7b1-00068a-KL
 for bug-auctex@HIDDEN; Tue, 05 Jun 2018 04:45:42 -0400
Received: from ([2a00:1450:400c:c09::229]:40796)
 by with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <marco.falconi@HIDDEN>)
 id 1fQ7b1-000681-DQ
 for bug-auctex@HIDDEN; Tue, 05 Jun 2018 04:45:39 -0400
Received: by with SMTP id n5-v6so3407662wmc.5
 for <bug-auctex@HIDDEN>; Tue, 05 Jun 2018 01:45:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025;
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025;
X-Gm-Message-State: APt69E3PTqzJ+jZ6GX+A6xIwkKBaA3LTSGDjkLBY1NmQZguy44kqAqX9
X-Google-Smtp-Source: ADUXVKJMePS4UgK8ixOhkUkSCBEZnsUTkTxlkXtovU2qZwQOjO3R2tyYjeyFQs0swTThgDsrtvc5+w==
X-Received: by 2002:a1c:454f:: with SMTP id
 Tue, 05 Jun 2018 01:45:37 -0700 (PDT)
Received: from mf44mac15ret.local ([])
 by with ESMTPSA id g75-v6sm1414507wmd.15.2018.
 for <bug-auctex@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Tue, 05 Jun 2018 01:45:36 -0700 (PDT)
User-agent: mu4e 1.0; emacs 26.1
From: Marco Falconi <marco.falconi@HIDDEN>
To: bug-auctex@HIDDEN
Subject: 12.1.1; TeX Fold fontification problem
Date: Tue, 05 Jun 2018 10:45:21 +0200
Message-ID: <m2efhlbp0e.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by Genre and OS details not
X-detected-operating-system: by GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Tue, 05 Jun 2018 07:53:31 -0400
X-BeenThere: debbugs-submit <at>
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <>
List-Unsubscribe: <>, 
 <mailto:debbugs-submit-request <at>>
List-Archive: <>
List-Post: <mailto:debbugs-submit <at>>
List-Help: <mailto:debbugs-submit-request <at>>
List-Subscribe: <>, 
 <mailto:debbugs-submit-request <at>>
Errors-To: debbugs-submit-bounces <at>
Sender: "Debbugs-submit" <debbugs-submit-bounces <at>>
X-Spam-Score: -5.0 (-----)

I have a custom definition of math macros to be folded. It is the following=
 (taken from
.emacs in the customize part, I have set it using customize):

      ("frac" "tfrac"))

In the ones with two arguments (frac, tfrac, underset, overset), the first =
argument gets
fontified in the folded string, but the second one is not fontified (in the=
string, everything is fontified correctly). This macro for example has such=

\underset{\hslash\to 0}{ \longrightarrow}

The macros with just one argument are fontified correctly also when folded.

Emacs  : GNU Emacs 26.1 (build 1, x86_64-apple-darwin13.4.0, Carbon Version=
 157 AppKit 1265.21)
 of 2018-04-15
Package: 12.1.1

current state:
 AUCTeX-date "2018-03-20"
 window-system 'mac
 LaTeX-version "2e"
 TeX-style-path '("/usr/local/var/auctex" "/Users/lobo/.emacs.d/elpa/auctex=
-12.1.1/style" "/Users/lobo/.emacs.d/auctex/auto"
		  "/Users/lobo/.emacs.d/auctex/style" "auto" "style")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master nil
 TeX-command-list '(("TeX" "%(PDF)%(tex) %(file-line-error) %(extraopts) %`=
%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil
		     (plain-tex-mode texinfo-mode ams-tex-mode) :help "Run plain TeX")
		    ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil (latex-mode doctex-mode) =
:help "Run LaTeX")
		    ("Makeinfo" "makeinfo %(extraopts) %t" TeX-run-compile nil (texinfo-m=
ode) :help "Run Makeinfo with Info output")
		    ("Makeinfo HTML" "makeinfo %(extraopts) --html %t" TeX-run-compile ni=
l (texinfo-mode) :help "Run Makeinfo with HTML output")
		    ("AmSTeX" "amstex %(PDFout) %(extraopts) %`%S%(mode)%' %t" TeX-run-Te=
X nil (ams-tex-mode) :help "Run AMSTeX")
		    ("ConTeXt" "%(cntxcom) --once --texutil %(extraopts) %(execopts)%t" T=
eX-run-TeX nil (context-mode) :help "Run ConTeXt once")
		    ("ConTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t" TeX-run-TeX n=
il (context-mode) :help "Run ConTeXt until completion")
		    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX") ("Bibe=
r" "biber %s" TeX-run-Biber nil t :help "Run Biber")
		    ("View" "%V" TeX-run-discard-or-function t t :help "Run Viewer") ("Pr=
int" "%p" TeX-run-command t t :help "Print the file")
		    ("Queue" "%q" TeX-run-background nil t :help "View the printer queue"=
 :visible TeX-queue-command)
		    ("File" "%(o?)dvips %d -o %f " TeX-run-dvips t t :help "Generate Post=
Script file")
		    ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil t :help "Convert DV=
I file to PostScript")
		    ("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil t :help "Convert DVI f=
ile to PDF with dvipdfmx")
		    ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil t :help "Convert PostScript =
file to PDF")
		    ("Glossaries" "makeglossaries %s" TeX-run-command nil t :help "Run ma=
keglossaries to create glossary file")
		    ("Index" "makeindex %s" TeX-run-index nil t :help "Run makeindex to c=
reate index file")
		    ("upMendex" "upmendex %s" TeX-run-index t t :help "Run upmendex to cr=
eate index file")
		    ("Xindy" "texindy %s" TeX-run-command nil t :help "Run xindy to creat=
e index file")
		    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help "Check L=
aTeX file for correctness")
		    ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil (latex-mode) :help "Che=
ck LaTeX file for common mistakes")
		    ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil t :help "S=
pell-check the document")
		    ("Clean" "TeX-clean" TeX-run-function nil t :help "Delete generated i=
ntermediate files")
		    ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help "Delete gen=
erated intermediate and output files")
		    ("Other" "" TeX-run-command t t :help "Run an arbitrary command") ("F=
orward" "pdf-sync-forward-search" TeX-run-function nil t))

Acknowledgement sent to Marco Falconi <marco.falconi@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-auctex@HIDDEN. Full text available.
Report forwarded to bug-auctex@HIDDEN:
bug#31722; Package auctex. 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: Tue, 5 Jun 2018 12:00:02 UTC

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