Re: [notmuch] [PATCH] Added regress option to tags iterator
authorCarl Worth <cworth@cworth.org>
Wed, 9 Dec 2009 20:08:43 +0000 (12:08 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:51 +0000 (09:35 -0800)
3f/ad44d882582eedade2563f7e4195db3c34d8ca [new file with mode: 0644]

diff --git a/3f/ad44d882582eedade2563f7e4195db3c34d8ca b/3f/ad44d882582eedade2563f7e4195db3c34d8ca
new file mode 100644 (file)
index 0000000..5b5edf2
--- /dev/null
@@ -0,0 +1,71 @@
+Return-Path: <cworth@cworth.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 9DD73431FBD;\r
+       Wed,  9 Dec 2009 12:08:50 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id jccipYxrtxwI; Wed,  9 Dec 2009 12:08:50 -0800 (PST)\r
+Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id F0B12431FAE;\r
+       Wed,  9 Dec 2009 12:08:49 -0800 (PST)\r
+Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
+       id 8D8512542FD; Wed,  9 Dec 2009 12:08:49 -0800 (PST)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: Ruben Pollan <meskio@sindominio.net>, notmuch@notmuchmail.org\r
+In-Reply-To: <20091209132446.GC23878@blackspot>\r
+References: <20091126202347.GA16654@blackspot>\r
+       <1260364206-344-1-git-send-email-meskio@sindominio.net>\r
+       <20091209132446.GC23878@blackspot>\r
+Date: Wed, 09 Dec 2009 12:08:43 -0800\r
+Message-ID: <877hsv6hbo.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+Subject: Re: [notmuch] [PATCH] Added regress option to tags iterator\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 09 Dec 2009 20:08:50 -0000\r
+\r
+--=-=-=\r
+\r
+On Wed, 9 Dec 2009 14:24:46 +0100, Ruben Pollan <meskio@sindominio.net> wrote:\r
+> Do you like to call them regress? Should I change that?\r
+\r
+I don't love the name, (since it's so close to the word "regression"\r
+which has a totally different meaning in software context). But I also\r
+don't have an immediate suggestion for an improved name yet either.\r
+\r
+> What about the functions notmuch_*_is_first? Is kind of reversed logic than\r
+> notmuch_*_has_more, the last are true when is not reach the limit but the\r
+> first ones are true when the limit is reached. But I think it make sense like\r
+> that.\r
+\r
+I'd like a more symmetric API here. Anyone have a favorite set of names\r
+for iterating a list in two directions?\r
+\r
+-Carl\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFLIAPM6JDdNq8qSWgRAjK4AJ4n0L40UYTOqOrpYfppvX6s3v65IACdGdh0\r
+qvUg1GCc1AI+408e8EV+RQM=\r
+=7Bb1\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r