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> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Jun 2018 11:53:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 05 07:53:33 2018
Received: from localhost ([127.0.0.1]:34428 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fQAWr-0004Ba-92
	for submit <at> debbugs.gnu.org; Tue, 05 Jun 2018 07:53:33 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55794)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <marco.falconi@HIDDEN>) id 1fQ7bC-00042m-JT
 for submit <at> debbugs.gnu.org; Tue, 05 Jun 2018 04:45:50 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <marco.falconi@HIDDEN>) id 1fQ7b6-0006AQ-Bm
 for submit <at> debbugs.gnu.org; Tue, 05 Jun 2018 04:45:45 -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,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:33522)
 by eggs.gnu.org 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> debbugs.gnu.org; Tue, 05 Jun 2018 04:45:44 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46756)
 by lists.gnu.org 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 eggs.gnu.org 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 mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:40796)
 by eggs.gnu.org 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 mail-wm0-x229.google.com 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; d=gmail.com; s=20161025;
 h=user-agent:from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=lrxC8cPb+qwnFjQTFsXPmEZjQc3LD8vDNgDEK3UgCZc=;
 b=Siq2jGiEz2E/po/F1IoHmPfqBonmWhJrSgDCrLZq/tDEwnzo8kHwXYAP346l9Tt67p
 63FgZSGuvxgUZSe71vWqDLbBzSwu9T88+WVVZEoVM6vJlzlQTg5+0x5jiFofGlaqjPPp
 j9CWYhZM82U8TWrwm2Q+IV+f3KMERNiskPTd1mzxxkbeCTiTUTETYe2LE/CMETri0Hvj
 e1o61Qj4ZlG8wm5QRarOHoPAdabTTf1gZ1M5wpQR+ff0qhHOpQjMYHV1J0yQk3kWOdIt
 HrkId0eKqLpglKwnOYmxG8pR05t3J1j/AsPwbWwZ4dKd7qYdmbl5V/DbpKLZe97ppVO2
 jXHw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:user-agent:from:to:subject:date:message-id
 :mime-version:content-transfer-encoding;
 bh=lrxC8cPb+qwnFjQTFsXPmEZjQc3LD8vDNgDEK3UgCZc=;
 b=gasF9HVTDiCS/oosNE/jVQBeTDypqQ24FcHFHzCgMzVlhJXVcQQObwrGRVDbcpQXcg
 OPusbIbcQksRCn85KaOQpQVm1E/Wy/703vMv78Ke0b6+Vo5nfrGk5hoI3zHOH0VP3tyC
 ufQfDAgANv4D26PXMTme2vsBDxi6UltmvIMNj/tCI9v+xCdL/OoFVE4si6aISQ2/o7W3
 KddP2mDKW2HV9CkDDciP0O5t8P8kPfpVdYSouJSJpkCrJYMx3XCL2nopSphu+6vD1410
 JLgbquXNjyeZ27J6yLdob+w6hUkSW79LIMez3Oge0FQg9SghMDnV5MVP+9fk/dKZSYb5
 Z5mQ==
X-Gm-Message-State: APt69E3PTqzJ+jZ6GX+A6xIwkKBaA3LTSGDjkLBY1NmQZguy44kqAqX9
 +/8KEz4BCb2kFFRwR/NwyRsK
X-Google-Smtp-Source: ADUXVKJMePS4UgK8ixOhkUkSCBEZnsUTkTxlkXtovU2qZwQOjO3R2tyYjeyFQs0swTThgDsrtvc5+w==
X-Received: by 2002:a1c:454f:: with SMTP id
 s76-v6mr9884182wma.16.1528188337600; 
 Tue, 05 Jun 2018 01:45:37 -0700 (PDT)
Received: from mf44mac15ret.local ([192.167.204.119])
 by smtp.gmail.com with ESMTPSA id g75-v6sm1414507wmd.15.2018.06.05.01.45.35
 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 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-Mailman-Approved-At: Tue, 05 Jun 2018 07:53:31 -0400
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 (-----)


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):

'(LaTeX-fold-math-spec-list
   (quote
    (("[{1}/{2}]"
      ("frac" "tfrac"))
     ("[{1}=E2=87=A3{2}]"
      ("underset"))
     ("[{1}=E2=87=A1{2}]"
      ("overset"))
     ("=EF=B8=B7[{1}]"
      ("underbrace"))
     ("=E2=88=9A[{1}]"
      ("sqrt")))))

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=
 unfolded
string, everything is fontified correctly). This macro for example has such=
 behavior:

\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:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(setq
 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.