unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Leo Gaspard <leo@gaspard.io>
To: Jan Malakhovski <oxij@oxij.org>,
	David Bremner <david@tethera.net>, Amin Bandali <aminb@gnu.org>
Cc: notmuch@notmuchmail.org
Subject: Re: [BUG] Custom headers in `notmuch-message-headers` are broken
Date: Sat, 20 Oct 2018 14:09:42 +0900	[thread overview]
Message-ID: <874ldhdx0p.fsf@llwynog.ekleog.org> (raw)
In-Reply-To: <87bmautryq.fsf@oxij.org>

(sorry for sending twice, forgot to Cc the list at first)

I just have been hit by this exact same issue, also for X-GitHub-Sender,
during my switch to notmuch and notmuch-mode.

>> 3) We should think carefully about whether we want to blindly send
>>    certain large headers like "Received". Some people use notmuch via
>>    ssh or equivalent, and it might (dunno) be a concern.
>
> I'd prefer `notmuch show` to dump everything by default and have an
> option like `--headers` to limit those. I.e. to get current behavior
> you'd just dump comma-separated `notmuch-message-headers` into that
> option in `notmuch.el` and be happy.

Potentially keep the `--headers` option as you propose and default to
the current behaviour? This way everything is retro-compatible, messages
still look nice when manually shown via `notmuch show` by default, but
tools that make use of the additional headers can specify which headers
they use.

And then dumping comma-separated `notmuch-message-headers` into this
option becomes the additional feature for `notmuch.el` we're all hoping
for :)

  parent reply	other threads:[~2018-10-20  5:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-26 11:47 [BUG] Custom headers in `notmuch-message-headers` are broken Jan Malakhovski
2017-12-26 12:34 ` 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 [this message]
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=874ldhdx0p.fsf@llwynog.ekleog.org \
    --to=leo@gaspard.io \
    --cc=aminb@gnu.org \
    --cc=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    --cc=oxij@oxij.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).