[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What's the line length limit in the Emacs codebase?
From: |
tomas |
Subject: |
Re: What's the line length limit in the Emacs codebase? |
Date: |
Sat, 26 Dec 2020 13:21:25 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sat, Dec 26, 2020 at 06:36:29PM +0700, Yuri Khan wrote:
> On Sat, 26 Dec 2020 at 18:22, Michael Albinus <michael.albinus@gmx.de> wrote:
[break long strings to honour max source line width]
> > > I have actually found myself trying to grep for an error message ang
> > > failing to find it in code at first try because it was line-broken at
> > > a non-obvious point.
> >
> > Yes, it is always a trade-off. However, I'm failing to find error
> > messages in the code much more often because they are produced by
> > format, which could be banned for the same reason.
>
> When you see an error message, most of the time, it’s easy to see
> which parts are constant text and which are substituted variable text.
> Whereas line breaks could be anywhere.
>
> When I break string literals to fit line length limits, I go for any
> embedded \n first, then sentence boundaries [...]
That' similar to what I do. Suffice it to say that these are often
moments of great agony :)
Cheers
- t
signature.asc
Description: Digital signature
- Re: What's the line length limit in the Emacs codebase?, (continued)
- 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?, 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?, 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
- 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
- Re: What's the line length limit in the Emacs codebase?,
tomas <=
- RE: What's the line length limit in the Emacs codebase?, Drew Adams, 2020/12/26
- 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?, 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, 2020/12/26
RE: What's the line length limit in the Emacs codebase?, Drew Adams, 2020/12/26