Fork me on GitHub
#quil
<
2021-04-09
>
Zachary Fontenot02:04:12

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

Zachary Fontenot03:04:40

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-galea08:04:59

Hi @U01Q9MK38TZ 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 Fontenot12:04:38

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-galea17:04:48

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

🙌 3
Zachary Fontenot23:04:18

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

👍 3
anthony-galea11:04:11

Great! Happy to help 🙂 Have fun!