[AUCTeX] Re: Make AUCTeX aware a new verbatim environment

2009-05-09 Thread Leo
On 2009-05-05 13:02 +0100, Joost Kremers wrote: Any comments on this question would be much appreciated. The customisation group LaTeX-environment has an option called LaTeX Verbatim Environments. Perhaps when you add latex to the list, you get the desired effect? (Haven't tested it, and the

[AUCTeX] Re: Make AUCTeX aware a new verbatim environment

2009-05-05 Thread Leo
On 2008-12-22 00:51 +, Leo wrote: Hi there, I use listings to define an environment like this: \lstnewenvironment{latex}[1][] {\lstset{language={[LaTeX]TeX},#1}} {} However, AUCTeX didn't recognise it as a verbatim environment leaving me accidentally adding space in it, which then

Re: [AUCTeX] Re: Make AUCTeX aware a new verbatim environment

2009-05-05 Thread Joost Kremers
On Tue, May 05, 2009 at 12:16:09PM +0100, Leo wrote: On 2008-12-22 00:51 +, Leo wrote: Hi there, I use listings to define an environment like this: \lstnewenvironment{latex}[1][] {\lstset{language={[LaTeX]TeX},#1}} {} However, AUCTeX didn't recognise it as a verbatim