emacs-devel
[Top][All Lists]
Advanced

[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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]