summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2009-11-23 16:58:35 +0100
committerCarl Worth <cworth@cworth.org>2009-11-23 17:17:08 +0100
commit793cbf80495b8230e0b4de6ac609e2ca88b7dd4b (patch)
tree0847466d390d9ebf5ec63cc5a0c638a096de40d9 /TODO
parenta378dff8a1b9136c3a2472dc6a88911ca3fa41b4 (diff)
Add rudimentary date-based search.
The rudimentary aspect here is that the date ranges are specified with UNIX timestamp values (number of seconds since 1970-01-01 UTC). One thing that can help here is using the date program to determins timestamps, such as: $(date +%s -d 2009-10-01)..$(date +%s) Long-term, we'll probably need to do our own query parsing to be able to support directly-specified dates and also relative expressions like "since:'2 months ago'".
Diffstat (limited to 'TODO')
-rw-r--r--TODO15
1 files changed, 11 insertions, 4 deletions
diff --git a/TODO b/TODO
index 7c984c2..65d6c75 100644
--- a/TODO
+++ b/TODO
@@ -4,11 +4,9 @@ Fix the things that are causing the most pain to new users
2. Allow an easy way to get tags from directory names (if the user has them)
-3. Allow an easy way to remove excess tags, (date-based search)
+3. Make emacs fast for big search results (see "lazy searching" below)
-4. Make emacs fast for big search results (see "lazy searching" below)
-
-5. Fix Xapian defect #250 so tagging is fast.
+4. Fix Xapian defect #250 so tagging is fast.
Emacs interface (notmuch.el)
----------------------------
@@ -112,6 +110,15 @@ indexing.
notmuch library
---------------
+Provide a sane syntax for date ranges. First, we don't want to require
+both endpoints to be specified. For example it would be nice to be
+able to say things like "since:2009-01-1" or "until:2009-01-1" and
+have the other enpoint be implicit. Second we'de like to support
+relative specifications of time such as "since:'2 months ago'". To do
+any of this we're probably going to need to break down an write our
+own parser for the query string rather than using Xapian's QueryParser
+class.
+
Add support for files that are moved or deleted (which obviously need
to be handled differently).