[Top][All Lists]

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

[AUCTeX] Re: Highlighting unknown TeX commands

From: Nikolaus Rath
Subject: [AUCTeX] Re: Highlighting unknown TeX commands
Date: Sun, 15 Feb 2009 13:40:49 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Ralf Angeli <address@hidden> writes:
> * Nikolaus Rath (2009-02-15) writes:
>> Ralf Angeli <address@hidden> writes:
>>> It should still highlight unknown commands.  Try starting Emacs with
>>> emacs -Q -l auctex
>>> and load a LaTeX file.  (You might have to do `M-x global-font-lock-mode
>>> <RET>' in order to activate Font Lock mode before loading the file.)  If
>>> the macros are highlighted in this case, there is likely something in
>>> your init file making problems.
>> I don't remember having changed anything related to font locking
>> (and I can't find anything suspicious in my init files either).
> Are there any customizations related to font-latex?

Yes! After I removed the line

 '(font-latex-user-keyword-classes (quote (("formset" ("\\formset") 
font-lock-math-face (command 2)))))

highlighting works again. I have no clue why this influenced any
command except for \formset though.

Thanks for your help,


 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C

reply via email to

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