help-gnu-emacs
[Top][All Lists]

## strange font lock (for latex) behavior in emacs

 From: HS Subject: strange font lock (for latex) behavior in emacs Date: Sun, 09 Mar 2003 00:13:56 -0500 User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830

First of all, my apologies for the cross postings, but I figured the problem could be solved by anyone in all these groups.

It is to do with font lock in emacs for Latex.


I have Auctex installed (ver 10.0g, release 4) with emacs (ver. 21.2 release 18) on Redhat Linux 8.0 (kernal 2.4.18-14). When I open a .tex document, the font lock mode behaves in a strange way. Many commands are not highlighted at all (\documentclass, \maketitle, \item, {they are supposed to be highlighted I guess} etc). And sometimes, when I begin typing "\usepackage....", the usepackage command starts oft highlighted (in pink) but midway turns into normal text (black on white).


Moreover, I have also seen some highlights actually flash on and off at random interval!

Font-lock works perfectly in CC mode.


Quite honestly, at present I am not even sure where to start to look for a solution. So your comments are most welcome and all help is very much apprecaited.

Thanks,
->HS
--
#############

Remove the underscores from my email to get my real email address. My apologies
for this inconvenience, but it is to reduce spam.
############