Hi Thomas. I think all hook count tests must be consistent. We should either add hook counters in test-lib.el (like it is already done for `notmuch-hello-mode-hook') or use lambdas in individual test cases (like you did in the patch).
I believe the former approach is better (that is why I used it in the first place :)). So I sent patches [1] that add general hook counter to test-lib.el and `notmuch-hello-mode-hook' tests that use it. Regards, Dmitry [1] id:"1324491506-1134-1-git-send-email-dmitry.kuroch...@gmail.com" _______________________________________________ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch