Re: [BUG] Custom headers in `notmuch-message-headers` are broken

Subject:Re: [BUG] Custom headers in `notmuch-message-headers` are broken

Date:Thu, 03 Mar 2022 10:06:46 -0400

To:Jan Malakhovski ,notmuch@notmuchmail.org

Cc:

From:David Bremner


Jan Malakhovski <oxij@oxij.org> writes:

> # What I did
>
> I added "X-Github-Sender" to `notmuch-message-headers`.
> Looked at a message sent via github with `notmuch-show`.
>
> # What I expected
>
> To see "X-Github-Sender" header displayed in `notmuch-show`.
>
> # What I got
>
> No such header was displayed.
>
> # Why 
>
> `(notmuch-show "query")` runs
>
> ```
> notmuch show --format=sexp --format-version=4 query
> ```
>
> internally. The latter produces a sexp with
>
> ```
> :headers (:Subject "" :From "" :To "" :Reply-To "" :Date "")
> ```
>
> even when the message has many more headers.
>
> The end result is that `notmuch-message-headers` variable has no effect.

Hi Jan;

Not sure if you are still interested, but this should be fixed in
notmuch 0.35 (see show.extra_headers in notmuch-config(1)).
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: