--- /dev/null
+Return-Path: <daniel@schoepe.org>\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 6A0D96DE0AC2\r
+ for <notmuch@notmuchmail.org>; Tue, 11 Aug 2015 00:46:58 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.11\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.11 tagged_above=-999 required=5 tests=[AWL=0.097, \r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,\r
+ RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_WEB=0.614, SPF_PASS=-0.001]\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 LK6c6Xm-Je9S for <notmuch@notmuchmail.org>;\r
+ Tue, 11 Aug 2015 00:46:56 -0700 (PDT)\r
+Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com\r
+ [209.85.212.178])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 32BD96DE099D\r
+ for <notmuch@notmuchmail.org>; Tue, 11 Aug 2015 00:46:56 -0700 (PDT)\r
+Received: by wicne3 with SMTP id ne3so49654113wic.0\r
+ for <notmuch@notmuchmail.org>; Tue, 11 Aug 2015 00:46:54 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schoepe.org; s=google;\r
+ h=from:to:subject:date:message-id;\r
+ bh=pvsS6BvOmUehDbviP+EHRX+nEIQUOggPOWhORArhwm4=;\r
+ b=cCID0KIrihoekCQ/jV374erGdShzMT6RMoUsneqBTxI4SCwgKIHPt7vPzBDFNAdYA4\r
+ YgrNUq62zb+LzfW4eWAc6ScDtLOWXiHhzfdc2tzMn3PsRGpE8hmXkBKh1nIQ3VWwwMmI\r
+ PWhPlvpBUpDPB3zMHAfCKnOQW3dAVu7LGLIDs=\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:from:to:subject:date:message-id;\r
+ bh=pvsS6BvOmUehDbviP+EHRX+nEIQUOggPOWhORArhwm4=;\r
+ b=bapZzyQJH03drRd6NJOu75C3XJ7l9TL5pEptqYhRM0GzzCKW0wFvHYPOx2yz0BqrOU\r
+ BExVEdQvYRGI0V5g/ZZgh1EO/tj1vP+GJT1z7aJ0Xvx4WSZkZxP52nnk1SpvK0iu2PXK\r
+ iFARr6tLioRy5HqnS+QhK10nqoFJwD3MP2NrcOgZTA/mZCa3TfyhDwiiP1oRni9Fx3eW\r
+ hEHy7HyVj0rmoN1vTPXfd62XcwZSj0tMpuokcgSETnrbFkdDi+Ij/duuHAAtAIjAdpGa\r
+ knltcVAHNjwhrQN+/MA0RDJ7Ta75gLvAlOjPfj2QniTFeQlWuanbMGa/uxhstB+Ea3+t\r
+ hZcA==\r
+X-Gm-Message-State:\r
+ ALoCoQm28OIVt0Gi7u8dWlnxhwoFIZYYE9zW9jq/ZuMrgN+axMhJni9C/FD/bUFL9My8iwWWlsb+\r
+X-Received: by 10.180.87.230 with SMTP id bb6mr31722919wib.36.1439279214256;\r
+ Tue, 11 Aug 2015 00:46:54 -0700 (PDT)\r
+Received: from localhost (ip-80-226-24-7.vodafone-net.de. [80.226.24.7])\r
+ by smtp.gmail.com with ESMTPSA id w8sm2065709wiy.10.2015.08.11.00.46.51\r
+ for <notmuch@notmuchmail.org>\r
+ (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Tue, 11 Aug 2015 00:46:52 -0700 (PDT)\r
+From: Daniel Schoepe <daniel@schoepe.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] notmuch-tag: Allow using both --remove-all and --batch\r
+Date: Tue, 11 Aug 2015 09:46:36 +0200\r
+Message-Id: <1439279198-21330-1-git-send-email-daniel@schoepe.org>\r
+X-Mailer: git-send-email 2.5.0\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://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: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 11 Aug 2015 07:46:58 -0000\r
+\r
+Hi,\r
+\r
+I noticed that it makes sense to combine the --batch and --remove-all\r
+options to notmuch. This can be used, for instance, when synchronizing\r
+tags by transferring the tags for all changed mails.\r
+\r
+This series removes this (undocumented) restriction and adds some\r
+tests.\r
+\r
+Best regards,\r
+Daniel\r
+\r