This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-05
Channels
- # bangalore-clj (1)
- # beginners (50)
- # boot (72)
- # cider (53)
- # cljs-dev (303)
- # cljsrn (2)
- # clojure (403)
- # clojure-conj (3)
- # clojure-dev (7)
- # clojure-italy (18)
- # clojure-russia (129)
- # clojure-sg (1)
- # clojure-spec (44)
- # clojure-uk (25)
- # clojurescript (112)
- # core-async (4)
- # core-typed (3)
- # cursive (23)
- # datomic (114)
- # defnpodcast (1)
- # emacs (1)
- # figwheel (2)
- # graphql (18)
- # hoplon (110)
- # instaparse (6)
- # jobs (3)
- # jobs-discuss (10)
- # leiningen (5)
- # luminus (1)
- # lumo (151)
- # off-topic (22)
- # om (3)
- # om-next (3)
- # onyx (4)
- # parinfer (1)
- # pedestal (8)
- # precept (51)
- # re-frame (19)
- # reagent (3)
- # ring (1)
- # ring-swagger (5)
- # spacemacs (21)
- # sql (25)
- # test-check (2)
- # uncomplicate (8)
- # unrepl (33)
- # untangled (20)
- # yada (14)
next unravel version will indicate unreadable forms (mismatched parentheses etc.) live and in red
not sure I like the red prompt as an indicator - any ideas about an unobtrusive signal to the user?
what do you mean?
I can print anything, then reprompt
I can change the prompt
I can clear the screen below the prompt
I can move the cursor around
ah! a unicode character
(but a combining caharacter so may print on top of the previous one when unicode moons align)
yeah I had the combining char problem
the problem with a trailing char is that I'll need to re-prompt for every keystroke I think
note sure how important it is to limit redraws
can you change the color of the caret/block cursor?
@dominicm changing the prompt color is definitely the simplest option
super cool @pesterhazy, I also like the emoji, maybe you can substitute the =>
for a red 🚫
yeah exactly. I've seen actual colorful emojis in iterm2 so there must be a way to show those
Do you have the error info? Can you highlight the char that breaks? In paredit it is usually like that (where it can)...I know it is maybe more work 😀
Also the classic clue that is universally recognized is that it does not evaluate but goes newline waiting for a correct terminator...I am not saying it is the best, but it would be consistent with readline (I guess?)
Sorry not sure readline is the culprit there but I hope you got the idea
Right, yeah the change will not affect pressing return. But it will give you a visual clue that the form is incomplete even before pressing return
Highliting the location of the exception would be best, I agree