Re: [notmuch] [PATCH] Added regress option to tags iterator
[notmuch-archives.git] / 3f / ad44d882582eedade2563f7e4195db3c34d8ca
1 Return-Path: <cworth@cworth.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 9DD73431FBD;\r
6         Wed,  9 Dec 2009 12:08:50 -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 jccipYxrtxwI; Wed,  9 Dec 2009 12:08:50 -0800 (PST)\r
11 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
12         by olra.theworths.org (Postfix) with ESMTP id F0B12431FAE;\r
13         Wed,  9 Dec 2009 12:08:49 -0800 (PST)\r
14 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
15         id 8D8512542FD; Wed,  9 Dec 2009 12:08:49 -0800 (PST)\r
16 From: Carl Worth <cworth@cworth.org>\r
17 To: Ruben Pollan <meskio@sindominio.net>, notmuch@notmuchmail.org\r
18 In-Reply-To: <20091209132446.GC23878@blackspot>\r
19 References: <20091126202347.GA16654@blackspot>\r
20         <1260364206-344-1-git-send-email-meskio@sindominio.net>\r
21         <20091209132446.GC23878@blackspot>\r
22 Date: Wed, 09 Dec 2009 12:08:43 -0800\r
23 Message-ID: <877hsv6hbo.fsf@yoom.home.cworth.org>\r
24 MIME-Version: 1.0\r
25 Content-Type: multipart/signed; boundary="=-=-=";\r
26         micalg=pgp-sha1; protocol="application/pgp-signature"\r
27 Subject: Re: [notmuch] [PATCH] Added regress option to tags iterator\r
28 X-BeenThere: notmuch@notmuchmail.org\r
29 X-Mailman-Version: 2.1.12\r
30 Precedence: list\r
31 List-Id: "Use and development of the notmuch mail system."\r
32         <notmuch.notmuchmail.org>\r
33 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
34         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
35 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
36 List-Post: <mailto:notmuch@notmuchmail.org>\r
37 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
38 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
39         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
40 X-List-Received-Date: Wed, 09 Dec 2009 20:08:50 -0000\r
41 \r
42 --=-=-=\r
43 \r
44 On Wed, 9 Dec 2009 14:24:46 +0100, Ruben Pollan <meskio@sindominio.net> wrote:\r
45 > Do you like to call them regress? Should I change that?\r
46 \r
47 I don't love the name, (since it's so close to the word "regression"\r
48 which has a totally different meaning in software context). But I also\r
49 don't have an immediate suggestion for an improved name yet either.\r
50 \r
51 > What about the functions notmuch_*_is_first? Is kind of reversed logic than\r
52 > notmuch_*_has_more, the last are true when is not reach the limit but the\r
53 > first ones are true when the limit is reached. But I think it make sense like\r
54 > that.\r
55 \r
56 I'd like a more symmetric API here. Anyone have a favorite set of names\r
57 for iterating a list in two directions?\r
58 \r
59 -Carl\r
60 \r
61 --=-=-=\r
62 Content-Type: application/pgp-signature\r
63 \r
64 -----BEGIN PGP SIGNATURE-----\r
65 Version: GnuPG v1.4.10 (GNU/Linux)\r
66 \r
67 iD8DBQFLIAPM6JDdNq8qSWgRAjK4AJ4n0L40UYTOqOrpYfppvX6s3v65IACdGdh0\r
68 qvUg1GCc1AI+408e8EV+RQM=\r
69 =7Bb1\r
70 -----END PGP SIGNATURE-----\r
71 --=-=-=--\r