[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing line widths in the Emacs source code
From: |
David Koppelman |
Subject: |
Re: Changing line widths in the Emacs source code |
Date: |
Mon, 14 Sep 2020 14:25:58 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Keep it at 80 columns, it's a widely adopted standard.
I keep my Emacs frames 80 columns wide because that fits many coding
styles, including my own work. I'd hate to see all those line
continuation characters when visiting elisp files.
I don't think there's any way to agree on an optimal width for E-lisp
code, or for material in other languages. Too large a width will tire
those reading code, the same holds for text (as someone here pointed
out), which is why newspaper columns are narrow.
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Now for the most controversial suggestion of all: Make the Emacs code
> wider!
>
> Emacs has tried to keep the line width of the source code at 80
> characters since Emacs was created. It was a good choice (perhaps the
> only) back then, but most screens are wide and short these days, and the
> folding contortions we have to do to make everything fit in 80
> characters is sometimes annoying, and leads to code that's awkward to
> read.
>
> So my suggestion is: Change the default to 100.
>
> (This, of course, doesn't mean that we change any of the existing code,
> but we stop formatting all new code to fit within 80 columns, and
> instead aim for 100 instead.)
- Re: Changing line widths in the Emacs source code, (continued)
- Re: Changing line widths in the Emacs source code, Stefan Monnier, 2020/09/13
- Re: Changing line widths in the Emacs source code, Göktuğ Kayaalp, 2020/09/13
- Re: Changing line widths in the Emacs source code, Óscar Fuentes, 2020/09/13
- Re: Changing line widths in the Emacs source code, Richard Stallman, 2020/09/13
- Re: Changing line widths in the Emacs source code,
David Koppelman <=
- Re: Changing line widths in the Emacs source code, Lars Brinkhoff, 2020/09/15