"Karr, David" <david.karr(a)wamu.net> writes:
 I have Cygwin/Xemacs 21.4.13 installed on one box.  I'm now
installing
 21.4.18 on another box.  I noticed that when I edit a bash script in
 21.4.13, it knows to go into shell-script-mode.  When I edit the same
 script in 21.4.18, it doesn't do that.  I have to go into
 shell-script-mode manually.  The script does not have an extent.  I
 assume it would figure this out by the "#! ..." line.  Why might this
 not be working in 21.4.18? 
Hi David,
just a quick guess from my memory:
Do you have
sh-script/executable.el
on both systems?
I also have these in my site-start.el, but haven't needed to test
these for years:
(setq interpreter-mode-alist
      (cons '("^#!.*/csh\\b" . csh-sh-mode) interpreter-mode-alist))
(setq interpreter-mode-alist
      (cons '("^#!.*/ksh\\b" . ksh-sh-mode) interpreter-mode-alist))
(setq interpreter-mode-alist
      (cons '("^#!.*/sh\\b" . sh-sh-mode) interpreter-mode-alist))
Good Luck,
Adrian
 
-- 
Adrian Aichner
 mailto:adrianï¼ xemacs.org
 
http://www.xemacs.org/