emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's the line length limit in the Emacs codebase?


From: Philipp Stephani
Subject: Re: What's the line length limit in the Emacs codebase?
Date: Sat, 26 Dec 2020 12:12:03 +0100

Am Fr., 25. Dez. 2020 um 23:01 Uhr schrieb <tomas@tuxteam.de>:
>
> On Fri, Dec 25, 2020 at 06:11:57PM +0100, Philipp Stephani wrote:
>
> [...]
>
> > This seems overly complicated, and people are unlikely to follow
> > complicated rules.
>
> I tend to disagree.
>
> > Let's just pick a number and stick to it consistently.
>
> That doesn't make much sense, IMO. Most of the time it's
> easy to stick to the recommended 70. More often than not,
> it even helps to nudge oneself into structuring code
> better.

Then why don't we just do that (for new code)? Why do we need two limits?

>
> But sometimes (e.g. you have long string literals where
> breaks don't make sense -- but there are other examples),
> it is rather counterproductive to stick religiously to
> that rule.

I'm not talking about such special cases, but about normal code or
comment blocks that could easily be reflowed.

> Honestly, I perceive Stefan's criteria as pretty natural.

I don't.



reply via email to

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