[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: indentation
From: |
Stefan Monnier |
Subject: |
Re: indentation |
Date: |
Thu, 29 Apr 2021 09:43:23 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> I admit I'm not a fan of gimmicks that are smarter than me...
I think you'll like (electric-indent-mode -1), then ;-)
More seriously, this does not necessarily require "smarts":
in some (many?) projects, the coding conventions says precisely
how indentation should be done, so there is no "smartness" involved and
if you don't like what the auto-indentation does, either it's because of
a bug in the code, or it's because you disagree with the conventions (and
overriding the conventions should be rare).
In those cases, typically the coders end up controlling the indentation
only indirectly, e.g. by carefully choosing where they cut the lines, or
by swapping arguments to commutative operations, or by other such means.
Stefan
- RE: [External] : indentation, (continued)
Re: indentation, Stefan Monnier, 2021/04/27
- Re: indentation, ptlo, 2021/04/27
- Re: indentation, Stefan Monnier, 2021/04/27
- Re: indentation, ptlo, 2021/04/28
- Re: indentation, Joost Kremers, 2021/04/28
- Re: indentation, Stefan Monnier, 2021/04/28
- Re: indentation, ptlo, 2021/04/29
- Re: indentation,
Stefan Monnier <=
- Re: indentation, Emanuel Berg, 2021/04/29
- on interface and behavior (Was: Re: indentation), Wayne Harris, 2021/04/29
- Re: on interface and behavior (Was: Re: indentation), Eli Zaretskii, 2021/04/30
Re: indentation, ptlo, 2021/04/30
Re: indentation, Philip Kaludercic, 2021/04/30
Re: indentation, ptlo, 2021/04/30
Re: indentation, Thibaut Verron, 2021/04/30
Re: indentation, ptlo, 2021/04/30
RE: [External] : Re: indentation, Drew Adams, 2021/04/30
Re: indentation, Jean Louis, 2021/04/30