bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: texinfo-6.3.90 pretest


From: Eli Zaretskii
Subject: Re: texinfo-6.3.90 pretest
Date: Sat, 29 Apr 2017 12:55:21 +0300

> From: Gavin Smith <address@hidden>
> Date: Sat, 29 Apr 2017 09:44:49 +0100
> Cc: address@hidden
> 
> On Thu, Apr 27, 2017 at 05:55:16PM +0300, Eli Zaretskii wrote:
> > Lastly, test_scripts/coverage_formatting_cr.sh fails.  I show the test
> > log below (after replacing CR characters with the ASCII string "^M");
> > it seems there's a problem with whitespace, but there are also strange
> > other differences.  It could be that the CR characters cause all this,
> > I'm not sure.  Let me know if I can provide more info.
> 
> I think it is the CR characters. It appears that in the reference 
> results, the CR characters are treated as being present in the file,
> whereas on your system, they are not. This difference
> 
> >   -formatting-cr.texi:25: unknown command `^M' (possibly involving 
> >   @mymacro)
> 
> ^M is a CR character and in the input file it is @ followed immediately
> by the ^M leading it to be parsed as an @-command in the reference 
> results, but on your system it is followed immediately by the 
> end-of-line.

I'm not following: what is followed immediately by the end-of-line on
my system?

The text in tp/tests/coverage/formatting-cr.texi around line 25 is
this:

 21 @include coverage_macro-cr.texi^M
 22 ^M
 23 @copying^M
 24 In copying^M
 25 @mymacro{}^M
 26 @end copying^M
 27 ^M
 28 @titlepage^M

In each of these lines, the ^M character is immediately followed by a
newline character.  So where's the @^M command here?

Do you perhaps mean line 49 of coverage_macro-cr.texi?  It has this:

  @@ followed by a new line^M
  @^M

> >   +formatting-cr.texi:25: warning: accent command `@'' must not be 
> >   followed by new line (possibly involving @mymacro)
> 
> In the input, @' was at the end of a line. In the reference results,
> I suspect that a CR character appeared first, otherwise this error 
> message would have been given.

Where's all that?  coverage_macro-cr.texi has this on line 639:

  @@' @'^M

Is this what you are alluding to?

> Do you know if the tests still pass with Texinfo 6.3 on your system?

You mean, whether running the Texinfo 6.3 test suite still works, with
the code base of that version?  Or do you mean something else?

Anyway, what does this test try to verify?  A ^M followed by a newline
on Windows is in general indistinguishable from a newline, so is the
issue being tested here relevant to Windows?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]