A bookmark system for compilation commands.
Easily store the compile commands you use and retrieve them quickly.
How to install
Add compilation-bookmarks to your load-path and add the following lines to your init.
(require 'compilation-bookmarks)
(setq compilation-bookmarks-prefix-key (kbd "C-c c")) ;; suggestion for easy access
(compilation-bookmarks-mode)
Available commands
compilation-bookmarks-add-bookmark
Add compilation bookmark to your collection.
compilation-bookmarks-remove-bookmark
Remove bookmark from your collection.
compilation-bookmarks-change-bookmark
Made a mistake when entering a bookmark? With this you can change the settings of bookmark
compilation-bookmarks-compilation-once
Use the compilation bookmark just once and restore your previous compilation after that.
compilation-bookmarks-compile
Set compilation settings to the current compilation bookmark
compilation-bookmarks-recompile
Looks for compilation buffer to recompile or starts a new compilation.
compilation-bookmarks-save-bookmarks
Saves compilation bookmarks to `compilation-bookmarks-save-file'. Done automatically when compilation-bookmarks-mode is active and you quit emacs.
compilation-bookmarks-load-bookmarks
Loads compilation bookmarks from `compilation-bookmarks-save-file'. Done when compilation-bookmarks-mode is enabled.
Key bindings
Per default the compilation-bookmarks keymap is not bound.
If you use the suggested prefix all bindings can be found under C-c c.
To add a compilation-bookmark, type C-c c a.
To remove a compilation-bookmark, type C-c c r.
To compile a compilation-bookmark, type C-c c c [assigned key].
To recompile a compilation-bookmark, type C-c c v.
To compile a compilation-bookmark once, type C-c c o [assigned key].
License
Compilation-bookmarks is published under the GPL.