Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emacs and extBuffer.sc #2035

Closed
simdax opened this issue May 7, 2016 · 2 comments
Closed

Emacs and extBuffer.sc #2035

simdax opened this issue May 7, 2016 · 2 comments
Milestone

Comments

@simdax
Copy link
Contributor

simdax commented May 7, 2016

Installing 3.8dev I had issue with "serverRunning is not a variable" in extBuffer.sc from scide_scel extensions file.
I had to overwrite serverRunning with "this.serverRunning".

Not sure it's a bug or a problem from my configuration, so I posted this in the main list.

Have a doog day !

diff -u /usr/local/share/SuperCollider/Extensions/scide_scel/extBuffer.sc /home/simdax/prog/fixesSC/Server.sc
--- /usr/local/share/SuperCollider/Extensions/scide_scel/extBuffer.sc 2016-05-07 10:00:20.000000000 +0200
+++ /home/simdax/prog/fixesSC/Server.sc 2016-05-07 12:34:51.629299405 +0200
@@ -22,7 +22,7 @@
this.quit;
});
};

  • booter.value=serverRunning.binaryValue;

  • booter.value=this.serverRunning.binaryValue;

    killer = EmacsButton(w, ["K"], { Server.killAll });
    killer.enabled = false;
    @@ -30,7 +30,7 @@

    active = EmacsText(w, this.name.asString, 12, \center);
    // active.background = Color.black;

  • if(serverRunning,running,stopped);

  • if(this.serverRunning,running,stopped);

    makeDefault = EmacsButton(w, ["-> default"], {
    thisProcess.interpreter.s = this;
    @@ -53,7 +53,7 @@
    SystemClock.sched(0.2, { this.stopAliveThread });
    };
    w.defineKey("n", { this.queryAllNodes })

  • .defineKey(" ", { if(serverRunning.not) { this.boot } })

  • .defineKey(" ", { if(this.serverRunning.not) { this.boot } })
    .defineKey("d", {
    startDump = {
    this.dumpOSC(1);
    @@ -111,7 +111,7 @@
    ctlr.remove;
    };
    });

  • if(serverRunning,running,stopped);

  • if(this.serverRunning,running,stopped);

    w.newline;

@@ -134,7 +134,7 @@
});

ctlr = SimpleController(this)

  • .put(\serverRunning, { if(serverRunning,running,stopped) })
  • .put(\serverRunning, { if(this.serverRunning,running,stopped) })
    .put(\counts,{
    countsViews.at(0).string = avgCPU.round(0.1);
    countsViews.at(1).string = peakCPU.round(0.1);
    @@ -152,6 +152,10 @@
    }
    }
@crucialfelix crucialfelix added this to the 3.8 milestone May 7, 2016
@crucialfelix
Copy link
Member

closed with #2036

@vivid-synth
Copy link
Member

Can this issue be closed?

@gusano gusano closed this as completed Aug 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants