2

Old question, but: You can make it so that all the common ways of moving around do an auto-indent, like this: (advice-add 'previous-line :after #'indent-according-to-mode) (advice-add 'next-line :after #'indent-according-to-mode) (advice-add 'scroll-up-command :after #'indent-according-to-mode) (advice-add 'scroll-down-command :after #'indent-according-to-...


1

Why is Emacs so weird? Emacs indents lisp code as if it were Emacs Lisp, where if accepts unlimited else forms; unlike in Common Lisp, where if accepts at most 3 arguments. What to do? Tell Emacs to indent Lisp as if it were Common Lisp: (custom-set-variables '(lisp-indent-function 'common-lisp-indent-function)) (autoload 'common-lisp-indent-function "...


Only top voted, non community-wiki answers of a minimum length are eligible