Re: (auto-)tagging sent messages

Subject: Re: (auto-)tagging sent messages

Date: Sun, 17 Apr 2011 19:53:20 +0200

To: Tom Prince, Florian Friesdorf, notmuch@notmuchmail.org

Cc:

From: Pieter Praet


On Sat, 16 Apr 2011 15:23:44 -0400, Tom Prince <tom.prince@ualberta.net> 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

Thread: