Re: Python3 cffi bindings

2019-12-04 Thread Tomi Ollila
On Sat, Nov 16 2019, David Bremner wrote: > Gaute Hope writes: > >> >> By the way, it does not seem that the API is very far from the >> previous python API. If it is close enough, perhaps it is possible to >> get away with a bug version bump in the bindings rather than creating >> a new package.

Re: compacting the notmuch database through systemd

2019-12-04 Thread Antoine Beaupré
On 2019-12-04 13:09:03, Daniel Kahn Gillmor wrote: > Thanks for raising this, Anarcat! > > One more advantage that i think you haven't noted yet about regular > database compaction: > > "notmuch compact" tends to get rid of a lot of lingering written data > that is no longer referenced. While this

Re: [BUG] notmuch-emacs: spoils sendmail -f with emacs 27 commit 3a59cc84069376802ba8fd731b524d78db58262c and later

2019-12-04 Thread Stefan Monnier
> disaster-area ~/s/emacs % ./src/emacs -Q -nw -batch --eval "(progn (require > 'message) (setq mail-specify-envelope-from t mail-envelope-from 'header) > (message \"%s\" message-sendmail-envelope-from))" > nil > disaster-area ~/s/emacs % Ha! Thanks for tracking it down. I installed the patch b

Re: [BUG] notmuch-emacs: spoils sendmail -f with emacs 27 commit 3a59cc84069376802ba8fd731b524d78db58262c and later

