[PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 51 / 328048ad70860bb4b49a5236166caa453ad80c
1 Return-Path: <jani@nikula.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 BC221431FBC\r
6         for <notmuch@notmuchmail.org>; Mon,  3 Dec 2012 14:35:51 -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.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\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 bjZPdu+SDtG3 for <notmuch@notmuchmail.org>;\r
16         Mon,  3 Dec 2012 14:35:51 -0800 (PST)\r
17 Received: from mail-la0-f53.google.com (mail-la0-f53.google.com\r
18         [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id D50F3431FAE\r
21         for <notmuch@notmuchmail.org>; Mon,  3 Dec 2012 14:35:50 -0800 (PST)\r
22 Received: by mail-la0-f53.google.com with SMTP id w12so2826649lag.26\r
23         for <notmuch@notmuchmail.org>; Mon, 03 Dec 2012 14:35:49 -0800 (PST)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25         d=google.com; s=20120113;\r
26         h=from:to:cc:subject:in-reply-to:references:user-agent:date\r
27         :message-id:mime-version:content-type:x-gm-message-state;\r
28         bh=AzDf/g76UAefjoqHgMwh1Dxd469ejr9vgyVfWu2SvTQ=;\r
29         b=geOghk6K48BHHumGg0CbjvkMMe4Mci4xwKxuP4h4Ik6zKXVKHQtjQdh3si0ZVewHCD\r
30         XECeoQekyHL4ipgKYs8eItgeA9DRn1y1EugJeUECvTQBM42yfRjtsX/VUvqxYTvydPSq\r
31         5NzvAoMXA5i+khV2ZKCCPQzwPj1Dub1Yy5ugm30frVN4xYaJhCCviW4dA2sPgkcVMRJ3\r
32         0ygPD6Rq19z8BBdtEMlQM8R6wDwyn8jb6auzwj2lpo0cqZj/nNsf3rS/eedvzzIQp/zd\r
33         51SL/KqlsO5ajcXxHm6sjlV1WOF2g8DoZ4HJ5LcrnUZFzw9LLeyn/VNrmlst5OJCbA3E\r
34         VoBQ==\r
35 Received: by 10.112.47.168 with SMTP id e8mr4998525lbn.46.1354574149323;\r
36         Mon, 03 Dec 2012 14:35:49 -0800 (PST)\r
37 Received: from localhost (dsl-hkibrasgw4-fe51df00-27.dhcp.inet.fi.\r
38         [80.223.81.27])\r
39         by mx.google.com with ESMTPS id ly18sm5886807lab.15.2012.12.03.14.35.47\r
40         (version=SSLv3 cipher=OTHER); Mon, 03 Dec 2012 14:35:48 -0800 (PST)\r
41 From: Jani Nikula <jani@nikula.org>\r
42 To: Austin Clements <amdragon@MIT.EDU>\r
43 Subject: Re: [PATCH 2/2] cli: convert "notmuch new" to the argument parser\r
44 In-Reply-To: <20121203222844.GH1020@mit.edu>\r
45 References:\r
46  <c4f2a1048763950dd14e13c99a4e7eb333be8c9d.1354568072.git.jani@nikula.org>\r
47         <e31ac6b2ceed533f8ac5386a010f4c052e09502e.1354568072.git.jani@nikula.org>\r
48         <20121203222844.GH1020@mit.edu>\r
49 User-Agent: Notmuch/0.14+137~g9203c35 (http://notmuchmail.org) Emacs/23.4.1\r
50         (i686-pc-linux-gnu)\r
51 Date: Tue, 04 Dec 2012 00:35:46 +0200\r
52 Message-ID: <87y5he9325.fsf@nikula.org>\r
53 MIME-Version: 1.0\r
54 Content-Type: text/plain; charset=us-ascii\r
55 X-Gm-Message-State:\r
56  ALoCoQlZeuMIMi8+D+vPtzXryZPG1KT8HI43TKkaOGd4gt2TCYZ1NX4TmOm7G/mF0jl3jcrm9XJa\r
57 Cc: notmuch@notmuchmail.org\r
58 X-BeenThere: notmuch@notmuchmail.org\r
59 X-Mailman-Version: 2.1.13\r
60 Precedence: list\r
61 List-Id: "Use and development of the notmuch mail system."\r
62         <notmuch.notmuchmail.org>\r
63 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
64         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
66 List-Post: <mailto:notmuch@notmuchmail.org>\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
68 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
69         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
70 X-List-Received-Date: Mon, 03 Dec 2012 22:35:51 -0000\r
71 \r
72 On Tue, 04 Dec 2012, Austin Clements <amdragon@MIT.EDU> wrote:\r
73 >> -    argc--; argv++; /* skip subcommand argument */\r
74 >> +    notmuch_opt_desc_t options[] = {\r
75 >> +    { NOTMUCH_OPT_BOOLEAN,  &add_files_state.verbose, "verbose", 'v', 0 },\r
76 >> +    { NOTMUCH_OPT_BOOLEAN,  &add_files_state.debug, "debug", 'd', 0 },\r
77 >> +    { NOTMUCH_OPT_BOOLEAN,  &no_hooks, "no-hooks", 'n', 0 },\r
78 >\r
79 > Not that the single character arguments matter right now, but '-n' is\r
80 > often used for "dry-run", which could actually apply to notmuch new.\r
81 \r
82 Agreed, although I believe we'd have to review all of the single\r
83 character arguments before actually enabling any of them. At least my\r
84 choice of them has been rather whimsical. I'll leave this up to David to\r
85 decide.\r
86 \r
87 BR,\r
88 Jani.\r