Emacs' indentation of Emacs lisp code is really great, except for one thing:
(defconst one-to-ten '(one two three
four five six seven
eight nine ten))
Is this actually the preferred way to indent this block? As opposed to
(defconst one-to-ten '(one two three
four five six seven
eight nine ten))
I find it especially confusing when compared to the default for alists:
(defconst one-to-ten '((one . 1) (two . 2) (three . 3)
(four . 4) (five . 5) (six . 6) (seven . 7)
(eight . 8) (nine . 9) (ten . 10)))
Is there a reason for this behaviour? I could possibly understand it for back-quoted lists, as it would yield better indentation for macros, but what about lists?
Indent the file using the default indentation parameters.
– Clément Sep 26 '15 at 23:41M-x report-emacs-bug
. – Stefan Sep 28 '15 at 2:26