[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] Fontification error?
From: |
Mosè Giordano |
Subject: |
Re: [Bug-AUCTeX] Fontification error? |
Date: |
Sat, 16 Aug 2014 22:11:24 +0200 |
Hi Jobst,
2014-08-16 20:00 GMT+02:00 Hoffmann, Jobst <address@hidden>:
> Hi,
>
> after entering the command
>
> emacs --no-splash --no-init-file --no-site-file
> --load /usr/share/emacs/site-lisp/tex-site.el fancyvrb_tst.tex
>
> and filling the buffer with
>
> --%<--------------------
> \documentclass{article}
>
> \usepackage{fancyvrb}
>
> \begin{document}
>
> \begin{VerbatimOut}{f.txt}
> \begin{itemize}
> \item blabla
> \end{itemize}
> \end{VerbatimOut}
>
> \begin{itemize}
> \item blabla
> \end{itemize}
>
> \begin{VerbatimOut}{g.txt}
> \begin{itemize}
> \item blabla
> \end{itemize}
> \end{VerbatimOut}
>
> \begin{itemize} (but how to cope with
> \item blabla
> \end{itemize}
>
> \end{document}
> --%<--------------------
> the fontification fails as shown in the attached .png-file.
Thanks for your bug report.
> Am I doing something wrong? If not is there a simpler remedy than
> entering an empty VerbatimOut-environment?
No, you aren't doing anything wrong, it's just AUCTeX unable to treat
verbatim environment with a mandatory argument. We already fixed a
similar issue for an optional argument, see commit
* 32fc9b Fix fontification of optional argument to verbatim environments.
(http://git.savannah.gnu.org/cgit/auctex.git/commit/?id=32fc9bd6eab8c3eff29d6b16b51859d445c12fbf)
Probably we need a similar patch. Now I don't have enough time to
address this bug, but if someone wants to look at this, please go
ahead :-)
Bye,
Mosè