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 9DD73431FBD; Wed, 9 Dec 2009 12:08:50 -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 jccipYxrtxwI; Wed, 9 Dec 2009 12:08:50 -0800 (PST) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id F0B12431FAE; Wed, 9 Dec 2009 12:08:49 -0800 (PST) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 8D8512542FD; Wed, 9 Dec 2009 12:08:49 -0800 (PST) From: Carl Worth To: Ruben Pollan , notmuch@notmuchmail.org In-Reply-To: <20091209132446.GC23878@blackspot> References: <20091126202347.GA16654@blackspot> <1260364206-344-1-git-send-email-meskio@sindominio.net> <20091209132446.GC23878@blackspot> Date: Wed, 09 Dec 2009 12:08:43 -0800 Message-ID: <877hsv6hbo.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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 20:08:50 -0000 --=-=-= On Wed, 9 Dec 2009 14:24:46 +0100, Ruben Pollan wrote: > Do you like to call them regress? Should I change that? 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. > What about the functions notmuch_*_is_first? Is kind of reversed logic 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 sense like > that. I'd like a more symmetric API here. Anyone have a favorite set of names for iterating a list in two directions? -Carl --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFLIAPM6JDdNq8qSWgRAjK4AJ4n0L40UYTOqOrpYfppvX6s3v65IACdGdh0 qvUg1GCc1AI+408e8EV+RQM= =7Bb1 -----END PGP SIGNATURE----- --=-=-=--