In reply to a post on r/emacs:

Sounds reasonable to me. I have no idea how to do that, of course.