quil

Zachary Fontenot 2021-04-09T02:40:12.001700Z

Searching is really failing me right now. Does anyone use Emacs/Cider to evaluate their quil code and is there some simple thing that I’m not doing for emacs to not produce an image when evaluating it. I’m on mac if that helps

anthony-galea 2021-04-09T08:22:59.002Z

Hi @zach.fontenot I use emacs on mac. Just tried to reproduce your issue but haven’t managed so far. Exact steps I used:

1. lein new quil hello-quil
2. open src/hello_quil/core.clj in emacs
3. cider-jack-in-clj
4. wait for repl to start
5. cider-load-buffer

Zachary Fontenot 2021-04-09T12:56:38.002200Z

Does this bring the canvas image to the front or background? Basically my problem was that I didn’t have my laptop docked with my monitors, so I couldn’t see the image and no notification or dock icon appeared for the opened window

anthony-galea 2021-04-12T17:02:48.002400Z

Front in my case, do you have :features [:keep-on-top] in your defsketch?

1🙌
Zachary Fontenot 2021-04-18T23:47:18.003100Z

I finally had time to come back around to this. This is exactly what I was looking for. Thank you.

1👍
anthony-galea 2021-04-19T11:51:11.003300Z

Great! Happy to help 🙂 Have fun!

Zachary Fontenot 2021-04-09T03:20:40.001800Z

I found a github issue from 2014 that mentioned that the windows were opening in the background, which is true and so also poking around it looks like some cider middleware is interfering with the output

anthony-galea 2021-04-09T08:22:59.002Z

Hi @zach.fontenot I use emacs on mac. Just tried to reproduce your issue but haven’t managed so far. Exact steps I used:

1. lein new quil hello-quil
2. open src/hello_quil/core.clj in emacs
3. cider-jack-in-clj
4. wait for repl to start
5. cider-load-buffer

Zachary Fontenot 2021-04-09T12:56:38.002200Z

Does this bring the canvas image to the front or background? Basically my problem was that I didn’t have my laptop docked with my monitors, so I couldn’t see the image and no notification or dock icon appeared for the opened window