Closed coqbot closed 8 years ago
Comment author: @robbertkrebbers
[Set Bullet Behavior "Strict Subproofs"] is only propagated by one level of require exporting, but not by two levels. For example:
File A.v: Require Export mathcomp.ssreflect.ssreflect. Global Set Bullet Behavior "Strict Subproofs".
File B1.v: ( Here we have checked bullets ) Require Export A. Goal True /\ True. split.
File B2.v: ( Here we do not have checked bullets ) Require Export B1. Goal True /\ True. split.
Comment author: @gares
It might have something to do with the fact that the ml code of ssreflect (actually its initialization function) sets the bullets behavior to None).
It may be, just guessing, that this function is called late.
One can test if by commenting out a line in ssreflect.ml4 and put instead a Set in ssreflect.v (I'm on battery power now, I'm not doing it).
Best,
Comment author: @robbertkrebbers
Created attachment 647 Move bullet initialization to ssreflect.v
Attached file: ssr_bullets.patch (text/plain, 2596 bytes) Description: Move bullet initialization to ssreflect.v
Comment author: @robbertkrebbers
That seems to work. I have attached a patch. Thank you.
Comment author: @gares
many thanks for the patch!
Comment author: @gares
Fixed in ssreflect's git repo..
Note: the issue was created automatically with bugzilla2github tool
Original bug ID: BZ#4491 From: @robbertkrebbers Reported version: 8.5 CC: @gares