This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-21
Channels
- # announcements (14)
- # aws (8)
- # babashka (3)
- # babashka-sci-dev (41)
- # beginners (78)
- # calva (15)
- # cider (9)
- # clj-commons (10)
- # clj-kondo (5)
- # cljs-dev (8)
- # clojure (47)
- # clojure-bay-area (3)
- # clojure-europe (13)
- # clojure-nl (2)
- # clojure-norway (15)
- # clojure-uk (13)
- # clojured (2)
- # clojurescript (20)
- # conjure (29)
- # cursive (4)
- # emacs (19)
- # events (3)
- # funcool (13)
- # hyperfiddle (16)
- # jobs (2)
- # lsp (4)
- # malli (13)
- # meander (1)
- # missionary (2)
- # nrepl (7)
- # off-topic (68)
- # other-languages (82)
- # polylith (1)
- # reagent (28)
- # reitit (12)
- # releases (3)
- # remote-jobs (5)
- # ring (27)
- # sci (6)
- # shadow-cljs (9)
- # spacemacs (2)
- # sql (10)
- # tools-deps (10)
- # vim (10)
Is the js to cljs translation feature i just saw in calva available via emacs? If so, how? If not, 😢.
@U0ETXRFEW: what is it based on?
I've ripped src/js_cljs/core.cljs
out of @U3Y18N0UC’s js2cljs: https://gitlab.com/mauricioszabo/js2cljs Will pick it from Clojars once it's available there.
There's an online UI for it: https://mauricioszabo.gitlab.io/js2cljs/
@U45T93RA6 in the #calva thread about this I posted about an experiment where I used some clj-suitable to enumerate the js/
entries. No idea if that is the right way to go for js2cljs, but anyway, FYI. https://clojurians.slack.com/archives/CBE668G4R/p1650465566657349
Nah, but maybe we can set up a server running this, and non-js editors can query that one? Or something...
While I'd wager that this feature would be a bit convoluted to ship in CIDER, emacs does have a generic "take this region and run it through a command" functionality (namely shell-command-on-region
)
Assuming one has https://gitlab.com/mauricioszabo/js2cljs checked out in his computer, the shell command could invoke said program.
Yeah, it is unclear how well it fits in Calva, even. But since it has cljs glue set up, I choose to do it that way.
Corkey, Corgi's key binding system, now has a dedicated repo and a full README https://github.com/corgi-emacs/corkey
Note that things are a little in flux now that we're reorganizing packages and moving to a dedicated github-org, I'll try to make sure at least the sample config works out of the box again in the coming days.
the stability of doom is great
it does patch things, though, sometimes
advice appears 69 times in the codebase https://github.com/hlissner/doom-emacs/search?q=advice (not all of them are actually adding advice)
you can see all it does for clojure here https://github.com/hlissner/doom-emacs/tree/master/modules/lang/clojure
> the stability of doom is great ehmm, using 'stability' and anything Emacs-related in the same sentence not always justifiable, but in this case, I rather agree; overall, Doom feels a lot safer than Spacemacs. At least, when something breaks, I no longer have to scratch my head - it's relatively easy to figure out. With Spacemacs, it was almost always a puzzle.