Hi Bastien,
> This is great. It's not only more efficient but also more > consistent. Thanks a lot for joining the "agenda optimization > gang" with such a contribution! I applied your patch, with > a tiny change in the ChangeLog. Thanks for your message and for having applied the patch. I'm happy that it effectively helps. I've also noticed several other spots where org-unmodified should be used instead of simply saving and restoring buffer-modified-p. I will submit another tiny patch in order for you to see. Regards, Francesco