1 Mar 2008 10:43
buffer-action.el --- Perform actions(compile/run, etc) in buffer based on mode/filename v3.0
William Xu <william.xwl <at> gmail.com>
2008-03-01 09:43:08 GMT
2008-03-01 09:43:08 GMT
This is a mostly rewritten based on ideas from Seiji Zenitani <zenitani <at> mac.com>'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
_______________________________________________ gnu-emacs-sources mailing list gnu-emacs-sources <at> gnu.org http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
RSS Feed