From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id A0B0A429E25 for ; Wed, 26 Oct 2011 02:53:19 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.79 X-Spam-Level: X-Spam-Status: No, score=-0.79 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, T_MIME_NO_TEXT=0.01] 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 rccZQn8noval for ; Wed, 26 Oct 2011 02:53:15 -0700 (PDT) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 4B8A7431FB6 for ; Wed, 26 Oct 2011 02:53:15 -0700 (PDT) Received: by faai28 with SMTP id i28so1509404faa.26 for ; Wed, 26 Oct 2011 02:53:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schoepe.org; s=google; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type; bh=MEUNtj19KDWLeYAtAO3nOUsvNmblvCVtcQ2BKGhwmYg=; b=EMW4Zso0DhQBW2kZacRl3ZJPvDHfhHO53nsf3pqqDDfANODcCj5o98+Dbs4H0FWWOm kvK8jYhpooCWxqs7t/kiQrl/HD9x4pu+XFonMh0/7FCreNXJcn3wEbC38sjn1puXEcqU bQAZFjgvsJlAQtlaerwZy1DJ90BvbTuaB0ZA8= Received: by 10.223.14.134 with SMTP id g6mr57904968faa.11.1319622793748; Wed, 26 Oct 2011 02:53:13 -0700 (PDT) Received: from localhost (dslb-178-004-079-006.pools.arcor-ip.net. [178.4.79.6]) by mx.google.com with ESMTPS id y17sm3154364faa.22.2011.10.26.02.53.11 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 26 Oct 2011 02:53:12 -0700 (PDT) From: Daniel Schoepe To: Gregor Zattler , notmuch Subject: Re: Emacs/bug? additional email headers not shown In-Reply-To: <20111023144614.GA21842@shi.workgroup> References: <20111023144614.GA21842@shi.workgroup> User-Agent: Notmuch/0.9-19-ga25c9a0 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Wed, 26 Oct 2011 11:53:04 +0200 Message-ID: <878vo8f5a7.fsf@gilead.invalid> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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 09:53:19 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Sun, 23 Oct 2011 16:46:14 +0200, Gregor Zattler wrot= e: > Hi notmuch users and developers, >=20 > i'd like to see the Message-Id in thread view. Therefore I > customised notmuch-message-headers via the customisation > interface like so: >=20 > (notmuch-message-headers (quote ("Received" "Message-Id" "Subject" "To" "= Cc" "Date"))) >=20 > but I still see the standard headers (Subject To Date) in this > order and hitting "h" shows only Subject or Subject To Date. >=20 > 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[] =3D { > "Subject", "From", "To", "Cc", "Bcc", "Date" > }; 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) or add a field to the config file that specifies additional headers to be included here. Cheers, Daniel --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJOp9iAAAoJEIaTAtce+Z+JiKcQAIuQQiIZEEUm5G0ZNiyRKr+h dw4oYneQVwwD0b5i+pMxCZurxw7gSUZKByP0i6LXLxOnvS1K0/wfz/+WwsB2+GXl Vd1MfAwFs/Akz67tlGe0vGtOXg0XNPMd4g9O7uxFq1ZLooFa8tDg53l/U5M1IAu3 A8LJ6uSnsBtEJbc2myG3Bja2wSqXKxxcD8W4sCKt5zbD2TNPV4e85ug0MQOQo0by n4ve0ezTqmJ6yEi4hQXWEkjmvXa96vNVY7nG38a1Iw24oLVkt/0wFoznLGAwr4mD V0czMlaAg/jOVS1djS1O/VXcGTgqAa5vbIP809GJFCaqde9Loyf5XzByJ+FKOSij c8GDurgxCunrP1Lm4vHtBcwxmqgn/FndabB2iVn0/hvfGK6LPqgyXXuOwQHX2Hzg F3eckxrIbEa7xHSHTuHvPr1ObE5NS2zkWRZpF3MpQLBbUoNZFi+rCpqVkvWcjp92 eQ6eBfgYYPR27wF33vK5C2Vp1AKl0EolEeDv0AbAnMKJ74tVTtySKICPTo0r8QZk pQQkwwkQ/ZWvEPoflNFUrsGKDY70S82cbTQE+5njcOshDcxTbkUKvvhgy3IePo4Y YnZDNt1s0YZ2TTsmhIJH2cNEAByem4EtTXkvsMsDrQF82T2zyTjbkYaY1RJmNhBC Sal0uej4JQrs+g0gA3FX =OlYo -----END PGP SIGNATURE----- --=-=-=--