This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-03
Channels
- # admin-announcements (2)
- # arachne (1)
- # architecture (6)
- # boot (316)
- # cider (7)
- # cljsrn (7)
- # clojure (169)
- # clojure-argentina (3)
- # clojure-belgium (1)
- # clojure-canada (4)
- # clojure-india (1)
- # clojure-russia (39)
- # clojure-spec (27)
- # clojure-uk (55)
- # clojurescript (213)
- # css (1)
- # cursive (20)
- # datavis (2)
- # datomic (52)
- # devcards (3)
- # dirac (78)
- # emacs (20)
- # events (1)
- # funcool (3)
- # hoplon (15)
- # jobs-rus (2)
- # om (57)
- # onyx (82)
- # overtone (1)
- # re-frame (10)
- # reagent (1)
- # ring-swagger (46)
- # spacemacs (7)
- # specter (31)
- # spirituality-ethics (1)
- # sql (43)
- # test-check (1)
- # testing (4)
- # untangled (30)
@danielcompton: That seems to be working fine for me.
Just to be clear, your caret needs to be at the end of the form you want to send, e.g. after the closing paren of a list.
I read “Send form before caret to REPL” as the one in front of it
as in, this lies before me
So … is there a way to change Cursive such that, in paredit mode, an edit that would unbalance nesting would be rejected? Currently, you can select arbitrary text and delete (or replace it) and things go unbalanced. My Emacs friends say that is not possible there.
I would prefer to see a transient bubble that said “Edit rejected: unbalanced” or some such.
@hlship: the only way I know how to do this is to only select text with paredit commands, then it’s not possible to select text in an unbalanced way
@hlship: No, there isn’t now but it’s something I’m considering. I’m not sure I can do it, though. Cut and paste is something else that would have to be intercepted, but that is definitely possible.
@hlship: Just to be clear, your friends are saying that you cannot unbalance Clojure code in Emacs by selecting arbitrary text and deleting it?
Certainly Emacs paredit doesn’t prevent it by default - there may be some new mode which helps with that.