[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36727: 27.0.50; indent bug
From: |
Lars Ingebrigtsen |
Subject: |
bug#36727: 27.0.50; indent bug |
Date: |
Thu, 10 Oct 2019 02:02:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Devon Sean McCullough <Emacs-Hacker2018@jovi.net> writes:
> (assert (progn
> Indentation) nil
> "<-- should line up with progn.")
>
> In emacs-lisp-mode, both indent-pp-sexp and indent-for-tab-command
> indent this incorrectly as above (string lines up with capital letter I)
> instead of correctly as below (string lines up with progn’s open paren)
>
> (assert (progn
> Indentation) nil
> "<-- should line up with progn.")
emacs-lisp-mode also flags that `nil' with a warning face -- because
this isn't a style that's recommended.
So I don't know whether fixing up indentation in code that's already
badly formatted is something we want to do. Any opinions?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#36727: 27.0.50; indent bug,
Lars Ingebrigtsen <=