Drafts being tagged as inbox

Pieter Praet pieter at praet.org
Mon Jun 27 23:34:44 PDT 2011


On Mon, 27 Jun 2011 22:50:25 +0100, Robin Green <greenrd at greenrd.org> wrote:
> My drafts (created using emacs message mode) are being tagged as
> inbox. However, they are not tagged as drafts. This is because emacs
> message mode does not store drafts in Maildir format, so there are no
> Maildir flags (e.g. D for draft) to sync tags with.
> 
> Now, I could simply store drafts somewhere else, but then I wouldn't be
> able to search them using notmuch. Is there another way to have drafts
> correctly tagged?

notmuch tag -inbox +draft -- folder:${where_your_drafts_reside}

... in your tagging script.

> Thanks,
> Robin Green
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch

Peace

-- 
Pieter


More information about the notmuch mailing list