Follow-up Comment #9, bug #67571 (group groff):
[comment #8 comment #8:]
> [comment #7 comment #7:]
>> the first "I: fold" renders with character flags of 0
>> attached to the ':' character.
>
> That is precisely the purpose of the first "I: fold". It is the "before"
> exhibit. It should (and does) render the same way in all cases.
>
> The second "I: fold" is the "after" exhibit. It follows the unconditional
> .cflags call.
>
> For this .cflags to have any observable effect, however, the [EOS] class must
> already be defined. If it is, this second "I: fold" will render differently
> from the first; if it isn't, the second will render the same as the first.
>
> When neither register is defined, the class is never established. Thus the
> two output lines are identical, as expected.
>
> When either one of the registers is defined, the class should be established:
> the two .class lines are identical other than the register name, and both
> occur before the .cflags call. So if either "early" or "late" is defined,
> one would expect the second output line to differ from the first. But only
> in the "late" case does it.
Our impedance mismatch in discussing this ticket is puzzling me more than GNU
_troff_ itself, which is really saying something. :P
Taking registers out of the picture, I get behavior that is exactly as I
expect and as documented.
##$ cat EXPERIMENTS/67571a.groff
.br
I:
fold.
.pl \n[nl]u
##$ nroff EXPERIMENTS/67571a.groff
I: fold.
##$ cat EXPERIMENTS/67571b.groff
.br
.class [EOS] :
I:
fold.
.pl \n[nl]u
##$ nroff EXPERIMENTS/67571b.groff
I: fold.
##$ cat EXPERIMENTS/67571c.groff
.br
.class [EOS] :
.cflags 1 \C'[EOS]'
I:
fold.
.pl \n[nl]u
##$ nroff EXPERIMENTS/67571c.groff
I: fold.
Even with a couple of sleeps under my belt, I'm about as baffled, either by
what you claim the problem is or how your reproducer produced deceptive
results, as I was in comment #7.
Help?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67571>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
