Hello Heikki,
> Here are new patches, again the first one is just refactoring, and the second
> one contains this feature. I'm planning to commit the first one shortly, and
> the second one later after people have had a chance to look at it.
I looked at it. It looks ok, but for a few spurious spacing changes here
and there. No big deal.
I tested it, everything I tested behaved as expected, so it is ok for me.
--
Fabien.