I apologize in advance if this is an obvious question and for
the fact that I can't debug this myself (I'm not that good at
elisp yet).
I'm running XEmacs 21.0 "Pyrenean-pre8" configured for
`i686-pc-cygwin32' (Cygwin32 20.1, Installation file appended).
It was built from the CVS source on November 28.
It's built for X.
I have the SUMO packages tarball from 12/9/98 (I didn't have
*any* packages at first since I had done some disk arranging
and I'm amazed it ran at all!).
When my ~/.emacs includes a (require 'font-lock) I get nice
colors in different modes. However when I try to load a
shell script (my .bashrc, for example) I get the following
error:
No match 2 in highlight (2 font-lock-comment-face t)
The one package that looked suspicious to me was in
sh-script/sh-script.el in the function sh-font-lock-keywords
which has the following:
(defun sh-font-lock-keywords (&optional keywords)
"Function to get simple fontification based on `sh-font-lock-keywords'.
This adds rules for comments and assignments."
(sh-feature sh-font-lock-keywords
(lambda (list)
`((,(concat (sh-feature sh-comment-prefix) "\\(#.*\\)")
2 font-lock-comment-face t)
(,(sh-feature sh-assignment-regexp)
1 font-lock-variable-name-face)
,@keywords
,@list))))
That's about all I figure out on my own. Please let me know of any
additional information that would be helpful.
Thanks in advance,
Todd