Hi everyone,

I wasn't aware of B and E before reading this thread.  I tried using E on my install but it seems that I don't have a plumb file.  When I use it on a file, I don't get an acme window and instead I get:

$ touch test
$ E test
plumb: can't open plumb file: dial unix!/tmp/ns.eaburns.:0/plumb: connect /tmp/ns.eaburns.:0/plumb: No such file or directory
editing test

In /tmp/ns.eaburns.:0/ the only file is called acme.  Do I need to do something first to create the plumb file or do I need to do something to tell E to use the acme file instead?

Best,
Ethan


On Thursday, April 26, 2012 6:20:49 PM UTC-4, mpl wrote:
I've just retried on the machine where I had the problem and it now
just works. No need even for awd indeed.
I'll try and reproduce the behavior, but I just don't see what I may
have done different the previous times...

thanks,
Mathieu

On Thu, Apr 26, 2012 at 5:32 AM, Russ Cox <rsc@swtch.com> wrote:
> On Wed, Apr 25, 2012 at 5:35 PM, Mathieu Lonjaret
> <mathieu.lonjaret@gmail.com> wrote:
>> So, are you saying E just works out of the box for you as the $EDITOR
>> for git/hg?
>
> Yes.  Note that E waits for the file to change by running
> ls -l on the file in a loop.  If for some reason doing the Put
> does not change the ls -l output (date+size, primarily) then
> E will not exit.  If you are having trouble I would suggest
> putting some echo statements in the script or just doing
> 'set -e' at the top so that it echoes each statement as it
> executes (including the all-important comparison).
>
> I cannot imagine why using awd would change the behavior
> of the E script.
>
> Russ