From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: HS Newsgroups: gmane.emacs.help Subject: strange font lock (for latex) behavior in emacs Date: Sun, 09 Mar 2003 00:13:56 -0500 Organization: Bell Sympatico Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3E6ACD94.7030609@yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1047186939 25499 80.91.224.249 (9 Mar 2003 05:15:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 9 Mar 2003 05:15:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 09 06:15:38 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18rt9t-0006d5-00 for ; Sun, 09 Mar 2003 06:15:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18rt9u-0007PN-03 for gnu-help-gnu-emacs@m.gmane.org; Sun, 09 Mar 2003 00:15:38 -0500 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 X-Accept-Language: en-us, en Original-Newsgroups: comp.emacs,gnu.emacs,gnu.emacs.help,comp.text.tex Original-Lines: 31 Original-NNTP-Posting-Host: 65.94.122.162 Original-X-Complaints-To: abuse@sympatico.ca Original-X-Trace: news20.bellglobal.com 1047186671 65.94.122.162 (Sun, 09 Mar 2003 00:11:11 EST) Original-NNTP-Posting-Date: Sun, 09 Mar 2003 00:11:11 EST Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!torn!webster!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Original-Xref: shelby.stanford.edu comp.emacs:78074 gnu.emacs.help:110927 comp.text.tex:244265 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7428 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7428 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. ############