Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 99A18431FC3 for ; Mon, 24 Dec 2012 21:58:17 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9WNFxful-I0W for ; Mon, 24 Dec 2012 21:58:13 -0800 (PST) Received: from dmz-mailsec-scanner-7.mit.edu (DMZ-MAILSEC-SCANNER-7.MIT.EDU [18.7.68.36]) by olra.theworths.org (Postfix) with ESMTP id CD07E431FAE for ; Mon, 24 Dec 2012 21:58:13 -0800 (PST) X-AuditID: 12074424-b7f4e6d0000004ca-27-50d9407565f5 Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP id 30.FE.01226.57049D05; Tue, 25 Dec 2012 00:58:13 -0500 (EST) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id qBP5wCvS011701; Tue, 25 Dec 2012 00:58:12 -0500 Received: from drake.dyndns.org (c-76-21-105-205.hsd1.ca.comcast.net [76.21.105.205]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id qBP5w7A1011703 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Tue, 25 Dec 2012 00:58:09 -0500 (EST) Received: from amthrax by drake.dyndns.org with local (Exim 4.77) (envelope-from ) id 1TnNWg-0001Xm-Cy; Tue, 25 Dec 2012 00:58:06 -0500 From: Austin Clements To: notmuch@notmuchmail.org Subject: [PATCH 0/5] Use Xapian query syntax for batch-tag dump/restore Date: Tue, 25 Dec 2012 00:57:51 -0500 Message-Id: <1356415076-5692-1-git-send-email-amdragon@mit.edu> X-Mailer: git-send-email 1.7.10.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrBIsWRmVeSWpSXmKPExsUixCmqrFvqcDPAoGuroMWN1m5Gi6bpzhar 5/JYXL85k9mBxWPnrLvsHrfuv2b3eLbqFrPHlkPvmQNYorhsUlJzMstSi/TtErgyTnY/Yy54 w1KxreEKYwPjT+YuRk4OCQETif23HkPZYhIX7q1n62Lk4hAS2Mco8WLODVYIZwOjxJv9b1kg nItMEhcuT2KCcOYySrw7uZMVpJ9NQENi2/7ljCC2iIC0xM67s8HizAKOEmdet4HFhQXcJaZ/ vAxmswioSnQcfQNm8wrYS0xtesYOcYeiRPezCWwTGHkXMDKsYpRNya3SzU3MzClOTdYtTk7M y0st0jXXy80s0UtNKd3ECAogdheVHYzNh5QOMQpwMCrx8BZMvhEgxJpYVlyZe4hRkoNJSZT3 td3NACG+pPyUyozE4oz4otKc1OJDjBIczEoivCY8QDnelMTKqtSifJiUNAeLkjjv9ZSb/kIC 6YklqdmpqQWpRTBZGQ4OJQneUnugRsGi1PTUirTMnBKENBMHJ8hwHqDhoSA1vMUFibnFmekQ +VOMilLivJUgCQGQREZpHlwvLMJfMYoDvSLMexqkigeYHOC6XwENZgIaHMt3A2RwSSJCSqqB UUEu1HmRl/jNg9+XFbSYWis0Z3e9OLGE8ddhM79v5skqq8PyWr2eu/hzb112Z82eUI/IL7Yv ry2Y6qDisLTq0NyzsoerBJ9vuBrbvH6ygbTgi1T9WvvuWMednyv28NQcafU/MdnneovGisfc 7JbNi9acF2jrb5GYMc++uFSmtn7aEuPlizneK7EUZyQaajEXFScCAGYbt6LLAgAA X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Tue, 25 Dec 2012 05:58:17 -0000 This is a stab at tweaking the new batch-tag dump/restore format to be more amenable to batch tagging. Currently, the "query" part of each line isn't really a Xapian query; it's a hex-encoded message ID prefixed with "id:". This is fine for the very limited case of dump/restore, but it extends poorly to the general queries allowed by batch tagging. However, Xapian already has a perfectly good quoting syntax. This series switches the batch-tag format to use regular Xapian queries, using only regular Xapian quoting syntax, so that we don't have to invent yet another quoting syntax for batch tagging.