Re: [PATCH v4 01/16] add util/search-path.{c, h} to test for executables in $PATH
[notmuch-archives.git] / d4 / 7ea5259cce7cb2c52334bf40c55a55282c50f6
1 Return-Path: <meskio@sindominio.net>\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 99939431FAE\r
6         for <notmuch@notmuchmail.org>; Wed,  9 Dec 2009 14:21:11 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id EeggJlupw1rM for <notmuch@notmuchmail.org>;\r
11         Wed,  9 Dec 2009 14:21:10 -0800 (PST)\r
12 Received: from flatline.sindominio.net (flatline.sindominio.net [82.144.4.26])\r
13         by olra.theworths.org (Postfix) with ESMTP id 669B0431FBC\r
14         for <notmuch@notmuchmail.org>; Wed,  9 Dec 2009 14:21:10 -0800 (PST)\r
15 Received: from localhost (localhost.localdomain [127.0.0.1])\r
16         by flatline.sindominio.net (Postfix) with ESMTP id EB40E262A7C;\r
17         Wed,  9 Dec 2009 23:21:08 +0100 (CET)\r
18 X-Virus-Scanned: Debian amavisd-new at sindominio.net\r
19 Received: from flatline.sindominio.net ([127.0.0.1])\r
20         by localhost (flatline.sindominio.net [127.0.0.1]) (amavisd-new,\r
21         port 10024)\r
22         with ESMTP id Fyjj7kfinbo6; Wed,  9 Dec 2009 23:21:06 +0100 (CET)\r
23 Received: from blackspot (heal.cauterized.net [62.101.176.164])\r
24         by flatline.sindominio.net (Postfix) with ESMTPA id B816C262A0A;\r
25         Wed,  9 Dec 2009 23:21:03 +0100 (CET)\r
26 Received: by blackspot (Postfix, from userid 1000)\r
27         id 845468BC30; Wed,  9 Dec 2009 23:01:33 +0100 (CET)\r
28 Date: Wed, 9 Dec 2009 23:01:33 +0100\r
29 From: Ruben Pollan <meskio@sindominio.net>\r
30 To: Carl Worth <cworth@cworth.org>\r
31 Message-ID: <20091209220133.GA10685@blackspot>\r
32 References: <20091126202347.GA16654@blackspot>\r
33         <1260364206-344-1-git-send-email-meskio@sindominio.net>\r
34         <20091209132446.GC23878@blackspot>\r
35         <877hsv6hbo.fsf@yoom.home.cworth.org>\r
36 MIME-Version: 1.0\r
37 Content-Type: multipart/signed; micalg=pgp-sha1;\r
38         protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp"\r
39 Content-Disposition: inline\r
40 In-Reply-To: <877hsv6hbo.fsf@yoom.home.cworth.org>\r
41 User-Agent: Mutt/1.5.20 (2009-06-14)\r
42 Cc: notmuch@notmuchmail.org\r
43 Subject: Re: [notmuch] [PATCH] Added regress option to tags iterator\r
44 X-BeenThere: notmuch@notmuchmail.org\r
45 X-Mailman-Version: 2.1.12\r
46 Precedence: list\r
47 List-Id: "Use and development of the notmuch mail system."\r
48         <notmuch.notmuchmail.org>\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
52 List-Post: <mailto:notmuch@notmuchmail.org>\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
56 X-List-Received-Date: Wed, 09 Dec 2009 22:21:11 -0000\r
57 \r
58 \r
59 --LQksG6bCIzRHxTLp\r
60 Content-Type: text/plain; charset=iso-8859-1\r
61 Content-Disposition: inline\r
62 Content-Transfer-Encoding: quoted-printable\r
63 \r
64 On 12:08, Wed 09 Dec 09, Carl Worth wrote:\r
65 > On Wed, 9 Dec 2009 14:24:46 +0100, Ruben Pollan <meskio@sindominio.net> w=\r
66 rote:\r
67 > > Do you like to call them regress? Should I change that?\r
68 >=20\r
69 > I don't love the name, (since it's so close to the word "regression"\r
70 > which has a totally different meaning in software context). But I also\r
71 > don't have an immediate suggestion for an improved name yet either.\r
72 \r
73 Me neither, but as I don't have any better idea I just use regress. But we =\r
74 can\r
75 try to come up with something better.\r
76 \r
77 >=20\r
78 > > What about the functions notmuch_*_is_first? Is kind of reversed logic =\r
79 than\r
80 > > notmuch_*_has_more, the last are true when is not reach the limit but t=\r
81 he\r
82 > > first ones are true when the limit is reached. But I think it make sens=\r
83 e like\r
84 > > that.\r
85 >=20\r
86 > I'd like a more symmetric API here. Anyone have a favorite set of names\r
87 > for iterating a list in two directions?\r
88 \r
89 Yes, but actually are a bit different somehow. When you advance the last\r
90 iterator you can reach is a non-valid (outside the list) iterator. When you\r
91 'regress' the iterator at the end is a valid iterator, I don't see the need=\r
92  on\r
93 get outside of the list like with advance.\r
94 \r
95 So, maybe because of it have sense the functions notmuch_*_is_first. Anyway=\r
96  I\r
97 really don't mind, one or other. To change it is trivial. It's harder to fi=\r
98 nd a\r
99 good pair of names.\r
100 \r
101 \r
102 \r
103 \r
104 --=20\r
105 Rub=E9n Poll=E1n  | jabber:meskio@jabber.org\r
106 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=\r
107 =3D-=3D-=3D-=3D-=3D-\r
108    La felicidad no es hacer lo que deseas\r
109          es desear lo que haces.\r
110 \r
111 \r
112 --LQksG6bCIzRHxTLp\r
113 Content-Type: application/pgp-signature; name="signature.asc"\r
114 Content-Description: Digital signature\r
115 Content-Disposition: inline\r
116 \r
117 -----BEGIN PGP SIGNATURE-----\r
118 Version: GnuPG v1.4.10 (GNU/Linux)\r
119 \r
120 iEYEARECAAYFAksgHj0ACgkQGKOQ92SwNMIFZACdF5StCNoCOVd3n9I57tIUoMeU\r
121 DDQAoIhqZ5pwmAnBjvi0Z4q73w1okU+0\r
122 =7Jpt\r
123 -----END PGP SIGNATURE-----\r
124 \r
125 --LQksG6bCIzRHxTLp--\r