Subject: bug#35284: 12.1.1; new verbatim environment wrongly commented out

From: Ikumi Keita <[email-masked]>
Date: Mon, 15 Apr 2019 23:48:34 +0900

Hi Jean,

Please consider customizing the option `LaTeX-insert-into-comments'.
You will get
\documentclass{article}

\begin{document}
\begin{verbatim}
% This is a comment
\def\foo#1{foo}
% another comment
\end{verbatim}
\end{document}
after the option is set to nil.

Regards,
Ikumi Keita

>>>>> jfbu <[email-masked]> writes:
> Consider this source

> \documentclass{article}

> \begin{document}
> % This is a comment
> \def\foo#1{foo}
> % another comment
> \end{document}

> Select the three lines delimited by the document environment

> Hit C-cC-e verbatim

> Result:

> \documentclass{article}

> \begin{document}
> % \begin{verbatim}
> % This is a comment
> \def\foo#1{foo}
> % another comment

> % \end{verbatim}
> % \end{document}