Post

32 Compilation mode commands

To use the Java build tool ant as your default compile command, just add this line:

(setq 'compile-command "ant -emacs")

Compilation mode commands

KeystrokesCommand nameAction
C-x `next-errorMove to the next error message and visit the corresponding source code.
M-ncompilation-next-errorMove to the next error message.
M-pcompilation-previous-errorMove to the previous error message.
C-c C-ccompilation-goto-errorVisit the source code for the current error message.
Spacescroll-downScroll down one screen.
Delscroll-upScroll up one screen.
This post is licensed under CC BY 4.0 by the author.