X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=TODO;h=cf0ec41b95ed3f9e974b3500b26ee19722919f5a;hp=8f9a1a98c5ae13e925c30bcc90777d64525abec0;hb=bdde72638806217bd6c329ed7e66e5b7c8c72671;hpb=e8d8906d9c912d02adbf9ab5ed66f5d6d579fa99 diff --git a/TODO b/TODO index 8f9a1a98..cf0ec41b 100644 --- a/TODO +++ b/TODO @@ -1,12 +1,36 @@ -Write a "notmuch show" that displays a single thread. +Rename notmuch_thread_results_t and notmuch_message_results_t to +notmuch_threads_t and notmuch_messages_t respectively. + +Add a talloc context as the first argument to each command in +notmuch.c. + +Make "notmuch setup" not index all messages, but only what it can do +in a reasonable amount of time, (then add "notmuch index" so the user +can complete the job when convenient). Fix to use the *last* Message-ID header if multiple such headers are encountered, (I noticed this is one thing that kept me from seeing the same message-ID values as sup). -Fix "notmuch restore" to delete the old tags from a message/thread -before adding new ones. This will require someway to temporarily -'disconnect' a notmuch_message_t from the database, (that it, disable -automatic sync for add_tag, etc.), and then reconnect it. That is, the -removal and subsequent addition of tags to the message/thread needs to -be transactional. +Add support for the user to specify custom headers to be indexed. + +Add support for automatic tagging of new messages based on particular +search criteria, (likely using an InMemory database for the new +messages). + +Fix notmuch.c to call add_timestamp/get_timestampt with path names +relative to the database path. (Otherwise, moving the database to a +new directory will result in notmuch creating new timestamp documents +and leaving stale ones behind.) + +Fix notmuch.c to use a DIR prefix for directory timestamps, (the idea +being that it can then add other non-directory timestamps such as for +noting how far back in the past mail has been indexed, and whether it +needs to re-tag messages based on a theoretical "auto-tags" +configuration file). + +Audit everything for dealing with out-of-memory (and drop xutil.c). + +Write a test suite. + +Achieve 100% test coverage with the test suite.