Compilation mode is a major mode that allow us to run a command and see its output result in a special buffer, this resulting buffer show the errors and allow us to navigate through them, you can check the documentation for more details. It's a "simple mode" but it can be used for many things like compile and run a program, run tests, and so on. Usage Interactive compile is an interactive function so we can call it with M-x compile and enter the command we want to execute.