Re: Drafts being tagged as inbox

Subject: Re: Drafts being tagged as inbox

Date: Tue, 28 Jun 2011 08:34:44 +0200

To: Robin Green, notmuch@notmuchmail.org

Cc:

From: Pieter Praet


On Mon, 27 Jun 2011 22:50:25 +0100, Robin Green <greenrd@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@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch

Peace

-- 
Pieter

Thread: