unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Alexander Shukaev <emacs@Alexander.Shukaev.name>
Cc: 27646@debbugs.gnu.org
Subject: bug#27646: Bug: Emacs Lisp Indentation
Date: Fri, 17 Jan 2020 12:58:44 -0500	[thread overview]
Message-ID: <85sgke7ynf.fsf@gmail.com> (raw)
In-Reply-To: <3288253b-d9cf-ab24-a9d7-26187d0a5de0@Alexander.Shukaev.name> (Alexander Shukaev's message of "Thu, 19 Dec 2019 02:27:29 +0100")

tags 27646 - moreinfo unreproducible
forcemerge 21922 27646
quit

Alexander Shukaev <emacs@Alexander.Shukaev.name> 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).






  reply	other threads:[~2020-01-17 17:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-10 20:05 bug#27646: Bug: Emacs Lisp Indentation Alexander Shukaev
2017-07-11  1:05 ` npostavs
2017-11-29  2:26   ` Noam Postavsky
2019-12-19  1:27     ` Alexander Shukaev
2020-01-17 17:58       ` Noam Postavsky [this message]
2020-01-17 20:26         ` bug#21922: " Alexander Shukaev
2022-01-30 22:46           ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85sgke7ynf.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=27646@debbugs.gnu.org \
    --cc=emacs@Alexander.Shukaev.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).