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 18F336DE0B25 for ; Tue, 26 Dec 2017 04:34:54 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[AWL=0.011, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 cXyJRa6HnCCl for ; Tue, 26 Dec 2017 04:34:52 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id B4E806DE0AE5 for ; Tue, 26 Dec 2017 04:34:52 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1eToRW-0007TM-8l; Tue, 26 Dec 2017 07:34:50 -0500 Received: (nullmailer pid 7908 invoked by uid 1000); Tue, 26 Dec 2017 12:34:49 -0000 From: David Bremner To: Jan Malakhovski , notmuch@notmuchmail.org Subject: Re: [BUG] Custom headers in `notmuch-message-headers` are broken In-Reply-To: <87h8sdemnr.fsf@oxij.org> References: <87h8sdemnr.fsf@oxij.org> Date: Tue, 26 Dec 2017 08:34:49 -0400 Message-ID: <87tvwd3bx2.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 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: Tue, 26 Dec 2017 12:34:54 -0000 Jan Malakhovski writes: > > internally. The latter produces a sexp with > > ``` > :headers (:Subject "" :From "" :To "" :Reply-To "" :Date "") > ``` > > even when the message has many more headers. Yes, you are correct that currently format_headers_sprinter in notmuch-show.c only outputs a fixed set of headers. Unlike indexing new headers, I don't think there's any hidden complexity here, if someone is looking for a project. d