2019-12-04 Thread Stefan Monnier
>> + (const :tag "Obey `sendmail-envelope-from'" > `sendmail-envelope-from' here should be `mail-envelope-from'. Duh! Thanks, Stefan ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch

Re: shipping elisp for notmuch in elpa-notmuch debian package

2019-12-04 Thread David Bremner
Daniel Kahn Gillmor writes: > On Wed 2019-12-04 08:53:14 -0400, David Bremner wrote: >> Daniel Kahn Gillmor writes: >>> rstdoc.el >>> make-deps.el >>> dir >> >> the first two are build tools. > > if they're build tools then we don't need to ship them with > elpa-notmuch, right? Cor

Re: [PATCH v2 0/8] Port notmuch-show's x/X bindings to notmuch-tree

2019-12-04 Thread William Casarin
Teemu Likonen writes: > William Casarin [2019-11-28T08:13:53-08] wrote: > >> These patches bring notmuch-tree more in line with the user experience >> of notmuch-show by adding the x/X bindings. >> >> v2: >> - fix a bug when moving between open messages >> - include M-RET keybinding patch fro

Re: [PATCH v2 2/8] emacs/tree: add notmuch-tree-goto-matching-message

2019-12-04 Thread William Casarin
David Edmondson writes: > On Thursday, 2019-11-28 at 08:13:55 -08, William Casarin wrote: > >> This function captures some common logic when jumping to matching >> messages in notmuch-tree mode. >> >> We also add a new return value (t or nil), that indicates if there was >> a next matching messag

Re: [PATCH v2 1/8] emacs/tree: return true if a thread was found in next-thread

2019-12-04 Thread William Casarin
David Edmondson writes: > On Thursday, 2019-11-28 at 08:13:54 -08, William Casarin wrote: > >> This will allow us to pop back to parent buffers when there are no >> more threads to jump to. >> >> Signed-off-by: William Casarin >> --- >> emacs/notmuch-tree.el | 8 ++-- >> 1 file changed, 6 i

Re: possibly outdated info on notmuch website(?)

2019-12-04 Thread Gregor Zattler
Hi David, * David Bremner [2019-12-03; 19:19]: > Yes, the list should probably be archived or something, it's not active > these days. A note to that effect would make sense. perhaps this secondary mailn list should be closed/archived before the wiki is changed. > > See > > https://notmu

Re: [BUG] notmuch-emacs: spoils sendmail -f with emacs 27 commit 3a59cc84069376802ba8fd731b524d78db58262c and later

2019-12-04 Thread Gregor Zattler
Hi Stefan, David, * Stefan Monnier [2019-12-03; 18:10]: >>> +(const :tag "Obey `sendmail-envelope-from'" >> `sendmail-envelope-from' here should be `mail-envelope-from'. > > Duh! Thanks, works with my configuration if this email hits the notmuch mailing list. Thanks for this patch,

Re: compacting the notmuch database through systemd

2019-12-04 Thread Daniel Kahn Gillmor
Thanks for raising this, Anarcat! One more advantage that i think you haven't noted yet about regular database compaction: "notmuch compact" tends to get rid of a lot of lingering written data that is no longer referenced. While this isn't robust "secure deletion", it's a lot better than not com

Re: shipping elisp for notmuch in elpa-notmuch debian package

2019-12-04 Thread Daniel Kahn Gillmor
On Wed 2019-12-04 08:53:14 -0400, David Bremner wrote: > Daniel Kahn Gillmor writes: >> rstdoc.el >> make-deps.el >> dir > > the first two are build tools. if they're build tools then we don't need to ship them with elpa-notmuch, right? > The latter is needed by the info files. nee

Re: [PATCH v2 0/8] Port notmuch-show's x/X bindings to notmuch-tree

2019-12-04 Thread Teemu Likonen
William Casarin [2019-11-28T08:13:53-08] wrote: > These patches bring notmuch-tree more in line with the user experience > of notmuch-show by adding the x/X bindings. > > v2: > - fix a bug when moving between open messages > - include M-RET keybinding patch from > id:20191113225752.26502-1-j.

Re: shipping elisp for notmuch in elpa-notmuch debian package

2019-12-04 Thread David Bremner
Daniel Kahn Gillmor writes: > Hi Notmuch folks-- > > In the course of trying to figure out the dh_missing warnings, I've been > looking into what we ship in debian in the elpa-notmuch package. > > Dubious files > - > > elpa-notmuch currently ships a few files in > /usr/share/emacs/sit

Re: [PATCH 4/6 v2] wrap-and-sort -ast

2019-12-04 Thread David Bremner
Daniel Kahn Gillmor writes: > Signed-off-by: Daniel Kahn Gillmor > --- > debian/control | 105 > debian/notmuch-mutt.install | 2 +- > debian/notmuch-vim.dirs | 4 +- > debian/notmuch-vim.install | 4 +- > debian/notmuch.install

Re: [BUG] notmuch-emacs: spoils sendmail -f with emacs 27 commit 3a59cc84069376802ba8fd731b524d78db58262c and later

2019-12-04 Thread David Edmondson
Gregor, does Stefan's change fix your problem? dme. -- So tap at my window, maybe I might let you in. ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch

[PATCH 1/5] debian: return an error if debian snapshot build fails

2019-12-04 Thread Daniel Kahn Gillmor
Signed-off-by: Daniel Kahn Gillmor --- Makefile.local | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Makefile.local b/Makefile.local index 7c12612d..586cdf75 100644 --- a/Makefile.local +++ b/Makefile.local @@ -97,14 +97,16 @@ pre-release: .PHONY: debian-

[PATCH 5/5] debian: Remove python2 detritus

2019-12-04 Thread Daniel Kahn Gillmor
Since we removed python-notmuch, we do not need to retain this file any longer. Signed-off-by: Daniel Kahn Gillmor --- debian/python-notmuch.install | 1 - 1 file changed, 1 deletion(-) delete mode 100644 debian/python-notmuch.install diff --git a/debian/python-notmuch.install b/debian/python-

[PATCH 4/5] debian: ship notmuch-setup(1) as a copy of notmuch(1)

2019-12-04 Thread Daniel Kahn Gillmor
This was being shipped by "make install", but we weren't shipping it in the debian package. Thanks to dh_missing for noticing! Signed-off-by: Daniel Kahn Gillmor --- debian/notmuch.manpages | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/notmuch.manpages b/debian/notmuch.manpages ind

[PATCH 3/5] debian: install notmuch(3) manpage in libnotmuch-dev

2019-12-04 Thread Daniel Kahn Gillmor
dh_missing noticed that we are building this manpage but not shipping it in debian. Signed-off-by: Daniel Kahn Gillmor --- debian/libnotmuch-dev.manpages | 1 + 1 file changed, 1 insertion(+) create mode 100644 debian/libnotmuch-dev.manpages diff --git a/debian/libnotmuch-dev.manpages b/debian

[PATCH 2/5] debian: ship notmuch-emacs-mua.desktop from "make install" copy

2019-12-04 Thread Daniel Kahn Gillmor
This helps dh_missing know what's going on. Signed-off-by: Daniel Kahn Gillmor --- debian/notmuch.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/notmuch.install b/debian/notmuch.install index b4847fe5..60f09712 100644 --- a/debian/notmuch.install +++ b/debian/

More debian packaging cleanup

2019-12-04 Thread Daniel Kahn Gillmor
This series should apply after "wrap-and-sort -ast" v2 is applied (id:20191110173748.25792-5-...@fifthhorseman.net). In this series, i clean up a few things that i noticed from applying dh_missing to the debian packaging. In particular, we were failing to ship notmuch(3) (programmer's manual for

shipping elisp for notmuch in elpa-notmuch debian package

2019-12-04 Thread Daniel Kahn Gillmor
Hi Notmuch folks-- In the course of trying to figure out the dh_missing warnings, I've been looking into what we ship in debian in the elpa-notmuch package. Dubious files - elpa-notmuch currently ships a few files in /usr/share/emacs/site-lisp/elpa-src/notmuch-*/ that i'm not convinc