Re: [PATCH] RFC: all deleting all properties with a given key
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sun, 17 Jul 2016 23:33:16 +0000 (01:33 +0200)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:22:13 +0000 (16:22 -0700)
fc/27633b047c164ff61528c8a3e21b31e4ec2c62 [new file with mode: 0644]

diff --git a/fc/27633b047c164ff61528c8a3e21b31e4ec2c62 b/fc/27633b047c164ff61528c8a3e21b31e4ec2c62
new file mode 100644 (file)
index 0000000..5eef7fb
--- /dev/null
@@ -0,0 +1,61 @@
+Return-Path: <dkg@fifthhorseman.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 3E4536DE01CE\r
+ for <notmuch@notmuchmail.org>; Sun, 17 Jul 2016 16:33:34 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id 68pL69Q3tGBB for <notmuch@notmuchmail.org>;\r
+ Sun, 17 Jul 2016 16:33:22 -0700 (PDT)\r
+Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 610516DE0173\r
+ for <notmuch@notmuchmail.org>; Sun, 17 Jul 2016 16:33:22 -0700 (PDT)\r
+Received: from fifthhorseman.net (p4FCDEE1A.dip0.t-ipconnect.de\r
+ [79.205.238.26])\r
+ by che.mayfirst.org (Postfix) with ESMTPSA id DFC5B109C2;\r
+ Sun, 17 Jul 2016 19:33:17 -0400 (EDT)\r
+Received: by fifthhorseman.net (Postfix, from userid 1000)\r
+ id 895191FEFF; Mon, 18 Jul 2016 01:33:16 +0200 (CEST)\r
+From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
+To: David Bremner <david@tethera.net>, Notmuch Mail <notmuch@notmuchmail.org>\r
+Subject: Re: [PATCH] RFC: all deleting all properties with a given key\r
+In-Reply-To: <1468665174-11929-1-git-send-email-david@tethera.net>\r
+References: <1467952610-27015-1-git-send-email-dkg@fifthhorseman.net>\r
+ <1468665174-11929-1-git-send-email-david@tethera.net>\r
+User-Agent: Notmuch/0.22+77~gaba8744 (https://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Mon, 18 Jul 2016 01:33:16 +0200\r
+Message-ID: <878twz6ds3.fsf@alice.fifthhorseman.net>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 17 Jul 2016 23:33:34 -0000\r
+\r
+On Sat 2016-07-16 12:32:54 +0200, David Bremner wrote:\r
+\r
+> I think I somewhat prefer this way of providing the same\r
+> functionality, because the control flow is simpler. If it seems\r
+> useful, we could forward remove_property with a NULL value to\r
+> remove_all_properties\r
+\r
+this looks good to me.\r
+\r
+     --dkg\r