* 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


_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to