Comment on attachment 470264
Laurent Jouanneau, you admit yourself that the other patch fixes more cases. In the interest of a good solution, and also to not frustrate a new contributor, let's first look at the patch provided. Please see comment 123 and 124. I totally understand his frustration.
What Jonathan and bienvenu need are directions on which behavior is wanted. I think we should *first* get this information before throwing in another, entirely different and inferior patch.