Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / fa / a6e836f0936a443786f84636f4408a8c041ffa
1 Return-Path: <tom.prince@ualberta.net>\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 5BF3E431FB6\r
6         for <notmuch@notmuchmail.org>; Sun, 17 Apr 2011 16:17:48 -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\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id eE9bvAKeJlGB for <notmuch@notmuchmail.org>;\r
16         Sun, 17 Apr 2011 16:17:46 -0700 (PDT)\r
17 Received: from socrates.hocat.ca (socrates.hocat.ca [76.10.188.53])\r
18         by olra.theworths.org (Postfix) with ESMTP id 8B400431FB5\r
19         for <notmuch@notmuchmail.org>; Sun, 17 Apr 2011 16:17:46 -0700 (PDT)\r
20 Received: from hermes.hocat.ca (hermes.hocat.ca [69.165.170.253])\r
21         by socrates.hocat.ca (Postfix) with SMTP id AEB131C39;\r
22         Sun, 17 Apr 2011 17:17:44 -0600 (MDT)\r
23 Received: (nullmailer pid 26991 invoked by uid 1000);\r
24         Sun, 17 Apr 2011 23:17:40 -0000\r
25 From: Tom Prince <tom.prince@ualberta.net>\r
26 To: Pieter Praet <pieter@praet.org>, Florian Friesdorf <flo@chaoflow.net>,\r
27         notmuch@notmuchmail.org\r
28 Subject: Re: (auto-)tagging sent messages\r
29 In-Reply-To:\r
30  <87bp04ix2n.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me>\r
31 References: <8739ll8dkv.fsf@eve.chaoflow.net>\r
32         <87pqomgxr0.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me>\r
33         <87sjtij8zj.fsf@hermes.hocat.ca>\r
34         <87bp04ix2n.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me>\r
35 User-Agent: Notmuch/0.5-105-gc3a6a5b (http://notmuchmail.org) Emacs/23.2.1\r
36         (x86_64-pc-linux-gnu)\r
37 Date: Sun, 17 Apr 2011 19:17:40 -0400\r
38 Message-ID: <87k4esjwmj.fsf@hermes.hocat.ca>\r
39 MIME-Version: 1.0\r
40 Content-Type: text/plain; charset=us-ascii\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.13\r
43 Precedence: list\r
44 List-Id: "Use and development of the notmuch mail system."\r
45         <notmuch.notmuchmail.org>\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
49 List-Post: <mailto:notmuch@notmuchmail.org>\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
53 X-List-Received-Date: Sun, 17 Apr 2011 23:17:48 -0000\r
54 \r
55 On 2011-04-17, Pieter Praet wrote:\r
56 > On Sat, 16 Apr 2011 15:23:44 -0400, Tom Prince <tom.prince@ualberta.net> wrote:\r
57 > > > > Further, for certain mails I sent (like this one ) I would like a\r
58 > > > > WAITING tag (or similar) in order to indicate that I am waiting for an\r
59 > > > > answer. Currently I set this manually. Could this be achieved through\r
60 > > > > some indicators via message mode or similar means? e.g.:\r
61 > > > > \r
62 > > > > <#notmuch tag=WAITING> analog to <#secure method=pgpmime mode=sign>\r
63 > > > \r
64 > > > No idea how this works since I don't follow Jameson's crypto branch,\r
65 > > > but it's probably not a good idea for this use case since (I presume)\r
66 > > > the indicator will become permanently lodged in the content of the\r
67 > > > mail, which isn't where highly volatile metadata belongs.\r
68 > > \r
69 > > I think the idea isn't to save it in the message, but to postprocess the\r
70 > > message when sending, remove the marker and add the tag instead.\r
71 > > \r
72 > >   Tom\r
73\r
74 > Seems like a Catch-22 to me.\r
75\r
76 > The marker needs to remain there long enough for Notmuch to index and\r
77 > tag the message appropriately (which happens long after message-mode has\r
78 > left the building) so it's up to Notmuch itself (as opposed to a\r
79 > message-mode hook) to do the pre-/postprocessing.\r
80 \r
81 Not if message mode post-processing is hooked up to something like\r
82 notmuch-deliver, that indexes and tags the message on send.\r
83 \r
84   Tom\r