[PATCH 2/2] debian: update zsh completion installation

2018-09-16 Thread Vincent Breitmoser
From: David Bremner This ${prefix}/share/vendor-completion convention seems to be debian specific, so leave the global default alone for now. --- debian/notmuch.install | 1 + debian/rules | 1 + 2 files changed, 2 insertions(+) diff --git a/debian/notmuch.install

[PATCH 1/2] completion: more complete completion for zsh.

2018-09-16 Thread Vincent Breitmoser
This adds completion files for zsh that cover most of notmuch's cli. The files in completion/zsh are formatted so that they can be found by zsh's completion system if put $fpath. They are also registered to the notmuch-* pattern, so they can be called externally using _dispatch. Update

[PATCH 5/6] debian: bump compat level to 11

2018-09-16 Thread David Bremner
The immediate motivation is to have dh_installman look in debian/tmp --- debian/compat | 3 ++- debian/control | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/compat b/debian/compat index f599e28b..9f1d48ef 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1,2

[PATCH 6/6] debian: update notmuch-mutt packaging to use install target

2018-09-16 Thread David Bremner
--- debian/notmuch-mutt.install | 4 ++-- debian/notmuch-mutt.manpages | 2 +- debian/notmuch.install | 4 ++-- debian/notmuch.manpages | 18 ++ debian/rules | 1 + 5 files changed, 24 insertions(+), 5 deletions(-) create mode 100644

[PATCH 3/6] configure: absolute path of perl

2018-09-16 Thread David Bremner
This can be used to set shebang lines during install. --- configure | 19 +++ 1 file changed, 19 insertions(+) diff --git a/configure b/configure index 20961763..b2200be0 100755 --- a/configure +++ b/configure @@ -54,6 +54,7 @@ fi # Set several defaults (optionally specified by

[PATCH 4/6] contrib/notmuch-mutt: add install target

2018-09-16 Thread David Bremner
The main goal here is to be able to install the notmuch-mutt script with an absolute shebang. I have tried to make the notmuch-mut Makefile use configure information from notmuch if available, but make suitable guesses if not. --- contrib/notmuch-mutt/Makefile | 13 + 1 file changed,

[PATCH 2/6] build: install notmuch-emacs-mua with absolute shebang

2018-09-16 Thread David Bremner
Follow distro-centric rules to reduce the chance of surprising behaviour due to PATH changes --- emacs/Makefile.local | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/emacs/Makefile.local b/emacs/Makefile.local index 1b3ef584..5e4ae1bd 100644 --- a/emacs/Makefile.local +++

v2: Install notmuch-emacs-mua and notmuch-mutt with absolute shebangs

2018-09-16 Thread David Bremner
This obsoletes the WIP series at id:20180909154003.8801-1-da...@tethera.net There's unfortunately a bit more changes necessary to take advantage of the configure calculated information than I anticipated, but nothing very complicated. ___

[PATCH 1/6] configure: absolute path of bash

2018-09-16 Thread David Bremner
This can be used to set shebang lines during install. --- configure | 19 +++ 1 file changed, 19 insertions(+) diff --git a/configure b/configure index ab7e1610..20961763 100755 --- a/configure +++ b/configure @@ -53,6 +53,7 @@ fi # Set several defaults (optionally specified

Re: Updated zsh completion patches

2018-09-16 Thread David Bremner
Vincent Breitmoser writes: > Hey David, > >> I do have one problem with the completion of tags. It seems the >> treatment of tags with :: in them is not consistent. > > Thanks for the hint. I didn't expect :: to be special so I didn't test that > case. I'll check it out later today or possibly

Re: Updated zsh completion patches

2018-09-16 Thread Vincent Breitmoser
Hey David, > I do have one problem with the completion of tags. It seems the > treatment of tags with :: in them is not consistent. Thanks for the hint. I didn't expect :: to be special so I didn't test that case. I'll check it out later today or possibly tomorrow. - V

Re: [PATCH] Fix Makefile.local for install notmuch zsh completions

2018-09-16 Thread David Bremner
Chris Coutinho writes: > Thanks for the patch Vincent! > > The Makefile.local should also be updated to successfully install > notmuch using this patch. Hah, our patches passed in the mail! ___ notmuch mailing list notmuch@notmuchmail.org

Updated zsh completion patches

2018-09-16 Thread David Bremner
Hi Vincent; Thanks for this patch, it's definitely a big improvement. I had to make some small adjustments to the install recipes to accomodate the renaming / removal of notmuch-completion.zsh. A revised version of your patch with that squashed in follows. I also added a patch to install the

[PATCH 1/2] More complete completion scripts for zsh.

2018-09-16 Thread David Bremner
From: Vincent Breitmoser This adds completion files for zsh that cover most of notmuch's cli. The files in completion/zsh are formatted so that they can be found by zsh's completion system if put $fpath. They are also registered to the notmuch-* pattern, so they can be called externally using

[PATCH 2/2] debian: update zsh completion installation

2018-09-16 Thread David Bremner
This ${prefix}/share/vendor-completion convention seems to be debian specific, so leave the global default alone for now. --- debian/notmuch.install | 1 + debian/rules | 1 + 2 files changed, 2 insertions(+) diff --git a/debian/notmuch.install b/debian/notmuch.install index

[PATCH] Fix Makefile.local for install notmuch zsh completions

2018-09-16 Thread Chris Coutinho
Thanks for the patch Vincent! The Makefile.local should also be updated to successfully install notmuch using this patch. Regards, Chris --- completion/Makefile.local | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/completion/Makefile.local b/completion/Makefile.local