[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing line widths in the Emacs source code
From: |
Andy Moreton |
Subject: |
Re: Changing line widths in the Emacs source code |
Date: |
Sun, 13 Sep 2020 18:23:40 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt) |
On Sun 13 Sep 2020, Lars Ingebrigtsen wrote:
> Daniel Martín <mardani29@yahoo.es> writes:
>
>> I don't agree with this suggestion, at least as it is written. If the
>> existing code won't change, then we will have parts of the codebase with
>> a different style than others. The goal of having a code style is not
>> much about the individual decisions, but about consistency.
>
> Nope -- in the Emacs tree, we're all about not making needless stylistic
> changes, really. That's why we don't make white space changes, and we
> don't change one-form `if' statements into `when' across the board.
And this is exactly why changing line length is a bad idea. Any code
which requires overlong lines is usually clearer and more maintainable if
rewritten to use shorter lines, and helper routines if needed.
AndyM
- Re: Changing line widths in the Emacs source code, (continued)
- Re: Changing line widths in the Emacs source code, Lars Ingebrigtsen, 2020/09/13
- Re: Changing line widths in the Emacs source code, Yuan Fu, 2020/09/13
- Re: Changing line widths in the Emacs source code, Lars Ingebrigtsen, 2020/09/13
- Re: Changing line widths in the Emacs source code, Stephen Leake, 2020/09/13
- RE: Changing line widths in the Emacs source code, arthur miller, 2020/09/13
- Re: Changing line widths in the Emacs source code, Eric Abrahamsen, 2020/09/13
- Re: Changing line widths in the Emacs source code, Stephen Leake, 2020/09/13
Re: Changing line widths in the Emacs source code, Alan Mackenzie, 2020/09/13
Re: Changing line widths in the Emacs source code, Daniel Martín, 2020/09/13
Re: Changing line widths in the Emacs source code, Stefan Kangas, 2020/09/13
Re: Changing line widths in the Emacs source code, Eli Zaretskii, 2020/09/13
Re: Changing line widths in the Emacs source code, Stefan Monnier, 2020/09/13