conjure

:neovim:+:clj: https://github.com/Olical/conjure - If you're enjoying Conjure and want to say thanks: https://github.com/users/Olical/sponsorship :smile: (alt https://conjure.fun/discord)
dharrigan 2020-08-13T07:33:24.017900Z

What does the (no env) mean in the hud when connecting to a repl?

2020-08-13T07:54:20.018400Z

Is there a way to evaluate top/root level forms within a comment block?

2020-08-13T07:56:10.019900Z

(comment
  (+ 1 (+ 1 |1)))
i.e. running (+ 1 (+ 1 1)) where | is your cursor location

dharrigan 2020-08-13T08:24:22.020300Z

yes, this was discussed very recently <https://clojurians.slack.com/archives/CK143P6D7/p1596718693133100>

2020-08-13T08:32:29.020500Z

doh, should have searched first

2020-08-13T08:32:32.020900Z

thanks!

Olical 2020-08-13T08:48:53.021Z

No problem! And thank you @dharrigan for explaining! It's on my todo list, but it's long and constantly shuffled around + I'm away on holiday next week. I think it's a really good general feature so I'll try to get it in soon!

Olical 2020-08-13T08:49:47.021200Z

That means the REPL doesn't know which language we're in when I asked it via reader conditionals, so I send #?(:clj :clj :cljs :cljs...) and then use that information to display what kind of REPL it is.

Olical 2020-08-13T08:50:03.021400Z

Sometimes that's nil or errors which usually means the nREPL is a little non-standard.

Olical 2020-08-13T08:50:19.021600Z

I need to print an explanation / link to an FAQ when it pops up really, no easy way to explain it in one word :thinking_face:

Olical 2020-08-13T08:53:30.021800Z

Added a small section here https://github.com/Olical/conjure/wiki/Frequently-asked-questions#what-does-no-env-mean-in-the-log-when-connecting-to-a-clojure-nrepl but nobody will ever find it, so I might link to it when it shows up in the session list

dharrigan 2020-08-13T08:57:54.022Z

np, you're welcome 🙂

dharrigan 2020-08-13T08:58:48.022100Z

:party-corgi:

Olical 2020-08-13T09:19:13.022300Z

That being said, what is your setup? How're you getting that? It's basically just Conjure shrugging at the response from a fairly simple question and usually means reader conditionals aren't allowed or the REPL language isn't set. Both are bad.

Olical 2020-08-13T09:19:25.022500Z

I feel like I saw this in bb but I'm not sure...

Olical 2020-08-13T09:26:42.025100Z

What do people think about me removing the "this session is sponsored by X" from the Clojure client and instead adding a single short line to the top of every clients first line of output :thinking_face: I want to show some recognition for people who sponsor me but I feel like doing it in the Clojure client will be too narrow in the long term, what about Janet/CL/Racket users! It'll be pushed off screen pretty quick so it should never get in the way, it'll just be a little thanks to the people who are helping make the amount of work sustainable into the future. (will repost to https://conjure.fun/discord too)

dharrigan 2020-08-13T10:11:06.025800Z

I think a simple line saying "Thanks to all my sponsors" with a link to the github page with the list there.

👍 1
dharrigan 2020-08-13T10:11:11.026100Z

that would be okay?

dharrigan 2020-08-13T10:11:18.026300Z

(words to that effect anyway)

dharrigan 2020-08-13T10:11:33.026700Z

Thanks to all my super doopar awesome-o 9000 sponsors

dharrigan 2020-08-13T10:11:34.026900Z

etc.

dharrigan 2020-08-13T10:11:53.027300Z

no need to keep the sponsorship just to clojure devs 🙂

Olical 2020-08-13T10:12:27.027700Z

Oh I was gonna pick someone at random every time from the sponsor list to say thanks to 😅

dharrigan 2020-08-13T10:12:37.028100Z

oh okay

dharrigan 2020-08-13T10:12:40.028500Z

that works too

Olical 2020-08-13T10:12:41.028600Z

So like how the current one says "this session is sponsored by this wonderful person"

dharrigan 2020-08-13T10:12:50.029Z

🙂

Olical 2020-08-13T10:13:03.029300Z

But idk, I have a week on a narrow boat with my family floating around the Norfolk Broads to contemplate Conjure things (this coming week)

dharrigan 2020-08-13T10:13:22.029600Z

a fairly standard setup. a repl and neovim and conjure

Olical 2020-08-13T10:13:34.029900Z

Huh... very odd

Olical 2020-08-13T10:13:38.030100Z

nREPL 0.8?

dharrigan 2020-08-13T10:13:45.030300Z

yes

dharrigan 2020-08-13T10:13:49.030500Z

also 0.7

dharrigan 2020-08-13T10:13:55.030700Z

I do have some middleware injected

dharrigan 2020-08-13T10:14:04.030900Z

happy to share that with you to see if that is confusing the situation?

dharrigan 2020-08-13T10:14:25.031200Z

yes, do some hammocking 🙂

Olical 2020-08-13T10:14:36.031400Z

HMS Hammock

Olical 2020-08-13T10:15:18.031500Z

Absolutely no idea 😅 but yeah, if you can dump some info on this it'd be really useful, even if it's in a GitHub issue. It shouldn't be happening. So something is wrong, even though what I'm doing is super simple (like most things in Conjure! I try to keep things simple so they have less to go wrong)

dharrigan 2020-08-13T10:15:40.031800Z

Indeed

dharrigan 2020-08-13T10:16:05.031900Z

okay. I'll make a note and get to it eventually. just tied up atm with having FTTP installed atm.

Olical 2020-08-13T10:36:47.032100Z

No problem! And no worries if you never get around to it, I hope it's something small and not scary 🙂

2020-08-13T12:22:46.032500Z

that sounds lovely :)

2020-08-13T12:38:02.035Z

I don't know if everybody would be okay with being mentioned like that? I guess you can be an anonymous sponsor, but sometimes those UIs are confusing. I wouldn't mind in this case, but I've been surprised by my name in the main page after giving to a fundraiser, and not expecting the mention.

Olical 2020-08-13T12:43:51.035200Z

Good point!