From efbf9ec45682cd10a14762b2a477228f03308637 Mon Sep 17 00:00:00 2001 From: Patrick Totzke Date: Mon, 5 Mar 2012 13:58:40 +0000 Subject: [PATCH] Re: [alot] mails tagged 'killed' reappearing --- 6f/ba32492eb6e7b9bd948c4b8eb80de5cf093f49 | 115 ++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 6f/ba32492eb6e7b9bd948c4b8eb80de5cf093f49 diff --git a/6f/ba32492eb6e7b9bd948c4b8eb80de5cf093f49 b/6f/ba32492eb6e7b9bd948c4b8eb80de5cf093f49 new file mode 100644 index 000000000..23e37964a --- /dev/null +++ b/6f/ba32492eb6e7b9bd948c4b8eb80de5cf093f49 @@ -0,0 +1,115 @@ +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 35103431FBC + for ; Mon, 5 Mar 2012 05:59:53 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 Mq81OoW8aXu6 for ; + Mon, 5 Mar 2012 05:59:52 -0800 (PST) +Received: from mail-we0-f181.google.com (mail-we0-f181.google.com + [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 65E30431FAE + for ; Mon, 5 Mar 2012 05:59:52 -0800 (PST) +Received: by werm13 with SMTP id m13so2844964wer.26 + for ; Mon, 05 Mar 2012 05:59:49 -0800 (PST) +Received-SPF: pass (google.com: domain of patricktotzke@googlemail.com + designates 10.180.80.71 as permitted sender) + client-ip=10.180.80.71; +Authentication-Results: mr.google.com; spf=pass (google.com: domain of + patricktotzke@googlemail.com designates 10.180.80.71 as + permitted sender) smtp.mail=patricktotzke@googlemail.com; + dkim=pass header.i=patricktotzke@googlemail.com +Received: from mr.google.com ([10.180.80.71]) + by 10.180.80.71 with SMTP id p7mr15341278wix.10.1330955989739 (num_hops + = 1); Mon, 05 Mar 2012 05:59:49 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=googlemail.com; s=20120113; + h=content-type:mime-version:content-transfer-encoding:from:user-agent + :to:references:in-reply-to:message-id:subject:date; + bh=Ohut15CUngTBlapyNBC6STpyjL7voEO4QOji7lqjd7k=; + b=CPYXCm2JBKzznFuFlwaFo24bshoeEI3CeytOPY+b7SUW0loYEdCDykdhfqvhfWpW4e + r7hbawn3F6zr1dcyLOsnx4IDMzvLioDGtJ4UfAxfxedK8UJgW1aUXczaAGNo6Yhxf/zt + i+fS9zH8k3LMo3EphDBE+IcDRbg6Vn3xLygRd3eatIWaS0fhr/QoLac4CwcW16rJq1rI + ce6JSCTQR/aGtzJoDJXDIjb6gJxgCvECnx6BFcBzG5/Jb8k4UG/cA5QKPjMFyyaKTfXr + 1ecoqAFfnxDvQZwCYBG5ZHapsq1PCKZu2iSkkseQ/dQL1+jNFCqdYXNqdfJ8FiyWA/J0 + ziNA== +Received: by 10.180.80.71 with SMTP id p7mr12213028wix.10.1330955989701; + Mon, 05 Mar 2012 05:59:49 -0800 (PST) +Received: from localhost (dhcp-91-036.inf.ed.ac.uk. [129.215.91.36]) + by mx.google.com with ESMTPS id fl2sm62460685wib.4.2012.03.05.05.59.47 + (version=TLSv1/SSLv3 cipher=OTHER); + Mon, 05 Mar 2012 05:59:48 -0800 (PST) +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: quoted-printable +From: Patrick Totzke +User-Agent: alot/0.21+ +To: Philippe LeCavalier , notmuch@notmuchmail.org +References: <20120303183732.12306.55008@plc.plecavalier.com> + <20120305100421.1665.13686@megatron> + <20120305130739.12306.39942@plc.plecavalier.com> +In-Reply-To: <20120305130739.12306.39942@plc.plecavalier.com> +Message-ID: <20120305135840.7429.22093@megatron> +Subject: Re: [alot] mails tagged 'killed' reappearing +Date: Mon, 05 Mar 2012 13:58:40 +0000 +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: Mon, 05 Mar 2012 13:59:53 -0000 + +Quoting Philippe LeCavalier (2012-03-05 13:07:39) +>Quoting Patrick Totzke (2012-03-05 05:04:21) +>>I presume by reappear you mean that once you receive another mail of that= + thread, +>>the thread ends up in your inbox again? +>Yes. +>> +>>You should be aware that tag "killed" is not special in any kind, nor is = +"inbox": +>>They are just strings attached to mails that make it easier for you to fi= +lter +>>your mailboxes. +> +>Yeah I know what you mean. But the search mode where the killed threads +>reappear is filtered "inbox AND NOT tag:killed" which is why I do +>presume they shouldn't 'reappear'. + +Right, the command that alot fires initially - if not stated otherwise in t= +he config or command line arguments - is +"search tag:inbox AND NOT tag:killed", which opens a new search buffer for = +query "tag:inbox AND NOT tag:killed". + +We might consider changing this, as it indeed suggest that inbox or killed = +tags are special in some sense. +I'm not sure if its a great idea to not fire any command initially by defau= +lt. After all, +people don't start up theyr mail client and want to stare at a blank termin= +al. + +Perhaps we could drop the "AND NOT tag:killed" here, I don't really have st= +rong feelings about that. +To change the initial command edit the "initial_command" config option: + http://alot.readthedocs.org/en/latest/configuration/index.html#initial-co= +mmand + +best, +/p -- 2.26.2