I tried to look at the patch, but it does not apply to current master,
probably because of bit rot.
Can you submit an updated version?
The patch contains docs and regression tests and is context diff.
I'll mark it "waiting for author".
Yours,
Laurenz Albe