This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-17
Channels
- # announcements (1)
- # aws (7)
- # babashka (5)
- # calva (56)
- # cider (13)
- # clj-commons (1)
- # clj-kondo (12)
- # clj-yaml (35)
- # clojure (84)
- # clojure-europe (93)
- # clojure-sg (2)
- # clojure-uk (1)
- # clojurescript (10)
- # conjure (37)
- # core-typed (1)
- # cursive (31)
- # duct (1)
- # figwheel-main (4)
- # fulcro (2)
- # holy-lambda (2)
- # humbleui (3)
- # membrane (118)
- # off-topic (46)
- # pathom (8)
- # podcasts-discuss (5)
- # releases (2)
- # rewrite-clj (13)
- # sci (27)
- # shadow-cljs (17)
- # tools-deps (12)
hi, I connected cider-cljs and I have REPL, but my source buffer says cider[not connected], and I cannot use commands like M-. (jump to definition) or C-z (go to REPL). the REPL works all right though. and the sesman-browsser shows my session with suspicious message (pending-cljs):
1: projects5/bubrary-gui:localhost:9000 linked-to: proj(~/projects5/bubrary-gui/) objects: cider-repl %s(pending-cljs)
Hi, when use teh cider inspector on a map like this:
{:id "2",
:refid "10",
:author "",
:title
"Going wild with fermented food: The tastiest what's-old-is-new-again trend",
:abstract
"<a style=\"color:red\">If</a> you're not yet familiar with how delicious and <p style=color:green;>healthy</p> fermented foods can be, we introduce you to one of the industry's leading <a style=\"text-decoration: none;color:orange\">sustainable</a> , fermented <span style=color:red;>food</span> producers: California-based wildbrine, which specializes in wild-fermenting <mark>organic</mark> produce.. <br>\r\n Rick Goldberg and Chris Glab, founders of wildbrine.. \r\n "Wild" fermentation is what makes wildbrine's products unique. \r\n<div style=\"color:red;\">a</div>\r\n<h1 style=\"color:red;\">a</h1>\r\n<div style=\"color:red;\">a</div>",
:level "1"}
I get an error thrown by the cider-inspector:
Inspector error for: {:id "2", :refid "10", :author "", :title "Going wild with fermented food: The tastiest what's-old-is-new-again trend", :abstract "<a style=\"color:red\">If</a> you're not yet familiar with how delicious and <p style=color:green;>healthy</p> fermented foods can be, we introduce you to one of the industry's leading <a style=\"text-decoration: none;color:orange\">sustainable</a> , fermented <span style=color:red;>food</span> producers: California-based wildbrine, which specializes in wild-fermenting <mark>organic</mark> produce.. <br>\r\n Rick Goldberg and Chris Glab, founders of wildbrine.. \r\n "Wild" fermentation is what makes wildbrine's products unique. \r\n<div style=\"color:red;\">a</div>\r\n<h1 style=\"color:red;\">a</h1>\r\n<div style=\"color:red;\">a</div>", :level "1"}
it is probably a bug in cider; however it is strange that there are no results about it when I google. can it be something specific to my environment? I made it as simple as I could
OMG! I did it! Second weekend! one has to be in the repl buffer, then M-x cider-set-repl-type Enter cljs Enter (in minibuffer) then the part of the name of the REPL buffer changes from pending-cljs to cljs:shadow and my source buffer eventually is associated with the session, so evaluating there works, C-z works and M-. works (I tried on +) it took me to core.cljs
what on Earth is going on? why didn't it get called automatically in cider--connected-handler in cider-connection.el?
I raised this issue: https://github.com/clojure-emacs/cider/issues/3246