Previous: Compile commands, Up: Compiling Executing
The Check file
, Compile file
, and Build
commands
all place compilation errors in a separate buffer named
*compilation*.
Each line in this buffer will become active: you can simply click on it with the middle button of the mouse, or move point to it and press <RET>. Emacs will then display the relevant source file and put point on the line and column where the error was found.
You can also press the C-x ` key (next-error
), and Emacs
will jump to the first error. If you press that key again, it will
move you to the second error, and so on.
Some error messages might also include references to other files. These references are also clickable in the same way, or put point after the line number and press <RET>.