Re: Emacs/bug? additional email headers not shown
authorDaniel Schoepe <daniel@schoepe.org>
Wed, 26 Oct 2011 09:53:04 +0000 (11:53 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:46 +0000 (09:39 -0800)
9b/488d08c4b17b136bd4fa0aaa344ede47dd2ccf [new file with mode: 0644]

diff --git a/9b/488d08c4b17b136bd4fa0aaa344ede47dd2ccf b/9b/488d08c4b17b136bd4fa0aaa344ede47dd2ccf
new file mode 100644 (file)
index 0000000..ad12435
--- /dev/null
@@ -0,0 +1,124 @@
+Return-Path: <daniel@schoepe.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id A0B0A429E25\r
+       for <notmuch@notmuchmail.org>; Wed, 26 Oct 2011 02:53:19 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.79\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.79 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       RCVD_IN_DNSWL_LOW=-0.7, T_MIME_NO_TEXT=0.01] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id rccZQn8noval for <notmuch@notmuchmail.org>;\r
+       Wed, 26 Oct 2011 02:53:15 -0700 (PDT)\r
+Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com\r
+       [209.85.161.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 4B8A7431FB6\r
+       for <notmuch@notmuchmail.org>; Wed, 26 Oct 2011 02:53:15 -0700 (PDT)\r
+Received: by faai28 with SMTP id i28so1509404faa.26\r
+       for <notmuch@notmuchmail.org>; Wed, 26 Oct 2011 02:53:13 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schoepe.org; s=google;\r
+       h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
+       :mime-version:content-type;\r
+       bh=MEUNtj19KDWLeYAtAO3nOUsvNmblvCVtcQ2BKGhwmYg=;\r
+       b=EMW4Zso0DhQBW2kZacRl3ZJPvDHfhHO53nsf3pqqDDfANODcCj5o98+Dbs4H0FWWOm\r
+       kvK8jYhpooCWxqs7t/kiQrl/HD9x4pu+XFonMh0/7FCreNXJcn3wEbC38sjn1puXEcqU\r
+       bQAZFjgvsJlAQtlaerwZy1DJ90BvbTuaB0ZA8=\r
+Received: by 10.223.14.134 with SMTP id g6mr57904968faa.11.1319622793748;\r
+       Wed, 26 Oct 2011 02:53:13 -0700 (PDT)\r
+Received: from localhost (dslb-178-004-079-006.pools.arcor-ip.net.\r
+       [178.4.79.6])\r
+       by mx.google.com with ESMTPS id y17sm3154364faa.22.2011.10.26.02.53.11\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Wed, 26 Oct 2011 02:53:12 -0700 (PDT)\r
+From: Daniel Schoepe <daniel@schoepe.org>\r
+To: Gregor Zattler <telegraph@gmx.net>, notmuch <notmuch@notmuchmail.org>\r
+Subject: Re: Emacs/bug? additional email headers not shown\r
+In-Reply-To: <20111023144614.GA21842@shi.workgroup>\r
+References: <20111023144614.GA21842@shi.workgroup>\r
+User-Agent: Notmuch/0.9-19-ga25c9a0 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Wed, 26 Oct 2011 11:53:04 +0200\r
+Message-ID: <878vo8f5a7.fsf@gilead.invalid>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 26 Oct 2011 09:53:19 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Sun, 23 Oct 2011 16:46:14 +0200, Gregor Zattler <telegraph@gmx.net> wrot=\r
+e:\r
+> Hi notmuch users and developers,\r
+>=20\r
+> i'd like to see the Message-Id in thread view.  Therefore I\r
+> customised notmuch-message-headers via the customisation\r
+> interface like so:\r
+>=20\r
+> (notmuch-message-headers (quote ("Received" "Message-Id" "Subject" "To" "=\r
+Cc" "Date")))\r
+>=20\r
+> but I still see the standard headers (Subject To Date) in this\r
+> order and hitting "h" shows only Subject or Subject To Date.\r
+>=20\r
+> Could you please give me a hint how to customise which headers\r
+> are visible in a notmuch thread view?\r
+\r
+Unfortunately the headers you can use there seem to be hardcoded at the\r
+moment in notmuch-show.c:\r
+\r
+> static void\r
+> format_headers_json (const void *ctx, notmuch_message_t *message)\r
+> {\r
+>     const char *headers[] =3D {\r
+>      "Subject", "From", "To", "Cc", "Bcc", "Date"\r
+>     };\r
+\r
+In order to adress this, I guess one would have to either output all\r
+headers in notmuch show, which leaves it to the client to choose which\r
+headers are wanted (which sounds like a good choice to me, since this is\r
+essentially a UI preference) or add a field to the config file that\r
+specifies additional headers to be included here.\r
+\r
+Cheers,\r
+Daniel\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iQIcBAEBAgAGBQJOp9iAAAoJEIaTAtce+Z+JiKcQAIuQQiIZEEUm5G0ZNiyRKr+h\r
+dw4oYneQVwwD0b5i+pMxCZurxw7gSUZKByP0i6LXLxOnvS1K0/wfz/+WwsB2+GXl\r
+Vd1MfAwFs/Akz67tlGe0vGtOXg0XNPMd4g9O7uxFq1ZLooFa8tDg53l/U5M1IAu3\r
+A8LJ6uSnsBtEJbc2myG3Bja2wSqXKxxcD8W4sCKt5zbD2TNPV4e85ug0MQOQo0by\r
+n4ve0ezTqmJ6yEi4hQXWEkjmvXa96vNVY7nG38a1Iw24oLVkt/0wFoznLGAwr4mD\r
+V0czMlaAg/jOVS1djS1O/VXcGTgqAa5vbIP809GJFCaqde9Loyf5XzByJ+FKOSij\r
+c8GDurgxCunrP1Lm4vHtBcwxmqgn/FndabB2iVn0/hvfGK6LPqgyXXuOwQHX2Hzg\r
+F3eckxrIbEa7xHSHTuHvPr1ObE5NS2zkWRZpF3MpQLBbUoNZFi+rCpqVkvWcjp92\r
+eQ6eBfgYYPR27wF33vK5C2Vp1AKl0EolEeDv0AbAnMKJ74tVTtySKICPTo0r8QZk\r
+pQQkwwkQ/ZWvEPoflNFUrsGKDY70S82cbTQE+5njcOshDcxTbkUKvvhgy3IePo4Y\r
+YnZDNt1s0YZ2TTsmhIJH2cNEAByem4EtTXkvsMsDrQF82T2zyTjbkYaY1RJmNhBC\r
+Sal0uej4JQrs+g0gA3FX\r
+=OlYo\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r