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 5BF3E431FB6 for ; Sun, 17 Apr 2011 16:17:48 -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 eE9bvAKeJlGB for ; Sun, 17 Apr 2011 16:17:46 -0700 (PDT) Received: from socrates.hocat.ca (socrates.hocat.ca [76.10.188.53]) by olra.theworths.org (Postfix) with ESMTP id 8B400431FB5 for ; Sun, 17 Apr 2011 16:17:46 -0700 (PDT) Received: from hermes.hocat.ca (hermes.hocat.ca [69.165.170.253]) by socrates.hocat.ca (Postfix) with SMTP id AEB131C39; Sun, 17 Apr 2011 17:17:44 -0600 (MDT) Received: (nullmailer pid 26991 invoked by uid 1000); Sun, 17 Apr 2011 23:17:40 -0000 From: Tom Prince To: Pieter Praet , Florian Friesdorf , notmuch@notmuchmail.org Subject: Re: (auto-)tagging sent messages In-Reply-To: <87bp04ix2n.fsf@A7GMS.i-did-not-set--mail-host-address--so-tickle-me> 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> User-Agent: Notmuch/0.5-105-gc3a6a5b (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Sun, 17 Apr 2011 19:17:40 -0400 Message-ID: <87k4esjwmj.fsf@hermes.hocat.ca> 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: Sun, 17 Apr 2011 23:17:48 -0000 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