Ikumi Keita writes:
>> Paul Nelson writes:
>> As a fix, we could either:
>
>> (i) Do (save-restriction (widen) ...) in TeX-fold-macro-nth-arg before
>> (TeX-verbatim-p).
>
>> (ii) Do (save-restriction (widen) ...) in LaTeX-verbatim-p.
>
>> The advantage of (ii) is that it arguably fixes the
> @Paul: How does you change work in a file like this:
>
> --8<---cut here---start->8---
> \documentclass{article}
>
> \usepackage{fvextra}
>
> \begin{document}
>
> Vanilla \verb|LaTeX|
>
> With \Verb|fvextra|, or \Verb[fontsize=\scriptsize]|fvextra|.
>
> With \V
On an unrelated note, I did encounter another issue with this change:
it sporadically breaks some of the folding carried out by my package
https://github.com/ultronozm/czm-tex-mint.el, due to a weird bug that
I'm having trouble diagnosing.
The issue concerns detecting verbatim macros in code immed
Hi Paul,
> Paul Nelson writes:
> The issue concerns detecting verbatim macros in code immediately after
> moving out of an mmm-mode block in a LaTeX buffer.
There is a TODO entry in syntax.el which says
;; - interaction with mmm-mode.
, so maybe syntax-related facilities including syntax-pps