[PATCH v3 4/7] Add internal functions to search for alternate doc types
[notmuch-archives.git] / aa / d74d59f89796e6a8a47869a5e939e20429684b
1 Return-Path: <xma@gnu.org>\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 77C2A431FB6\r
6         for <notmuch@notmuchmail.org>; Mon, 18 Apr 2011 06:12:12 -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: 1.463\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.463 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, RDNS_DYNAMIC=0.363, TO_NO_BRKTS_DYNIP=1]\r
13         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 zKpK6T9I68aA for <notmuch@notmuchmail.org>;\r
17         Mon, 18 Apr 2011 06:12:11 -0700 (PDT)\r
18 Received: from xhlj.maillard.im (cha51-3-88-164-105-66.fbx.proxad.net\r
19         [88.164.105.66])\r
20         by olra.theworths.org (Postfix) with ESMTP id DF10E431FB5\r
21         for <notmuch@notmuchmail.org>; Mon, 18 Apr 2011 06:12:10 -0700 (PDT)\r
22 Received: from xhlj.maillard.im (xhlj.maillard.im [127.0.0.1])\r
23         by xhlj.maillard.im (Postfix) with ESMTP id 1DE522C061;\r
24         Mon, 18 Apr 2011 15:12:05 +0200 (CEST)\r
25 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=maillard.im; h=from:to\r
26         :subject:in-reply-to:references:reply-to:date:message-id\r
27         :mime-version:content-type; s=postfix; bh=LJ7zijZIE1K0hHYVeuOcRq\r
28         +m4ow=; b=jz2Edo37IdoKmvliTLnIwAxhkb7gV7F3pJvBK65QFOizUX9kku4DFH\r
29         b1gA6zXhZl4ey24qNxz2uW2q982pk1seuXTpVMQBrqupli7McfycGXGDg4J2mWaV\r
30         46B0FsoU0rrk0w2L/8pGgrj5e6l245oAGeCtzAej8j7r9VfP8DO2A=\r
31 DomainKey-Signature: a=rsa-sha1; c=nofws; d=maillard.im; h=from:to\r
32         :subject:in-reply-to:references:reply-to:date:message-id\r
33         :mime-version:content-type; q=dns; s=postfix; b=FOAJmQXtIerTf7kB\r
34         YlvJ+48xHgKkjHFS/nkQJfN+1W8WEV4jkefaRq4E4r9aeYHI0n4+/1gw5RAlGSou\r
35         tylHkIIaa4Dww5eD5SaXq+O/Fc4TRHHOOabd5Z3j9vXyCvt+Kie4yRMHSUpZKlgX\r
36         VzjQnGER/8Q1VxS1wv/4qHHQ210=\r
37 Received: from maillard.im (unknown [192.168.0.254])\r
38         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
39         (No client certificate requested)\r
40         by xhlj.maillard.im (Postfix) with ESMTPSA;\r
41         Mon, 18 Apr 2011 15:12:04 +0200 (CEST)\r
42 From: Xavier Maillard <xavier@maillard.im>\r
43 To: Michael Radziej <mir@spieleck.de>, Florian Friesdorf <flo@chaoflow.net>,\r
44         notmuch@notmuchmail.org\r
45 Subject: Re: (auto-)tagging sent messages\r
46 In-Reply-To: <87mxjphl55.fsf@spieleck.de>\r
47 References: <8739ll8dkv.fsf@eve.chaoflow.net> <87mxjphl55.fsf@spieleck.de>\r
48 User-Agent: Notmuch/0.5-133-gc509598 (http://notmuchmail.org) Emacs/23.2.1\r
49         (i486-slackware-linux-gnu)\r
50 Date: Mon, 18 Apr 2011 15:22:37 +0200\r
51 Message-ID: <m2r58zzobm.fsf@gnu.org>\r
52 MIME-Version: 1.0\r
53 Content-Type: text/plain; charset=us-ascii\r
54 X-BeenThere: notmuch@notmuchmail.org\r
55 X-Mailman-Version: 2.1.13\r
56 Precedence: list\r
57 Reply-To: Xavier Maillard <xma@gnu.org>\r
58 List-Id: "Use and development of the notmuch mail system."\r
59         <notmuch.notmuchmail.org>\r
60 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
62 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
63 List-Post: <mailto:notmuch@notmuchmail.org>\r
64 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
65 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
66         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
67 X-List-Received-Date: Mon, 18 Apr 2011 13:12:12 -0000\r
68 \r
69 \r
70 On Sun, 17 Apr 2011 00:44:06 +0200, Michael Radziej <mir@spieleck.de> wrote:\r
71 > Hi Florian!\r
72\r
73 > On Thu, 14 Apr 2011 10:03:12 +0200, Florian Friesdorf <flo@chaoflow.net> wrote:\r
74 > > Further, for certain mails I sent (like this one ) I would like a\r
75 > > WAITING tag (or similar) in order to indicate that I am waiting for an\r
76 > > answer. Currently I set this manually. Could this be achieved through\r
77 > > some indicators via message mode or similar means? e.g.:\r
78\r
79 > I use a X-Wait header (like X-Wait: 2, meaning to wait for 2 days). If\r
80 > there is no activity in the thread within time, it receives additional tags\r
81 > "late" and "inbox". If an answer to a waiting mail arrives, it receives a tag "expected".\r
82 \r
83 I like your workflow very much. \r
84 \r
85 Do you think this could be done directly in a SIEVE script ? The more I\r
86 use notmuch, the more I think many things could be done directly at the\r
87 IMAP/SIEVE stage. Am I alone thinking this way ? I mean, today, I put\r
88 things in specific folders, etc. Notmuch is almost exclusively used with\r
89 search phrases like: folder:notmuch and tag:unread.\r
90 \r
91 I am not SIEVE expert but I am pretty sure it can do way more things\r
92 than just dispatch messages into folders.\r
93 \r
94 /Xavier\r