I'm using proof-general to write Coq proofs.
When I use C-c C-n
in a proof, my cursor is moved to the next line, but the current line is not formatted. So for instance, if I type:
intros n. <C-c C-n>
my cursor moves to the next line, but intros n.
remains unindented. So I have to go back up a line, go to the end of the line and hit <RET>
to auto-indent the coq statement. At which point, proof-general
considers that statement changed and I have to re-run it.
Ideally, I would line C-c C-n
to auto-indent the line it is running and to not go to the next line.
How can I make that happen?