I'm very new to Emacs and I like it so far, but there is one thing that has been bugging me. Its auto-indenting has been acting pretty random.
Whenever I am on a new line and type something like:
for (
it indents one deeper than the deepest indent level (syntax error). This is happening in python-mode
and c-mode
, but not in text-mode
. Why is this happening and how do I fix it?