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 00AB76DE119D for ; Wed, 12 Aug 2015 05:33:18 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.11 X-Spam-Level: X-Spam-Status: No, score=-0.11 tagged_above=-999 required=5 tests=[AWL=0.097, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_WEB=0.614, SPF_PASS=-0.001] 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 upayatY4tHRX for ; Wed, 12 Aug 2015 05:33:15 -0700 (PDT) Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by arlo.cworth.org (Postfix) with ESMTPS id 6AAF26DE0244 for ; Wed, 12 Aug 2015 05:33:15 -0700 (PDT) Received: by wicne3 with SMTP id ne3so216240169wic.1 for ; Wed, 12 Aug 2015 05:33:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schoepe.org; s=google; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type; bh=XMPB861bljkLNgxOu9wAxHQoAfu487ZluGbFyczcDFE=; b=Xwbxl0Ses/82oICpe0YE00fdVijuvB8WEutMho3IcVBDDKxOrHoMKyBSh/cAkx9YAC vtXZVol9wPUzIYw2vF0jjSqfjOgNEQ1feOE6/9njzTJsFG8gMkr01RfGA0JW7ruYuHdo rE/yceOkr3t2607EpD7kjNkKg/SmhP7xU6nZ4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-type; bh=XMPB861bljkLNgxOu9wAxHQoAfu487ZluGbFyczcDFE=; b=TNGv/QwXw3HUnYPCI3aHIeH7IopFiLsUJiei9tsMVlkPeqoDGEOnn1CqAqPihQzmPH I3NBOEb48/s192uQQylzLkLz0yCk7hAkLvN85rk9mF6Ik9O6JmRlKXPlq6TlksVL4UMQ vi3GdODal4kC3cPDaX/LPGAsVcYlPBFZ5gK+ZTS2nNLbws2ADeBVlnPjoLr+CeE88PKu VB3ukfJPL/6TaylmfXbbatMiSpCUWp0P4CaCwpGx8n/td8I4zukg6p6CjgjS7vRhDNW/ 5PzJIvAN7Gnc26AvJt33K+KsDJYvW+IP6u3VmNvBZNIv0g6bpcRJqCqP0ggiMFnUXNgO qwUQ== X-Gm-Message-State: ALoCoQlQTSLYyBnojm37TOF1tVTGtfvEW3Wol+3q+KP7tcphiuO6l9hInmAHZddCiZQeJjPmc0yx X-Received: by 10.194.81.137 with SMTP id a9mr71749558wjy.155.1439382792275; Wed, 12 Aug 2015 05:33:12 -0700 (PDT) Received: from localhost (ip-80-226-24-7.vodafone-net.de. [80.226.24.7]) by smtp.gmail.com with ESMTPSA id jr5sm7770407wjc.14.2015.08.12.05.33.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Aug 2015 05:33:10 -0700 (PDT) From: Daniel Schoepe To: David Bremner , Tomi Ollila , notmuch@notmuchmail.org Subject: Re: [PATCH 3/5] cli/count: add --output=modifications In-Reply-To: <87oaic7snl.fsf@maritornes.cs.unb.ca> References: <1439112285-6681-1-git-send-email-david@tethera.net> <1439112285-6681-4-git-send-email-david@tethera.net> <871tf98y0x.fsf@maritornes.cs.unb.ca> <87oaic7snl.fsf@maritornes.cs.unb.ca> User-Agent: Notmuch/0.20.2+64~g9f61b4c (http://notmuchmail.org) Emacs/24.5.1 (x86_64-unknown-linux-gnu) Date: Wed, 12 Aug 2015 14:33:08 +0200 Message-ID: <87lhdglm9n.fsf@schoepe.localhost> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.18 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, 12 Aug 2015 12:33:18 -0000 Maybe another consistent solution is to add a --format argument to count, with JSON as one option. That way we could even add more information to other count results (if that becomes needed at some point) without breaking code using the JSON interface. Best regards, Daniel