From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 3E4536DE01CE for ; Sun, 17 Jul 2016 16:33:34 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 68pL69Q3tGBB for ; Sun, 17 Jul 2016 16:33:22 -0700 (PDT) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTP id 610516DE0173 for ; Sun, 17 Jul 2016 16:33:22 -0700 (PDT) Received: from fifthhorseman.net (p4FCDEE1A.dip0.t-ipconnect.de [79.205.238.26]) by che.mayfirst.org (Postfix) with ESMTPSA id DFC5B109C2; Sun, 17 Jul 2016 19:33:17 -0400 (EDT) Received: by fifthhorseman.net (Postfix, from userid 1000) id 895191FEFF; Mon, 18 Jul 2016 01:33:16 +0200 (CEST) From: Daniel Kahn Gillmor To: David Bremner , Notmuch Mail Subject: Re: [PATCH] RFC: all deleting all properties with a given key In-Reply-To: <1468665174-11929-1-git-send-email-david@tethera.net> References: <1467952610-27015-1-git-send-email-dkg@fifthhorseman.net> <1468665174-11929-1-git-send-email-david@tethera.net> User-Agent: Notmuch/0.22+77~gaba8744 (https://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Mon, 18 Jul 2016 01:33:16 +0200 Message-ID: <878twz6ds3.fsf@alice.fifthhorseman.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 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: Sun, 17 Jul 2016 23:33:34 -0000 On Sat 2016-07-16 12:32:54 +0200, David Bremner wrote: > I think I somewhat prefer this way of providing the same > functionality, because the control flow is simpler. If it seems > useful, we could forward remove_property with a NULL value to > remove_all_properties this looks good to me. --dkg