emacsmirror / watch-buffer Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mjsteger/watch-buffer
Run a shell command when saving a buffer
Home Page: https://github.com/mjsteger/watch-buffer
This project forked from mjsteger/watch-buffer
Run a shell command when saving a buffer
Home Page: https://github.com/mjsteger/watch-buffer
This extension provides a way to connect updating a buffer with running a shell command. So you can have a shell script which makes and runs a c program, and then you would M-x watch-buffer, enter the shell script to run, and every time you save the file it will run the shell script asynchronously in a seperate buffer. Commands currently supported: watch-buffer, which will prompt at the minibuffer for a command, and then run that command in the shell every time the buffer is saved, and pop up a buffer showing the results watch-buffer-silently, which will do the same thing, but will not pop up a buffer watch-buffer-elisp, which will run arbitrary elisp when the file is saved watch-buffer-compile, which seeks to provide a do-what-I-mean compilation for files. For example, invoking watch-buffer-compile on a python file will run that python file with whatever argv is supplied every time the file is saved New commands can be easily added in watch-buffer.el: Simply add a cons cell into watch-buffer-types with the format (tag . (name-to-call-from-M-x command-to-run-on-save)). For example, watch-buffer is defined as: ("watch-buffer" . (watch-buffer watch-buffer-async-shell-command)) where watch-buffer-async-shell-command is simply async-shell-command with the buffer name already supplied as "*Watch-Process*" If you have any feature requests, bugs, or comments, feel free create an issue or send me an email
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.