[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Truncate overlong lines in ##sys#error-han
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] [PATCH] Truncate overlong lines in ##sys#error-handler |
Date: |
Tue, 31 May 2016 20:01:15 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Sun, May 29, 2016 at 05:36:09PM +0200, address@hidden wrote:
> > What do the other core hackers think?
>
> A fixed limit is fine. There is no need to cover every possible situation, and
> user code (exception handler) may take care of special cases like your
> example.
> Any other solution will just introduce complexity that is never used.
I just noticed that it's only the default handler anyway. But still, I
think a larger default makes more sense. Attached is a signed-off
version which sets the limit to 400 characters, which should be 5 lines
on a "standard" 80 column terminal.
I added it to NEWS because this is quite noticable to the user. I also
applied it to master and then cherry-picked it to CHICKEN 5 because the
original patch was for master.
Cheers,
Peter
0001-Truncate-overlong-lines-in-sys-error-handler.chicken-5.patch
Description: Text Data
0001-Truncate-overlong-lines-in-sys-error-handler.master.patch
Description: Text Data
signature.asc
Description: Digital signature