This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-12-02
Channels
- # adventofcode (63)
- # announcements (21)
- # babashka-sci-dev (1)
- # beginners (24)
- # biff (2)
- # calva (78)
- # cherry (6)
- # clj-commons (3)
- # clj-kondo (7)
- # clojure (91)
- # clojure-austin (2)
- # clojure-bay-area (6)
- # clojure-denmark (1)
- # clojure-europe (45)
- # clojure-nl (1)
- # clojure-norway (16)
- # clojure-portugal (3)
- # clojure-uk (1)
- # clojurescript (20)
- # conjure (11)
- # datalevin (13)
- # datomic (5)
- # emacs (14)
- # etaoin (15)
- # events (7)
- # fulcro (9)
- # funcool (1)
- # honeysql (26)
- # joyride (4)
- # kaocha (3)
- # lambdaisland (2)
- # malli (7)
- # off-topic (22)
- # pathom (29)
- # portal (58)
- # practicalli (8)
- # rdf (25)
- # reagent (14)
- # sci (3)
- # scittle (37)
- # shadow-cljs (10)
- # slack-help (2)
- # spacemacs (7)
- # sql (7)
- # tools-deps (1)
- # xtdb (2)
I think I need some help on cider for clojurescript (shadow-cljs). It once worked but somehow it doesn't anymore. I am able to do cider-jack-in-cljs
and then shadow
and my app is opened in the browser (cider asks me y or n), but the REPL doesn't work at all. When I type a primitive value like 123 and then I enter, then no response. Does anyone have a clue?
And my set up is really basic.
{:source-paths ["src/cljs" "src/cljc" "test/cljs" "test/cljc"]
:dependencies [[cider/cider-nrepl "0.28.7"]
[cljs-ajax "0.8.4"]
[reagent "1.1.1"]]
:dev-http {8000 "resources/public"}
:builds {:frontend {:target :browser
:output-dir "resources/public/js"
:asset-path "/js/compiled"
:modules {:main {:entries [pet.frontend.core]
:init-fn pet.frontend.core/run}}}}}
Is anyone aware of a mode or setting that will make backward-word
(`M-<left-arrow>`) treat non-alphanumeric Clojure symbols as words?
To illustrate, with |
indicating point:
(foo (bar| baz))
-> (foo (|bar baz))
(correct behavior)
(foo (->| baz))
-> (|foo (-> baz))
(wrong IMO)
it works the 'correct' way for me. I don't remember if I had to do something for it to happen
googling emacs "backward-word" word definition
returns plenty of results. It appears to be related to the "syntax table". clojure-mode should provide a high-quality one?
My emacs works like yours @U060QM7AA, I have a pretty stock newish install.
hmmm … I do have clojure-mode and haven’t done anything to defeat it that I know of. Interesting vemv! Thanks for the data point.
Not sure this is what you’re asking for, but I tend to use backward-sexp
a lot. Bound to C-M-b
on my machine
Where this really bites me is with paredit-backward-kill-word
, where it actually skips over the previous non-alpha symbol to kill the preceding word:
(foo (->| baz))
-> (|(-> baz))
A little surprisingly to me, there doesn’t appear to be a paredit-backward-kill-sexp
… that would solve my main problem