made c-mode more sane