On Fri, Mar 30, 2012 at 1:26 PM, Vinzent <[email protected]> wrote: > Another idea is to put :indentation metadata on vars, so user-defined macros > could be indented properly. Currently I have (define-clojure-indent ...) > with a number of forms in my emacs config file, and it seems to be pretty > common solution. It'd be nice to replace this hack with an IDE-independent > way to control the indentation. > > Phil, what do you think? Could it be experimentally implemented in > clojure-mode?
My thought on this? Just look for the macro to have a rest arg. Function argument indentation should be used for non-rest macro args, and body indentation for macro rest args. -- 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
