This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-13
Channels
- # announcements (1)
- # bangalore-clj (1)
- # beginners (47)
- # boot (16)
- # calva (33)
- # cider (14)
- # clj-kondo (3)
- # clojure (46)
- # clojure-india (1)
- # clojure-italy (6)
- # clojure-nl (4)
- # clojure-uk (5)
- # clojurescript (10)
- # dirac (8)
- # emacs (1)
- # fulcro (1)
- # leiningen (14)
- # lumo (1)
- # off-topic (178)
- # pathom (9)
- # planck (17)
- # quil (2)
- # reagent (5)
- # reitit (6)
- # shadow-cljs (55)
- # tools-deps (3)
@hoppy: stuff you evaluate in the repl window will print stdout in that window. Stuff you evaluate inline will print in the Calva says output channel.
what I'm asking is where does what the compiled progam output go (stdout) That's what I can't find
Do we have any Emacs users in here who can tell me if there is some in-file symbol navigation in CIDER? This PR: https://github.com/BetterThanTomorrow/calva/pull/163 has started to add this to Calva, and I would like to know a bit about how it is implemented elsewhere. Specifically, I’d like to know what happens when lines are removed or added to the file. The ns-vars
op seem to operate on the last evaluated information it has on the ns, which makes sense, but makes the symbol navigation a bit strange in the edited case.
This build has @alexander.minolta’s fix for making files in eval error messages clickable, adds paredit grow/shrink selection to repl window, renames some commands based on feedback in this channel and fixes a bug with the wrong repl window being opened for “send to repl” commands.
what I'm asking is where does what the compiled progam output go (stdout) That's what I can't find
I'm not sure we are understanding each other. you are talking about eval'ing, and all of that is fine.
I'm talking about I'm running a web server, that for example, prints the client request (via println)
I'm sitting in the repl with this, hit it with a rq, and the printlin happens, but the output goes nowhere
So, if you eval (println "foo")
all is fine, but the stdout side effects happening in your webserver do not show up?
It seems the source maps from the cljs compiler have improved. I can step through Calva’s cljs code in the vscode debugger (Chrome debugger, I think).
the difference seems to be whether we are in an eval or not. I'm assuming the output comes back while nrepl is doing that work for us. Stuff that arises spontaneously (aka we are not in an nrepl transaction) is never seen.
if I connect with cider, I get identical behavior. It neither pops out of the repl console, nor does it find its way back to emacs.
I recall using this technique when jacked in with cider, but in that case it's a subprocess of emacs, so that is what is different.
Unfortunately, My emacs is roasted atm to prevent jack-in - I need to go see if that has been updated
calva jack in does work for jack in, it's my cider that is currently messed up after upgrading it.
but the good news is, its been broken for a week, and I've not cared enough to fix it because calva is working that good