Ralf Angeli <[EMAIL PROTECTED]> writes:

> * David Kastrup (2006-07-14) writes:
>
>> Ralf Angeli <[EMAIL PROTECTED]> 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.

Maybe the doc strings should give some more pointers about the effects
of those variables.  I was also a bit surprised about the existence of
LaTeX-verbatim-environments-local variable and friends.  Is there
anything one can achieve with those that is not possible to do with a
local variable?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to