How do you configure the indentation to work correctly for tcsh shell scripts?
I am unable to make the indentation work correctly when I use the shell-script-mode as it is.
Problem: An indentation of 4 spaces is inserted when I hit enter (when there shouldn't be any indentation!)
How to reproduce this problem?
#!/bin/tcsh -fin an empty buffer and save it as something like
a.cshso that the
When you hit enter at the end of this first and only line, the buffer converts from
#!/bin/tcsh -f (no indentation)
#!/bin/tcsh -f (with indentation)
I am on the stable 24.4 version of emacs.