Suppose I start out writing this: (if some-expr (let [x (something y)] (process x)) (deal-with ...))
and I get to the ... and realize I need x in that expression as well. I just place my cursor before (process x) and do M-x conv RET and I get this code: (let [x (something y)] (if some-expr (process x) (deal-with x))) Similarly I can go from: (let [x (something y)] (if some-expr (process x) (deal-with y))) to: (if some-expr (let [x (something y)] (process x)) (deal-with y)) with a convolute (cursor in front of (process x) again) followed by a forward barf C-} after moving the cursor down two lines - convolute leaves it in front of (if ...). Sean On Fri, Aug 9, 2013 at 8:49 AM, Laurent PETIT <laurent.pe...@gmail.com> wrote: > > > Le vendredi 9 août 2013, Sean Corfield a écrit : >> >> Ah, yes... it turns this ( | represents the cursor ): >> >> >> (f a b (g c d |e f)) >> >> into this: >> >> (g c d (f a b e f)) >> >> I find I use it most often when moving `let` forms around, but also >> for other constructs occasionally. > > > Sorry, maybe it's just me, but I still fail to see how to use it to help > with moving let. > Could you elaborate a little example with let ? >> >> >> Sean >> >> On Fri, Aug 9, 2013 at 8:15 AM, Ambrose Bonnaire-Sergeant >> <abonnaireserge...@gmail.com> wrote: >> > I'll bet Laurent means paredit-convolute-sexpr :-) >> > >> > Ambrose >> > >> > >> > On Fri, Aug 9, 2013 at 11:09 PM, Sean Corfield <seancorfi...@gmail.com> >> > wrote: >> >> >> >> On Fri, Aug 9, 2013 at 6:58 AM, Laurent PETIT <laurent.pe...@gmail.com> >> >> wrote: >> >> > What does it do? (first time I encounter it) >> >> >> >> DrRacket? It's the "standard" IDE for the Racket language (and all of >> >> its teaching subsets etc). >> >> -- >> >> Sean A Corfield -- (904) 302-SEAN >> >> An Architect's View -- http://corfield.org/ >> >> World Singles, LLC. -- http://worldsingles.com/ >> >> >> >> "Perfection is the enemy of the good." >> >> -- Gustave Flaubert, French realist novelist (1821-1880) >> >> >> >> -- >> >> -- >> >> You received this message because you are subscribed to the Google >> >> Groups "Clojure" group. >> >> To post to this group, send email to clojure@googlegroups.com >> >> Note that posts from new members are moderated - please be patient with >> >> your first post. >> >> To unsubscribe from this group, send email to >> >> clojure+unsubscr...@googlegroups.com >> >> 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 clojure+unsubscr...@googlegroups.com. >> >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> >> >> > >> > -- >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "Clojure" group. >> > To post to this group, send email to clojure@googlegroups.com >> > Note that posts from new members are moderated - please be patient with >> > your >> > first post. >> > To unsubscribe from this group, send email to >> > clojure+unsubscr...@googlegroups.com >> > 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 clojure+unsubscr...@googlegroups.com. >> > For more options, visit https://groups.google.com/groups/opt_out. >> > >> > >> >> >> >> -- >> Sean A Corfield -- (904) 302-SEAN >> An Architect's View -- http://corfield.org/ >> World Singles, LLC. -- http://worldsingles.com/ >> >> "Perfection is the enemy of the good." >> -- Gustave Flaubert, French realist novelist (1821-1880) >> >> -- >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clojure@googlegroups.com >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > 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 clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ "Perfection is the enemy of the good." -- Gustave Flaubert, French realist novelist (1821-1880) -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com 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 clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.