Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / 42 / b4c2d050550b876399ca2a1a43108946e57712
1 Return-Path: <tomi.ollila@iki.fi>\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 55A6E41ED82\r
6         for <notmuch@notmuchmail.org>; Mon, 30 Jan 2012 06:04:43 -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\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 JFkt6H3TGyzP for <notmuch@notmuchmail.org>;\r
16         Mon, 30 Jan 2012 06:04:42 -0800 (PST)\r
17 Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])\r
18         by olra.theworths.org (Postfix) with ESMTP id 1CC2041ED81\r
19         for <notmuch@notmuchmail.org>; Mon, 30 Jan 2012 06:04:41 -0800 (PST)\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
21         id 765E268056; Mon, 30 Jan 2012 16:04:42 +0200 (EET)\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>\r
23 To: Allan Wind <allan_wind@lifeintegrity.com>, notmuch@notmuchmail.org\r
24 Subject: Re: [PATCH] lib: update notmuch_tags_get examle to reflect api change\r
25 In-Reply-To: <1327932153-22088-1-git-send-email-allan_wind@lifeintegrity.com>\r
26 References: <1327932153-22088-1-git-send-email-allan_wind@lifeintegrity.com>\r
27 User-Agent: Notmuch/0.11+129~g3b527ae (http://notmuchmail.org) Emacs/23.3.1\r
28         (x86_64-unknown-linux-gnu)\r
29 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
30         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
31         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
32 Date: Mon, 30 Jan 2012 16:04:42 +0200\r
33 Message-ID: <m2ehuh9thh.fsf@guru.guru-group.fi>\r
34 MIME-Version: 1.0\r
35 Content-Type: text/plain; charset=us-ascii\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.13\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40         <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
42         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Mon, 30 Jan 2012 14:04:43 -0000\r
49 \r
50 On Mon, 30 Jan 2012 09:02:33 -0500, Allan Wind <allan_wind@lifeintegrity.com> wrote:\r
51 > The function notmuch_database_find_message_by_filename now requires a\r
52 > notmuch_message_t and returns a notmuch_status_t.  This\r
53 > change was introduced with 02a3076711, LIBNOTMUCH_VERSION_MAJOR = 2,\r
54 > version 0.9.\r
55 > ---\r
56 > + *     status = notmuch_database_find_message (database, message_id, &message);\r
57 > + *     if(!status && message) {\r
58 > + *          for (tags = notmuch_message_get_tags (message);\r
59 \r
60 Space betweem 'if' and '('  missing.\r
61 \r
62 Tomi\r