On Wednesday, October 17, 2012 2:17:50 PM UTC-4, Jonathan Fischer Friberg wrote: > > Not currently, no. > > I'm not really sure how to detect when to use 2 spaces, and when to align > arguments. > I also feel that no editor really has "nailed it", when it comes to > deciding that. (it's also personal preference) > > My first guess is that it should by default align arguments, but then have some special cases where it doesn't, such as with `defn`.
Though, I can see that if you add special cases, the plug-in would probably be better named "ClojureIndent" rather than "LispIndent" (which may imply "Common Lisp", for that matter). > Maybe I should just make it completely configurable with regexes? > > I don't know if the Emacs clojure-mode is user-configurable in that way. I haven't needed to change it. Most Clojure users seem to indent in pretty much the same way, fwict, which is probably pretty close to how Emacs does it automatically. I haven't tried Eclipse. If you want to try out Emacs to see how it does indentation (for comparison to LispIndent), I wrote a quick guide that might be useful for you: http://www.unexpected-vortices.com/clojure/10-minute-emacs-for-clojure.html . ---John -- 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