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 isn't much involved in the current saving of drafts, so if we wanted to do something like save drafts to a maildir instead, we could override the buffer-saving functions in our message-composition buffers. Meanwhile, even without a tag, I do like that my drafts are currently getting indexed by notmuch and show up in search results, (they even show up with a timestamp of 0 so accidentally get sorted right to the top of many search results). That's convenient. Even handier would be a separate notmuch-hello search result showing me I have some drafts to complete, (which would then, benefit from a tag). The biggest annoyance I currently have with drafts is that they aren't automatically removed from the filesystem when I finally send the message. If someone were to contribute a fix for that, it would really make my day. -Carl -- carl.d.worth@intel.com