>>>>> "Brian" == Brian Poole writes: Brian> Brian> Is there a major mode for bash shell scripts? Brian> If not what is the best way to ensure good indentation in bash shell Brian> scripts? There's sh-script.el. You can use that for many different shells. Newer versions also support indentation (not as fancy as c-mode or cperl though). Didn't like the default indentation though, cause it looked like: if [ ... ] then ... fi for ... do ... done I had to tweak a few variables to change it to e.g. if [ ... ] then ... fi for ... do ... done Klaus -- ------------------------------------------ | Klaus Zeitler Lucent Technologies | ------------------------------------------ --- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet?