filtering headers from forwarded messages

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Jan 8 07:25:50 PST 2020


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20200108/8a8bc70e/attachment.sig>


More information about the notmuch mailing list