Re: [notmuch] [PATCH] Added regress option to tags iterator
authorMark Anderson <markr.anderson@amd.com>
Wed, 9 Dec 2009 21:21:04 +0000 (14:21 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:51 +0000 (09:35 -0800)
67/9732c532fa24c896472b2bcb92708a4ebaf27c [new file with mode: 0644]

diff --git a/67/9732c532fa24c896472b2bcb92708a4ebaf27c b/67/9732c532fa24c896472b2bcb92708a4ebaf27c
new file mode 100644 (file)
index 0000000..67b6770
--- /dev/null
@@ -0,0 +1,123 @@
+Return-Path: <manderso@mhdc-ns01.amd.com>\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 E643F431FC2\r
+       for <notmuch@notmuchmail.org>; Wed,  9 Dec 2009 13:29:16 -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 VUJJ9BVjXOk7 for <notmuch@notmuchmail.org>;\r
+       Wed,  9 Dec 2009 13:29:16 -0800 (PST)\r
+Received: from TX2EHSOBE003.bigfish.com (tx2ehsobe002.messaging.microsoft.com\r
+       [65.55.88.12])\r
+       by olra.theworths.org (Postfix) with ESMTP id 22EA9431FAE\r
+       for <notmuch@notmuchmail.org>; Wed,  9 Dec 2009 13:29:16 -0800 (PST)\r
+Received: from mail136-tx2-R.bigfish.com (10.9.14.248) by\r
+       TX2EHSOBE003.bigfish.com (10.9.40.23) with Microsoft SMTP Server id\r
+       8.1.240.5; Wed, 9 Dec 2009 21:29:15 +0000\r
+Received: from mail136-tx2 (localhost.localdomain [127.0.0.1]) by\r
+       mail136-tx2-R.bigfish.com (Postfix) with ESMTP id 497333A038B;\r
+       Wed,  9 Dec 2009 21:29:15 +0000 (UTC)\r
+X-SpamScore: -18\r
+X-BigFish: VPS-18(zz1418M1432R98dNzz1202hzzz32i6bh87h43j61h)\r
+X-Spam-TCS-SCL: 0:0\r
+X-FB-DOMAIN-IP-MATCH: fail\r
+Received: from mail136-tx2 (localhost.localdomain [127.0.0.1]) by mail136-tx2\r
+       (MessageSwitch) id 1260394153913091_5834;\r
+       Wed,  9 Dec 2009 21:29:13 +0000 (UTC)\r
+Received: from TX2EHSMHS024.bigfish.com (unknown [10.9.14.250])        by\r
+       mail136-tx2.bigfish.com (Postfix) with ESMTP id D87B610E0066;\r
+       Wed,  9 Dec 2009 21:29:13 +0000 (UTC)\r
+Received: from ausb3extmailp01.amd.com (163.181.251.8) by\r
+       TX2EHSMHS024.bigfish.com (10.9.99.124) with Microsoft SMTP Server (TLS)\r
+       id 14.0.482.32; Wed, 9 Dec 2009 21:29:12 +0000\r
+Received: from ausb3twp01.amd.com ([163.181.250.37])   by\r
+       ausb3extmailp01.amd.com (Switch-3.2.7/Switch-3.2.7) with ESMTP id\r
+       nB9LT5nj018352; Wed, 9 Dec 2009 15:29:10 -0600\r
+X-WSS-ID: 0KUEMCH-01-E2U-02\r
+X-M-MSG: \r
+Received: from sausexbh1.amd.com (sausexbh1.amd.com [163.181.22.101])  by\r
+       ausb3twp01.amd.com (Tumbleweed MailGate 3.7.2) with ESMTP id\r
+       212A5102BC9C; Wed,  9 Dec 2009 15:29:05 -0600 (CST)\r
+Received: from sausexmb4.amd.com ([163.181.3.15]) by sausexbh1.amd.com with\r
+       Microsoft SMTPSVC(6.0.3790.3959);        Wed, 9 Dec 2009 15:29:01 -0600\r
+Received: from optimon.amd.com ([163.181.34.104]) by sausexmb4.amd.com with\r
+       Microsoft SMTPSVC(6.0.3790.3959);        Wed, 9 Dec 2009 15:21:05 -0600\r
+Received: from mhdc-ns01.amd.com (mhdc-ns01.amd.com [165.204.35.147])  by\r
+       optimon.amd.com (8.12.10/8.12.10) with ESMTP id nB9LL5ko008518;\r
+       Wed, 9 Dec 2009 15:21:05 -0600\r
+Received: from testarossa.amd.com (testarossa.amd.com [165.204.147.44])        by\r
+       mhdc-ns01.amd.com (8.13.8+Sun/8.13.8) with ESMTP id nB9LL4r2026318;\r
+       Wed, 9 Dec 2009 14:21:04 -0700 (MST)\r
+Received: (from manderso@localhost)    by testarossa.amd.com\r
+       (8.13.1/8.13.1/Submit) id nB9LL4it029200; Wed, 9 Dec 2009 14:21:04 -0700\r
+Content-Type: text/plain; charset="UTF-8"\r
+From: Mark Anderson <markr.anderson@amd.com>\r
+To: Carl Worth <cworth@cworth.org>\r
+In-Reply-To: <877hsv6hbo.fsf@yoom.home.cworth.org>\r
+References: <20091126202347.GA16654@blackspot>\r
+       <1260364206-344-1-git-send-email-meskio@sindominio.net>\r
+       <20091209132446.GC23878@blackspot>\r
+       <877hsv6hbo.fsf@yoom.home.cworth.org>\r
+Date: Wed, 9 Dec 2009 14:21:04 -0700\r
+Message-ID: <1260392368-sup-9167@testarossa>\r
+User-Agent: Sup/git\r
+X-OriginalArrivalTime: 09 Dec 2009 21:21:05.0454 (UTC)\r
+       FILETIME=[844F3CE0:01CA7915]\r
+MIME-Version: 1.0\r
+X-Reverse-DNS: unknown\r
+Content-Transfer-Encoding: quoted-printable\r
+Cc: notmuch <notmuch@notmuchmail.org>\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 21:29:17 -0000\r
+\r
+Excerpts from Carl Worth's message of Wed Dec 09 13:08:43 -0700 2009:\r
+> On Wed, 9 Dec 2009 14:24:46 +0100, Ruben Pollan <meskio@sindominio.net>=\r
+ wrote:\r
+> > Do you like to call them regress? Should I change that?\r
+>=20\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
+>=20\r
+> > What about the functions notmuch_*_is_first? Is kind of reversed logi=\r
+c than\r
+> > notmuch_*_has_more, the last are true when is not reach the limit but=\r
+ the\r
+> > first ones are true when the limit is reached. But I think it make se=\r
+nse like\r
+> > that.\r
+>=20\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
+I like vocabulary games:\r
+\r
+fwd/bck\r
+forward/reverse\r
+next/prev\r
+advance/retreat\r
+inc/dec\r
+iter_fwd/iter_back\r
+earlier/later\r
+younger/older\r
+\r
+I think that changing has_more is going to be a requirement to come up wi=\r
+th a consistent set of names.\r
+\r
+>=20\r
+> -Carl\r
+\r