]> git.cworth.org Git - notmuch-wiki/commitdiff
bindings: all-around update
authorJani Nikula <jani@nikula.org>
Mon, 19 Oct 2015 20:15:44 +0000 (23:15 +0300)
committerJani Nikula <jani@nikula.org>
Mon, 19 Oct 2015 20:15:44 +0000 (23:15 +0300)
bindings.mdwn
howto.mdwn
index.mdwn

index e52030c799ecdcd4a60638df4a532d9d73c5b9a2..0b3964bafdd43f90c55f670944fb8a21a20d6734 100644 (file)
@@ -3,15 +3,44 @@
 
 The Notmuch library, `libnotmuch`, can be used from many programming languages
 using the Notmuch language bindings. The [[command line interface|manpages]] and
 
 The Notmuch library, `libnotmuch`, can be used from many programming languages
 using the Notmuch language bindings. The [[command line interface|manpages]] and
-many of the [[email clients and frontends|frontends]] are based on the language
+the [[email clients and frontends|frontends]] are based on the language
 bindings.
 
 [[!toc levels=2]]
 
 ## C and C++
 
 bindings.
 
 [[!toc levels=2]]
 
 ## C and C++
 
+`libnotmuch` is a shared C library. [The API](http://git.notmuchmail.org/git/notmuch/blob/HEAD:/lib/notmuch.h)
+
+The Notmuch command-line interface is based on the C library.
+
 ## Python
 
 ## 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/projects/notmuch-python/).
+
+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
+        [...]
+
+[The source](http://git.notmuchmail.org/git/notmuch/tree/HEAD:/bindings/python/)
+
 ## Ruby
 
 ## Ruby
 
+[The source](http://git.notmuchmail.org/git/notmuch/tree/HEAD:/bindings/ruby/)
+
+The [client for
+vim](http://git.notmuchmail.org/git/notmuch/blob/HEAD:/vim/README) is in Ruby,
+so worth a look.
+
 ## Go
 ## Go
+
+[The source](http://git.notmuchmail.org/git/notmuch/tree/HEAD:/bindings/go/)
index 1b143a91d22958de328f5b9f7b9607e7c1541263..77df009b64ddb0d3f5b41c3f9ea6254d12cb4d64 100644 (file)
@@ -66,21 +66,7 @@ refer to the mailing list.
 
 ## <span id="python">**Use notmuch from python**</span>
 
 
 ## <span id="python">**Use notmuch from python**</span>
 
-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.
 
 ## <span id="print_filenames">**Using notmuch with Mutt**</span>
 
 
 ## <span id="print_filenames">**Using notmuch with Mutt**</span>
 
index 46e9e3930af1c3ff148783f4977b908b9845b87f..cc684bf463d11ac8215b60c1d4c2729e6a8a720f 100644 (file)
@@ -68,6 +68,7 @@ After that, come back and checkout our documentation:
   * [[Remote usage|remoteusage]]
   * [[Performance|performance]]
   * [[References|references]]
   * [[Remote usage|remoteusage]]
   * [[Performance|performance]]
   * [[References|references]]
+  * [[Notmuch Library Language Bindings|bindings]]
 
 Apart from the wiki, help is available via email and on IRC (see
 below).  Join the mailing list.  Read the archives.  Ask questions.
 
 Apart from the wiki, help is available via email and on IRC (see
 below).  Join the mailing list.  Read the archives.  Ask questions.