From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 2AFF86DE01E3 for ; Fri, 19 Oct 2018 22:09:52 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.2 X-Spam-Level: X-Spam-Status: No, score=-0.2 tagged_above=-999 required=5 tests=[AWL=0.000, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ixtCFUcxYkiI for ; Fri, 19 Oct 2018 22:09:51 -0700 (PDT) Received: from smtp.gaspard.ninja (grym.ekleog.org [94.23.42.210]) by arlo.cworth.org (Postfix) with ESMTPS id 708ED6DE0198 for ; Fri, 19 Oct 2018 22:09:49 -0700 (PDT) Received: by smtp.gaspard.ninja (OpenSMTPD) with ESMTP id b8aba6ef; Sat, 20 Oct 2018 05:09:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gaspard.io; h=from :to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=grym-20170528; bh=cSHXdwEfSaKZnZQj Iz9wBoU47Kk=; b=eEXAlKQv9Lx+QPPmNiwbSmeKJg9edYKzV5KQvNlDLMIuFCZJ kS4NWB3K6FGLoyWixWC0+h6frBnlG7PJpME9IpG8VCYQV84m7dYQJK6rum5CvuUf /E7r6JYHH5zaRoO/LXSU12lyDBvewGdrQliqgqC2FpukoxyWreuejerIAA0= Received: by smtp.gaspard.ninja (OpenSMTPD) with ESMTP id faf54802; Sat, 20 Oct 2018 05:09:49 +0000 (UTC) Received: from localhost (llwynog [local]) by llwynog (OpenSMTPD) with ESMTPA id 97a7fdc3; Sat, 20 Oct 2018 05:09:42 +0000 (UTC) From: Leo Gaspard To: Jan Malakhovski , David Bremner , Amin Bandali Cc: notmuch@notmuchmail.org Subject: Re: [BUG] Custom headers in `notmuch-message-headers` are broken In-Reply-To: <87bmautryq.fsf@oxij.org> References: <87muuqsvci.fsf@fencepost.gnu.org> <878t5yy5sf.fsf@tethera.net> <87bmautryq.fsf@oxij.org> Date: Sat, 20 Oct 2018 14:09:42 +0900 Message-ID: <874ldhdx0p.fsf@llwynog.ekleog.org> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Sun, 21 Oct 2018 12:15:59 -0700 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Oct 2018 05:09:52 -0000 (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 :)