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