What does the (no env)
mean in the hud when connecting to a repl?
Is there a way to evaluate top/root level forms within a comment block?
(comment
(+ 1 (+ 1 |1)))
i.e. running (+ 1 (+ 1 1))
where |
is your cursor locationyes, this was discussed very recently <https://clojurians.slack.com/archives/CK143P6D7/p1596718693133100>
doh, should have searched first
thanks!
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!
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.
Sometimes that's nil or errors which usually means the nREPL is a little non-standard.
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:
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
np, you're welcome 🙂
:party-corgi:
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.
I feel like I saw this in bb but I'm not sure...
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)
I think a simple line saying "Thanks to all my sponsors" with a link to the github page with the list there.
that would be okay?
(words to that effect anyway)
Thanks to all my super doopar awesome-o 9000 sponsors
etc.
no need to keep the sponsorship just to clojure devs 🙂
Oh I was gonna pick someone at random every time from the sponsor list to say thanks to 😅
oh okay
that works too
So like how the current one says "this session is sponsored by this wonderful person"
🙂
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)
a fairly standard setup. a repl and neovim and conjure
Huh... very odd
nREPL 0.8?
yes
also 0.7
I do have some middleware injected
happy to share that with you to see if that is confusing the situation?
yes, do some hammocking 🙂
HMS Hammock
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)
Indeed
okay. I'll make a note and get to it eventually. just tied up atm with having FTTP installed atm.
No problem! And no worries if you never get around to it, I hope it's something small and not scary 🙂
that sounds lovely :)
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.
Good point!