nrepl

bozhidar 2022-08-22T11:26:50.425789Z

@domagala.lukas Have you seen this https://github.com/clojure-emacs/cider/issues/2791 ?

Lukas Domagala 2022-08-22T11:57:11.655149Z

Thank you for pointing me to that, it helped a lot! It’s still a little weird, but at least I have a workaround now.

-> sent
{
  id: '16',
  op: 'eval',
  session: '8df8145d-ecfe-41e1-9e99-9e9ce33861aa',
  code: '^{:portal.viewer/default :portal.viewer/hiccup}[:h1 "hello, world"]',
  file: '/Users/lukas/Workspace/clojure/calva/test-data/notebook.clj',
  line: 37,
  column: 3,
  stdout: [Function: stdout],
  stderr: [Function: stderr],
  pprint: false,
  'nrepl.middleware.print/print': 'nrepl.util.print/pr',
  'nrepl.middleware.print/options': { 'print-meta': true }
}

<- received
{
  id: '16',
  ns: 'notebook',
  session: '8df8145d-ecfe-41e1-9e99-9e9ce33861aa',
  value: '^#:portal.viewer{:default :portal.viewer/hiccup} [:h1 "hello, world"]'
}
The weird thing is that the bug is apparently fixed in 1.10.2: https://clojure.atlassian.net/browse/CLJ-1445 And even if I send pprint false together with { ‘print-meta’: true } its not working. Ah well, I’m happy to just send both options for now and investigate it later. Thanks again!

bozhidar 2022-08-25T13:09:55.971349Z

You're welcome!