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 BE6D1431FB6 for ; Tue, 3 Apr 2012 19:10:03 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.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 olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7+VVHBuLKWQ6 for ; Tue, 3 Apr 2012 19:10:02 -0700 (PDT) Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 6A596431FAE for ; Tue, 3 Apr 2012 19:10:02 -0700 (PDT) Received: from fctnnbsc30w-142166230117.dhcp-dynamic.fibreop.nb.bellaliant.net ([142.166.230.117] helo=zancas.localnet) by tesseract.cs.unb.ca with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1SFFfV-000826-75; Tue, 03 Apr 2012 23:09:57 -0300 Received: from bremner by zancas.localnet with local (Exim 4.77) (envelope-from ) id 1SFFfP-00049v-V5; Tue, 03 Apr 2012 23:09:47 -0300 From: David Bremner To: Jameson Graef Rollins , Jani Nikula Subject: Re: [PATCH 6/8] cli: add support for batch tagging operations to "notmuch tag" In-Reply-To: <87wr5w2zv5.fsf@servo.finestructure.net> References: <87ty123tpc.fsf@servo.finestructure.net> <87aa2tc22z.fsf@zancas.localnet> <87iphh50hz.fsf@servo.finestructure.net> <87fwcl4yr8.fsf@servo.finestructure.net> <87d37p4xor.fsf@servo.finestructure.net> <87pqbpxm2c.fsf@nikula.org> <87wr5w2zv5.fsf@servo.finestructure.net>User-Agent: Notmuch/0.12+70~g46e73fe (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Tue, 03 Apr 2012 23:09:47 -0300 Message-ID: <87bon82qok.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam_bar: - Cc: Notmuch Mail 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: Wed, 04 Apr 2012 02:10:04 -0000 Jameson Graef Rollins writes: > There's no point in adding and initial flag to the beginning of the > line to specify the command to execute if you have no intention of > ever supporting other commands. My thinking was that it was useful for the disk format to have a bit more information in it so that we could more easily change the interface in an upwardly compatible way. If at some point in the future we do have more general batch command processing, it would be nice not have to change the file format again, particularly for dump files. > Ultimately, I think this patch series suffers from being > simultaneously too close to existing functionality (restore), Well, as Jani mentioned there is a fair amount of code overlap with an in-progress improved dump/restore facility. > yet tantalizingly close to a much more generally useful concept of > batch command processing. Well, opinions seem to differ about how close we are to that in terms of real code, but I think it is worth thinking about as we define file formats. d