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 61B9F6DE0F6A for ; Sun, 10 Nov 2019 12:10:51 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.402 X-Spam-Level: X-Spam-Status: No, score=0.402 tagged_above=-999 required=5 tests=[AWL=-0.250, SPF_NEUTRAL=0.652] 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 88vV718zEsuL for ; Sun, 10 Nov 2019 12:10:50 -0800 (PST) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by arlo.cworth.org (Postfix) with ESMTP id 0DD876DE0F68 for ; Sun, 10 Nov 2019 12:10:49 -0800 (PST) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id 8489E1000B0 for ; Sun, 10 Nov 2019 22:10:45 +0200 (EET) From: Tomi Ollila To: notmuch@notmuchmail.org Subject: Re: [PATCH] Fix format_headers_sprinter to return all headers (v2) In-Reply-To: References: <20191109221358.4349-1-johan.parin@gmail.com> User-Agent: Notmuch/0.28.3+84~g41389bb (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain 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: Sun, 10 Nov 2019 20:10:51 -0000 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 Tomi > > dme. > -- > And you can't hold me down, 'cause I belong to the hurricane.