Re: Question about indentation in emacs.

2009-05-24 Thread jonrock
The way to add this to the specific .clj file would be by putting these lines at the end: ;; Local Variables: ;; eval: (put 'with-session 'clojure-indent-function 4) ;; eval: (put 'with-open-db 'clojure-indent-function 3) ;; eval: (put 'with-search-results 'clojure-indent-function 3) ;; End:

Question about indentation in emacs.

2009-05-22 Thread pj
Greetings. This is more of emacs question than Clojure question. I am trying to figure out how to change emacs Clojure mode's default indentation behaviour. By default, emacs is indenting my code like this: (defn calendar-initial-sync [server user mailfile password formula] (with-session

Re: Question about indentation in emacs.

2009-05-22 Thread Phil Hagelberg
pj pjdtech2...@gmail.com writes: I would like it to indent like this: (defn calendar-initial-sync [server user mailfile password formula] (with-session session hostname username password (with-open-db session db dbname (with-search-results db docs formula (foreach-note