--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
;;; clojure-mode
(add-to-list 'load-path "~/.emacs.d/site-lisp/third-party/clojure-mode/")
(require 'clojure-mode)
(add-hook 'clojure-mode-hook 'rainbow-delimiters-mode)
(add-hook 'clojure-mode-hook 'paredit-mode)
(add-hook 'clojure-mode-hook 'hs-minor-mode)
(add-hook 'clojure-mode-hook #'eldoc-mode)
;;; REPL
;; Monroe
(add-to-list 'load-path "~/.emacs.d/site-lisp/third-party/monroe/")
(require 'monroe)
(add-hook 'clojure-mode-hook 'clojure-enable-monroe)
(setf monroe-detail-stacktraces 'true)
Gary, I had tried Figwheel a couple years ago and I had a positive experience, so that was the next thing I reached for.I just want a practical dev environment, for both Clojure and Clojurescript. To me, that means simple and stable. I definitely want fewer things that can go wrong, but if I can install a package by cloning a repo and adding a few lines of elisp, and it works, I'm happy. I don't care how complex it is. If it causes my REPL to hang, prints out control characters, regularly breaks after updates, etc., then I'd rather drop down to something simpler, with fewer features.
It would be nice if we could have both repls open simultaneously within emacs, but everything was super unreliable the last time I tried that.
I spent a couple more hours working with Monroe and Figwheel. I still can't figure out how to use the REPL. After trying to evaluate a few expressions, Emacs gets completely locked up spewing the following error message 1000s of times:
That seems to work, but I see something like this in the minibuffer every time I move the cursor, with or without eldoc mode enabled:def: (:arglists^[[0m^[[36m3^[[0m ^[[36m(clojure.core/meta^[[0m^[[36m4^[[0m ^[[36m(clojure.core/resolve^[[0m^[[36m5^[[0m ^[[36m(clojure.core/read-string "def")Does "lein run -m clojure.main" create a socket REPL?I followed the instructions for inf-clojure for a "Clojure Command Line Socket REPL" (https://github.com/clojure-emacs/inf-clojure#clojure-command-line-socket-repl), but then (fig-start) is not found.I followed the instructions for inf-clojure for a "Leiningen Socket REPL" (https://github.com/clojure-emacs/inf-clojure#leiningen-socket-repl), and that produces results like with "lein run -m clojure.main"; it works, but I get the "eldoc" garbage in the minibuffer. AFAICT, the eldoc problem doesn't occur until I run (cljs-repl).Any insight greatly appreciated.