[Top][All Lists]

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

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

From: David Kastrup
Subject: Re: [AUCTeX-devel] Re: Usability of docTeX-mode
Date: Fri, 14 Jul 2006 20:38:40 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Ralf Angeli <address@hidden> writes:

> * 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.

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

reply via email to

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