repl-electric/sonic-pi.el

SP server being detected correctly ?

Opened this issue · 1 comments

jhw commented

I notice when I try C-c C-k initially I get

Sonic Pi not running ... sonic-pi-jack-in or sonic-pi-connect

but if I then try either of these two I get

Cannot bind server socket: address already in use

Nevertheless the buffer then seems to be connected and I can send messages from it :-)

But wondering if the server connection is being detected correctly in the above ?

The beauty of UDP and it not needing a pesky handshake. There is an annoying bug here that was introduced when SonicPi changed its bootup sequence. This has been bugging me, but I've not had much time to address it as its not stopped me making music :(

If anyone wants a go at fixing it, I would be happy to merge a patch. Otherwise I'll fix when I'm trying to procrastinate from making music :)