X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=howto.mdwn;h=77df009b64ddb0d3f5b41c3f9ea6254d12cb4d64;hb=9faff80af845909c0ded461824f3860905b4d6a4;hp=f7db40354e41876f090eb24a9535a9c2fc65ba2e;hpb=460ccf1cb6832390578a6227bcde8b4ead7a3c84;p=notmuch-wiki diff --git a/howto.mdwn b/howto.mdwn index f7db403..77df009 100644 --- a/howto.mdwn +++ b/howto.mdwn @@ -66,21 +66,7 @@ refer to the mailing list. ## **Use notmuch from python** -Notmuch includes python bindings to the notmuch shared library. Please -refer to the nice and extensive -[notmuch python API documentation](http://notmuch.readthedocs.org/). - -The bindings are very simple to use. As an example, given you have -the python bindings installed (or simply set your PYTHONPATH -environment variable to point to the .../bindings/python directory), -this snippet will produce a list of mails matching the given -expression: - - >>> import notmuch - >>> db = notmuch.Database() - >>> query = db.create_query('tag:inbox AND NOT tag:killed') - >>> list(query.search_messages()) # doctest:+ELLIPSIS - [...] +See the [[Notmuch Library Language Bindings|bindings]] page. ## **Using notmuch with Mutt** @@ -137,3 +123,14 @@ reformail will solve the problem. ## **Take advantage of tags that are special to notmuch** See [[tags special to notmuch|special-tags]]. + + +## **Index all your gpg-encrypted email** + +If you don't mind replacing your encrypted emails with cleartext versions and +re-indexing them, there are some scripts that do that at +[github](https://github.com/mmehnert/maildir-decrypt) . That would make sense +in a scenario where you have encrypted your hard disk anyway and are +comfortable with the security implications (and until notmuch can index +encrypted email itself). +