notmuch/doc/man1
David Bremner d7f9572413 python-cffi: switch to notmuch_database_{open,create}_with_config
Since release 0.32, libnotmuch provides searching for database and
configuration paths. This commit changes the python module notmuch2 to
use those facilities.

This fixes the bug reported in [1], along with a couple of the
deprecation warnings in the python bindings.

Database.default_path is deprecated, since it no longer faithfully
reflects what libnotmuch is doing, and it is also no longer used in
the bindings themselves.

This commit choose the default of config=CONFIG.EMPTY (equivalent to
passing "" to notmuch_database_open_with_config).  This makes the
change upward compatible API-wise (at least as far as the test suite
verifies), but changing the default to CONFIG.SEARCH would probably be
more convenient for bindings users.

[1]: id:87h7d4wp6b.fsf@tethera.net
2021-12-04 08:42:31 -04:00
..
notmuch-address.rst doc: use program and option directives to document options 2021-05-22 16:43:24 -03:00
notmuch-compact.rst doc: use program and option directives to document options 2021-05-22 16:43:24 -03:00
notmuch-config.rst python-cffi: switch to notmuch_database_{open,create}_with_config 2021-12-04 08:42:31 -04:00
notmuch-count.rst doc: use program and option directives to document options 2021-05-22 16:43:24 -03:00
notmuch-dump.rst doc: use program and option directives to document options 2021-05-22 16:43:24 -03:00
notmuch-emacs-mua.rst doc: use program and option directives to document options 2021-05-22 16:43:24 -03:00
notmuch-insert.rst doc: use program and option directives to document options 2021-05-22 16:43:24 -03:00
notmuch-new.rst doc: use program and option directives to document options 2021-05-22 16:43:24 -03:00
notmuch-reindex.rst doc: use program and option directives to document options 2021-05-22 16:43:24 -03:00
notmuch-reply.rst doc: use program and option directives to document options 2021-05-22 16:43:24 -03:00
notmuch-restore.rst doc: use program and option directives to document options 2021-05-22 16:43:24 -03:00
notmuch-search.rst doc: use program and option directives to document options 2021-05-22 16:43:24 -03:00
notmuch-show.rst doc: new notmuch show --sort and related emacs commands 2021-07-03 20:38:34 -03:00
notmuch-tag.rst doc: use program and option directives to document options 2021-05-22 16:43:24 -03:00
notmuch.rst doc: document database search algorithm. 2021-08-21 07:54:44 -07:00