Closed sohailsomani closed 12 years ago
I like this in principle, and I'll be happy to include it. But I want to keep the "core" of prosjekt as small and understandable as is practical. This is for my benefit and for general code maintenance purposes. What if I packaged this as an add-on? I'm thinking of something a "contrib" directory that comes with prosjekt, full of stuff like this. Functionality like this should fit nicely in the tools/keybindings system. Let me know how that sounds.
That makes perfect sense. And yes, I agree that it fits very nicely with the tools/keybindings (though I haven't tried it with that myself)
@kingcheez I created an "ext" directory and put this code in ext/async-shell-command.el. If you want to add copyright, more/other documentation, or if I just screwed something up, just push the changes my way.
Hey,
This adds a new function
prosjekt-run-async-shell-command
which allows you to run a process in the background and get notified if it succeeds or fails. As a bonus, if you use popwin, you get a nice popup as shown here http://screencast.com/t/45ClkqNR02D0It's kind of like M-x compile but for non-compilation commands. I use it for etags, so: