Puzzled about parentheses in Atom + Proto-Repl + Parinfer + lisp-paredit, 
the combination recommended in the gist at 
https://gist.github.com/jasongilman/d1f70507bed021b48625.  I set up my 
brand-new Atom 1.17.0 according to those instructions.

I am not sure this question has anything to do with Proto-Repl, except that 
Proto-Repl motivated the experiment.

 1. Open empty file b.clj amidst a Clojure project.  Now the mode line says 
"Parinfer:Indent LF UTF-8 Clojure (λ) strict"; the λ is green and "strict" 
is lighter gray. 

 2. Type 
(when true (println "cow 
and the outcome is
(when true (println "cow"))
which is very nice.

 3. Desire to reformat the form on two lines

 3. Position cursor before the (println

 4. Press Enter

 5. Result:
(when true) 
(println "cow")

It has changed the meaning of the program!  By the way, this is different 
from what happens in the parinfer demo 
(http://shaunlebron.github.io/parinfer/demo).  There, the result of the 
same keystrokes is

(when true 
  (println "cow"))

Anyway, proceed:

 6. Try to restore the working state of the program with ^Z to undo:

Result:

(when true)(println "cow")

But that is not something I ever had. 

Is this all working as intended?  How do people keep parentheses from 
rebelling into nonsense in Atom?

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to