On Mon 2019-12-30 15:16:59 +0200, Teemu Likonen wrote: > Daniel Kahn Gillmor [2019-12-20T13:50:03-05] wrote: > >> In notmuch-emacs, i can manually filter the headers by editing the >> reply compose buffer, of course, but it's kind of a pain, and it'd be >> nice to have it done automatically for me. > >> Has anyone else considered this use case, or thought about how to make >> it easy/simple to do the right thing when using Notmuch? Are there >> other factors that are worth considering? > > The underlying message-mode has these variables: > > message-forward-as-mime > message-forward-before-signature > message-forward-ignored-headers > message-forward-included-headers > message-forward-show-mml > > I have not studied those very closely but at least I know that when > -as-mime is nil user can use -included-headers to set what headers user > wants to include. Thanks for the pointer! it looks like message-forward-{ignored,included}-headers should do (roughly) what i want. I'll try them out. --dkg