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 131DC6DE0243 for ; Sat, 4 Jun 2016 05:53:47 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.012 X-Spam-Level: X-Spam-Status: No, score=-0.012 tagged_above=-999 required=5 tests=[AWL=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 6NHYw5QsVM1S for ; Sat, 4 Jun 2016 05:53:39 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 576A86DE0159 for ; Sat, 4 Jun 2016 05:53:39 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.84) (envelope-from ) id 1b9B4x-0005Kr-5h; Sat, 04 Jun 2016 08:53:27 -0400 Received: (nullmailer pid 21127 invoked by uid 1000); Sat, 04 Jun 2016 12:53:36 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: Re: [Jameson Graef Rollins] Bug#826280: notmuch: shortcut to list tags In-Reply-To: <87fustdsx9.fsf@zancas.localnet> References: <87fustdsx9.fsf@zancas.localnet> User-Agent: Notmuch/0.22+28~gb9bf3f4 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Sat, 04 Jun 2016 09:53:36 -0300 Message-ID: <87d1nxdsj3.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 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: Sat, 04 Jun 2016 12:53:47 -0000 David Bremner writes: > > I occaissionally want to grep through all tags used in my store: > > notmuch search --output=tags '*' | grep .... > > It would be nice if there was a shortcut to output all tags to stdout: > > notmuch tag | grep ... > > Just utilizing the notmuch tag command when called with no arguments > would be the most intiuitive (just like git) and simplest. I haven't looked at how much work this would be (the notmuch-tag command line parsing is slightly more complicated than some of the other commands), but a related issue is that it seems sensible for notmuch query commands (show/search) to interpret a missing query string as '*', in the same way that dump does. d