[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Indentation of def*
From: |
Po Lu |
Subject: |
Re: Indentation of def* |
Date: |
Thu, 14 Oct 2021 21:30:04 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Kangas <stefankangas@gmail.com> writes:
> Can't you just use this?
>
> (declare (indent defun))
I could, but I was just demonstrating that a large amount of code
depends on the previous behaviour in order to be indented nicely.
> And shouldn't you be using that in any case, to make your intention more
> clear, and avoid relying on a fundamentally brittle heuristic?
If it's a heuristic that worked (at least, AFAIR) in Emacs 18, then I'm
usually inclined to trust it. (And I considered it smart at the time,
when I first discovered it).
- Re: Indentation of def*, (continued)
- Re: Indentation of def*, Lars Ingebrigtsen, 2021/10/14
- Re: Indentation of def*, Po Lu, 2021/10/14
- Re: Indentation of def*, Lars Ingebrigtsen, 2021/10/14
- Re: Indentation of def*, Po Lu, 2021/10/14
- Re: Indentation of def*, João Távora, 2021/10/14
- Re: Indentation of def*, Lars Ingebrigtsen, 2021/10/14
- Re: Indentation of def*, João Távora, 2021/10/14
- Re: Indentation of def*, Lars Ingebrigtsen, 2021/10/15
- Re: Indentation of def*, João Távora, 2021/10/15
- Re: Indentation of def*, Stefan Kangas, 2021/10/14
- Re: Indentation of def*,
Po Lu <=
- Re: Indentation of def*, Stefan Kangas, 2021/10/14
- Re: Indentation of def*, Po Lu, 2021/10/14
- Re: Indentation of def*, Stefan Kangas, 2021/10/14
- Re: Indentation of def*, Po Lu, 2021/10/15
- Re: Indentation of def*, Eli Zaretskii, 2021/10/15
- Re: Indentation of def*, Stefan Kangas, 2021/10/15
- Re: Indentation of def*, Eli Zaretskii, 2021/10/15
- Re: Indentation of def*, Stefan Kangas, 2021/10/15
- Re: Indentation of def*, Eli Zaretskii, 2021/10/15
- Re: Indentation of def*, Stefan Kangas, 2021/10/15