Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / aa / 3caedac06148870fb9352cd7f8e9338580ffee
1 Return-Path: <bremner@pivot.cs.unb.ca>\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 C1D1C4196F2\r
6         for <notmuch@notmuchmail.org>; Sat, 24 Apr 2010 04:45:16 -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.001\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5\r
12         tests=[BAYES_20=-0.001] autolearn=ham\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id yiOSGJTUpZ0k for <notmuch@notmuchmail.org>;\r
16         Sat, 24 Apr 2010 04:45:15 -0700 (PDT)\r
17 Received: from pivot.cs.unb.ca (pivot.cs.unb.ca [131.202.240.57])\r
18         by olra.theworths.org (Postfix) with ESMTP id C023D431FC1\r
19         for <notmuch@notmuchmail.org>; Sat, 24 Apr 2010 04:45:15 -0700 (PDT)\r
20 Received: from\r
21         fctnnbsc30w-142167190087.pppoe-dynamic.high-speed.nb.bellaliant.net\r
22         ([142.167.190.87] helo=rocinante.cs.unb.ca)\r
23         by pivot.cs.unb.ca with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32)\r
24         (Exim 4.69) (envelope-from <bremner@pivot.cs.unb.ca>)\r
25         id 1O5dnO-00030e-Lr\r
26         for notmuch@notmuchmail.org; Sat, 24 Apr 2010 08:45:15 -0300\r
27 Received: from bremner by rocinante.cs.unb.ca with local (Exim 4.71)\r
28         (envelope-from <bremner@rocinante.cs.unb.ca>) id 1O5dms-0005QR-9e\r
29         for notmuch@notmuchmail.org; Sat, 24 Apr 2010 08:44:42 -0300\r
30 From: david@tethera.net\r
31 To: notmuch@notmuchmail.org\r
32 Subject: Initial support for selecting what is output\r
33 Date: Sat, 24 Apr 2010 08:44:35 -0300\r
34 Message-Id: <1272109478-20686-1-git-send-email-david@tethera.net>\r
35 X-Mailer: git-send-email 1.7.0\r
36 X-Sender-Verified: bremner@pivot.cs.unb.ca\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.13\r
39 Precedence: list\r
40 List-Id: "Use and development of the notmuch mail system."\r
41         <notmuch.notmuchmail.org>\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
45 List-Post: <mailto:notmuch@notmuchmail.org>\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
49 X-List-Received-Date: Sat, 24 Apr 2010 11:45:16 -0000\r
50 \r
51 These are some preliminary patches to add a --output argument to\r
52 notmuch show.\r
53 \r
54         notmuch show --format=json --output=from,subject ${query}\r
55 \r
56 or\r
57 \r
58         notmuch show --format=json --output=to,body ${query}\r
59 \r
60 I'd like to implement a bit finer control (to get message-id's only is\r
61 not possible right now), and it needs documentation and a test, but I\r
62 thought I'd toss this out there to see what people think.\r
63 \r