News for hackers. Stuff that matters.
Re:A Tour of the Acme Editor by bbbertie on Monday September 17, 2012 @05:02PM (#4534877)
It would be really neat to integrate the plumber into one's usual development environment, be it vim or emacs or whatever. I'd like to do this with vim, but I thought I'd ask first: Does anyone here already do this (with plan 9 from user space)? Any hang-ups I should be prepared for?
Re:A Tour of the Acme Editor by sleepydog on Monday September 17, 2012 @10:45PM (#4536021)
All you need is some sort of remote control for your tool -- for example, a way to open a file in an existing emacs instance. plumb is just a command like any other that provides global ipc between all your programs,

    plumb "path/too/foo.c"
runs the argument string through the gauntlet of plumbing rules. It's up to you to edit the plumbing rules to send the file to your editor.

Before I lost my hard drive, I had some udev rules setup that used the plumber to post notifications to a 9term window on my desktop when a USB drive was mounted. It's really dead simple, really makes you wonder about the proliferation of complex messaging systems like dbus.