]> git.notmuchmail.org Git - notmuch/blob - TODO
zsh-completion: Initial zsh-completion for notmuch
[notmuch] / TODO
1 Emacs interface (notmuch.el)
2 ----------------------------
3
4 Completion
5 ----------
6 Move completion scripts down into a contrib directory.
7
8 Add completion scripts for other shells as seen on mailing list.
9
10 Fix bash completion to complete multiple search options (both --first
11 and *then* --max-threads), and also complete value for --sort=
12 (oldest-first or newest-first).
13
14 notmuch command-line tool
15 -------------------------
16 Give "notmuch restore" some progress indicator. Until we get the
17 Xapian bugs fixed that are making this operation slow, we really need
18 to let the user know that things are still moving.
19
20 Fix notmuch.c to call add_timestamp/get_timestamp with path names
21 relative to the database path. (Otherwise, moving the database to a
22 new directory will result in notmuch creating new timestamp documents
23 and leaving stale ones behind.)
24
25 Ensure that "notmuch new" is sane if its first, giant indexing session
26 gets interrupted, (that is, ensure that any results indexed so far are
27 flushed).
28
29 Fix notmuch.c to use a DIR prefix for directory timestamps, (the idea
30 being that it can then add other non-directory timestamps such as for
31 noting how far back in the past mail has been indexed, and whether it
32 needs to re-tag messages based on a theoretical "auto-tags"
33 configuration file).
34
35 Make "notmuch new" notice when a mail directory has gone more than a
36 month without receiving new mail and use that to trigger the printing
37 of the note that the user might want to mark the directory read-only.
38
39 Also make "notmuch new" optionally able to just mark those month-old
40 directories read-only on its own. (Could conflict with low-volume
41 lists such as announce lists if they are setup to deliver to their own
42 maildirs.)
43
44 notmuch library
45 ---------------
46 Actually compile and install a libnotmuch shared library.
47
48 Fix to use the *last* Message-ID header if multiple such headers are
49 encountered, (I noticed this is one thing that kept me from seeing the
50 same message-ID values as sup).
51
52 Add support for the user to specify custom headers to be indexed.
53
54 Add support for automatic tagging of new messages based on particular
55 search criteria, (likely using an InMemory database for the new
56 messages).
57
58 General
59 -------
60 Audit everything for dealing with out-of-memory (and drop xutil.c).
61
62 Write a test suite.
63
64 Achieve 100% test coverage with the test suite.
65
66 Investigate why the notmuch database is slightly larger than the sup
67 database for the same corpus of email.