[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:04:50 +0100 |
Am Sa., 26. Dez. 2020 um 11:24 Uhr schrieb Richard Stallman <rms@gnu.org>:
>
> [[[ To any NSA and FBI agents reading my email: please consider ]]]
> [[[ whether defending the US Constitution against all enemies, ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
> > > 70 is it, we just don't necessarily enforce it religously.
> > >
> > > Where did you see significant deviations from that standard?
>
> > Everywhere? When I last counted there were more than 1900 files in the
> > codebase that have lines longer than 70 characters. In src/emacs.c
> > alone there are over 160 such lines.
>
> Why argue about how rigid to be? Relax, please.
>
> If you see a clean way to eliminate some of those overlong lines,
> please do it. That way, we will move towards having fewer annoyingly
> long lines, and we will avoid the need to adopt a rule about it.
I don't think we should reformat existing code, that just adds
annoying whitespace changes that make 'git blame' etc. unnecessarily
hard. What I'd propose would be to stick to the 70-column limit a bit
more consistently in new or changed code.
Re: What's the line length limit in the Emacs codebase?, Philipp Stephani, 2020/12/25
Re: What's the line length limit in the Emacs codebase?, Richard Stallman, 2020/12/26
Re: What's the line length limit in the Emacs codebase?,
Philipp Stephani <=
RE: What's the line length limit in the Emacs codebase?, Drew Adams, 2020/12/26