This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-02-17
Channels
- # beginners (106)
- # cider (20)
- # cljs-dev (4)
- # cljsrn (1)
- # clojure (65)
- # clojure-austin (7)
- # clojure-canada (2)
- # clojure-russia (1)
- # clojure-spec (28)
- # clojure-uk (2)
- # clojurebridge (1)
- # clojurescript (32)
- # datomic (8)
- # docs (1)
- # emacs (27)
- # events (7)
- # fulcro (13)
- # garden (1)
- # hoplon (3)
- # leiningen (4)
- # luminus (2)
- # off-topic (32)
- # onyx (4)
- # parinfer (6)
- # pedestal (16)
- # re-frame (7)
- # reagent (5)
- # shadow-cljs (8)
- # spacemacs (2)
- # uncomplicate (4)
- # vim (3)
@mathpunk can you post your .dir-locals.el
?
Inf-clojure executes the inf-clojure-something-cmd
for the repl
Where something is the detected project type
If you have project.clj
it will be inf-clojure-lein-cmd
@richiardiandrea I don't remember using such a file, so it only has ((nil . ((inf-clojure-boot-cmd . "lumo -d"))))
in it
The detection is really easy: https://github.com/clojure-emacs/inf-clojure/blob/master/inf-clojure.el#L544
Ops just a sec
oh, i also have no project.clj --- first lumo project, i just have a source file i was running at the command line
Yes so there is a way to override that
Set inf-clojure-project-type
to boot
Boot assumes you have build.boot
of course
But the defcustom above overrides stuff
There is no way for detecting a lumo project at the moment
@mathpunk don't forget to revert-buffer
in order to reload your .dir-locals.el
, it bit me hard 🙂
for more context: there's a js library i want to use, so i figured I'd try lumo. usually i just lein new
stuff. do you think boot is a better option for lumo projects?
What is the library? I am asking because lumo is ClojureScript self-host so not everything is compatible with it
Oh, I got it working. It's https://github.com/v21/tracery
I mean, I got the library working, no problem. I'm just fuzzy on the best way to set up a lumo project
I still haven't solved my problem, "learn to run a lumo repl in emacs." But, in terms of the library, I just npm installed and used (def library (js/require "name-of-library")
, which is pretty cool
I think I'm going to make a macchiato project, rather than insist on a command line, so I'm dropping my attempt to figure out the lumo repl for now
I have planned a blog post on inf-clojure for long time now, at some point I will find the time
Is there someone can help me on this question? https://emacs.stackexchange.com/questions/38857/the-formatted-string-passed-to-cider-eval-function-error I've been trapped in this problem for a long time. Can't figure out where is wrong. I asked in Org-mode mailing list, but no any response. And asked on SE, seems low attractive. So I posted it here hope some Emacser can help me this out. And Thanks you in advance. I really need to solve this problem. I use it a lot in my case.
The only thing I can think of at a cursory glance is to try it in a path that doesn't have spaces in it. I have no idea if that's the issue but it's one I'd try to rule out at the outset
After the Spring Festival, I take your advice a try. That's weird, without space the problem is gone.
Do you know what the space caused this problem?
And how can I solve this space problem? I need to make this space in path work.