Re: Customize clojure-mode (emacs) question

2013-04-24 Thread Hoàng Minh Thắng
On Wed, 24 Apr 2013 12:03:29 +0200 Tassilo Horn wrote: > You could create an clj-.el. Thank you so much Tassilo. signature.asc Description: PGP signature

Re: Customize clojure-mode (emacs) question

2013-04-24 Thread Tassilo Horn
Tassilo Horn writes: > You could create an clj-.el. > > (require 'clojure-mode) > > (define-clojure-indent > (look-like-case 1) > ...) > > ;; more stuff > > (provide 'clojure-) ^^^ Of course, this should have been "clj" instead of "clojure" to match the file name. Bye, Tassi

Re: Customize clojure-mode (emacs) question

2013-04-24 Thread Tassilo Horn
Hoàng Minh Thắng writes: > I have a macro, let's say `look-like-case`. When trying to indent with > Emacs, the result is: > ``` > (look-like-case a > b > c) > ``` > which is not what I want. How can I make Emacs to indent it like this: (define-clojure-indent (l

Re: Customize clojure-mode (emacs) question

2013-04-24 Thread Stefan Kamphausen
Take a look at the bottom of jason.clj: https://github.com/clojure/data.json/blob/master/src/main/clojure/clojure/data/json.clj -- -- 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 th