Heh, I didn't know something as basic as C-j.
I think I'll be using that. Thanks for the lesson.

I'm just relieved my app isn't broken.

regards,
naipmoro


On Fri, Oct 11, 2013 at 6:41 PM, Moritz Ulrich <mor...@tarn-vedra.de> wrote:

> Wait, RET should probably get bound to `paredit-newline' instead of
> `newline-and-indent' when paredit is enabled. Try both and see which
> works better :-)
>
> On Sat, Oct 12, 2013 at 12:40 AM, Moritz Ulrich <mor...@tarn-vedra.de>
> wrote:
> > On Fri, Oct 11, 2013 at 11:33 PM, n aipmoro <naipm...@gmail.com> wrote:
> >> I have to hit the TAB key after ENTER to get indentation. I can't
> believe
> >> that was intentional (famous last words). So something must've broke.
> >
> > Actually, the common Emacs convention is that RET (command: `newline')
> > shouldn't indent. C-j is `newline-and-indent' and therefore indents.
> >
> > Quick solution: (add-hook 'clojure-mode-hook (lambda () (interactive)
> > (local-set-key (kbd "RET") 'newline-and-indent))
>
> --
> --
> 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.

Reply via email to