On Thu, 08 Apr 2010 07:58:47 -0700, Dirk Hohndel <hohn...@infradead.org> wrote:
> > And as for drafts, they could be easily indexed and managed by the UI if
> > the folder: search term is available.
> 
> Hmm - haven't even thought about drafts, yet. How would the UI deal with
> those? 

My idea is the following:

Currently for me drafts are stored in ~/.mail/drafts.  If we have
folder: searching, then I can starting indexing my drafts directory and
apply the following post-new filter:

notmuch tag +draft -inbox -unread -- folder:drafts

I'll then make a simple elisp "resume" function that is available for
resuming draft messages, that would be available when viewing messages
From a draft search results.

One could also imagine a "notmuch-draft" emacs mode that would provide
functions specifically for viewing and resuming draft messages.

Anyway, my plan was to work on all of this when some sane way of
indexing draft messages was available (ie. folder: searching).

jamie.

Attachment: pgpXqdyX5ad8t.pgp
Description: PGP signature

_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to