Er, not sure why I thought Ken was the one answering you. Maybe it
just read like him. I was referring to James, of course, since he was
the only person who had answered.

On Feb 14, 10:40 am, Alan <a...@malloys.org> wrote:
> With a little practice and/or tools, you'll find you rarely have to
> find the right position. Rainbow-parens is one option, which makes
> matching parens the same color; one that I use more often is C-M-f,
> which moves from the start of a sexp to its end. So if you want to put
> something at the end of a (let [a b] ...) form, you can put point on
> the (, C-M-f, C-b (to move before the close paren), and start writing.
>
> I haven't read your code, and I'm sure Ken's suggestions are as good
> as they usually are, but I have a suggestion you might find
> interesting.
>
> (let [reader (reader blah)
>       writer (writer blah)]
>   ...)
>
> Could be rewritten as
>
> (let [[reader writer] ((juxt reader writer) blah)]
>   ...)
>
> if you were so inclined. Whether it's better is a matter of taste, but
> it's a nice sample of the kinds of neat things you can do with
> Clojure.
>
> On Feb 13, 11:10 pm, Nick Wiedenbrueck
>
> <nick.wiedenbru...@googlemail.com> wrote:
> > Thanks a lot.
>
> > I'll have to get used to closing all parentheses of a function on a
> > single line, cause this makes finding the right position when editing
> > the code afterwards a little harder. Also now I got the clojure mode
> > for emacs (instead of lisp mode) to get the indentation right.
>
>

-- 
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

Reply via email to