Subject: bug#26619: 26.0.50; Wrong indentation in emacs-lisp-mode

From: Michael Heerdegen <[email-masked]>
Date: Wed, 26 Apr 2017 05:05:35 +0200

Kaushal Modi <[email-masked]> writes:

> But indentation is still broken in cases like these:
>
> (with-eval-after-load 'foo
>   (setq bar `(
>               baz)))
>
> It instead indents to:
>
> (with-eval-after-load 'foo
>   (setq bar `(
>                       baz)))

There must be more cases.  I already get wrong indentation with very
simple cases.  E.g. here:

#+begin_src emacs-lisp
(defun test ()
  "A test function"
  (switch-to-buffer "*Messages*")
  17)
#+end_src

Mark the string "*Messages*" and hit C-M-\.  The whole line is indented
to a wrong column.  While this example is not super useful, calls like
this may happen from Lisp.

Michael.