Re: [python-cffi] Version number for the `notmuch2` bindings

2020-06-19 Thread Floris Bruynooghe
On Thu 18 Jun 2020 at 16:56 -0300, David Bremner wrote: > Frank LENORMAND writes: > >> Hi, >> >> The original Python bindings follow the entire repository's version >> number[1]. The new Python bindings use `0.1`[2]. >> >> The Debian package[3] follows the same version number as well, but >>

Re: notmuch-emacs: Highlight the file attachment

2020-06-19 Thread David Edmondson
On Thursday, 2020-06-18 at 14:11:20 +02, Jörg Volbers wrote: > Hi there, > > When showing a message with notmuch-show, I'd love to highlight > the file attachment part. I want to distinguish them from the > other mml stuff which I usually do not need to care about. Is > there any easy way to

[PATCH] python-cffi: read version from notmuch version file

2020-06-19 Thread Floris Bruynooghe
This keeps it in sync with the main notmuch version which is less confusing to users. --- bindings/python-cffi/setup.py | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bindings/python-cffi/setup.py b/bindings/python-cffi/setup.py index 37918e3d..1effcfc6 100644 ---

Re: python/notmuch2 on PyPI

2020-06-19 Thread Patrick Totzke
Hi everyone, First off, thanks for your work on notmuch2, Floris! Just to clarify: alot does not, and will not, depend on packages being on PyPI and is not intended to be installed through pip. I simply don't want to provide support for this. This said, I don't think it is difficult to automate

python-cffi: read version number from notmuch

2020-06-19 Thread Floris Bruynooghe
This reads the version from the toplevel notmuch version file. The main assumption is obviously that setup.py is always in bindings/python-cffi/setup.py together with the rest of the notmuch git repo. ___ notmuch mailing list notmuch@notmuchmail.org

python/notmuch2 on PyPI

2020-06-19 Thread Floris Bruynooghe
Hi Thore, notmuch folks, I noticed that Thore published notmuch2 on PyPI. I think this is because alot needs it's users to be able to pull it in as a dependency using the normal Python mechanisms? It seems this is currently published from a fork at

Re: python/notmuch2 on PyPI

2020-06-19 Thread David Bremner
Patrick Totzke writes: > Hi everyone, > > First off, thanks for your work on notmuch2, Floris! > > Just to clarify: alot does not, and will not, depend on packages being on PyPI > and is not intended to be installed through pip. I simply don't want to > provide > support for this. > > This

Re: [PATCH] python-cffi: read version from notmuch version file

2020-06-19 Thread David Bremner
Floris Bruynooghe writes: > This keeps it in sync with the main notmuch version which is less > confusing to users. ah, that's much nicer than what I did for the old bindings. merged. BTW I noticed something (setuptools?) translates "0.30~rc2" to "0.30-rc2". I assume that is as intended, and

Re: [PATCH] python-cffi: read version from notmuch version file

2020-06-19 Thread Floris Bruynooghe
On Fri 19 Jun 2020 at 07:20 -0300, David Bremner wrote: > Floris Bruynooghe writes: > BTW I noticed something (setuptools?) translates "0.30~rc2" to > "0.30-rc2". I assume that is as intended, and there are some stricter > rules for python module versions. It should only affect pre-release >

[PATCH] completion: remove "setup" from the list of possible completions

2020-06-19 Thread Łukasz Stelmach
Having "setup" in the set requires entering three instad of two characters for "search". Since "setup" is rearly used it makes little sense to have it in the set and cripple UX for much more frequently used "search". --- completion/notmuch-completion.bash | 2 +- completion/zsh/_notmuch