Re: [PATCH] check: don't use multi-line coloring for the report

2011-07-03 Thread Bert Wesarg
Hi again, On Mon, Jun 20, 2011 at 10:33, Stefano Lattarini wrote: > On Friday 17 June 2011, Stefano Lattarini wrote: >> Hi Bert, and thanks again for your patch. >> >> I have some minor observations and objections below (please do not take >> them as a belittling of your work; they are either con

Re: [PATCH] check: don't use multi-line coloring for the report

2011-06-20 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Mon, Jun 20, 2011 at 10:29:02PM CEST: > * Stefano Lattarini wrote on Mon, Jun 20, 2011 at 10:33:53AM CEST: > > +# Prefix each line by 'col' and terminate each with 'std', for coloring. > > +# Multi line coloring is problematic with "less -R", so we really need > > +# to c

Re: [PATCH] check: don't use multi-line coloring for the report

2011-06-20 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Jun 20, 2011 at 10:33:53AM CEST: > OK, I've amended the patch on Bert's behalf, as he can't do that himself > at the moment. Attached is what I've pushed (to maint). Thanks for handling this, and to Bert for the report and patch! Minor nit: > --- a/lib/am/check

Re: [PATCH] check: don't use multi-line coloring for the report

2011-06-20 Thread Stefano Lattarini
On Friday 17 June 2011, Stefano Lattarini wrote: > Hi Bert, and thanks again for your patch. > > I have some minor observations and objections below (please do not take > them as a belittling of your work; they are either constructive criticism, > or requests for cosmetic changes mandated by the G

Re: [PATCH] check: don't use multi-line

2011-06-19 Thread Stefano Lattarini
On Sunday 19 June 2011, Bert Wesarg wrote: > > Hi Bert, and thanks again for your patch. > > Hi, > > > I have some minor observations and objections below (please do not take > > them as a belittling of your work; they are either constructive criticism, > > or requests for cosmetic changes mandat

RE: [PATCH] check: don't use multi-line

2011-06-19 Thread Bert Wesarg
> Hi Bert, and thanks again for your patch. Hi, > I have some minor observations and objections below (please do not take them > as a belittling of your work; they are either constructive criticism, or > requests for cosmetic changes mandated by the GNU coding standards). > I hope you have time

Re: [PATCH] check: don't use multi-line coloring for the report

2011-06-17 Thread Stefano Lattarini
Hi Bert, and thanks again for your patch. I have some minor observations and objections below (please do not take them as a belittling of your work; they are either constructive criticism, or requests for cosmetic changes mandated by the GNU coding standards). I hope you have time and will to addr

Re: [PATCH] check: don't use multi-line coloring for the report

2011-06-17 Thread Bert Wesarg
Hi, On Fri, Jun 17, 2011 at 17:12, Stefano Lattarini wrote: > Hi Bert, and thanks for persiting on this. only for today, I'm in vacation for the next two weeks ;-) But I try to post a patch today. > You could avoid the use of printf above by using the "automatic concatenation" > feature of awk:

Re: [PATCH] check: don't use multi-line coloring for the report

2011-06-17 Thread Stefano Lattarini
Hi Bert, and thanks for persiting on this. On Friday 17 June 2011, Bert Wesarg wrote: > On Thu, Jun 16, 2011 at 22:00, Ralf Wildenhues wrote: > > Hello, > > > > * Bert Wesarg wrote on Thu, Jun 16, 2011 at 08:19:23PM CEST: > >> the parallel part is a little trickier. Because the line printing is >

Re: [PATCH] check: don't use multi-line coloring for the report

2011-06-17 Thread Bert Wesarg
On Thu, Jun 16, 2011 at 22:00, Ralf Wildenhues wrote: > Hello, > > * Bert Wesarg wrote on Thu, Jun 16, 2011 at 08:19:23PM CEST: >> the parallel part is a little trickier. Because the line printing is >> done by awk. I would like to know, whether it is portable to use the >> printf function of awk.

Re: [PATCH] check: don't use multi-line coloring for the report

2011-06-16 Thread Ralf Wildenhues
Hello, * Bert Wesarg wrote on Thu, Jun 16, 2011 at 08:19:23PM CEST: > the parallel part is a little trickier. Because the line printing is > done by awk. I would like to know, whether it is portable to use the > printf function of awk. It is POSIX, but you may know that this > doesn't count much.

Re: [PATCH] check: don't use multi-line coloring for the report

2011-06-16 Thread Bert Wesarg
Hi, the parallel part is a little trickier. Because the line printing is done by awk. I would like to know, whether it is portable to use the printf function of awk. It is POSIX, but you may know that this doesn't count much. I couldn't find any prior usage in automake and autoconf either. Nor doe

Re: [PATCH] check: don't use multi-line coloring for the report

2011-06-16 Thread Bert Wesarg
On Thu, Jun 16, 2011 at 09:41, Stefano Lattarini wrote: > I verified that the problem you reported is really present, and > I agree it would be nice to fix it. > > However, your patch fixes the problem only fot the old "serial" > testsuite harness, not for the new "parallel" one.  It would be > ni

Re: [PATCH] check: don't use multi-line coloring for the report

2011-06-16 Thread Stefano Lattarini
On Thursday 16 June 2011, Bert Wesarg wrote: > On Thu, Jun 16, 2011 at 09:41, Stefano Lattarini > wrote: > > I verified that the problem you reported is really present, and > > I agree it would be nice to fix it. > > > > However, your patch fixes the problem only fot the old "serial" > > testsuite

Re: [PATCH] check: don't use multi-line coloring for the report

2011-06-16 Thread Stefano Lattarini
Hi Bert, thanks for the patch. On Thursday 16 June 2011, Bert Wesarg wrote: > less can't handle coloring which spans newlines because of performance > reasons. Thus, color each line of the check report by its own. > > --- > > For reference, git had a similar problem and I talked to the less > ma