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 B06CE6DE119D for ; Wed, 12 Aug 2015 02:40:03 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.13 X-Spam-Level: X-Spam-Status: No, score=0.13 tagged_above=-999 required=5 tests=[AWL=0.130] 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 mHZBB0ANVWHu for ; Wed, 12 Aug 2015 02:40:01 -0700 (PDT) Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224]) by arlo.cworth.org (Postfix) with ESMTPS id 456796DE0244 for ; Wed, 12 Aug 2015 02:40:01 -0700 (PDT) Received: from remotemail by gitolite.debian.net with local (Exim 4.80) (envelope-from ) id 1ZPSUx-00028U-HH; Wed, 12 Aug 2015 09:39:03 +0000 Received: (nullmailer pid 26203 invoked by uid 1000); Wed, 12 Aug 2015 09:38:54 -0000 From: David Bremner To: Tomi Ollila , notmuch@notmuchmail.org Subject: Re: [PATCH 3/5] cli/count: add --output=modifications In-Reply-To: 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> User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Wed, 12 Aug 2015 11:38:54 +0200 Message-ID: <87oaic7snl.fsf@maritornes.cs.unb.ca> 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 09:40:03 -0000 Tomi Ollila writes: > $ notmuch metadata uuid > $ notmuch metadata lastmod > $ notmuch metadata uuid lastmod > $ notmuch metadata lastmod uuid > > Now we can bikeshed whether this is good idea -- it seems OK. We will have some set of 'fake' metadata keys that are not actually stored in xapian metadata. Perversely this includes both lastmod and uuid > and what to do (and when) > if unknown key is used in request... Error out, I'd say, but if it's not one of our fake metadata items we can in general just ask xapian for that value of that metadata, and complain if it doesn't exist.