Re: (auto-)tagging sent messages

Subject: Re: (auto-)tagging sent messages

Date: Mon, 18 Apr 2011 08:40:36 +0200

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

Cc:

From: Pieter Praet


On Sun, 17 Apr 2011 19:17:40 -0400, Tom Prince <tom.prince@ualberta.net> wrote:
> On 2011-04-17, Pieter Praet wrote:
> > 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.
> 
> 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

Thread: