Re: Emacs `align' function customization for Clojure

2011-04-02 Thread Glen Stampoultzis
I created an align for Clojure a little while back. [1] It has some limitations such as not handling type hints (yet) but works well enough. There was also a fork [2] that added alignment to compojure forms. [1] http://clojure-libraries.appspot.com/show/34002 [2]

Emacs `align' function customization for Clojure

2011-04-01 Thread Christian Schuhegger
I am replying to this thread from January this year: https://groups.google.com/group/clojure/browse_frm/thread/47c388127e0da3ef I am not certain if my solution fulfills the aesthetic requirements of clojure hackers, but I use one of my old C/C++ marcros for aligning equal signs to align at commas

Re: Emacs `align' function customization for Clojure

2011-01-10 Thread Glen Stampoultzis
On 6 January 2011 04:29, Scott Jaderholm jaderh...@gmail.com wrote: On Tue, Jan 4, 2011 at 9:10 PM, Eric Schulte schulte.e...@gmail.com wrote: I wonder if anyone else has written any similar Emacs alignment rules for Clojure which they would be interested in sharing? Alignment rules for

Emacs `align' function customization for Clojure

2011-01-05 Thread Eric Schulte
Hi, I just recently became aware of the built-in `align' [1] function for Emacs while looking for a nice way to auto-align some hash-maps in my Clojure code. This was easily done using align with the following piece of customization. #+begin_src emacs-lisp (add-to-list 'align-lisp-modes

Re: Emacs `align' function customization for Clojure

2011-01-05 Thread Scott Jaderholm
On Tue, Jan 4, 2011 at 9:10 PM, Eric Schulte schulte.e...@gmail.com wrote: I wonder if anyone else has written any similar Emacs alignment rules for Clojure which they would be interested in sharing? Alignment rules for let and defroutes are at the top of my most wanted list. (let [n