This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-11
Channels
- # adventofcode (129)
- # architecture (10)
- # beginners (163)
- # boot (1)
- # cider (34)
- # cljs-dev (9)
- # clojure (210)
- # clojure-austin (11)
- # clojure-czech (2)
- # clojure-gamedev (1)
- # clojure-greece (67)
- # clojure-italy (2)
- # clojure-russia (8)
- # clojure-spec (36)
- # clojure-uk (54)
- # clojurescript (87)
- # cursive (12)
- # data-science (6)
- # datomic (13)
- # devcards (4)
- # editors (2)
- # emacs (34)
- # figwheel (6)
- # fulcro (147)
- # graphql (17)
- # lumo (54)
- # off-topic (37)
- # om (11)
- # onyx (7)
- # parinfer (10)
- # random (1)
- # re-frame (13)
- # ring (10)
- # ring-swagger (2)
- # sfcljs (1)
- # shadow-cljs (1)
- # spacemacs (32)
- # test-check (4)
- # unrepl (84)
I have SBCL installed and running but after adding common-lisp to my .spacemacs I can’t get a connection inside Spacemacs.
My Helm bar shows “Lisp [email protected]” so Slime is loaded.
@clojer sorry I don’t know that much about SBCL - I’d suggest checking out the spacemacs glitter channel?
and I just got exposed to the magit log mode, wow it’s awesome do you guys use it here?
Like when you hit l l
in a magit status buffer? Oh yes, I use that all the time.
I did a describe key, poked around the source a bit, and it looks like M-x magit-log-current
will do what you want.
I'm trying out Spacemacs and smartparens (coming from bare-bones Emacs and paredit). I'm a bit surprised by the behavior of sp-forward-slurp-sexp
. (foo [|] bar)
=> (foo [ |bar])
(| is point) Is there a way to get it to close up that space before bar
?
No easy way that I'm aware of, short of writing a custom fn and changing your keybinding to point at that.
Makes me think it would be really nice to have a generalized "tighten up extra spaces" fn...
okay... it seems paredit-forward-slurp-sexp
does the right thing, and sp-forward-slurp-sexp
leaves the space
you basically can redefine that key for lispy to use paredit-forward-slurp-sexp
instead of default one.
- first you need to wrap the function, make it "lispy", so you can continuously keep slurping, e.g. SPC k s
, s
, s
... etc.
- then you just bind/re-bind the key:
(spacemacs/set-leader-keys "ks" 'evil-lisp-state-paredit-forward-slurp-sexp)
@ag thanks for digging into this. When I'm using smartparens, I'm using sp-forward-slurp-sexp
. I figure if I'm going to use smartparens, I should be using the smartparens commands: having two packages that do pretty much the same thing seems a step backwards to me. AFAIK, I'm not using any of the evil-mode
stuff. Though, at this point (maybe it's too early to call? been trying for a week or so) I'm not sure what smartparens gives me over paredit. I like the fact that it's actually maintained, and I hear it's much more configurable, but the teething period is getting to me.