This is a mostly rewritten based on ideas from Seiji Zenitani <[EMAIL PROTECTED]>'s `smart-compile.el'. Besides compile action, i've add a run action, and maybe more in the future.
Let me illustrate it by an example. Suppose you are editing a file named `foo.c'. To compile it, `M-x buffer-action-compile', it will run a shell command similar to `gcc -o foo foo.c -O2'; to run the executable binary `foo' , `M-x buffer-action-run', it will run a shell command similar to `./foo'. Sounds neat, right? For more, see Commentary. [Note, previously this package is also known as smart-compile.el, i renamed it to buffer-action.el this time.] -- William http://williamxu.net9.org
buffer-action.el
Description: application/emacs-lisp
_______________________________________________ gnu-emacs-sources mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
