This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-18
Channels
- # boot (42)
- # cider (26)
- # cljs-dev (6)
- # cljsrn (6)
- # clojure (119)
- # clojure-berlin (3)
- # clojure-dev (2)
- # clojure-nl (1)
- # clojure-russia (38)
- # clojure-spec (1)
- # clojurescript (44)
- # component (3)
- # cursive (1)
- # data-science (2)
- # datomic (19)
- # dirac (60)
- # emacs (12)
- # figwheel (2)
- # hoplon (13)
- # iot (4)
- # keechma (2)
- # klipse (38)
- # leiningen (5)
- # luminus (1)
- # lumo (1)
- # off-topic (6)
- # om (2)
- # om-next (4)
- # onyx (21)
- # perun (79)
- # reagent (32)
- # untangled (39)
- # vim (36)
- # yada (1)
ok finally something that works, given that your emacs buffer is turned on inf-clojure-minor-mode and clojurescript-mode major mode (no cider!) This function should start lumo
(defun lumo-start (&optional port)
(interactive)
(let ((p (or port 5555)))
(setq inf-clojure-program `("localhost" . ,p))
(start-process-shell-command
"lumo/inf-clj" nil
(format "lumo -n %d" p))
(sleep-for 1)
(with-current-buffer (buffer-name)
(inf-clojure inf-clojure-program)
(split-window-sensibly)
(previous-window)
(previous-buffer))))
(defun lumo-restart ()
(interactive)
(delete-process "lumo/inf-clj")
(switch-to-buffer "*inf-clojure*")
(delete-process "inf-clojure")
(kill-buffer-and-window)
(lumo-start))