[PATCH] Fix format_headers_sprinter to return all headers (v2)

Tomi Ollila tomi.ollila at iki.fi
Sun Nov 10 12:10:45 PST 2019

On Sun, Nov 10 2019, David Edmondson wrote:

> On Saturday, 2019-11-09 at 23:13:58 +01, Johan Parin wrote: 
>> +    const char* interesting_headers[] = { +	"Maildir", 
>> "Mailing-list", "Tags", "Attachments", "Signature", + 
>> "Decryption", "User-agent", "X-Mailer"}; 
> It would be convenient to specify these in ~/.notmuch-config 
> rather than hard-coding them (or specifying them as command line 
> arguments).

If we take the command line option approach, then the frontend can
request the headers, and have it configured in one location
(setting notmuch-message-headers in emacs affects how emacs mua
calls notmuch-show)...

Also, different frontends may have different usable headers, for
example `X-Face:` probably only works w/ emacs mua =D


> dme.
> -- 
> And you can't hold me down, 'cause I belong to the hurricane.

More information about the notmuch mailing list