[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#2160: 23.0.60; Indentation of LOOP (cl-indent.el)
From: |
Stefan Kangas |
Subject: |
bug#2160: 23.0.60; Indentation of LOOP (cl-indent.el) |
Date: |
Sat, 21 Mar 2020 02:39:12 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
>> People have had ample time to protest, so perhaps we should just go
>> ahead and make the change on the master branch.
>
> Yup.
I just realized that the suggestion as is makes code like this indent
weirdly:
(loop
for item in list
for i from 1 to 10
do (something))
The better indenting in my taste would be what we have now:
(loop
for item in list
for i from 1 to 10
do (something))
This is from an example I found online. Not sure how common this is
in practice.
Best regards,
Stefan Kangas