Closed pjstadig closed 9 years ago
Turns out this is actually a problem with clojure-mode.
Actually, I'm not convinced this as a clojure-mode issue. The change to clojure-mode was to allow it to respond to indentation-update messages. For some reason slime is sending an indentation-update message that is changing deftest's indentation function from 'defun to 1.
When given a form like
clojure-mode will format it by indenting the "..." two spaces from the margin. After M-x clojure-jack-in, clojure-mode will indent the "..." underneath the metadata map.
Repro steps using swank-clojure 1.3.4 and clojure-mode c858a:
In fact, I have found that one does not need to re-evaluate the whole clojure-mode.el file, but only the form starting on this line https://github.com/technomancy/clojure-mode/blob/c858a8aa8702b1febef2e42a42d92ff727571d4c/clojure-mode.el#L732