(auto-)tagging sent messages
Pieter Praet
pieter at praet.org
Sun Apr 17 23:40:36 PDT 2011
On Sun, 17 Apr 2011 19:17:40 -0400, Tom Prince <tom.prince at ualberta.net> wrote:
> On 2011-04-17, Pieter Praet wrote:
> > On Sat, 16 Apr 2011 15:23:44 -0400, Tom Prince <tom.prince at 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
More information about the notmuch
mailing list