From c26fd0af938889a9033771f32708f8be30cf84c6 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Wed, 22 Jan 2014 08:52:30 +2000 Subject: [PATCH] Re: An Emacs Minor Mode to Mute Email Threads --- 1c/1529c6003af0350bfcb2ae2bd9531b1ca3bf48 | 77 +++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 1c/1529c6003af0350bfcb2ae2bd9531b1ca3bf48 diff --git a/1c/1529c6003af0350bfcb2ae2bd9531b1ca3bf48 b/1c/1529c6003af0350bfcb2ae2bd9531b1ca3bf48 new file mode 100644 index 000000000..f659f4083 --- /dev/null +++ b/1c/1529c6003af0350bfcb2ae2bd9531b1ca3bf48 @@ -0,0 +1,77 @@ +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 B258C431FBD + for ; Tue, 21 Jan 2014 04:52:44 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 vMhW6ECP0jSy for ; + Tue, 21 Jan 2014 04:52:38 -0800 (PST) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 78530431FAF + for ; Tue, 21 Jan 2014 04:52:38 -0800 (PST) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1W5aol-0002z5-5E; Tue, 21 Jan 2014 08:52:35 -0400 +Received: (nullmailer pid 15142 invoked by uid 1000); Tue, 21 Jan 2014 + 12:52:30 -0000 +From: David Bremner +To: kototama kototama , notmuch@notmuchmail.org +Subject: Re: An Emacs Minor Mode to Mute Email Threads +In-Reply-To: + +References: + +User-Agent: Notmuch/0.17+35~g3b36898 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Tue, 21 Jan 2014 08:52:30 -0400 +Message-ID: <87zjmpsdip.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +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: Tue, 21 Jan 2014 12:52:44 -0000 + +kototama kototama writes: + +> Hello everyone, +> +> I have developed a small minor mode to mute email threads with notmuch. +> +> http://dialectical-computing.de/blog/blog/2014/01/17/an-emacs-minor-mode-to-mute-email-threads/ +> +> https://github.com/kototama/notmuch-kill-mode +> +> I hope it can be useful for some of you. + +Interesting. I think it is more efficient (and UI agnostic) to do this +on the CLI level. For example + +% notmuch config set search.exclude_tags "spam;deleted;muted" + +spam and deleted are not needed for this discussion. + +then in a post-new hook (man notmuch-hooks) or other script + +% notmuch tag +muted $(notmuch search --output=threads tag:muted) + +David -- 2.26.2