auctex-devel
[Top][All Lists]

## [AUCTeX-devel] Max number of arguments for fontification?

 From: Arash Esbati Subject: [AUCTeX-devel] Max number of arguments for fontification? Date: Fri, 18 May 2018 22:26:28 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3

Hi all,

I was looking at bug#31132 and the following occurred to me.  Please
consider this file and eval the progn':

--8<---------------cut here---------------start------------->8---
\documentclass{article}
\begin{document}

\begin{verbatim}
(progn
'biblatex)

'biblatex)

'biblatex)

'biblatex)

'biblatex)

'biblatex))
\end{verbatim}

\TestI[Pre][Post]{Mand}[Pre][Post]{Mand}
\TestII[GloPost][Pre][Post]{Mand}[Pre][Post]{Mand}
\TestIII[GloPre][GloPost][Pre][Post]{Mand}[Pre][Post]{Mand}
\TestIII[GloPre][GloPost][Pre][Post]{Mand}[Pre]{Mand}
\TestIII[GloPre][GloPost][Pre][Post]{Mand}[Post]{Mand}
\TestIII[GloPre][GloPost][Pre][Post]{Mand}{Mand}
\TestIV(Pre)[Post]{Mand}[Pre][Post]{Mand}
\TestV(GPost)[Pre][Post]{Mand}[Pre][Post]{Mand}
\TestVI(GloPre)(GloPost)[Pre][Post]{Mand}[Pre][Post]{Mand}

\end{document}
--8<---------------cut here---------------end--------------->8---

The result looks like this for me:


The last mandatory argument is not fontified in 2 cases; it seems to
depend on prior number of (optional?) arguments.  I had a brief look at
font-latex.el, but couldn't find anything.  Any idea what's going on
here?

Best, Arash
`