hey Berlin people it's Emacs Berlin tonight with talks by @pesterhazy and myself. There will be drinks and pizza and general merriment!
The talks will be about using Paredit with spacemacs, plus an overview/demo of the various Emacs offerings for Clojure and ClojureScript (cider, inf-clojure, clj-refactor etc)
is there a meeting url that i could forward?
actually I'll be focussing mostly on Structural Editing in Emacs (with some notes on Spacemacs) - it turns out that Paredit is an interesting concept all by itself
hope that's ok @plexus?
totally :)
inf-clojure is going to be hotter topic if self-hosted cljs is going to be a hit ๐
inf-clojure is great either way ๐
what if you have a compiler error when re-evaluating the current buffer - does inf-clojure jump to the right line in that case?
the most important feature of cider, flash-sexp ๐ doent work with inf-clojure, how can one program without the flash
:camera_with_flash:
Emacs, yay ๐ https://github.com/clojure-emacs/inf-clojure/issues/40
oh and did I just praise inf-clojure above? ๐
hihi
^^ anyone here have a clue about this? would be really great to know for the talk that I'm doing tonight ๐
excellent question
@plexus I think its not a whole lot but a few things that seem notable/clojure specific: inf-clojure-set-ns
, inf-clojure-load-file
, inf-clojure-macroexpand
, inf-clojure-show-arglist
, inf-clojure-show-ns-vars
, inf-clojure-show-var-source
, โฆ
thanks @martinklepsch that makes sense
apparently (TIL) you can also point inf-clojure at a host/port to connect to over TCP (e.g. socket repl). Probably also something inferior-lisp doesn't do
ah, didnโt know, thatโs cool ๐
it's exactly that part that needs more lovin next months as jvm-free repls get more popular. If one tries out plack/lumo on inf-clojure one steps into a new world riddled with todos.
yeah was just realizing that, e.g. -set-ns
issues clojure.core/in-ns
, whereas in CLJS land in-ns
is a REPL special form, it shouldn't be prefixed.
show-ns-vars
also doesn't work. macroexpand
does
I have to say setting (setq inf-clojure-program "planck -d")
, and doing C-c C-z
and have that REPL just there instantly feels great โจ
ok nice, didnt know that, without the socket repl
My various inf-clojure programs made available via M-x
(defun boot-repl ()
(interactive) (inf-clojure "boot repl"))
(defun boot-repl-client ()
(interactive) (inf-clojure "boot repl --client"))
(defun planck ()
(interactive) (inf-clojure "planck"))
(defun lein-repl ()
(interactive) (inf-clojure "lein repl"))
(defun lein-connect ()
(interactive) (inf-clojure "lein repl :connectโ))