Re: [PATCH] add has: query prefix to search for specific properties
[notmuch-archives.git] / ed / 94bd64aa0535bcacec1f5fcf198ec988c0e9c5
1 Return-Path: <patricktotzke@gmail.com>\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 23C63431FBD\r
6         for <notmuch@notmuchmail.org>; Sun,  5 May 2013 14:22:56 -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.799\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_FROM=0.001, 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 0hiKRaFue74T for <notmuch@notmuchmail.org>;\r
17         Sun,  5 May 2013 14:22:50 -0700 (PDT)\r
18 Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com\r
19         [209.85.212.175]) (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 6AA1C431FAE\r
22         for <notmuch@notmuchmail.org>; Sun,  5 May 2013 14:22:50 -0700 (PDT)\r
23 Received: by mail-wi0-f175.google.com with SMTP id h11so2004262wiv.2\r
24         for <notmuch@notmuchmail.org>; Sun, 05 May 2013 14:22:47 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
26         h=x-received:content-type:mime-version:content-disposition:to\r
27         :message-id:from:user-agent:subject:date;\r
28         bh=/orZukd//0tucQ5/gtLbv3y3xc5XTymDMfRWxrCCiZM=;\r
29         b=s+4bLTc3SCPNlMba1+o4TYjBbLM+RSVVbALoAwQ63yt47ezbt17s4XiXVaGlEdgXlo\r
30         L3/CqlVPBsfW1ZD2t+sCM+UnjORhBhVRwihHiG01KK/uaI6yvH9uSc9zllSCF09OWVkp\r
31         1dANcpHkDF7f2feuwU6MvF0wl2letWlDH4kLgW13eJ7WtZfd0dfjzriWn3qgAotjJgQK\r
32         t8SrLo+4oZV+SHE4Ezkvq6Ehh2FOTXh/nKCRxIFY99sO10/A2u5k2hTUdtbdFhFKEwDr\r
33         lGE1v11vryyIzgj0BOg90Se+wqMiXTh17smpQAo7GigEXVf9t87BKv0QuIGxq/gJNiI1\r
34         mlfA==\r
35 X-Received: by 10.180.206.204 with SMTP id lq12mr5808741wic.30.1367788967815; \r
36         Sun, 05 May 2013 14:22:47 -0700 (PDT)\r
37 Received: from localhost (cpc14-sgyl28-2-0-cust332.18-2.cable.virginmedia.com.\r
38         [82.39.85.77])\r
39         by mx.google.com with ESMTPSA id m13sm3737860wiw.7.2013.05.05.14.22.46\r
40         for <notmuch@notmuchmail.org>\r
41         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
42         Sun, 05 May 2013 14:22:47 -0700 (PDT)\r
43 Content-Type: multipart/signed; protocol="application/pgp-signature";\r
44         micalg="pgp-sha1"; boundary="===============6540599420040082609=="\r
45 MIME-Version: 1.0\r
46 Content-Disposition: inline\r
47 To: notmuch@notmuchmail.org\r
48 Message-ID: <20130505212244.13465.1871@brick>\r
49 From: Patrick Totzke <patricktotzke@gmail.com>\r
50 User-Agent: alot/0.3.4\r
51 Subject: [CLI] bug in notmuch setup\r
52 Date: Sun, 05 May 2013 22:22:44 +0100\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, 05 May 2013 21:22:56 -0000\r
66 \r
67 --===============6540599420040082609==\r
68 Content-Type: text/plain; charset="utf-8"\r
69 MIME-Version: 1.0\r
70 Content-Transfer-Encoding: quoted-printable\r
71 \r
72 Hi all,\r
73 \r
74 As mentioned on IRC earlier, current master seems to have an issue with `no=\r
75 tmuch setup`,\r
76 which fails to write ~/.notmuch-config if not already present.\r
77 \r
78 Here are excerpts from the discussion from #notmuch:\r
79 --------------------------------------%<-----------------------------------=\r
80 ----\r
81 19:08:29 <pazz> i have no notmuch config so far. when i run `notmuch` i get=\r
82  questioned about my name and so forth. =\r
83 \r
84                 then:\r
85 19:08:31 <pazz> Error canonicalizing /home/pazz/.notmuch-config: No such fi=\r
86 le or directory\r
87 19:14:01 <bremner> it could also be a bug. There was some change recently t=\r
88 o avoid overwriting symlinks with files.\r
89 19:15:29 <bremner> pazz: I think you found a bug. try "touch .notmuch-confi=\r
90 g" and run notmuch-setup again.\r
91 19:21:54 <pazz> bremner: i'm a little confused because i thought i'd done t=\r
92 hat already. anyway: notmuch setup =\r
93 \r
94                 fails iff there is no ~/.notmuch-config present.\r
95 19:22:38 <pazz> if there is an empty file notmuch setup runs ok, exit code =\r
96 is 0 and the file gets overwritten\r
97 ...\r
98 19:43:55 <Domo_> Error canonicalizing /home/too/.notmuch-config: No such fi=\r
99 le or directory\r
100 19:46:52 <Domo_> apparently realpath(3) fails in case there is no such file=\r
101  ;/\r
102 19:50:50 <pazz> forgot to mention: i'm on 0.15.2+85~g44fe1f2d\r
103 19:52:55 <bremner> yeah, the offending patch is +79, I think\r
104 19:53:25 <Domo_> the reason is obvious .. notmuch_config_save() executes   =\r
105   filename =3D realpath\r
106                  (config->filename, NULL);\r
107 19:53:53 <Domo_> maybe just additionally checking for ENOENT could fix that=\r
108 ...\r
109 19:57:20 <bremner> sounds plausible. Have to double check we are not relyin=\r
110 g on some implicit re-allocation by =\r
111 \r
112                    realpath.\r
113 19:58:41 <Domo_> true: free (filename) needs not to be done in case realpat=\r
114 h() fails with ENOENT\r
115 \r
116 -------------------------------------->%-----------------------------------=\r
117 ----\r
118 \r
119 Best,\r
120 /p\r
121 \r
122 --===============6540599420040082609==\r
123 MIME-Version: 1.0\r
124 Content-Transfer-Encoding: 7bit\r
125 Content-Description: signature\r
126 Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"\r
127 \r
128 -----BEGIN PGP SIGNATURE-----\r
129 Version: GnuPG v1.4.12 (GNU/Linux)\r
130 \r
131 iEYEABECAAYFAlGGzaQACgkQlDQDZ9fWxar2/QCfR9GUqp/LTmf+oFOhgrdlAyRO\r
132 OkIAoJQGpZssIzRgckeBzybQ+xorHZuy\r
133 =doKC\r
134 -----END PGP SIGNATURE-----\r
135 \r
136 --===============6540599420040082609==--\r