> Jokes aside, I kinda like the gentle, demure, pastel like colours
> most emacs modes seem to use. So I'd like to know how I can set the
> maxima mode to use similar colours.
It'd probably be best to use the built in font-lock faces.
The font-lock faces we can work with (aside from the comment face and
string face) are
font-lock-keyword-face For words that have a special significance,
like "for" and "if".
font-lock-builtin-face For names of built in functions.
font-lock-function-name-face For names of functions being defined.
font-lock-variable-name-face For names of variables being declared.
font-lock-type-face For names of user defined data types.
font-lock-constant-face Well, for constants.
font-lock-warning-face For peculiar constructs.
Here are the faces used in maxima-font-lock and proposed new faces.
(The proposed new faces are a way of fishing for suggestions, although
it seems as if font-lock-keyword-face should be used most of the time.)
Font locking of user defined functions, variables, and data types
aren't supported by maxima-font-lock yet, it's on my todo list.
So the faces that should probably be used are
font-lock-keyword-face, font-lock-builtin-face,
font-lock-constant-face and font-lock-warning-face.
(The breakdown into the various categories are from the Maxima info
files).
Functions (such as "SIN" and "ACOS")
Previously: maxima-function-face New: font-lock-builtin-face
Variables (such as "PLOT_OPTIONS", which the user sets)
Previously: maxima-variable-face New: font-lock-keyword-face
Constants (such as "%E" and "12")
Previously: maxima-constant-face New: font-lock-constant-face
Keywords (only "ALLBUT")
Previously: maxima-keyword-face New: font-lock-keyword-face
Declarations (such as "ALPHABETIC" and "NOUN")
Previously: maxima-declaration-face New: font-lock-keyword-face
Operators (such as "=" and "+")
Previously: maxima-operator-face New: font-lock-keyword-face
Property (only "ATOMGRAD")
Previously: maxima-property-face New: font-lock-keyword-face
Macros (only "BUILDQ" and "WITH_STDOUT")
Previously: maxima-macro-face New: font-lock-keyword-face
Special operators (such as "DO" and "FOR")
Previously: maxima-specop-face New: font-lock-keyword-face
Special symbols ("ADDITIVE" and "INFEVAL")
Previously: maxima-specsymb-face New: font-lock-keyword-face
Any thoughts?
Jay