There is a question about this in the NTEmacs FAQ
I don't know if this is your problem though
What do I do about the "No match 2 in highlight..." error I get from
sh-script.el?
Apparently the sh-script package isn't finding the shell program
correctly. Peter Breton <pbreton(a)i-kinetics.com> says that adding a call
to sh-set-shell in sh-mode-hook will fix the problem:
(add-hook 'sh-mode-hook
(defun my-sh-mode-hook-set-shell ()
;; Use whatever shell is most appropriate -- it doesn't matter
;; if the actual /bin/ksh file exists on the system or not
(sh-set-shell "/bin/ksh")))
---
Ian
-----Original Message-----
From: Andy Piper [mailto:andyp@parallax.co.uk]
Sent: Tuesday, May 12, 1998 9:47 AM
To: xemacs-beta(a)xemacs.org
Subject: font-lock and shell scripts
I get fon't lock errors when editing shell scripts -
does anyone else see
this?
andy