Re: [PATCH v4] emacs: logically group def{custom,face}s
[notmuch-archives.git] / 9b / 488d08c4b17b136bd4fa0aaa344ede47dd2ccf
1 Return-Path: <daniel@schoepe.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id A0B0A429E25\r
6         for <notmuch@notmuchmail.org>; Wed, 26 Oct 2011 02:53:19 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.79\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.79 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         RCVD_IN_DNSWL_LOW=-0.7, T_MIME_NO_TEXT=0.01] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id rccZQn8noval for <notmuch@notmuchmail.org>;\r
17         Wed, 26 Oct 2011 02:53:15 -0700 (PDT)\r
18 Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com\r
19         [209.85.161.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 4B8A7431FB6\r
22         for <notmuch@notmuchmail.org>; Wed, 26 Oct 2011 02:53:15 -0700 (PDT)\r
23 Received: by faai28 with SMTP id i28so1509404faa.26\r
24         for <notmuch@notmuchmail.org>; Wed, 26 Oct 2011 02:53:13 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schoepe.org; s=google;\r
26         h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
27         :mime-version:content-type;\r
28         bh=MEUNtj19KDWLeYAtAO3nOUsvNmblvCVtcQ2BKGhwmYg=;\r
29         b=EMW4Zso0DhQBW2kZacRl3ZJPvDHfhHO53nsf3pqqDDfANODcCj5o98+Dbs4H0FWWOm\r
30         kvK8jYhpooCWxqs7t/kiQrl/HD9x4pu+XFonMh0/7FCreNXJcn3wEbC38sjn1puXEcqU\r
31         bQAZFjgvsJlAQtlaerwZy1DJ90BvbTuaB0ZA8=\r
32 Received: by 10.223.14.134 with SMTP id g6mr57904968faa.11.1319622793748;\r
33         Wed, 26 Oct 2011 02:53:13 -0700 (PDT)\r
34 Received: from localhost (dslb-178-004-079-006.pools.arcor-ip.net.\r
35         [178.4.79.6])\r
36         by mx.google.com with ESMTPS id y17sm3154364faa.22.2011.10.26.02.53.11\r
37         (version=TLSv1/SSLv3 cipher=OTHER);\r
38         Wed, 26 Oct 2011 02:53:12 -0700 (PDT)\r
39 From: Daniel Schoepe <daniel@schoepe.org>\r
40 To: Gregor Zattler <telegraph@gmx.net>, notmuch <notmuch@notmuchmail.org>\r
41 Subject: Re: Emacs/bug? additional email headers not shown\r
42 In-Reply-To: <20111023144614.GA21842@shi.workgroup>\r
43 References: <20111023144614.GA21842@shi.workgroup>\r
44 User-Agent: Notmuch/0.9-19-ga25c9a0 (http://notmuchmail.org) Emacs/23.3.1\r
45         (x86_64-pc-linux-gnu)\r
46 Date: Wed, 26 Oct 2011 11:53:04 +0200\r
47 Message-ID: <878vo8f5a7.fsf@gilead.invalid>\r
48 MIME-Version: 1.0\r
49 Content-Type: multipart/signed; boundary="=-=-=";\r
50         micalg=pgp-sha1; protocol="application/pgp-signature"\r
51 X-BeenThere: notmuch@notmuchmail.org\r
52 X-Mailman-Version: 2.1.13\r
53 Precedence: list\r
54 List-Id: "Use and development of the notmuch mail system."\r
55         <notmuch.notmuchmail.org>\r
56 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
58 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
59 List-Post: <mailto:notmuch@notmuchmail.org>\r
60 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
61 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
63 X-List-Received-Date: Wed, 26 Oct 2011 09:53:19 -0000\r
64 \r
65 --=-=-=\r
66 Content-Transfer-Encoding: quoted-printable\r
67 \r
68 On Sun, 23 Oct 2011 16:46:14 +0200, Gregor Zattler <telegraph@gmx.net> wrot=\r
69 e:\r
70 > Hi notmuch users and developers,\r
71 >=20\r
72 > i'd like to see the Message-Id in thread view.  Therefore I\r
73 > customised notmuch-message-headers via the customisation\r
74 > interface like so:\r
75 >=20\r
76 > (notmuch-message-headers (quote ("Received" "Message-Id" "Subject" "To" "=\r
77 Cc" "Date")))\r
78 >=20\r
79 > but I still see the standard headers (Subject To Date) in this\r
80 > order and hitting "h" shows only Subject or Subject To Date.\r
81 >=20\r
82 > Could you please give me a hint how to customise which headers\r
83 > are visible in a notmuch thread view?\r
84 \r
85 Unfortunately the headers you can use there seem to be hardcoded at the\r
86 moment in notmuch-show.c:\r
87 \r
88 > static void\r
89 > format_headers_json (const void *ctx, notmuch_message_t *message)\r
90 > {\r
91 >     const char *headers[] =3D {\r
92 >       "Subject", "From", "To", "Cc", "Bcc", "Date"\r
93 >     };\r
94 \r
95 In order to adress this, I guess one would have to either output all\r
96 headers in notmuch show, which leaves it to the client to choose which\r
97 headers are wanted (which sounds like a good choice to me, since this is\r
98 essentially a UI preference) or add a field to the config file that\r
99 specifies additional headers to be included here.\r
100 \r
101 Cheers,\r
102 Daniel\r
103 \r
104 --=-=-=\r
105 Content-Type: application/pgp-signature\r
106 \r
107 -----BEGIN PGP SIGNATURE-----\r
108 Version: GnuPG v1.4.11 (GNU/Linux)\r
109 \r
110 iQIcBAEBAgAGBQJOp9iAAAoJEIaTAtce+Z+JiKcQAIuQQiIZEEUm5G0ZNiyRKr+h\r
111 dw4oYneQVwwD0b5i+pMxCZurxw7gSUZKByP0i6LXLxOnvS1K0/wfz/+WwsB2+GXl\r
112 Vd1MfAwFs/Akz67tlGe0vGtOXg0XNPMd4g9O7uxFq1ZLooFa8tDg53l/U5M1IAu3\r
113 A8LJ6uSnsBtEJbc2myG3Bja2wSqXKxxcD8W4sCKt5zbD2TNPV4e85ug0MQOQo0by\r
114 n4ve0ezTqmJ6yEi4hQXWEkjmvXa96vNVY7nG38a1Iw24oLVkt/0wFoznLGAwr4mD\r
115 V0czMlaAg/jOVS1djS1O/VXcGTgqAa5vbIP809GJFCaqde9Loyf5XzByJ+FKOSij\r
116 c8GDurgxCunrP1Lm4vHtBcwxmqgn/FndabB2iVn0/hvfGK6LPqgyXXuOwQHX2Hzg\r
117 F3eckxrIbEa7xHSHTuHvPr1ObE5NS2zkWRZpF3MpQLBbUoNZFi+rCpqVkvWcjp92\r
118 eQ6eBfgYYPR27wF33vK5C2Vp1AKl0EolEeDv0AbAnMKJ74tVTtySKICPTo0r8QZk\r
119 pQQkwwkQ/ZWvEPoflNFUrsGKDY70S82cbTQE+5njcOshDcxTbkUKvvhgy3IePo4Y\r
120 YnZDNt1s0YZ2TTsmhIJH2cNEAByem4EtTXkvsMsDrQF82T2zyTjbkYaY1RJmNhBC\r
121 Sal0uej4JQrs+g0gA3FX\r
122 =OlYo\r
123 -----END PGP SIGNATURE-----\r
124 --=-=-=--\r