This part is sweet. To compile your program, just type in:
C-c C-v C-c
That's "control c, control v and control c".
Emacs should split the screen and show your code on the top half, and the compiler's
progress on the bottom.
If you have any errors, you can type:
C-x o
to cycle between split screens. Move the cursor to the compiler's output, and put the
cursor right on top of the first error message. Hit return. WHAM! Emacs should take you
right to the error, and position your cursor right on the line.
If you want to go to a particular line, type:
C-x C-j, (or, type " x goto-line")
followed by the line number. You can see what line number you are on by looking at the
status bar. (If your status bar does not display the line number, type:
M-x line-number-mode
to toggle between the line number showing/hidden