From 0bc4df5f19108374eb4a2832ac49dd86398f8a80 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 5 Jun 2016 09:45:06 +2100 Subject: [PATCH] [Jameson Graef Rollins] Bug#826280: notmuch: shortcut to list tags --- d7/f77f2b6b2592e47bcc82bf12b309616942c4bd | 212 ++++++++++++++++++++++ 1 file changed, 212 insertions(+) create mode 100644 d7/f77f2b6b2592e47bcc82bf12b309616942c4bd diff --git a/d7/f77f2b6b2592e47bcc82bf12b309616942c4bd b/d7/f77f2b6b2592e47bcc82bf12b309616942c4bd new file mode 100644 index 000000000..78e708ebd --- /dev/null +++ b/d7/f77f2b6b2592e47bcc82bf12b309616942c4bd @@ -0,0 +1,212 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 65AFC6DE0243 + for ; Sat, 4 Jun 2016 05:45:17 -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 jJA5X9ZFkVCs for ; + Sat, 4 Jun 2016 05:45:09 -0700 (PDT) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id AD2726DE0159 + for ; Sat, 4 Jun 2016 05:45:09 -0700 (PDT) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) + id 1b9Awj-0005Cp-5P; Sat, 04 Jun 2016 08:44:57 -0400 +Received: (nullmailer pid 18728 invoked by uid 1000); + Sat, 04 Jun 2016 12:45:06 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: [Jameson Graef Rollins] Bug#826280: notmuch: shortcut to list tags +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:45:06 -0300 +Message-ID: <87fustdsx9.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: message/rfc822 +Content-Disposition: inline +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:45:17 -0000 + +Return-path: +Envelope-to: david@tethera.net +Delivery-date: Fri, 03 Jun 2016 16:54:00 -0400 +Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]) + by fethera.tethera.net with esmtp (Exim 4.84) + (envelope-from ) + id 1b8w6S-0002FU-9b + for david@tethera.net; Fri, 03 Jun 2016 16:54:00 -0400 +Received: from ticharich.debian.org ([2001:41c8:1000:21::21:23]) from + C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP + CA,CN=ticharich.debian.org,EMAIL=hostmaster@ticharich.debian.org (verified) + by mailly.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) + (Exim 4.84_2) (envelope-from + ) id 1b8w6c-0003LX-Ox + for david@tethera.net; Fri, 03 Jun 2016 20:54:11 +0000 +Received: from localhost ([::1] helo=ticharich.debian.org) + by ticharich.debian.org with esmtp (Exim 4.84_2) + (envelope-from ) + id 1b8w6c-0004QS-Gq + for david@tethera.net; Fri, 03 Jun 2016 20:54:10 +0000 +Received: from muffat.debian.org ([2607:f8f0:610:4000:6564:a62:ce0c:1392]) + from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP + CA,CN=muffat.debian.org,EMAIL=hostmaster@muffat.debian.org (verified) by + ticharich.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) + (Exim 4.84_2) (envelope-from ) id + 1b8w6c-0004QK-7T for dispatch+notmuch@tracker.debian.org; Fri, 03 Jun 2016 + 20:54:10 +0000 +Received: from quantz.debian.org ([2001:41c8:1000:21::21:28]) from + C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP + CA,CN=quantz.debian.org,EMAIL=hostmaster@quantz.debian.org (verified) by + muffat.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim + 4.84_2) (envelope-from ) id 1b8w6a-0000Qd-Kw + for dispatch+notmuch@tracker.debian.org; Fri, 03 Jun 2016 20:54:08 +0000 +Received: from qa by quantz.debian.org with local (Exim 4.84_2) + (envelope-from ) + id 1b8w6Z-0004J6-6b + for dispatch+notmuch@tracker.debian.org; Fri, 03 Jun 2016 20:54:07 +0000 +Received: from buxtehude.debian.org ([2607:f8f0:610:4000:2015:12:0:147]) from + C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP + CA,CN=buxtehude.debian.org,EMAIL=hostmaster@buxtehude.debian.org (verified) + by quantz.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) + (Exim 4.84_2) (envelope-from ) id + 1b8w6Y-0004IJ-VP for notmuch@packages.qa.debian.org; Fri, 03 Jun 2016 + 20:54:07 +0000 +Received: from debbugs by buxtehude.debian.org with local (Exim 4.84_2) + (envelope-from ) + id 1b8w6X-0007ab-Da; Fri, 03 Jun 2016 20:54:05 +0000 +X-Loop: owner@bugs.debian.org +Subject: Bug#826280: notmuch: shortcut to list tags +Reply-To: Jameson Graef Rollins , + 826280@bugs.debian.org +Resent-From: Jameson Graef Rollins +Resent-To: debian-bugs-dist@lists.debian.org +Resent-CC: Carl Worth +X-Loop: owner@bugs.debian.org +Resent-Date: Fri, 03 Jun 2016 20:54:01 +0000 +Resent-Message-ID: +X-Debian-PR-Message: report 826280 +X-Debian-PR-Package: notmuch +X-Debian-PR-Keywords: +X-Debian-PR-Source: notmuch +Received: via spool by submit@bugs.debian.org id=B.146498710428659 + (code B); Fri, 03 Jun 2016 20:54:01 +0000 +Received: (at submit) by bugs.debian.org; 3 Jun 2016 20:51:44 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-11.8 required=4.0 tests=BAYES_00,FOURLA,HAS_PACKAGE, + RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,XMAILER_REPORTBUG + autolearn=ham autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 12; hammy, 150; neutral, 79; spammy, + 0. spammytokens: hammytokens:0.000-+--systemd, 0.000-+--H*M:reportbug, + 0.000-+--H*MI:reportbug, 0.000-+--H*x:reportbug, 0.000-+--H*UA:reportbug +Received: from outgoing-mail.its.caltech.edu ([131.215.239.19]) + by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) + (Exim 4.84_2) + (envelope-from ) + id 1b8w4G-0007RP-AX + for submit@bugs.debian.org; Fri, 03 Jun 2016 20:51:44 +0000 +Received: from smtp02.caltech.edu (localhost [127.0.0.1]) + by smtp02.caltech.edu (Postfix) with ESMTP id B59BE6C21A6; + Fri, 3 Jun 2016 13:51:38 -0700 (PDT) +Received: from finestructure.net (cpe-172-249-171-63.socal.res.rr.com + [172.249.171.63]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 + (256/256 bits)) (No client certificate requested) (Authenticated sender: + jrollins) by smtp-server.its.caltech.edu (Postfix) with ESMTPSA id + 655266C21A1; Fri, 3 Jun 2016 13:51:38 -0700 (PDT) +Received: by finestructure.net (Postfix, from userid 1000) + id F3F036021A; Fri, 3 Jun 2016 13:51:37 -0700 (PDT) +From: Jameson Graef Rollins +To: Debian Bug Tracking System +Message-ID: + <146498709797.16348.3163286438619529823.reportbug@servo.finestructure.net> +X-Mailer: reportbug 6.6.6 +Date: Fri, 03 Jun 2016 13:51:37 -0700 +Delivered-To: submit@bugs.debian.org +Delivered-To: notmuch@packages.qa.debian.org +Delivered-To: dispatch+notmuch@tracker.debian.org +X-Loop: dispatch@tracker.debian.org +X-Distro-Tracker-Package: notmuch +X-Distro-Tracker-Keyword: bts +List-Id: +X-Debian-Package: notmuch +X-Debian: tracker.debian.org +X-PTS-Package: notmuch +X-PTS-Keyword: bts +Precedence: list +List-Unsubscribe: + +MIME-Version: 1.0 +Content-Type: text/plain + +Package: notmuch +Version: 0.22-1 +Severity: wishlist + +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. + +Thanks. + +jamie. + +-- System Information: +Debian Release: stretch/sid + APT prefers testing + APT policy: (600, 'testing'), (200, 'unstable'), (101, 'experimental') +Architecture: amd64 (x86_64) +Foreign Architectures: i386 + +Kernel: Linux 4.5.0-1-amd64 (SMP w/4 CPU cores) +Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) +Shell: /bin/sh linked to /bin/dash +Init: systemd (via /run/systemd/system) + +Versions of packages notmuch depends on: +ii libc6 2.22-7 +ii libglib2.0-0 2.48.1-1 +ii libgmime-2.6-0 2.6.20-1+b1 +ii libnotmuch4 0.22-1 +ii libtalloc2 2.1.6-1 +ii zlib1g 1:1.2.8.dfsg-2+b1 + +Versions of packages notmuch recommends: +ii alot 0.3.6-1 +ii gnupg-agent 2.1.11-7 +ii gpgsm 2.1.11-7 +ii notmuch-emacs 0.22-1 +ii notmuch-mutt 0.22-1 +ii notmuch-vim 0.22-1 + +notmuch suggests no packages. + +-- no debconf information + -- 2.26.2