[PATCH v2 03/14] cli/reply: reuse show_reply_headers() in headers-only format
[notmuch-archives.git] / 54 / 1a718e5745029c94d71df84c76a685826f1f3c
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 DE9B6431FB6\r
6         for <notmuch@notmuchmail.org>; Sun, 12 Feb 2012 06:32:00 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.8\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.8 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] 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 94fqzEFsTMEl for <notmuch@notmuchmail.org>;\r
17         Sun, 12 Feb 2012 06:31:59 -0800 (PST)\r
18 Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com\r
19         [209.85.215.181]) (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 A7A38431FAE\r
22         for <notmuch@notmuchmail.org>; Sun, 12 Feb 2012 06:31:59 -0800 (PST)\r
23 Received: by eaak14 with SMTP id k14so2126823eaa.26\r
24         for <notmuch@notmuchmail.org>; Sun, 12 Feb 2012 06:31:57 -0800 (PST)\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=zrmFGdaiEosfW50ta3fH19vEaOGxA0p8SiaAowGgkEQ=;\r
29         b=YFnG8wWQKhH/0dwSHoJsXy+zRPmV9xCI4vjMGKGhEpWbLAOPjNTYLAmei2g/WkW/kd\r
30         ZRx4DgtUeEYg6O6o5hkU3c+CIwUx4iso8PSViUksrDhlkSROt/TgeDhbLyC5GvwhkNYg\r
31         cGWY0RN3bN2LOb3DkgwS9JKWuK7iBV5assxyo=\r
32 Received: by 10.213.19.130 with SMTP id a2mr2216711ebb.148.1329057116835;\r
33         Sun, 12 Feb 2012 06:31:56 -0800 (PST)\r
34 Received: from localhost (dslb-088-069-141-163.pools.arcor-ip.net.\r
35         [88.69.141.163])\r
36         by mx.google.com with ESMTPS id o49sm49321230eei.0.2012.02.12.06.31.55\r
37         (version=TLSv1/SSLv3 cipher=OTHER);\r
38         Sun, 12 Feb 2012 06:31:56 -0800 (PST)\r
39 From: Daniel Schoepe <daniel@schoepe.org>\r
40 To: <notmuch@notmuchmail.org>\r
41 Subject: Re: RFC notmuch-pick: an emacs threaded message view with split-pane\r
42 In-Reply-To: <87d39k1gvi.fsf@qmul.ac.uk>\r
43 References: <87d39k1gvi.fsf@qmul.ac.uk> <87ehu0cf16.fsf@schoepe.localhost>\r
44 User-Agent: Notmuch/0.11.1+180~g5d5a693 (http://notmuchmail.org)\r
45         Emacs/24.0.93.1 (x86_64-pc-linux-gnu)\r
46 Date: Sun, 12 Feb 2012 15:31:46 +0100\r
47 Message-ID: <878vk8cect.fsf@schoepe.localhost>\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-Gm-Message-State:\r
52  ALoCoQnMIN2MzK65/myX2KHPNVkSuMwBwWCoZtfHTXOUNdo7t/Jb9o0LZfSRGD6y3IyKZFPgyL3F\r
53 X-BeenThere: notmuch@notmuchmail.org\r
54 X-Mailman-Version: 2.1.13\r
55 Precedence: list\r
56 List-Id: "Use and development of the notmuch mail system."\r
57         <notmuch.notmuchmail.org>\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
61 List-Post: <mailto:notmuch@notmuchmail.org>\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
64         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
65 X-List-Received-Date: Sun, 12 Feb 2012 14:32:01 -0000\r
66 \r
67 --=-=-=\r
68 Content-Type: text/plain\r
69 Content-Transfer-Encoding: quoted-printable\r
70 \r
71 Forgot to reply to the list....\r
72 \r
73 On Sun, 12 Feb 2012 10:32:48 +0000, Mark Walters <markwalters1009@gmail.com=\r
74 > wrote:\r
75 > Questions/thoughts and known bugs:\r
76 >=20\r
77 > Do people like the rough idea?=20\r
78 \r
79 I think it's a great idea. What I find especially nice about this, is\r
80 that it works for both, just showing the structure of one thread and the\r
81 traditional all-messages-matching-a-search view. I've actually rebound\r
82 <return> in notmuch-search to this and it works great so far:\r
83 \r
84 (defun notmuch-search-pick ()\r
85   "Show the selected thread with notmuch-pick"\r
86   (interactive)\r
87   (notmuch-pick (notmuch-search-find-thread-id)\r
88                 notmuch-search-query-string\r
89                 (notmuch-prettify-subject (notmuch-search-find-subject)))\r
90   (unless (notmuch-pick-get-match)\r
91     (notmuch-pick-next-message))\r
92   (notmuch-pick-show-message))\r
93 \r
94 > At the moment there is some shared code with notmuch-show.el. This could\r
95 > be factored out: however, while this pick mode is WIP I don't think it\r
96 > is worth it. I have tried to keep the impact on the current parts of the\r
97 > emacs code and the command line interface fairly small.\r
98 >=20\r
99 > I will send the patches as 3 bits: one is the command-line support\r
100 > needed (i.e. changes to notmuch-show.c) one is the changes to the other\r
101 > emacs files and the final one is the notmuch-pick.el file itself.\r
102 >=20\r
103 > There are some things that need fixing: some of which are marked in the\r
104 > code. For example the highlighting (lowlighting?) of non-matching\r
105 > messages is hard-wired gray and should be a defcustom. The tags are not\r
106 > in a nice tag face and do not update automatically. There should be an\r
107 > option not to use the split-screen mode.\r
108 \r
109 Yeah, the hardcoded "black" is also pretty annoying if one uses a\r
110 black background. :)\r
111 I'll send a patch fixing that later.\r
112 \r
113 > Anyway I am already finding it useful: show a long thread, press 'Z' to\r
114 > see the thread structure nicely and then ...\r
115 \r
116 Yeah, that's basically my main use case, as I don't like dozens of\r
117 messages of the same thread cluttering up all the search results\r
118 (e.g. for tag:notmuch).\r
119 \r
120 Thanks for the great work David and Mark, I've really been looking\r
121 forward to something that makes my half-baked attempt at thread\r
122 outlining [1] obsolete. :)\r
123 \r
124 [1] id:"1324082126-25404-1-git-send-email-daniel@schoepe.org"\r
125 \r
126 Cheers,\r
127 Daniel\r
128 \r
129 --=-=-=\r
130 Content-Type: application/pgp-signature\r
131 \r
132 -----BEGIN PGP SIGNATURE-----\r
133 Version: GnuPG v1.4.11 (GNU/Linux)\r
134 \r
135 iQIcBAEBAgAGBQJPN81SAAoJEIaTAtce+Z+JrhwQAI1mwOtkSWFfS3lLM+kSqnBm\r
136 C8rT7NVBrDYoKMK4v1xA0AV2nGQl+Qw+fkQlmec4FwmaajJHMSCO2RMXBzIE8kwu\r
137 un1LPPeawM051yHq0uquY9CSrBMII3dOxa4qwR6noa+Syd8MBP6bgHFlDCAlpSg4\r
138 ZPyndlJ2vGHAj/cLdAiq3zbO15s8/3F7fYkRCOiP90/fK1aPfco8tTnZy8DcpZw7\r
139 /5mtqeG3BoeJKAoLaIkXcG+u/wPW9RYGst/Th1cbntnLNyfC2lZeVNkh37jxAYMa\r
140 lT2dOc3X0UXaqzeowFY0+QJUwVLeItU3XvYluLvtkHc8iVn1JIYBBynEgJNTM0An\r
141 pITawmpaQPjCAUF4kYmvw1VvSaHcZwsUzNHtGXUqPPvGnJa9Fgqhx11UpmuMs0Q7\r
142 0971bnLQ6Drh24/I0NNHqC4ZZlY3MJuvFObe95yGkBQ1Pns2BWWDFYdE/VPUimFj\r
143 OugITtDIU1QtDuVja1xofh0IwEqnvOmMsr7gbp7FBRY0y+4QLk1bsz2qwh1UWovb\r
144 TrfbOY2nQlmMFEx/VoBTx+xbl8rbUrDPAp/QJ3bSnADEAUqgzqOHn+ncS54Wqr7d\r
145 9k4VXzYy7ufcMg83hxbb81IXTUgWutJ7Vw/ZuqQrCnDxjuzx3JkebcK1fXcgKCFq\r
146 6VnYbl/iTi3trCgdGeu5\r
147 =InYV\r
148 -----END PGP SIGNATURE-----\r
149 --=-=-=--\r