notmuch and "mute" -- useful to anyone?
[notmuch-archives.git] / 06 / 430558df0f42b426cca92286a70da74fc26524
1 Return-Path: <amdragon@gmail.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 3DE41429E25\r
6         for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 13:58:02 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.699\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001,\r
13         RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id 63UQ0qoXYRRY for <notmuch@notmuchmail.org>;\r
17         Mon, 27 Jun 2011 13:58:01 -0700 (PDT)\r
18 Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com\r
19         [209.85.216.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id CA82F431FD0\r
22         for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 13:58:01 -0700 (PDT)\r
23 Received: by qyk9 with SMTP id 9so3295453qyk.5\r
24         for <notmuch@notmuchmail.org>; Mon, 27 Jun 2011 13:58:01 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
26         h=domainkey-signature:mime-version:sender:in-reply-to:references:date\r
27         :x-google-sender-auth:message-id:subject:from:to:cc:content-type\r
28         :content-transfer-encoding;\r
29         bh=5eGvopmPY/zUfeyxwWvWilkwvym1MqPqtspv6+v4DAE=;\r
30         b=NmttHb1gY8exxNw52odQBIGagKaPdCVtT+S4pvtoYoj+0U16ibwEBDgbpRKoWjnsJY\r
31         pPKjIJDBGQ3tnvxXHdgOsVzq/IPi+jobfLLcPgxpYl58Daoe1kEZ15DmHJ9T5FfWQS42\r
32         iUvcaMxnqVXHQd4QLXgIAXCOy2f65v7h9jwa4=\r
33 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
34         h=mime-version:sender:in-reply-to:references:date\r
35         :x-google-sender-auth:message-id:subject:from:to:cc:content-type\r
36         :content-transfer-encoding;\r
37         b=OeSvf39lJwBeZ+zSYbB8n/HPXLcJzjTuf4rdcGobb9NLJ5mDJJ9Z+OHN2NOsp5mw7G\r
38         1O/eFLXKv8GxADXhYg/QSI/JuO8ATlRg2qqRzU29SVK4HXwTGI975RfQFbNpeuYq8kfm\r
39         Isf2UWeI16bWzJjDRTCiJRiDI/14Yt/4Vs+2s=\r
40 MIME-Version: 1.0\r
41 Received: by 10.229.31.1 with SMTP id w1mr5065785qcc.138.1309208281047; Mon,\r
42         27 Jun 2011 13:58:01 -0700 (PDT)\r
43 Sender: amdragon@gmail.com\r
44 Received: by 10.229.32.197 with HTTP; Mon, 27 Jun 2011 13:58:00 -0700 (PDT)\r
45 In-Reply-To: <87sjqvw64n.fsf@gmail.com>\r
46 References: <87sjqvw64n.fsf@gmail.com>\r
47 Date: Mon, 27 Jun 2011 16:58:00 -0400\r
48 X-Google-Sender-Auth: lI70ejrYxb7ATdRuBoNpin0Ihdw\r
49 Message-ID: <BANLkTikhyA-9hrr8WfJvYP50OcYPsMiiuQ@mail.gmail.com>\r
50 Subject: Re: [PATCH] test:Folder tags shouldn't match after removal of file in\r
51         given folder\r
52 From: Austin Clements <amdragon@mit.edu>\r
53 To: Mark Anderson <ma.skies@gmail.com>\r
54 Content-Type: text/plain; charset=ISO-8859-1\r
55 Content-Transfer-Encoding: quoted-printable\r
56 Cc: notmuch@notmuchmail.org\r
57 X-BeenThere: notmuch@notmuchmail.org\r
58 X-Mailman-Version: 2.1.13\r
59 Precedence: list\r
60 List-Id: "Use and development of the notmuch mail system."\r
61         <notmuch.notmuchmail.org>\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
65 List-Post: <mailto:notmuch@notmuchmail.org>\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
69 X-List-Received-Date: Mon, 27 Jun 2011 20:58:02 -0000\r
70 \r
71 On Mon, Jun 27, 2011 at 1:12 PM, Mark Anderson <ma.skies@gmail.com> wrote:\r
72 > +test_begin_subtest "Test matches folder:spam"\r
73 > +output=3D$(notmuch search folder:spam)\r
74 > +test_expect_equal "$output" "thread:0000000000000001 =A0 2001-01-05 [1/1=\r
75 ] Notmuch Test Suite; Test message #1 (inbox unread)"\r
76 > +\r
77 > +sleep 1;\r
78 \r
79 I assume this has to do with directory mtime's.  Is it sufficient to\r
80 instead increment_mtime $dir/spam after the rm below?\r
81 \r
82 > +\r
83 > +test_begin_subtest "Remove folder:spam copy of email"\r
84 > +rm $dir/spam/$(basename $file_x)\r
85 > +output=3D$(NOTMUCH_NEW)\r
86 > +test_expect_equal "$output" "No new mail. Detected 1 file rename."\r