I'm testing an alternative similar to this right now. It'll be easier to write and test it rather than try to get you to write it through code review. :) http://reviews.llvm.org/D8326 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/