auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] Auctex + mmm-mode tweak request


From: Ralf Angeli
Subject: Re: [AUCTeX-devel] Auctex + mmm-mode tweak request
Date: Sun, 10 Sep 2006 17:37:00 +0200

* C. Y. (2006-09-10) writes:

> Hi!  I've been trying to use the combination of AucTeX and mmm-mode to
> edit literate programming files, and I have a question/request. When
> trying to use the mmm-mode to edit a pamphlet file with AucTeX, the
> syntax highlighting gets messed up by $ included in the source code. 
> There are a couple obvious things to do - the "right" one I suppose
> being to teach Auctex to fontify only parts of the buffer that are in
> tex mode, and the quick one to have it treat anything between
> <<something>>= and @ (or other delimiters at user option) as verbatim. 

AUCTeX uses font-lock.el for font locking.  So the problem likely does
not lie between MMM mode and AUCTeX (or font-latex for that matter)
but between MMM mode and font-lock.el.  That's especially the case
with inline math marked with dollar signs where syntactic font locking
is used.

-- 
Ralf




reply via email to

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