From 366f1a0cec22f5a7e61df6000f9d4538ad0b266a Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Thu, 15 Nov 2012 09:05:47 +0000 Subject: [PATCH] Re: notmuch show --- ea/2cf1f3271e80c2040d0e301158b2b1e966ef3d | 104 ++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 ea/2cf1f3271e80c2040d0e301158b2b1e966ef3d diff --git a/ea/2cf1f3271e80c2040d0e301158b2b1e966ef3d b/ea/2cf1f3271e80c2040d0e301158b2b1e966ef3d new file mode 100644 index 000000000..6e2deda59 --- /dev/null +++ b/ea/2cf1f3271e80c2040d0e301158b2b1e966ef3d @@ -0,0 +1,104 @@ +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 A3BC5431FBF + for ; Thu, 15 Nov 2012 01:05:47 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -1.098 +X-Spam-Level: +X-Spam-Status: No, score=-1.098 tagged_above=-999 required=5 + tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, + NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3] 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 2+lXgnizOMfU for ; + Thu, 15 Nov 2012 01:05:47 -0800 (PST) +Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id E6C33431FAF + for ; Thu, 15 Nov 2012 01:05:46 -0800 (PST) +Received: from smtp.qmul.ac.uk ([138.37.6.40]) + by mail2.qmul.ac.uk with esmtp (Exim 4.71) + (envelope-from ) + id 1TYvOG-0003bX-RF; Thu, 15 Nov 2012 09:05:43 +0000 +Received: from 93-97-24-31.zone5.bethere.co.uk ([93.97.24.31] helo=localhost) + by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) + (envelope-from ) + id 1TYvOG-0000aP-JX; Thu, 15 Nov 2012 09:05:40 +0000 +From: Mark Walters +To: Christoph Rissner , + notmuch mailing list +Subject: Re: notmuch show +In-Reply-To: <50A4A974.5060203@visotech.at> +References: <50A4A974.5060203@visotech.at> +User-Agent: Notmuch/0.14+81~g9730584 (http://notmuchmail.org) Emacs/23.4.1 + (x86_64-pc-linux-gnu) +Date: Thu, 15 Nov 2012 09:05:47 +0000 +Message-ID: <87haor5j84.fsf@qmul.ac.uk> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-Sender-Host-Address: 93.97.24.31 +X-QM-SPAM-Info: Sender has good ham record. :) +X-QM-Body-MD5: 684a85941dfe2e94bb055ecf18ffe422 (of first 20000 bytes) +X-SpamAssassin-Score: -1.8 +X-SpamAssassin-SpamBar: - +X-SpamAssassin-Report: The QM spam filters have analysed this message to + determine if it is + spam. We require at least 5.0 points to mark a message as spam. + This message scored -1.8 points. + Summary of the scoring: + * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, + * medium trust + * [138.37.6.40 listed in list.dnswl.org] + * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail + provider * (markwalters1009[at]gmail.com) + * 0.5 AWL AWL: From: address is in the auto white-list +X-QM-Scan-Virus: ClamAV says the message is clean +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: Thu, 15 Nov 2012 09:05:47 -0000 + + +I think + +notmuch search --output=tags '*' + +is what you want + +Best wishes + +Mark + +On Thu, 15 Nov 2012, Christoph Rissner wrote: +> Hi, +> +> it's probably a stupid question, but is it possibly to query all +> available tags from the command line? Something like "notmuch show --tags"? +> +> I know there is notmuch_database_get_all_tags(), emacs shows a list of +> tags, in python it's just +> "list(notmuch.database.Database().get_all_tags())", but how do I do that +> using notmuch itself? +> +> BTW: I'm currently using notmuch from rev 84a0c52. +> +> Thanks, +> Christoph +> +> _______________________________________________ +> notmuch mailing list +> notmuch@notmuchmail.org +> http://notmuchmail.org/mailman/listinfo/notmuch -- 2.26.2