XEmacs shell-script-mode vs. Emacs shell-script-mode[bash]

Aki Vehtari Aki.Vehtari at hut.fi
Tue May 25 05:08:12 EDT 2004


 >>>>>> "Bruce" == Bruce Ingalls <ingallsb at verizon._NO.SPAM_.net> writes:
 Bruce> There's both sh-mode, as well as shell-script-mode, and
 Bruce> ksh-mode.  All of these are part of the sumo tarball,
 Bruce> afaik.  Perhaps one of them works better?

 "Stephen" == Stephen J Turnbull <stephen at xemacs.org> writes:
 Stephen> Thanks for pointing those out!  If somebody tries one and likes it
 Stephen> better than the default, please let us know at xemacs-beta (use M-x
 Stephen> report-xemacs-bug).  We can change the default mode used for files
 Stephen> with .sh extension.

Well, I have used ksh-mode for many years, and I can recommend it
as a sensible default choice. I have this in my init file:

;;; use ksh-mode instead of sh-mode
(setq interpreter-mode-alist
      (subst 'ksh-mode 'sh-mode interpreter-mode-alist))


Aki




More information about the XEmacs-Beta mailing list