From cb8e4bc9c0406391cedde012dfcd7ea8f6b8ef46 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Thu, 7 Jan 2010 18:17:38 -0800 Subject: [PATCH 1/1] TODO: Add a couple of ideas that came up during recent coding. The notmuch_query_count_messages functions duplicates a lot of code undesirably. --- TODO | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/TODO b/TODO index 43956691..bdfe64c6 100644 --- a/TODO +++ b/TODO @@ -74,6 +74,8 @@ for selecting what gets printed). Add a "--count-only" (or so?) option to "notmuch search" for returning the count of search results. +Add documented syntax for searching all threads/messages. + Give "notmuch restore" some progress indicator. Until we get the Xapian bugs fixed that are making this operation slow, we really need to let the user know that things are still moving. @@ -146,6 +148,10 @@ notmuch initially sees all changes as interesting, and quickly learns from the user which changes are not interesting (such as the very common mailing-list footer). +Fix notmuch_query_count_messages to share code with +notmuch_query_search_messages rather than duplicating code. (And +consider renaming it as well.) + General ------- Audit everything for dealing with out-of-memory (and drop xutil.c). -- 2.43.0