Re: Concurrency and custom types.

2013-03-24 Thread Richard Elliott
thanks guys. On Sunday, 24 March 2013 19:27:59 UTC, Shantanu Kumar wrote: > > > > On Sunday, 24 March 2013 23:34:38 UTC+5:30, Jim foo.bar wrote: >> >> On 24/03/13 17:49, Shantanu Kumar wrote: >> > In this case, making the type immutable is probably encouraged but not >> > mandatory >> >> yes tr

Concurrency and custom types.

2013-03-24 Thread Richard Elliott
Hi, If i create an immutable type in java and use an instance of it from clojure, can I wrap it in an atom and benefit from the concurrency semantics of swap! etc. Cheers Richard -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this

Re: Auto-indentation not working with clojure-mode 2.0.0

2013-01-01 Thread Richard Elliott
Understood. Thanks guys. On Tuesday, January 1, 2013 9:15:56 AM UTC, Richard Elliott wrote: > > I've just installed emacs and clojure-mode on a new machine. Out of the > box auto-indentation did not work for me. I noticed that in the latest > release of clojure-mode.el the R

Auto-indentation not working with clojure-mode 2.0.0

2013-01-01 Thread Richard Elliott
I've just installed emacs and clojure-mode on a new machine. Out of the box auto-indentation did not work for me. I noticed that in the latest release of clojure-mode.el the RET keybinding has been removed. 1.11 had (define-key map (kbd "RET") 'reindent-then-newline-and-indent) 2.0.0 does not I