auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] font-latex-built-in-keyword-classes - minor errors and omis


From: Rasmus Villemoes
Subject: Re: [AUCTeX] font-latex-built-in-keyword-classes - minor errors and omissions
Date: Mon, 18 Apr 2011 13:54:40 -0400
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Ralf Angeli <address@hidden> writes:

> * Rasmus Villemoes (2011-04-07) writes:
>
>> ("sbox" "{")
>>
>> \sbox "officially" takes two arguments, but it may be on purpose that
>> only the first is fontified as such.
>
> Yes, it could be on purpose.  Likely to avoid that a lot of text is
> fontified and defeats other fontification.

[and later]

>> "function"
>>
>> ("parbox" "[[[{{")
>> ("raisebox" "{[[{")
>
> Regarding the boxes I'm not really sure if those should be added because
> as mentioned above, they could contain quite some text which should
> better not all be painted in one color.

Yes, that makes sense. But then, for consistency, one should probably
add the "partial definitions" of the box commands, ie. everything but
the contents of the box (which fortunately is always the last
argument). So ("parbox" "[[[{") etc.

>> "include" is listed under "warning" and under "reference" (in the
>> latter as taking "{"); while "input" and "includeonly" are
>> "function"s, both taking a mandatory argument.
>
> \include is treated as a warning because it adds a pagebreak.  It
> was probably added to the reference keywords as well so that its
> argument is fontified.

Makes sense, but sounds a bit hacky.

-- 
Rasmus Villemoes
<http://rasmusvillemoes.dk/>




reply via email to

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