Auto-recompile 1.1 review

Download
by rbytes.net on

Auto-recompile is a small emacs add-on that allows you to fix compilation errors faster

License: GPL (GNU General Public License)
File size: 0K
Developer: Fredrik Hubinette
0 stars award from rbytes.net

Auto-recompile is a small emacs add-on that allows you to fix compilation errors faster. It does this by continuously compiling the program you are working on while you are fixing problems.

Auto-recompile eliminates the need to explicitly start a compilation for every fix you make, and manages your compilations and error lists in the background so that all you have to do is go from error to error and fix them until the program compiles.

Usage:

M-x auto-recompile will toggle auto-recompile on and off.

When auto-recompile is active, your emacs will do some extra things:

When you save a file, emacs will start a new compilation with the same parameters as the last call to M-x compile. Any active previous compilation will be killed, but it's buffer will remain so that you can still work on any compilation errors in that buffer.

Each new compilation will live in it's own buffer.

When you hit C-x ` to go to the next error, emacs will search all compilation buffers, starting with the newest one until it finds one that has an error. When it finds a buffer with an error, older compilation buffers will be killed automatically as any error in those buffers aren't interesting anymore.

If no error is found, emacs will show you the end of thelast compilation buffer. This will tell you if the current compilation is still active, or if it completed successfully.

When using C-`, emacs will automatically save ALL buffers if the next error is in a different buffer than the last one. This will automatically start a new compilation.

So, what does all this mean? It means that after starting a compile with M-x compile, all you need to do is to use C-x ` to go from error to error and fix them. Emacs will automatically save and recompile as you work your way through the files.

Occationally you may want to save file explicitly, but it should not be needed.

Please beware that auto-recompile mode can be dangerous. It will kill compilations without warning, and it will save ALL buffers in your emacs without asking. To turn off the automatic saving of buffers, set auto-recompile-save to nil.

Auto-recompile is distributed under the GPL v2 license.

Auto-recompile 1.1 keywords