[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-devel] Re: Usability of docTeX-mode

From: Ralf Angeli
Subject: [AUCTeX-devel] Re: Usability of docTeX-mode
Date: Fri, 14 Jul 2006 20:34:15 +0200

* David Kastrup (2006-07-14) writes:

> Ralf Angeli <address@hidden> writes:
>> * David Kastrup (2006-07-14) writes:
>>> Instead: no way.  It is simply impossible to keep AUCTeX from
>>> reformatting the contents.
>> It would probably suffice to add "macrocode" to
>> `LaTeX-indent-environment-list'.
> Why doesn't it work to add it to `LaTeX-verbatim-environments-local'?
> What's the use of that variable, then?

Currently it's mainly used for font locking, but also for
`LaTeX-verbatim-p' which is used when searching for comment starters.

If we added macrocode environments to this variable, much of the
content of a docTeX file would be highlighted as verbatim.  I don't
think this would be a good idea.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]