Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id A4963429E25 for ; Tue, 21 Jun 2011 14:46:09 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.01 X-Spam-Level: X-Spam-Status: No, score=0.01 tagged_above=-999 required=5 tests=[T_MIME_NO_TEXT=0.01] autolearn=disabled 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 8S2GwET7cE7l for ; Tue, 21 Jun 2011 14:46:09 -0700 (PDT) Received: from arlo.cworth.org (arlo.cworth.org [50.43.72.2]) by olra.theworths.org (Postfix) with ESMTP id DFA18431FB6 for ; Tue, 21 Jun 2011 14:46:08 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id DDD0E29A4F5; Tue, 21 Jun 2011 14:46:07 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id CD455254157; Tue, 21 Jun 2011 14:46:07 -0700 (PDT) From: Carl Worth To: Sebastian Spaeth , Notmuch developer list Subject: Re: Python updates In-Reply-To: <8739j9yj1s.fsf@SSpaeth.de> References: <87k4cmavoc.fsf@SSpaeth.de> <8739j9yj1s.fsf@SSpaeth.de> User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1 (i486-pc-linux-gnu) Date: Tue, 21 Jun 2011 14:46:02 -0700 Message-ID: <87wrgeeu3p.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Tue, 21 Jun 2011 21:46:09 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Thu, 16 Jun 2011 15:58:39 +0200, Sebastian Spaeth = wrote: > P.S. Once I get started.... I was teased on IRC, so I also implemented: >=20 > Message().maildir_flags_to_tags and tags_to_maildir_flags, which are now > by default invoked on Database().add_message and on any operation that > modifies notmuch tags. See the updated API docs at: I'm not a fan of the above. I would greatly prefer that any language bindings for notmuch implement the same semantics as the underlying functions. If we should fix Database().add_message to automatically call maildir_flags_to_tags, then we should also fix notmuch_database_add_message to do the same thing. I can't see any good justification for behavior like this to be different depending on the language being used to access the library. Please consider changing things to match the semantics of the underlying library. Thanks, =2DCarl =2D-=20 carl.d.worth@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk4BERoACgkQ6JDdNq8qSWi5zACgkIIWuxkpSihWLBQoHfaG2cXU c3sAniiEZXRyIx6OXyLHD9IwvqNOP96x =AtGp -----END PGP SIGNATURE----- --=-=-=--