Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / 97 / 877a3802d7e0bafa807b96b984de2a309e4280
1 Return-Path: <cworth@cworth.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id A4963429E25\r
6         for <notmuch@notmuchmail.org>; Tue, 21 Jun 2011 14:46:09 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.01\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.01 tagged_above=-999 required=5\r
12         tests=[T_MIME_NO_TEXT=0.01] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id 8S2GwET7cE7l for <notmuch@notmuchmail.org>;\r
16         Tue, 21 Jun 2011 14:46:09 -0700 (PDT)\r
17 Received: from arlo.cworth.org (arlo.cworth.org [50.43.72.2])\r
18         by olra.theworths.org (Postfix) with ESMTP id DFA18431FB6\r
19         for <notmuch@notmuchmail.org>; Tue, 21 Jun 2011 14:46:08 -0700 (PDT)\r
20 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
21         by arlo.cworth.org (Postfix) with ESMTP id DDD0E29A4F5;\r
22         Tue, 21 Jun 2011 14:46:07 -0700 (PDT)\r
23 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
24         id CD455254157; Tue, 21 Jun 2011 14:46:07 -0700 (PDT)\r
25 From: Carl Worth <cworth@cworth.org>\r
26 To: Sebastian Spaeth <Sebastian@SSpaeth.de>,\r
27         Notmuch developer list <notmuch@notmuchmail.org>\r
28 Subject: Re: Python updates\r
29 In-Reply-To: <8739j9yj1s.fsf@SSpaeth.de>\r
30 References: <87k4cmavoc.fsf@SSpaeth.de> <8739j9yj1s.fsf@SSpaeth.de>\r
31 User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1\r
32         (i486-pc-linux-gnu)\r
33 Date: Tue, 21 Jun 2011 14:46:02 -0700\r
34 Message-ID: <87wrgeeu3p.fsf@yoom.home.cworth.org>\r
35 MIME-Version: 1.0\r
36 Content-Type: multipart/signed; boundary="=-=-=";\r
37         micalg=pgp-sha1; protocol="application/pgp-signature"\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Tue, 21 Jun 2011 21:46:09 -0000\r
51 \r
52 --=-=-=\r
53 Content-Transfer-Encoding: quoted-printable\r
54 \r
55 On Thu, 16 Jun 2011 15:58:39 +0200, Sebastian Spaeth <Sebastian@SSpaeth.de>=\r
56  wrote:\r
57 > P.S. Once I get started.... I was teased on IRC, so I also implemented:\r
58 >=20\r
59 > Message().maildir_flags_to_tags and tags_to_maildir_flags, which are now\r
60 > by default invoked on Database().add_message and on any operation that\r
61 > modifies notmuch tags. See the updated API docs at:\r
62 \r
63 I'm not a fan of the above.\r
64 \r
65 I would greatly prefer that any language bindings for notmuch implement\r
66 the same semantics as the underlying functions.\r
67 \r
68 If we should fix Database().add_message to automatically call\r
69 maildir_flags_to_tags, then we should also fix\r
70 notmuch_database_add_message to do the same thing.\r
71 \r
72 I can't see any good justification for behavior like this to be\r
73 different depending on the language being used to access the library.\r
74 \r
75 Please consider changing things to match the semantics of the underlying\r
76 library.\r
77 \r
78 Thanks,\r
79 \r
80 =2DCarl\r
81 \r
82 =2D-=20\r
83 carl.d.worth@intel.com\r
84 \r
85 --=-=-=\r
86 Content-Type: application/pgp-signature\r
87 \r
88 -----BEGIN PGP SIGNATURE-----\r
89 Version: GnuPG v1.4.11 (GNU/Linux)\r
90 \r
91 iEYEARECAAYFAk4BERoACgkQ6JDdNq8qSWi5zACgkIIWuxkpSihWLBQoHfaG2cXU\r
92 c3sAniiEZXRyIx6OXyLHD9IwvqNOP96x\r
93 =AtGp\r
94 -----END PGP SIGNATURE-----\r
95 --=-=-=--\r