[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What's the line length limit in the Emacs codebase?
From: |
Stefan Monnier |
Subject: |
Re: What's the line length limit in the Emacs codebase? |
Date: |
Wed, 23 Dec 2020 11:55:23 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>> There seem to be conflicting settings for the line length limit in the
>> Emacs codebase: .dir-locals.el sets fill-column to 70, but large areas
>> of the source code (including comments) seem to use 80. Can we pick
>> one value and use it consistently (for new/changed code)?
>
> 70 is it, we just don't necessarily enforce it religously.
>
> Where did you see significant deviations from that standard?
Indeed. I'd say that we it's a kind of progressive limit:
- it's OK to have all lines ≤ 70-columns wide
- it's not OK to have most lines >70-columns
- we tolerate reaching the area between 70 and 80 columns every once in
a while, tho.
- ≥80 columns OTOH should really be rare, limited to the exceptional
cases where the alternative is really worse.
Stefan
- What's the line length limit in the Emacs codebase?, Philipp Stephani, 2020/12/23
- Re: What's the line length limit in the Emacs codebase?, Eli Zaretskii, 2020/12/23
- Re: What's the line length limit in the Emacs codebase?,
Stefan Monnier <=
- 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?, Stefan Monnier, 2020/12/25
- Re: What's the line length limit in the Emacs codebase?, Philipp Stephani, 2020/12/26
- Re: What's the line length limit in the Emacs codebase?, Stefan Monnier, 2020/12/26
- Re: What's the line length limit in the Emacs codebase?, Richard Stallman, 2020/12/27
- Re: What's the line length limit in the Emacs codebase?, tomas, 2020/12/25
- Re: What's the line length limit in the Emacs codebase?, Michael Albinus, 2020/12/26
- Re: What's the line length limit in the Emacs codebase?, Yuri Khan, 2020/12/26