Re: notmuch-mode and org-capture

2019-11-03 Thread Tristan Cacqueray
On Mon, Nov 04, 2019 at 01:21 Leo Gaspard wrote: > Tristan Cacqueray writes: >> On Sun, Nov 03, 2019 at 09:05 David Edmondson wrote: >>> On Sunday, 2019-11-03 at 01:04:47 +01, Leo Gaspard wrote: >>> Hello, I have just come to notice that, when attempting to use

python CFFI bindings integration into notmuch build/test

2019-11-03 Thread David Bremner
This series is on top of a slightly modified version [1] of id:20191008210312.20685-2-f...@devork.be If you want to try out the new bindings, you can try the branch wip/cffi in the repo https://git.notmuchmail.org/git/notmuch One current annoyance is that the version of pytest on travis

[PATCH 3/5] build: optionally build python-cffi bindings

2019-11-03 Thread David Bremner
Put the build product (and tests) in a well known location so that we can find them e.g. from the tests. --- Makefile.local | 2 +- bindings/Makefile.local | 9 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile.local b/Makefile.local index

[PATCH 4/5] tests: run python-cffi tests

2019-11-03 Thread David Bremner
The entire python-cffi test suite is considered as a single test at the level of the notmuch test suite. This might or might not be ideal, but it gets them run. --- test/T391-python-cffi.sh | 12 1 file changed, 12 insertions(+) create mode 100755 test/T391-python-cffi.sh diff

[PATCH 2/5] configure: check for python cffi module

2019-11-03 Thread David Bremner
This is needed to build the new python bindings --- configure | 15 +++ 1 file changed, 15 insertions(+) diff --git a/configure b/configure index 3c148e12..300591fe 100755 --- a/configure +++ b/configure @@ -671,6 +671,15 @@ if [ $have_python -eq 0 ]; then errors=$((errors + 1))

[PATCH 1/5] bindings/python-cffi: preserve environment for tests

2019-11-03 Thread David Bremner
We'll need this e.g. to pass PATH to the pytest tests Based on the suggested approach in id:87d0eljggj@powell.devork.be --- bindings/python-cffi/tests/conftest.py | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bindings/python-cffi/tests/conftest.py

[PATCH 5/5] travis: add python3-{cffi,pytest,setuptools}

2019-11-03 Thread David Bremner
These are needed for building and testing the new python bindings. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index f9516bde..cfd89a28 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,9 @@ addons: - libgmime-3.0-dev -

Re: notmuch-mode and org-capture

2019-11-03 Thread Leo Gaspard
Tristan Cacqueray writes: > On Sun, Nov 03, 2019 at 09:05 David Edmondson wrote: >> On Sunday, 2019-11-03 at 01:04:47 +01, Leo Gaspard wrote: >> >>> Hello, >>> >>> I have just come to notice that, when attempting to use >>> org-capture in a notmuch-tree window with a message opened in >>>

Re: notmuch-mode and org-capture

2019-11-03 Thread Tristan Cacqueray
On Sun, Nov 03, 2019 at 09:05 David Edmondson wrote: > On Sunday, 2019-11-03 at 01:04:47 +01, Leo Gaspard wrote: > >> Hello, >> >> I have just come to notice that, when attempting to use >> org-capture in a notmuch-tree window with a message opened in >> the split screen below, the capture

Re: notmuch-mode and org-capture

2019-11-03 Thread David Edmondson
On Sunday, 2019-11-03 at 01:04:47 +01, Leo Gaspard wrote: Hello, I have just come to notice that, when attempting to use org-capture in a notmuch-tree window with a message opened in the split screen below, the capture template doesn't actually have the link or the various replacements that