>> Well, all I want was to have proper highlighting inside some
>>
>> \begin{chunk}{CHUNKNAME}
>> ...
>> \end{chunk}
>>
>> environments according to the programming language that lives inside the
>> chunk and now I am already trying to turn auctex upside down. And that
>> will probably only solve one half of my problem.
>>
>> All beyond my skills. But there's probably nobody else willing to solve
>> my problem. :-(
>
>
> Have you tried using something from
> http://www.emacswiki.org/emacs/MultipleModes ?
> Last time I tried (for html/php) mmm-mode was rather touchy, but
> it may have gotten better since then. I won't get to it for a
> while, but I would eventually like to do something similar.
Well, yep, I've worked with mmm-mode and noweb markup, but there was
still that problem with $ in code chunks makeing font-lock not
highlighting properly. Now I want to get rid of that problem, because
without good tools one cannot promote literate programming.
I am not sure whether the problem is mmm-mode or auctex. Auctex is
buggy, no doubt, but I am not completely sure whether solving the auctex
problem will eventually help me.
I am not touching mmm-mode yet, because that code is doing things that
contradict Emacs' definition of major mode. There shouldn't be multiple
major modes existing in an Emacs buffer---(by definition)---so I would
be much more happier if Emacs itself solves the problem of mixing major
modes nicesly. That will probably take ages, so I have to live with
workarounds. MMM-mode is wonderful, but unfortunately unmaintained sind
2004. I haven't actually tried mumamo and multimode, but I've read that
they don't properly support font-locking, so I rather stay with mmm-mode
for now and hope that some day everything will be fixed. ;-)
Ralf
_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel