From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: just comments fontified in latex mode? Date: 24 Nov 2003 18:55:05 +1100 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87vfpa2obq.fsf@tiger.rapttech.com.au> References: Reply-To: timx@spamto.devnul.com NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1069659972 16510 80.91.224.253 (24 Nov 2003 07:46:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Nov 2003 07:46:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 24 08:46:08 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AOBQ8-00032J-01 for ; Mon, 24 Nov 2003 08:46:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AOCNA-0000jw-P9 for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Nov 2003 03:47:08 -0500 Original-Newsgroups: gnu.emacs.help Original-Lines: 47 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-NNTP-Posting-Host: ppp193-178.lns1.syd3.internode.on.net Original-X-Trace: duster.adelaide.on.net 1069659427 ppp193-178.lns1.syd3.internode.on.net (24 Nov 2003 18:07:07 +1050) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!newsfeed.cwix.com!news1.optus.net.au!optus!snewsf0.syd.ops.aspac.uu.net!duster.adelaide.on.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:118581 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:14523 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14523 >>>>> "Peter" == Peter S Galbraith writes: Peter> Joe Corneli wrote: >> I'm using the same .emacs as I used on my (broken) iBook, now >> working on a linux machine. Just the comments are fontified by >> font-lock in my TeX files. I asked my system administrator about >> this and he suggested using the hilit-LaTeX package. Peter> I'd suggest _not_ using hilit-LaTeX and I'm the one who wrote Peter> it. The hilit19 interface is obsolete. >> It highlights stuff, but I didn't like the way it behaved (uses >> different colors, doesn't automatically rehighlight new $$'s, >> etc.). Can anyone tell me how to get normal font-lock working >> again? Peter> It should just work. Peter> You might also give font-latex.el a try. It's my hilit-LaTeX Peter> replacement and is used in AUC-TeX (but can be used outside of Peter> AUC-TeX): Peter> http://savannah.gnu.org/cgi-bin/viewcvs/auctex/auctex/font-latex.el?rev=HEAD&content-type=text/vnd.viewcvs-markup I have the opposite problem. If I put a comment in a latex file, all the text following the comment is highlighted with the comment font colour until there is a ^L and then normal fontification works. I've observed this on two Debian boxes - one running Debian Testing (Sarge) and the other running Debian Unstable (Sid). The Debian unstable versions are GNU Emacs 21.3.1 AucTex 11.13-1 I get the same results with emacs -q - don't know about emacs --no-site-file as AucTex is initialized via the site-start.el, but I've not modified it from the default Debian scripts. Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out!