Emacs reindents the current line whenever I type certain things, like \";\" or \"//\". This is pretty annoying, since there are a whole lot of places where it isn\'t smart
Try running c-toggle-electric-state to turn off the electric action of these characters.
You can do this as part of a c-mode-common-hook, or toggle the state manually by hitting C-c C-l
.
most likely caused by the inline-and-indent
'feature' of c-mode and derivatives. emacswiki has several solutions.