GNU bug report logs - #35284
12.1.1; new verbatim environment wrongly commented out

Previous Next

Package: auctex;

Reported by: jfbu <jfbu <at> free.fr>

Date: Mon, 15 Apr 2019 09:12:02 UTC

Severity: normal

Tags: fixed

Found in version 12.1.1

Done: Ikumi Keita <ikumi <at> ikumi.que.jp>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 35284 <at> debbugs.gnu.org (full text, mbox):

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: jfbu <jfbu <at> free.fr>
Cc: 35284 <at> debbugs.gnu.org
Subject: Re: bug#35284: 12.1.1; new verbatim environment wrongly commented out
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 <jfbu <at> free.fr> 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}




This bug report was last modified 5 years and 200 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.