]> git.cworth.org Git - notmuch/commit
notmuch: Add a configuration system.
authorCarl Worth <cworth@cworth.org>
Thu, 12 Nov 2009 01:01:55 +0000 (17:01 -0800)
committerCarl Worth <cworth@cworth.org>
Thu, 12 Nov 2009 01:01:55 +0000 (17:01 -0800)
commit305e76bc0ab2e7f3bd1ff2580e8d5dac8b4a7164
tree96760f7ac15b036af80f28f1ba53690cb7741410
parent69611e66a589881bf4de9786d3f6df991c604f3d
notmuch: Add a configuration system.

This will allow for things like the database path to be specified
without any cheesy NOTMUCH_BASE environment variable. It also will
allow "notmuch reply" to recognize the user's email address when
constructing a reply in order to do the right thing, (that is, to use
the user's address to which mail was sent as From:, and not to reply
to the user's own addresses).

With this change, the "notmuch setup" command is now strictly for
changing the configuration of notmuch. It no longer creates the
database, but instead instructs the user to call "notmuch new" to do
that.
Makefile.local
lib/database.cc
lib/notmuch.h
notmuch-client.h
notmuch-config.c [new file with mode: 0644]
notmuch-setup.c
notmuch.c