>> What I need to do is have the different levels of font-lock
>> available, currently only one level is there, and use the standard
>> font-lock faces (e.g. font-lock-keyword-face) instead of custom
>> faces (e.g. maxima-keyword-face) where feasible. I'll do that
>> soon.
> Would running maxima.el, through a
> s/maxima-keyword-face/font-lock-keyword-face work, do the trick, or
> is it more involved than that?
Since maxima-font-lock.el defines maxima-keyword-face, etc., doing
that would overwrite font-lock-keyword-face. You could remove the
definitions of maxima-*-face, and then do that. The faces that would
need to be defined are:
maxima-operator-face
maxima-variable-face
maxima-function-face
maxima-constant-face
maxima-keyword-face
maxima-property-face
maxima-macro-face
maxima-specop-face
maxima-declaration-face
maxima-specsymb-face
(Near the end of maxima-font-lock.el, there is the variable
maxima-keywords, you could replace each of the above faces with
font-lock-whatever-face. Some of the maxima-*-faces don't have
corresponding font-lock-*-faces, by the way.)
> P.S.
> Have you tried useing emaxima with preview-latex? I have not tried
> emaxima yet, but I reckon the combination should be quite sweet :)
No; that's a pretty good idea, and shouldn't be too hard to try out.
Based on preview-latex, by the way, is Jesper Harder's Imaxima,
http://www.ifa.au.dk/~harder/imaxima.html
which runs a Maxima session in Emacs and has the Maxima output TeXed
and inserted in the Emacs buffer. (There is a screen shot at
http://www.ifa.au.dk/~harder/imaxima.png)
Jay