From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id E643F431FC2 for ; Wed, 9 Dec 2009 13:29:16 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VUJJ9BVjXOk7 for ; Wed, 9 Dec 2009 13:29:16 -0800 (PST) Received: from TX2EHSOBE003.bigfish.com (tx2ehsobe002.messaging.microsoft.com [65.55.88.12]) by olra.theworths.org (Postfix) with ESMTP id 22EA9431FAE for ; Wed, 9 Dec 2009 13:29:16 -0800 (PST) Received: from mail136-tx2-R.bigfish.com (10.9.14.248) by TX2EHSOBE003.bigfish.com (10.9.40.23) with Microsoft SMTP Server id 8.1.240.5; Wed, 9 Dec 2009 21:29:15 +0000 Received: from mail136-tx2 (localhost.localdomain [127.0.0.1]) by mail136-tx2-R.bigfish.com (Postfix) with ESMTP id 497333A038B; Wed, 9 Dec 2009 21:29:15 +0000 (UTC) X-SpamScore: -18 X-BigFish: VPS-18(zz1418M1432R98dNzz1202hzzz32i6bh87h43j61h) X-Spam-TCS-SCL: 0:0 X-FB-DOMAIN-IP-MATCH: fail Received: from mail136-tx2 (localhost.localdomain [127.0.0.1]) by mail136-tx2 (MessageSwitch) id 1260394153913091_5834; Wed, 9 Dec 2009 21:29:13 +0000 (UTC) Received: from TX2EHSMHS024.bigfish.com (unknown [10.9.14.250]) by mail136-tx2.bigfish.com (Postfix) with ESMTP id D87B610E0066; Wed, 9 Dec 2009 21:29:13 +0000 (UTC) Received: from ausb3extmailp01.amd.com (163.181.251.8) by TX2EHSMHS024.bigfish.com (10.9.99.124) with Microsoft SMTP Server (TLS) id 14.0.482.32; Wed, 9 Dec 2009 21:29:12 +0000 Received: from ausb3twp01.amd.com ([163.181.250.37]) by ausb3extmailp01.amd.com (Switch-3.2.7/Switch-3.2.7) with ESMTP id nB9LT5nj018352; Wed, 9 Dec 2009 15:29:10 -0600 X-WSS-ID: 0KUEMCH-01-E2U-02 X-M-MSG: Received: from sausexbh1.amd.com (sausexbh1.amd.com [163.181.22.101]) by ausb3twp01.amd.com (Tumbleweed MailGate 3.7.2) with ESMTP id 212A5102BC9C; Wed, 9 Dec 2009 15:29:05 -0600 (CST) Received: from sausexmb4.amd.com ([163.181.3.15]) by sausexbh1.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 9 Dec 2009 15:29:01 -0600 Received: from optimon.amd.com ([163.181.34.104]) by sausexmb4.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 9 Dec 2009 15:21:05 -0600 Received: from mhdc-ns01.amd.com (mhdc-ns01.amd.com [165.204.35.147]) by optimon.amd.com (8.12.10/8.12.10) with ESMTP id nB9LL5ko008518; Wed, 9 Dec 2009 15:21:05 -0600 Received: from testarossa.amd.com (testarossa.amd.com [165.204.147.44]) by mhdc-ns01.amd.com (8.13.8+Sun/8.13.8) with ESMTP id nB9LL4r2026318; Wed, 9 Dec 2009 14:21:04 -0700 (MST) Received: (from manderso@localhost) by testarossa.amd.com (8.13.1/8.13.1/Submit) id nB9LL4it029200; Wed, 9 Dec 2009 14:21:04 -0700 Content-Type: text/plain; charset="UTF-8" From: Mark Anderson To: Carl Worth In-Reply-To: <877hsv6hbo.fsf@yoom.home.cworth.org> References: <20091126202347.GA16654@blackspot> <1260364206-344-1-git-send-email-meskio@sindominio.net> <20091209132446.GC23878@blackspot> <877hsv6hbo.fsf@yoom.home.cworth.org> Date: Wed, 9 Dec 2009 14:21:04 -0700 Message-ID: <1260392368-sup-9167@testarossa> User-Agent: Sup/git X-OriginalArrivalTime: 09 Dec 2009 21:21:05.0454 (UTC) FILETIME=[844F3CE0:01CA7915] MIME-Version: 1.0 X-Reverse-DNS: unknown Content-Transfer-Encoding: quoted-printable Cc: notmuch Subject: Re: [PATCH] Added regress option to tags iterator X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Dec 2009 21:29:17 -0000 Excerpts from Carl Worth's message of Wed Dec 09 13:08:43 -0700 2009: > On Wed, 9 Dec 2009 14:24:46 +0100, Ruben Pollan = wrote: > > Do you like to call them regress? Should I change that? >=20 > I don't love the name, (since it's so close to the word "regression" > which has a totally different meaning in software context). But I also > don't have an immediate suggestion for an improved name yet either. >=20 > > What about the functions notmuch_*_is_first? Is kind of reversed logi= c than > > notmuch_*_has_more, the last are true when is not reach the limit but= the > > first ones are true when the limit is reached. But I think it make se= nse like > > that. >=20 > I'd like a more symmetric API here. Anyone have a favorite set of names > for iterating a list in two directions? I like vocabulary games: fwd/bck forward/reverse next/prev advance/retreat inc/dec iter_fwd/iter_back earlier/later younger/older I think that changing has_more is going to be a requirement to come up wi= th a consistent set of names. >=20 > -Carl