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 4558D431FB6 for ; Sun, 17 Apr 2011 23:40:53 -0700 (PDT) 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 kGsA8eqtdCNp for ; Sun, 17 Apr 2011 23:40:44 -0700 (PDT) Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id F3AB6431FB5 for ; Sun, 17 Apr 2011 23:40:43 -0700 (PDT) Received: by wwi36 with SMTP id 36so4685036wwi.2 for ; Sun, 17 Apr 2011 23:40:40 -0700 (PDT) Received: by 10.216.145.131 with SMTP id p3mr4282965wej.82.1303108839906; Sun, 17 Apr 2011 23:40:39 -0700 (PDT) Received: from localhost (6.159-240-81.adsl-dyn.isp.belgacom.be [81.240.159.6]) by mx.google.com with ESMTPS id m2sm2401670wer.13.2011.04.17.23.40.37 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Apr 2011 23:40:38 -0700 (PDT) From: Pieter Praet To: Tom Prince , Florian Friesdorf , notmuch@notmuchmail.org Subject: Re: (auto-)tagging sent messages In-Reply-To: <87k4esjwmj.fsf@hermes.hocat.ca> References: <8739ll8dkv.fsf@eve.chaoflow.net> <87pqomgxr0.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me> <87sjtij8zj.fsf@hermes.hocat.ca> <87bp04ix2n.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me> <87k4esjwmj.fsf@hermes.hocat.ca> User-Agent: Notmuch/0.5-87-g30203d7 (http://notmuchmail.org) Emacs/23.1.50.1 (x86_64-pc-linux-gnu) Date: Mon, 18 Apr 2011 08:40:36 +0200 Message-ID: <87oc449i57.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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, 18 Apr 2011 06:40:53 -0000 On Sun, 17 Apr 2011 19:17:40 -0400, Tom Prince wrote: > On 2011-04-17, Pieter Praet wrote: > > On Sat, 16 Apr 2011 15:23:44 -0400, Tom Prince wrote: > > > > > Further, for certain mails I sent (like this one ) I would like a > > > > > WAITING tag (or similar) in order to indicate that I am waiting for an > > > > > answer. Currently I set this manually. Could this be achieved through > > > > > some indicators via message mode or similar means? e.g.: > > > > > > > > > > <#notmuch tag=WAITING> analog to <#secure method=pgpmime mode=sign> > > > > > > > > No idea how this works since I don't follow Jameson's crypto branch, > > > > but it's probably not a good idea for this use case since (I presume) > > > > the indicator will become permanently lodged in the content of the > > > > mail, which isn't where highly volatile metadata belongs. > > > > > > I think the idea isn't to save it in the message, but to postprocess the > > > message when sending, remove the marker and add the tag instead. > > > > > > Tom > > > > Seems like a Catch-22 to me. > > > > The marker needs to remain there long enough for Notmuch to index and > > tag the message appropriately (which happens long after message-mode has > > left the building) so it's up to Notmuch itself (as opposed to a > > message-mode hook) to do the pre-/postprocessing. > > Not if message mode post-processing is hooked up to something like > notmuch-deliver, that indexes and tags the message on send. > > Tom Hadn't looked into notmuch-deliver yet. Now that I did, I stand corrected, good sir! Peace -Pieter