On 2017-08-29 01:18, David Bremner wrote: > Maybe I'm overthinking this, but it seems like we'd need some way to > recognize various faces. There is a package called faceup that is > targeted at roughly this problem. I know that racket-mode uses it to > test highlighting. Perhaps that's an dependancy we can tolerate for the > test suite, at least optionally. Or perhaps some simpler approach can > work since we can choose the faces as well. FWIW, I have had good results with using htmlfontify, which is distributed with Emacs. Example from the d-mode package: https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/blob/a97c92ced57224287a84e7fc48ba9aac6b2afc08/d-mode-test.el#L270-L292 https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/blob/a97c92ced57224287a84e7fc48ba9aac6b2afc08/tests/fonts.d.html -- Best regards, Vladimir _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch