Jistan Idiot <
jista...@gmail.com> writes:
> It would seem you only need to figure out 4 regular
> expressions and tell xemacs to use a specific color for each one.
>
> So it should be doable in xemacs right?
I would think so.
> So I guess I need to be pointed in the direction of a tutorial on
> creating a new mode in xemacs.
Do you need a new mode, or do you just need to configure font-lock?
(I don't know much about font-lock.)
A few years ago someone asked about information on creating a new
mode, and in response there was a recommendation for "Writing GNU
Emacs Extensions". The exact quote is
"Writing GNU Emacs Extensions" by Bob Glickstein includes creating
new major and minor modes. The material is (on the whole)
applicable to Xemacs. The ISBN number is 1-56592-261-1.
I have successfully used this to create simple major and minor
modes. However this is not a trivial task. Especially if you are
not familiar with emacs-lisp.
And of course there's documentation in Info, though I don't see a
tutorial. The documentation for major and minor modes is in the
Lispref section. I don't see anything in Info for font-lock, which
surprises me.
mike