On Sat, Jun 7, 2014 at 4:27 PM, gvim <[email protected]> wrote: > Thanks, that's what I needed. I realise I've muddled C-x C-e with a > command within Light Table which works with the closing paren of an > s-expression. In Emacs you have to be on the next line following the > closing paren. Got it now. The road to Emacs/Clojure enlightenment is once > more open :) >
I'm glad that was helpful. I find I use C-c C-c most often (evals the top level form you're currently in) and C-c C-k (evals the whole buffer) most. I recently started playing with Cursive (for IntelliJ) which is pretty great. I can't quite convince myself to live in IntelliJ though, so I'm back in Emacs right now - one thing I'd love is if eval-ing a form in a file buffer generated output in the repl as it does in Cursive - the whole form is echo'd and the returned value below, as if it had been typed by hand. One thing that Emacs Live does out of the box by default is use eval-sexp-fu, which lights up the evaluated code. That's an awesome hack, which makes the missing cursive-like echo a bit more tolerable. I nicked Sam's code (for making eval-sexp-fu work with clojure) for my own config, when not using Emacs Live. There was some discussion here a while ago about LightTable's in-buffer eval output, which Emacs can't quite do as nicely yet. These seemingly small and superficial features can make a huge difference to flow. cheers, J -- 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.
