Re: [PATCH v2 1/3] cli: refactor "notmuch tag" data structures for tagging operations
[notmuch-archives.git] / cf / 2e18d9f48300ce523d688c69b4d4de1e511132
1 Return-Path: <jrollins@finestructure.net>\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 C944F431FAF\r
6         for <notmuch@notmuchmail.org>; Mon, 26 Mar 2012 08:14:46 -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: -2.29\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3, 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 H1D9Yy6JYpWV for <notmuch@notmuchmail.org>;\r
16         Mon, 26 Mar 2012 08:14:44 -0700 (PDT)\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
18         [131.215.239.19])\r
19         by olra.theworths.org (Postfix) with ESMTP id 4B6BB431FAE\r
20         for <notmuch@notmuchmail.org>; Mon, 26 Mar 2012 08:14:44 -0700 (PDT)\r
21 Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by earth-doxen-postvirus (Postfix) with ESMTP id DF01066E0131;\r
23         Mon, 26 Mar 2012 08:14:43 -0700 (PDT)\r
24 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
25 Received: from finestructure.net (pool-108-27-62-184.nycmny.fios.verizon.net\r
26         [108.27.62.184]) (Authenticated sender: jrollins)\r
27         by earth-doxen-submit (Postfix) with ESMTP id 17F0D66E012B;\r
28         Mon, 26 Mar 2012 08:14:38 -0700 (PDT)\r
29 Received: by finestructure.net (Postfix, from userid 1000)\r
30         id 63951573; Mon, 26 Mar 2012 08:14:36 -0700 (PDT)\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
32 To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
33 Subject: Re: [PATCH v2 1/3] cli: refactor "notmuch tag" data structures for\r
34         tagging operations\r
35 In-Reply-To:\r
36  <0862d8a5424d6d0da188db84340b027fdede4245.1332702915.git.jani@nikula.org>\r
37 References: <cover.1332702915.git.jani@nikula.org>\r
38         <0862d8a5424d6d0da188db84340b027fdede4245.1332702915.git.jani@nikula.org>\r
39 User-Agent: Notmuch/0.11.1+335~gf868783 (http://notmuchmail.org) Emacs/23.3.1\r
40         (x86_64-pc-linux-gnu)\r
41 Date: Mon, 26 Mar 2012 08:14:33 -0700\r
42 Message-ID: <878vinl7hi.fsf@servo.finestructure.net>\r
43 MIME-Version: 1.0\r
44 Content-Type: multipart/signed; boundary="=-=-=";\r
45         micalg=pgp-sha256; protocol="application/pgp-signature"\r
46 X-BeenThere: notmuch@notmuchmail.org\r
47 X-Mailman-Version: 2.1.13\r
48 Precedence: list\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Mon, 26 Mar 2012 15:14:46 -0000\r
59 \r
60 --=-=-=\r
61 Content-Transfer-Encoding: quoted-printable\r
62 \r
63 On Sun, 25 Mar 2012 22:18:43 +0300, Jani Nikula <jani@nikula.org> wrote:\r
64 > To simplify code, keep all tagging operations in a single array\r
65 > instead of separate add and remove arrays. Apply tag changes in the\r
66 > order specified on the command line, instead of first removing and\r
67 > then adding the tags.\r
68 >=20\r
69 > This results in a minor functional change: If a tag is both added and\r
70 > removed, the last specified operation is now used. Previously the tag\r
71 > was always added.\r
72 \r
73 If this changes the behavior of notmuch then I think there should be a\r
74 test for it.  We should probably see a test for the current behavior,\r
75 and a modification of it to reflect whatever behavior is changing.\r
76 \r
77 jamie.\r
78 \r
79 --=-=-=\r
80 Content-Type: application/pgp-signature\r
81 \r
82 -----BEGIN PGP SIGNATURE-----\r
83 Version: GnuPG v1.4.11 (GNU/Linux)\r
84 \r
85 iQIcBAEBCAAGBQJPcIfaAAoJEO00zqvie6q8DUoP/i09AJTQPYa85aSwIJs0vHbv\r
86 KSzDyzVrHGq6rsr46UraziOFKZEJ+Gv+IFY2Ah70qsuU+1SG+I2zmwUhGgwM1whq\r
87 KqIeBjfNbOOYt4A8r78qic3GdFSpex9WG5Yacb6Svud5ZA9oWcdk+6aGMSvihWDo\r
88 jdz1ItDWZpBCHPeouaIqley2kgxgOKVY2Nb0TyUfpyFBjN63GN5rFaBwAnalB9d4\r
89 DvMwqfrc3+AjGlm0jcpSNcZ7Li9419kvBIQ1pRCk/rA1jzhkCEZsRBofnYMEuKH8\r
90 pEXZw+Ur7wLSaiaChGKUrJXDa7KIdV+UR0jBrgjs763a3y6F9mH3So4sad1bQKCn\r
91 8xT6iObYTA/PUevUpJw0AHRViOGVZIUvgF6ydGQT6RyYerjlW+lBMGUb8bSBtHFP\r
92 bpKan2tu6s2E5TPksbC4UxXfB0E5uo1o4M5barsLRNYDu3Ws1i3Z6sFnxbge56fE\r
93 0SxDHriTAhjejtcecEOr2gd8066LpkQBZZVy0/l5fTvJnmw94+djYqy1XjZilbXP\r
94 tJ4NmQDvSeM6w/daQBGGx2s1F2v59j4/nOxzjM7P+DrvW9PzPfDrUjPEvlcOKjDA\r
95 IaDxFfelfmK6M+nQ9bNxJEiCZsmHSjSxRK4XWzx2T8p+fS8nO2YFI4u0OOsQEQwv\r
96 heb48oqFSMS6pcZF/zvY\r
97 =ecVs\r
98 -----END PGP SIGNATURE-----\r
99 --=-=-=--\r