Expected behavior
Indenting deftype forms should be consistent (and ideally aesthetically pleasing)
Actual behavior
Method implementations with attached metadata in deftype seem to be indented as if they were common lists, instead of method implementations
Steps to reproduce the problem
Try to indent:
(deftype MyType []
MyProtocol
(do-thing []
:indented)
(^:meta do-thing2 []
:not-indented))
(And notice it stays as-is, with :indented and :not-indented being indented inconsistently)
Environment & Version information
clojure-mode version
clojure-mode (version 5.13.0)
Emacs version
GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
Operating system
GNU Guix System
Expected behavior
Indenting
deftypeforms should be consistent (and ideally aesthetically pleasing)Actual behavior
Method implementations with attached metadata in
deftypeseem to be indented as if they were common lists, instead of method implementationsSteps to reproduce the problem
Try to indent:
(And notice it stays as-is, with
:indentedand:not-indentedbeing indented inconsistently)Environment & Version information
clojure-mode version
Emacs version
GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
Operating system
GNU Guix System