From: Jan Malakhovski <oxij@oxij.org>
To: notmuch@notmuchmail.org
Subject: [BUG] Custom headers in `notmuch-message-headers` are broken
Date: Tue, 26 Dec 2017 11:47:20 +0000 [thread overview]
Message-ID: <87h8sdemnr.fsf@oxij.org> (raw)
# 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.
next reply other threads:[~2017-12-26 11:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-26 11:47 Jan Malakhovski [this message]
2017-12-26 12:34 ` [BUG] Custom headers in `notmuch-message-headers` are broken David Bremner
2018-07-16 21:51 ` Amin Bandali
2018-07-26 4:33 ` David Bremner
2018-07-26 6:46 ` Jan Malakhovski
2018-07-26 6:55 ` David Bremner
2018-10-20 5:09 ` Leo Gaspard
2022-03-03 14:06 ` David Bremner
2024-04-20 9:07 ` Herbert Valerio Riedel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h8sdemnr.fsf@oxij.org \
--to=oxij@oxij.org \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).