Rodney, Molly,
"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.
Good luck,
Steve
-----Original Message-----
From: xemacs-beta-bounces(a)xemacs.org [mailto:xemacs-beta-bouncesï¼ xemacs.org]
On Behalf Of Rodney Sparapani
Sent: 01 May 2007 17:35
To: xemacs-beta(a)xemacs.org
Subject: creating a new mode Was: Hello,
Molly Scannell wrote:
Hello,
I would like to make certain keywords (that I define) turn up highlighted
Color1
when I write, and others turn up highlighted Color2. I understand
how to turn on syntax highlighting, but could you possibly give me an
example
about what should be in my init.el file to do this?
Thanks!
It sounds like you want to create a new mode. This is not a trivial
task for most users. But, there is one shortcut, you can create a new
mode from one of the many that xemacs already knows about with
derived-mode. See the following link for a very brief intro:
http://www.gnu.org./software/emacs/elisp-manual/html_node/Derived-Modes.html
However, I'm not sure this is the right group for such a discussion.
I wish I knew which group that was because it would have helped me
alot when I got started.
Rodney
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta