Subject: bug#27646: Bug: Emacs Lisp Indentation

From: Noam Postavsky <[email-masked]>
Date: Fri, 17 Jan 2020 12:58:44 -0500

tags 27646 - moreinfo unreproducible
forcemerge 21922 27646
quit

Alexander Shukaev <[email-masked]> writes:

> to the "*scratch*" buffer and indent to observe the following result
>
> (dolist (symbol '(ignore-errors
>                    xxx
>                    yyy)))
>
> The reason why this happens is because `ignore-errors' is a macro that has
>
> (declare (indent defun))
>
> Any other macro with the same declaration whose innocent symbol is
> used as the first element in a list would reproduce the above
> indentation bug.  Backquote is also affected.

That's Bug#21922, although the backquoted case is intentional (e.g., for
writing code in macros).