Fork me on GitHub
#emacs
<
2019-07-13
>
jjttjj14:07:00

I'm trying to get REBL working with Cider. I'm using https://github.com/RickMoynihan/nrebl.middleware with the following :aliases

:aliases
 
 {:rebl
  {:extra-deps
     {org.clojure/clojure         {:mvn/version "1.10.1"}
      org.clojure/core.async      {:mvn/version "0.4.490"}
      com.cognitect/rebl          {:local/root "REBL-0.9.172/REBL-0.9.172.jar"}
      org.openjfx/javafx-fxml     {:mvn/version "11.0.2"}
      org.openjfx/javafx-controls {:mvn/version "11.0.2"}
      org.openjfx/javafx-swing    {:mvn/version "11.0.2"}
      org.openjfx/javafx-base     {:mvn/version "11.0.2"}
      org.openjfx/javafx-web      {:mvn/version "11.0.2"}}
     :main-opts ["-m" "cognitect.rebl"]
   }
  :cider {:extra-deps {org.clojure/clojure {:mvn/version "1.9.0"}}
          :main-opts  ["-m" "nrepl.cmdline" "--middleware" "[cider.nrepl/cider-middleware]"]}

  :nrepl {:extra-deps {nrepl/nrepl {:mvn/version "0.4.5"}}}}
But I'm getting
Wrong number of args (5) passed to: cognitect.rebl/-main

jjttjj14:07:44

or is there another easier way to connect to rebl via emacs? I just want to play with rebl for a bit

vemv15:07:30

For now (given my usage is unsophisticated) I just (do (require '[cognitect.rebl]) (cognitect.rebl/ui)) in the repl I have a yasnippet for that line

jjttjj15:07:57

Thanks! This doesn't seem to "follow" the cider repl in emacs though. The stuff I type in the emacs repl doesn't automatically show up in rebl. Does that work for you? Are you using cider/nrepl or a different repl?

vemv00:07:38

> This doesn't seem to "follow" the cider repl in emacs though. yes sure, that rebl is a bare-bones one w/o CIDER integration whatsoever