Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 8C51F429E21 for ; Wed, 26 Oct 2011 12:09:06 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jDCrJzIRJ-HO for ; Wed, 26 Oct 2011 12:09:06 -0700 (PDT) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by olra.theworths.org (Postfix) with SMTP id AA91D431FB6 for ; Wed, 26 Oct 2011 12:09:05 -0700 (PDT) Received: (qmail invoked by alias); 26 Oct 2011 19:09:04 -0000 Received: from p54BE22DE.dip.t-dialin.net (EHLO shi.workgroup) [84.190.34.222] by mail.gmx.net (mp016) with SMTP; 26 Oct 2011 21:09:04 +0200 X-Authenticated: #19296480 X-Provags-ID: V01U2FsdGVkX19NqqRj7xxNPjzI4FVXW7qeZA6jPTkZ7W5tJLJ/PI ve4uc6Egxd1rvA Received: from grfz by shi.workgroup with local (Exim 4.77) (envelope-from ) id 1RJ8qE-0006S4-2e; Wed, 26 Oct 2011 21:08:46 +0200 Date: Wed, 26 Oct 2011 21:08:26 +0200 From: Gregor Zattler To: notmuch Subject: Re: Emacs/bug? additional email headers not shown Message-ID: <20111026190825.GC4997@shi.workgroup> Mail-Followup-To: notmuch References: <20111023144614.GA21842@shi.workgroup> <878vo8f5a7.fsf@gilead.invalid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <878vo8f5a7.fsf@gilead.invalid> User-Agent: Mutt/1.5.21 (2010-09-15) X-Y-GMX-Trusted: 0 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Wed, 26 Oct 2011 19:09:06 -0000 Hi Daniel, * Daniel Schoepe [26. Oct. 2011]: > On Sun, 23 Oct 2011 16:46:14 +0200, Gregor Zattler wrote: >> Could you please give me a hint how to customise which headers >> are visible in a notmuch thread view? > > Unfortunately the headers you can use there seem to be hardcoded at the > moment in notmuch-show.c: > >> static void >> format_headers_json (const void *ctx, notmuch_message_t *message) >> { >> const char *headers[] = { >> "Subject", "From", "To", "Cc", "Bcc", "Date" >> }; Thanx for this explanation. > In order to adress this, I guess one would have to either output all > headers in notmuch show, which leaves it to the client to choose which > headers are wanted (which sounds like a good choice to me, since this is > essentially a UI preference) me too :-) Ciao; gregor