[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Indentation of def*
From: |
Lars Ingebrigtsen |
Subject: |
Re: Indentation of def* |
Date: |
Sun, 24 Oct 2021 15:22:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Richard Stallman <rms@gnu.org> writes:
> But I conjecture it will almost never happen anyway -- that people
> break the line there so rarely that it hardly qualifies as a problem.
It happens all the time. Consider:
(let ((not-default
'bar)
(default
'foo))
)
(Note different indentation of the two values.)
> That's true. The convention of macros called `with-...' macros
> started in the 1990s, I think.
>
> I suggest we look at adding a few more indentation heuristics.
> We could start with `with-...'
The introduction of the `with-*' macros, added three decades ago without
any such heuristic, shows that these heuristics aren't necessary (or
useful).
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Indentation of def*, (continued)
- Re: Indentation of def*, Lars Ingebrigtsen, 2021/10/18
- Re: Indentation of def*, Richard Stallman, 2021/10/20
- Re: Indentation of def*, Lars Ingebrigtsen, 2021/10/20
- Re: Indentation of def*, João Távora, 2021/10/20
- Re: Indentation of def*, Lars Ingebrigtsen, 2021/10/20
- Re: Indentation of def*, João Távora, 2021/10/20
- Re: Indentation of def*, Lars Ingebrigtsen, 2021/10/20
- Re: Indentation of def*, João Távora, 2021/10/20
- Re: Indentation of def*, Richard Stallman, 2021/10/23
- Re: Indentation of def*,
Lars Ingebrigtsen <=
- Re: Indentation of def*, Stefan Kangas, 2021/10/24
- Re: Indentation of def*, João Távora, 2021/10/24
- Re: Indentation of def*, Stefan Monnier, 2021/10/24
- Re: Indentation of def*, Lars Ingebrigtsen, 2021/10/24
- Re: Indentation of def*, João Távora, 2021/10/24
- Re: Indentation of def*, Richard Stallman, 2021/10/27
- Re: Indentation of def*, Richard Stallman, 2021/10/27
- Re: Indentation of def*, Lars Ingebrigtsen, 2021/10/27
- Re: Indentation of def*, Richard Stallman, 2021/10/30