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 7932A431FB6 for ; Sun, 17 Apr 2011 10:53:26 -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 wl7VNSl8gzuf for ; Sun, 17 Apr 2011 10:53:24 -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 A799E431FB5 for ; Sun, 17 Apr 2011 10:53:24 -0700 (PDT) Received: by wwi36 with SMTP id 36so4354384wwi.2 for ; Sun, 17 Apr 2011 10:53:23 -0700 (PDT) Received: by 10.216.24.73 with SMTP id w51mr3912840wew.72.1303062803297; Sun, 17 Apr 2011 10:53:23 -0700 (PDT) Received: from localhost (103.39-242-81.adsl-dyn.isp.belgacom.be [81.242.39.103]) by mx.google.com with ESMTPS id f30sm2218093wef.31.2011.04.17.10.53.21 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Apr 2011 10:53:22 -0700 (PDT) From: Pieter Praet To: Tom Prince , Florian Friesdorf , notmuch@notmuchmail.org Subject: Re: (auto-)tagging sent messages In-Reply-To: <87sjtij8zj.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> User-Agent: Notmuch/0.5-86-g4875299 (http://notmuchmail.org) Emacs/23.1.50.1 (x86_64-pc-linux-gnu) Date: Sun, 17 Apr 2011 19:53:20 +0200 Message-ID: <87bp04ix2n.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: Sun, 17 Apr 2011 17:53:26 -0000 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. Yet it remains Notmuch's policy to *never* alter your mailstore, aside from Maildir flags. This would also invite outsiders to sprinkle their mails with "<#notmuch tag=WAITING>", messing up you workflow. Peace -Pieter